Method, device and equipment for constructing portrait, medium and program product
By obtaining the Internet protocol address type and associated information when a user logs into the website, the enterprise ownership is derived, and the problem of inaccurate IP address enterprise ownership in the existing technology is solved, and a more accurate image of the Internet protocol address is achieved.
Patent Information
- Application Number
- CN202510929890.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-18
- Publication Date
- 2025-08-22
AI Technical Summary
The prior art cannot accurately determine the enterprise ownership of the user's IP address, resulting in inaccurate Internet protocol address portraits.
By obtaining the address type of the Internet protocol address when the user logs into the website, and combining the related information of the user who has used the address, the enterprise ownership of the address, including enterprise dedicated lines, data centers, and home broadband, is used to accurately judge the enterprise ownership information and address type.
It improves the accuracy of judging the ownership of Internet protocol addresses and achieves a more accurate portrait of Internet protocol addresses.
Smart Images

Figure CN120528892A_ABST
Abstract
Description
[0001] This application is a divisional application of Chinese patent application 202510316691.4, entitled “Method, device, electronic device, storage medium and program product for constructing portraits”, filed on March 18, 2025. Technical Field
[0002] The present application relates to the technical field of Internet Protocol address portrait technology, and specifically, to a method, apparatus, equipment, medium and program product for constructing a portrait. Background Art
[0003] Internet Protocol address profiling, hereinafter referred to as IP (Internet Protocol Address) address profiling, can reflect different user types. Therefore, by profiling IP addresses, it can help identify the real users behind the network, especially abnormal users. This plays an important role in personalized recommendations, targeted advertising, transaction risk control, etc.
[0004] Existing technologies typically profile a user's IP addresses based on their registration information. This involves identifying the company in their registration information as the company affiliation for their IP addresses. However, a user's actual company affiliation can change, and multiple IP addresses used by a user may actually belong to different companies. However, existing technologies cannot accurately determine the company affiliation of an IP address. Summary of the Invention
[0005] The purpose of the embodiments of the present application is to provide a method, device, equipment, medium and program product for constructing a portrait, so as to solve the problem existing in the related technology that the corporate affiliation of the user's IP address cannot be accurately determined.
[0006] In a first aspect, an embodiment of the present application provides a method for constructing an Internet Protocol address profile, comprising: Obtaining a first Internet Protocol address when the first user logs into a preset website; Obtaining an address type of the first Internet Protocol address; Obtaining association information of a second user who has used the first Internet Protocol address, the association information of the second user including enterprise affiliation information of the second user and all Internet Protocol addresses historically used by the second user; The attribution information of the first Internet Protocol address is obtained according to the association information of the second user and the address type of the first Internet Protocol address.
[0007] In the above implementation, the address type of the first Internet Protocol address is obtained. Since the first Internet Protocol address used by the user when logging into the preset website may belong to an enterprise or an individual, it is possible to preliminarily determine whether the first Internet Protocol address belongs to an enterprise by obtaining the address type of the first Internet Protocol address.
[0008] In addition, by obtaining the association information of a second user who has used the first Internet Protocol address, and based on the association information of the second user and the address type of the first Internet Protocol address, the attribution information of the first Internet Protocol address is obtained. Since Internet Protocol addresses belonging to an enterprise can be used by multiple users, and there may be overlap between Internet Protocol addresses used by users belonging to the same enterprise, the enterprise attribution information of the second user who has used the first Internet Protocol address and the attribution information of other Internet Protocol addresses used by the second user can be used to deduce the enterprise attribution of the first Internet Protocol address. This improves the accuracy of determining the enterprise attribution of an Internet Protocol address and more accurately profiles the Internet Protocol address.
[0009] Furthermore, the address type of the first Internet Protocol address is an enterprise dedicated line, and obtaining the attribution information of the first Internet Protocol address according to the association information of the second user and the address type of the first Internet Protocol address includes: In a case where the second users include a third user, acquiring the attribution information of the first Internet Protocol address according to the enterprise attribution information of the third user; The third user is a second user who does not use an Internet Protocol address other than the first Internet Protocol address and whose address type is an enterprise dedicated line.
[0010] In the above implementation, by determining whether the second users include a second user who does not use an Internet Protocol address of the enterprise dedicated line type other than the first Internet Protocol address, i.e., a third user, and if the third user exists among the second users, the attribution information of the first Internet Protocol address is obtained based on the association information of the third user. Since, if only one Internet Protocol address of the enterprise dedicated line type is used among multiple users, and this Internet Protocol address is the first Internet Protocol address, then if the enterprise attribution of the multiple users is known, the enterprise attribution of the first Internet Protocol address can be deduced. This can improve the accuracy of determining the enterprise attribution of the Internet Protocol address and more accurately profile the Internet Protocol address.
[0011] Furthermore, acquiring the attribution information of the first Internet Protocol address according to the enterprise attribution information of the third user includes: If there is only one third user, obtaining the first enterprise from the enterprise affiliation information of the third user; The attribution information for determining the first Internet Protocol address includes the first enterprise.
[0012] In the above implementation, when there is only one third user, the first enterprise in the enterprise affiliation information of the third user can be determined as the enterprise affiliation of the first Internet Protocol address. In this way, the enterprise affiliation of the first Internet Protocol address can be directly determined.
[0013] Furthermore, acquiring the attribution information of the first Internet Protocol address according to the enterprise attribution information of the third user includes: If there are multiple third users, obtaining the first enterprise from the enterprise affiliation information of the associated information of each third user; For each different first enterprise, counting the number of third users belonging to the first enterprise; Obtaining a probability that the first Internet Protocol address belongs to the first enterprise based on the number of third users belonging to the first enterprise; The attribution information of the first Internet Protocol address is obtained according to the probability that the first Internet Protocol address belongs to each first enterprise.
[0014] In the above implementation, when there are multiple third users, the number of third users belonging to different first enterprises is counted, and the probability that the first Internet Protocol address belongs to each first enterprise is obtained based on the number of third users belonging to different first enterprises. Since Internet Protocol addresses belonging to an enterprise are usually used by employees within that enterprise, it can be considered that the probability that an Internet Protocol address belongs to each enterprise is positively correlated with the number of employees in each enterprise using that Internet Protocol address. Therefore, obtaining the number of third users belonging to different first enterprises can intuitively reflect the probability that the first Internet Protocol address belongs to each first enterprise, thereby more accurately determining the enterprise affiliation of the first Internet Protocol address based on the probability that the first Internet Protocol address belongs to each first enterprise.
[0015] Furthermore, if there are multiple second users, the method further includes: In the case where the plurality of second users include a plurality of fourth users and the corporate affiliations of the corporate affiliations of the respective fourth users are different, determining that the affiliation information of the first Internet Protocol address includes Party A; The fourth user is a second user who uses an Internet Protocol address other than the first Internet Protocol address, and the address type is an enterprise dedicated line Internet Protocol address.
[0016] In the above implementation, if the multiple second users include multiple fourth users, and the corporate affiliations of these multiple fourth users are different, then the affiliation information of the first Internet Protocol address is determined to include Party A. If users belonging to different companies use multiple identical Internet Protocol addresses with an enterprise dedicated line address type, then in a cooperative relationship between companies, the Internet Protocol address is more likely to belong to the company receiving services from other companies. Therefore, the company type of the company to which the first Internet Protocol address used by the multiple fourth users belongs can be determined to be Party A. This allows the company type of the company to which the first Internet Protocol address belongs to be determined.
[0017] Furthermore, there are multiple second users, and the address type of the first Internet Protocol address is a data center. Obtaining the attribution information of the first Internet Protocol address according to the association information of the second user and the address type of the first Internet Protocol address includes: In a case where the plurality of second users include a plurality of fourth users and the enterprise affiliations in the enterprise affiliation information of each of the fourth users are different, determining that the affiliation information of the first Internet Protocol address includes a project agent; The fourth user is a second user who uses an Internet Protocol address other than the first Internet Protocol address, and the address type is an enterprise dedicated line Internet Protocol address.
[0018] In the above implementation, if the plurality of second users includes multiple fourth users, and the corporate affiliations of the plurality of fourth users are different, then the affiliation information of the first IP address is determined to include a project proxy. If users belonging to different companies use multiple identical data center IP addresses, in a partnership between companies, the IP address is more likely to belong to the company of the intermediary agent. Therefore, by determining the corporate affiliation of the fourth user using the first IP address, the corporate type of the company to which the first IP address belongs can be determined.
[0019] Furthermore, obtaining association information of a second user who has used the first Internet Protocol address includes: In the login log of the preset website, a matching operation is performed using the first Internet Protocol address to obtain a user identifier of a second user who has used the first Internet Protocol address; the login log includes the user identifier and Internet Protocol address when the user logs into the preset website; In the preset correspondence between the user identification and the associated information, a matching operation is performed using the user identification of the second user to obtain the associated information of the second user.
[0020] In the above implementation, by performing a matching operation using the first Internet Protocol address in the login log of the preset website, the user identifier of the second user who used the first Internet Protocol address can be quickly obtained. Furthermore, by performing a matching operation using the second user's user identifier in the correspondence between the preset user identifier and the associated information, the associated information of the second user can be quickly obtained.
[0021] In a second aspect, an embodiment of the present application provides a device for constructing an Internet Protocol address profile, including: A first acquisition module is configured to acquire a first Internet Protocol address when a first user logs into a preset website; a second obtaining module, configured to obtain an address type of the first Internet Protocol address; a determination module configured to obtain association information of a second user who has used the first Internet Protocol address, the association information of the second user including enterprise affiliation information of the second user and all Internet Protocol addresses historically used by the second user; The third acquisition module is configured to acquire the attribution information of the first Internet Protocol address according to the association information of the second user and the address type of the first Internet Protocol address.
[0022] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the method of constructing an Internet Protocol address portrait of the first aspect mentioned above.
[0023] In a fourth aspect, an embodiment of the present application provides a computer storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions enable the processor to implement the method of constructing an Internet Protocol address portrait according to the first aspect above.
[0024] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the method of constructing an Internet Protocol address portrait according to the first aspect mentioned above. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.
[0026] Figure 1 A flowchart of a method for constructing an Internet Protocol address profile provided in an embodiment of the present application; Figure 2 A schematic diagram of the structure of an apparatus for constructing an Internet Protocol address profile provided in an embodiment of the present application; Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0028] Example 1: In order to solve the problem of the related art that the user's IP address cannot be accurately determined to which company it belongs to, the present application provides a method for constructing an Internet Protocol address profile. Figure 1 As shown, Figure 1 A flow chart of a method for constructing an Internet Protocol address profile provided in an embodiment of the present application includes: Step S101: obtaining a first Internet Protocol address used by a first user to log in to a preset website.
[0029] An IP address (Internet Protocol Address) is a unique identifier assigned by the Internet to each device on a network, enabling communication within that network. The first IP address is the unique identifier assigned by the Internet to the device used by the first user to log in to a predetermined website.
[0030] The preset website is, for example, a crowd-testing website, and the first user is, for example, a white hat who logs into the crowd-testing website.
[0031] Step S102: Acquire the address type of the first Internet Protocol address.
[0032] The address type of the Internet Protocol address can be one of enterprise dedicated line, data center, and home broadband.
[0033] In the case where the address type of the Internet Protocol address is data center, it indicates that the Internet Protocol address is assigned to a data center or hosting facility for supporting servers, storage devices and other network infrastructure.
[0034] If the address type of the Internet Protocol address is home broadband, it indicates that the Internet Protocol address is assigned to a personal device. Correspondingly, if the address type of the first Internet Protocol address is home broadband, it can be preliminarily determined that the first Internet Protocol address must belong to an individual.
[0035] If the address type of the Internet Protocol address is Enterprise Dedicated Line, it indicates that the Internet Protocol address is assigned to a device within the enterprise. Accordingly, if the address type of the first Internet Protocol address is Enterprise Dedicated Line, it can be preliminarily determined that the first Internet Protocol address belongs to the enterprise. However, the specific name of the enterprise to which it belongs cannot be determined.
[0036] Since the Internet Protocol address used by the user when logging into the preset website may belong to an enterprise or an individual, by obtaining the address type of the first Internet Protocol address, it can be preliminarily determined whether the first Internet Protocol address belongs to an enterprise.
[0037] Step S103: Acquire association information of a second user who has used the first Internet Protocol address. The association information of the second user includes the enterprise affiliation information of the second user and all Internet Protocol addresses historically used by the second user.
[0038] Optionally, obtaining the associated information of the second user who used the first Internet Protocol address includes: performing a matching operation using the first Internet Protocol address in a login log of a preset website to obtain a user identifier of the second user who used the first Internet Protocol address; the login log includes the user identifier and Internet Protocol address when the user logged into the preset website; and performing a matching operation using the user identifier of the second user in the correspondence between the preset user identifier and the associated information to obtain the associated information of the second user.
[0039] Step S104: Acquire the attribution information of the first Internet Protocol address according to the association information of the second user and the address type of the first Internet Protocol address.
[0040] The method for constructing an Internet Protocol address portrait provided in the embodiment of the present application obtains the address type of the first Internet Protocol address. Since the first Internet Protocol address used by the user when logging into a preset website may belong to an enterprise or an individual, it is possible to preliminarily determine whether the first Internet Protocol address belongs to an enterprise by obtaining the address type of the first Internet Protocol address.
[0041] In addition, by obtaining the association information of a second user who has used the first Internet Protocol address, and based on the association information of the second user and the address type of the first Internet Protocol address, the attribution information of the first Internet Protocol address is obtained. Since Internet Protocol addresses belonging to an enterprise can be used by multiple users, and there may be overlap between Internet Protocol addresses used by users belonging to the same enterprise, the enterprise attribution information of the second user who has used the first Internet Protocol address and the attribution information of other Internet Protocol addresses used by the second user can be used to deduce the enterprise attribution of the first Internet Protocol address. This improves the accuracy of determining the enterprise attribution of an Internet Protocol address and more accurately profiles the Internet Protocol address.
[0042] In an optional implementation provided in an embodiment of the present application, the address type of the first Internet Protocol address may be an enterprise dedicated line, and obtaining the attribution information of the first Internet Protocol address based on the association information of the second user and the address type of the first Internet Protocol address includes: When the second user includes a third user, the attribution information of the first Internet Protocol address is obtained based on the enterprise attribution information of the third user; wherein the third user is a second user who does not use an Internet Protocol address other than the first Internet Protocol address and whose address type is an enterprise dedicated line.
[0043] Optionally, obtaining the attribution information of the first Internet Protocol address based on the enterprise attribution information of the third user includes: if there is only one third user, obtaining the first enterprise from the enterprise attribution information of the third user; and determining that the attribution information of the first Internet Protocol address includes the first enterprise.
[0044] Optionally, obtaining the attribution information of the first Internet Protocol address based on the enterprise attribution information of the third user includes: if there are multiple third users, obtaining the first enterprise from the enterprise attribution information of the associated information of each third user; for each different first enterprise, counting the number of third users belonging to the first enterprise; obtaining the probability that the first Internet Protocol address belongs to the first enterprise based on the number of third users belonging to the first enterprise; and obtaining the attribution information of the first Internet Protocol address based on the probability that the first Internet Protocol address belongs to each first enterprise.
[0045] Optionally, counting the number of third users belonging to different first enterprises may include the following steps: The first enterprise is obtained from the enterprise affiliation information in the associated information of each third user, and the number of first occurrences of different first enterprises in the enterprise affiliation information is counted. The email address of each third user is obtained from the associated information of each third user, and the first enterprise is obtained from the domain name of each third user's email address. The number of second occurrences of different first enterprises in the domain name corresponding to each third user's email address is counted. The number of third users of each first enterprise is equal to the sum of the first and second occurrences of each first enterprise.
[0046] Obtaining the probability that the first Internet Protocol address belongs to each first enterprise based on the number of third users belonging to different first enterprises may include the following steps: for each first enterprise, performing a matching operation using the number of third users belonging to the first enterprise in a correspondence between a preset number of users and probability, to obtain the probability that the first Internet Protocol address belongs to the first enterprise.
[0047] If the address type of the first Internet Protocol address is an enterprise dedicated line and there are multiple second users, it can also be determined whether the multiple second users include multiple fourth users. The fourth user is a second user using an Internet Protocol address other than the first Internet Protocol address that is an enterprise dedicated line. If the multiple second users include multiple fourth users, and the enterprise affiliations of the multiple fourth users are different, it is determined that the affiliation information of the first Internet Protocol address includes Party A's unit.
[0048] The "Party A" entity represents the enterprise that acts as the demander or client in a transaction between two enterprises. If the attribution information for the first IP address includes "Party A," it indicates that the first IP address must belong to the enterprise, and the fourth user can provide services for the needs or commissions of the enterprise.
[0049] If users belonging to different enterprises use multiple identical IP addresses with an enterprise dedicated line address type, then in a cooperative relationship between enterprises, the IP address is more likely to belong to the enterprise receiving services from the other enterprise. Therefore, in the above implementation process, the multiple second users can include multiple fourth users, and the enterprise affiliations of the enterprise affiliations of the multiple fourth users can be different. The affiliation information of the first IP address can be determined to include Party A. Therefore, the enterprise type of the enterprise to which the first IP address belongs can be determined to be Party A.
[0050] In an optional implementation of an embodiment of the present application, the attribution information of the first Internet Protocol address is obtained based on the association information of the second user and the address type of the first Internet Protocol address, including: when the address type of the first Internet Protocol address is a data center and there are multiple second users, it can be determined whether the multiple second users include multiple fourth users. The fourth user is a second user who uses an Internet Protocol address with an address type of an enterprise dedicated line other than the first Internet Protocol address. If the multiple second users include multiple fourth users, and the enterprise affiliations in the enterprise affiliation information of the multiple fourth users are different, it is determined that the attribution information of the first Internet Protocol address includes a project agent.
[0051] Project Proxy represents a network IP proxy. A network IP proxy is an intermediary service that allows users to route their network connection through different servers, so that the user's public IP address is different from the user's real IP address. When Project Proxy is included in the attribution information of an Internet Protocol address, it indicates that the Internet Protocol address was assigned or provided by a proxy server.
[0052] If users belonging to different enterprises use multiple identical IP addresses with a data center address type, then in a cooperative relationship between enterprises, the IP addresses are more likely to belong to an intermediary enterprise. Therefore, in the above implementation, if the address type of the first IP address is data center, the multiple second users include multiple fourth users, and the enterprise affiliations of the multiple fourth users are different, it is determined that the affiliation information of the first IP address includes project agency. Therefore, it can be determined that the enterprise type of the enterprise to which the first IP address belongs is project agency.
[0053] Example 2: Based on the same inventive concept, the present application also provides an apparatus 200 for constructing an Internet Protocol address profile. Figure 2 As shown, Figure 2 Shows the use of Figure 1 The specific functions of the device 200 for constructing an Internet Protocol address profile according to the method shown can be found in the description above. To avoid repetition, a detailed description is omitted here. The device 200 for constructing an Internet Protocol address profile includes at least one software function module that can be stored in a memory in the form of software or firmware or fixed in the operating system of the device 200 for constructing an Internet Protocol address profile. Specifically: See also Figure 2 As shown, the device 200 for constructing an Internet Protocol address portrait includes: a first acquisition module 201, a second acquisition module 202, a determination module 203 and a third acquisition module 204.
[0054] The first acquisition module 201 is configured to acquire the first Internet Protocol address of a first user when logging into a preset website. The second acquisition module 202 is configured to acquire the address type of the first Internet Protocol address. The determination module 203 is configured to acquire the association information of a second user who has used the first Internet Protocol address. The association information of the second user includes the company affiliation information of the second user and all Internet Protocol addresses previously used by the second user. The third acquisition module 204 is configured to acquire the affiliation information of the first Internet Protocol address based on the association information of the second user and the address type of the first Internet Protocol address.
[0055] In a feasible implementation of the embodiment of the present application, the address type of the first Internet Protocol address is an enterprise dedicated line, and the third acquisition module is specifically configured to obtain the attribution information of the first Internet Protocol address based on the enterprise attribution information of the third user when the second user includes a third user; wherein the third user is a second user who does not use an Internet Protocol address of an enterprise dedicated line type other than the first Internet Protocol address.
[0056] In a feasible implementation of the embodiment of the present application, the third acquisition module is specifically configured to: if there is only one third user, obtain the first enterprise from the enterprise affiliation information of the third user; and determine that the affiliation information of the first Internet Protocol address includes the first enterprise.
[0057] In a feasible implementation of the embodiment of the present application, the third acquisition module is specifically configured as follows: if there are multiple third users, the first enterprise is obtained from the enterprise affiliation information of the associated information of each third user; for each different first enterprise, the number of third users belonging to the first enterprise is counted; based on the number of third users belonging to the first enterprise, the probability that the first Internet Protocol address belongs to the first enterprise is obtained; and based on the probability that the first Internet Protocol address belongs to each first enterprise, the affiliation information of the first Internet Protocol address is obtained.
[0058] In a feasible implementation of the embodiment of the present application, the third acquisition module is further configured to: when multiple second users include multiple fourth users and the corporate affiliation in the corporate affiliation information of each fourth user is different, determine that the affiliation information of the first Internet Protocol address includes the Party A unit; wherein the fourth user is a second user who uses an Internet Protocol address with an address type of an enterprise dedicated line other than the first Internet Protocol address.
[0059] In a feasible implementation of an embodiment of the present application, when there are multiple second users and the address type of the first Internet Protocol address is a data center, the third acquisition module is further configured to: when the multiple second users include multiple fourth users and the corporate affiliations in the corporate affiliation information of each fourth user are different, determine that the affiliation information of the first Internet Protocol address includes a project agent; wherein the fourth user is a second user who uses an Internet Protocol address with an address type of an enterprise dedicated line other than the first Internet Protocol address.
[0060] In a feasible implementation manner of an embodiment of the present application, the determination module is specifically configured as follows: in the login log of the preset website, a matching operation is performed using the first Internet Protocol address to obtain the user identifier of the second user who has used the first Internet Protocol address; the login log includes the user identifier and Internet Protocol address when the user logs in to the preset website; in the correspondence between the preset user identifier and the associated information, a matching operation is performed using the user identifier of the second user to obtain the associated information of the second user.
[0061] It should be understood that, for the sake of brevity, some of the contents described in the first embodiment will not be repeated in this embodiment.
[0062] Example 3: Based on the same inventive concept, this embodiment provides an electronic device, see Figure 3 As shown, it includes a processor 301 and a memory 302. The processor 301 is used to execute one or more programs stored in the memory 302 to implement the above-mentioned method of constructing an Internet Protocol address portrait.
[0063] It is understood that the processor 301 may be a processor core or processor chip, or other circuit capable of configuring and running programs. The memory 302 may be RAM (Random Access Memory), ROM (Read-Only Memory), flash memory, etc., but is not limited thereto.
[0064] It's understandable. Figure 3 The structure shown is only for illustration, and the electronic device may also include Figure 3 More or fewer components than shown, or with Figure 3For example, the system may further include an internal communication bus for enabling communication between the processor 301 and the memory 302; another example, the system may further include an external communication interface, such as a USB (Universal Serial Bus) interface, a CAN (Controller Area Network) bus interface, etc.; another example, the system may further include an information display component such as a display screen, but this is not intended to be limiting.
[0065] Based on the same inventive concept, this embodiment further provides a computer-readable storage medium, such as a floppy disk, an optical disk, a hard disk, a flash memory, a USB flash drive, an SD (Secure Digital Memory Card), or an MMC (Multimedia Card). The computer-readable storage medium stores one or more programs for implementing the aforementioned steps. These one or more programs can be executed by one or more processors to implement the aforementioned method for constructing an Internet Protocol address profile. This description is omitted here.
[0066] Based on the same inventive concept, this embodiment also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the above-mentioned method of constructing an Internet Protocol address portrait.
[0067] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interface, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0068] In addition, the units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0069] Furthermore, the functional modules in each embodiment of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0070] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any actual relationship or order between these entities or operations.
[0071] As used herein, a plurality refers to two or more than two.
[0072] The above description is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, various modifications and variations of the present application are possible. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A method for constructing an Internet Protocol address profile, characterized in that: include: Obtaining a first Internet Protocol address when the first user logs into a preset website; Obtaining an address type of the first Internet Protocol address; Obtaining association information of a second user who has used the first Internet Protocol address, the association information of the second user including enterprise affiliation information of the second user and all Internet Protocol addresses historically used by the second user; The attribution information of the first Internet Protocol address is obtained according to the association information of the second user and the address type of the first Internet Protocol address.
2. The method according to claim 1, characterized in that The address type of the first Internet Protocol address is an enterprise dedicated line, and obtaining the attribution information of the first Internet Protocol address according to the association information of the second user and the address type of the first Internet Protocol address includes: In a case where the second users include a third user, acquiring the attribution information of the first Internet Protocol address according to the enterprise attribution information of the third user; The third user is a second user who does not use an Internet Protocol address other than the first Internet Protocol address and whose address type is an enterprise dedicated line.
3. The method according to claim 2, characterized in that Acquiring the attribution information of the first Internet Protocol address according to the enterprise attribution information of the third user includes: If there is only one third user, obtaining the first enterprise from the enterprise affiliation information of the third user; The attribution information for determining the first Internet Protocol address includes the first enterprise.
4. The method according to claim 2, characterized in that Acquiring the attribution information of the first Internet Protocol address according to the enterprise attribution information of the third user includes: If there are multiple third users, obtaining the first enterprise from the enterprise affiliation information of the associated information of each third user; For each different first enterprise, counting the number of third users belonging to the first enterprise; Obtaining a probability that the first Internet Protocol address belongs to the first enterprise based on the number of third users belonging to the first enterprise; The attribution information of the first Internet Protocol address is obtained according to the probability that the first Internet Protocol address belongs to each first enterprise.
5. The method according to claim 2, characterized in that There are multiple second users, and the method further includes: In the case where the plurality of second users include a plurality of fourth users and the corporate affiliations of the corporate affiliations of the respective fourth users are different, determining that the affiliation information of the first Internet Protocol address includes Party A; The fourth user is a second user who uses an Internet Protocol address other than the first Internet Protocol address, and the address type is an enterprise dedicated line Internet Protocol address.
6. The method according to claim 1, characterized in that There are multiple second users, and the address type of the first Internet Protocol address is a data center. Obtaining the attribution information of the first Internet Protocol address according to the association information of the second users and the address type of the first Internet Protocol address includes: In a case where the plurality of second users include a plurality of fourth users and the enterprise affiliations in the enterprise affiliation information of each of the fourth users are different, determining that the affiliation information of the first Internet Protocol address includes a project agent; The fourth user is a second user who uses an Internet Protocol address other than the first Internet Protocol address, and the address type is an enterprise dedicated line Internet Protocol address.
7. The method according to claim 1, characterized in that Obtaining association information of a second user who has used the first Internet Protocol address includes: In the login log of the preset website, a matching operation is performed using the first Internet Protocol address to obtain a user identifier of a second user who has used the first Internet Protocol address; the login log includes the user identifier and Internet Protocol address when the user logs into the preset website; In the preset correspondence between the user identification and the associated information, a matching operation is performed using the user identification of the second user to obtain the associated information of the second user.
8. A device for constructing an Internet Protocol address profile, characterized in that: include: A first acquisition module is configured to acquire a first Internet Protocol address when a first user logs into a preset website; a second obtaining module, configured to obtain an address type of the first Internet Protocol address; a determination module configured to obtain association information of a second user who has used the first Internet Protocol address, the association information of the second user including enterprise affiliation information of the second user and all Internet Protocol addresses historically used by the second user; The third acquisition module is configured to acquire the attribution information of the first Internet Protocol address according to the association information of the second user and the address type of the first Internet Protocol address.
9. An electronic device, characterized in that: It includes a processor and a memory, the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the method for constructing an Internet Protocol address portrait as described in any one of claims 1 to 7.
10. A computer storage medium, characterized in that The storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by the processor, the computer-executable instructions enable the processor to implement the method for constructing an Internet Protocol address portrait as described in any one of claims 1 to 7.
11. A computer program product, characterized in that The computer program product includes a computer program, which, when executed by a processor, implements the method for constructing an Internet Protocol address profile as described in any one of claims 1 to 7.