CN112153091B - Method and device for determining relevance of equipment - Google Patents

Method and device for determining relevance of equipment Download PDF

Info

Publication number
CN112153091B
CN112153091B CN201910570370.1A CN201910570370A CN112153091B CN 112153091 B CN112153091 B CN 112153091B CN 201910570370 A CN201910570370 A CN 201910570370A CN 112153091 B CN112153091 B CN 112153091B
Authority
CN
China
Prior art keywords
devices
internet protocol
information
equipment
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910570370.1A
Other languages
Chinese (zh)
Other versions
CN112153091A (en
Inventor
曹兵
孟昭慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910570370.1A priority Critical patent/CN112153091B/en
Publication of CN112153091A publication Critical patent/CN112153091A/en
Application granted granted Critical
Publication of CN112153091B publication Critical patent/CN112153091B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Abstract

The embodiment of the disclosure discloses a method and a device for determining the relevance of equipment. One embodiment of the method comprises: grouping the products acquired from the devices and the internet protocol addresses matched with the products according to the ID of the devices to obtain a plurality of internet protocol addresses matched with the ID of the devices; determining the position information of the equipment indicated by each internet protocol address and the time information matched with the position information of the equipment according to the plurality of internet protocol addresses matched with the ID of the equipment; determining a position track of the equipment according to the position information and the time information of the equipment; determining whether users of the at least two devices are the same based on the location trajectories of the at least two devices. This embodiment achieves an improved accuracy of detecting whether the users of the devices are the same user.

Description

Method and device for determining relevance of equipment
Technical Field
Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a method and an apparatus for determining a relevance of a device.
Background
With the popularization of intelligent devices and the high-speed development of manufacturing technologies of the intelligent devices, the intelligent devices are updated faster and faster. Meanwhile, as the living standard of people increases, the consumption level also increases, for example, currently, one user usually has multiple intelligent devices.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for determining the relevance of equipment.
In a first aspect, an embodiment of the present disclosure provides a method for determining a relevance of a device, including: grouping the products acquired from the devices and the internet protocol addresses matched with the products according to the ID of the devices to obtain a plurality of internet protocol addresses matched with the ID of the devices; determining the position information of the equipment indicated by each internet protocol and the time information matched with the position information of the equipment according to a plurality of internet protocol addresses matched with the ID of the equipment; determining the position track of the equipment according to the position information and the time information of the equipment; determining whether users of the at least two devices are the same based on the location trajectories of the at least two devices.
In some embodiments, determining whether the users of the at least two devices are the same based on the location trajectories of the at least two devices comprises: inputting the position tracks of at least two devices into a dynamic time warping model to obtain the similarity of the position tracks of at least two devices; it is determined whether the users of the at least two devices are the same based on the similarity.
In some embodiments, the method further comprises: the method comprises the steps of obtaining internet protocol addresses when products in a plurality of preset time periods are started; and determining the position track of the equipment according to the position information and the time information of the equipment, wherein the method comprises the following steps: and determining the position track of the equipment in each preset time period according to the position information of the equipment in each preset time period and the time information matched with the position information of the equipment.
In some embodiments, determining whether the users of the at least two devices are the same based on the location trajectories of the at least two devices comprises: inputting the position tracks of the at least two devices in each preset time period into a dynamic time warping model to obtain the similarity of the position tracks of the at least two devices in each preset time period; and determining whether the users of the at least two devices are the same based on the comparison of the similarity in each preset time period.
In some embodiments, determining location information of the device indicated by each internet protocol and time information matching the location information of the device according to a plurality of internet protocol addresses matching the ID of the device includes: and determining the position information of the equipment indicated by each internet protocol and the time information matched with the position information of the equipment based on the clustering algorithm and the plurality of internet protocol addresses matched with the ID of the equipment.
In a second aspect, an embodiment of the present disclosure provides an apparatus for determining a relevance of a device, including: the first internet protocol address acquisition unit is configured to group the products acquired from the devices and the internet protocol addresses matched with the products according to the ID of the devices to obtain a plurality of internet protocol addresses matched with the ID of the devices; an information acquisition unit configured to determine, from a plurality of internet protocol addresses matching the ID of the device, location information of the device indicated by each internet protocol address and time information matching the location information of the device; a position track obtaining unit configured to determine a position track of the device according to the position information of the device and the time information; a processing unit configured to determine whether users of the at least two devices are the same based on the location trajectories of the at least two devices.
In some embodiments, the processing unit comprises: the first similarity obtaining module is configured to input the position tracks of the at least two devices into the dynamic time warping model to obtain the similarity of the position tracks of the at least two devices; a first processing module configured to determine whether users of at least two devices are the same based on the similarity.
In some embodiments, the apparatus further comprises: a second internet protocol address acquisition unit configured to acquire an internet protocol address when each product in a plurality of preset time periods is enabled; and the position track acquiring unit is further configured to determine the position track of the device in each preset time period according to the position information of the device in each preset time period and the time information matched with the position information of the device.
In some embodiments, the processing unit further comprises: the second similarity obtaining module is configured to input the position tracks of the at least two devices in each preset time period into the dynamic time warping model to obtain the similarity of the position tracks of the at least two devices in each preset time period; a second processing module configured to determine whether users of the at least two devices are the same based on the comparison of the similarities within the respective preset time periods.
In some embodiments, the information obtaining unit is further configured to determine location information of the device indicated by each internet protocol address and time information matching the location information of the device based on the clustering algorithm and a plurality of internet protocol addresses matching the ID of the device.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device having one or more programs stored thereon; when executed by one or more processors, cause the one or more processors to implement a method as any one of the implementations of the first aspect.
In a fourth aspect, an embodiment of the disclosure provides a computer readable medium on which a computer program is stored, wherein the program, when executed by a processor, implements a method as in any of the implementations of the first aspect.
According to the scheme for determining the relevance of the equipment, firstly, the products acquired from the equipment and the internet protocol addresses matched with the products are grouped according to the ID of the equipment, and a plurality of internet protocol addresses matched with the ID of the equipment are obtained. Then, the position information of the device indicated by each internet protocol address and the time information matched with the position information of the device are determined according to the plurality of internet protocol addresses matched with the ID of the device. Then, the position track of the equipment is determined according to the position information and the time information of the equipment. Finally, it is determined whether the users of the at least two devices are the same based on the location trajectories of the at least two devices. In this embodiment, the position tracks of the devices are obtained according to the internet protocol addresses of products on the devices, and then whether the users of the at least two devices are the same or not is determined based on the obtained position tracks of the at least two devices, so that the accuracy of detecting whether the users of the devices are the same user or not can be improved, and accurate bases are provided for personalized recommendation of the users and construction of user portraits.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which one embodiment of the present disclosure may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for determining relevance of devices according to the present disclosure;
FIG. 3 is a schematic diagram of an application scenario of a method for determining relevance of a device according to an embodiment of the present disclosure;
FIG. 4 is a flow diagram of another embodiment of a method for determining relevance of devices according to the present disclosure;
FIG. 5 is a schematic block diagram illustrating one embodiment of an apparatus for determining relevance of devices according to the present disclosure;
FIG. 6 is a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary architecture 100 to which an embodiment of the disclosed method for determining relevance of a device may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The terminal devices 101, 102, 103 interact with a server 105 via a network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a web browser application, a video application, an instant messenger, a mailbox client, a traffic information application, a reading application, and the like.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices, such as a mobile phone, a computer, etc., which have a display screen and support communication with a server. When the terminal devices 101, 102, 103 are software, they may be installed in the terminal devices exemplified above. It may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, such as a backend server providing support for products on the terminal devices 101, 102, 103. The background server can analyze and process the obtained products and the internet protocol addresses matched with the products, and feeds back information processing results to the terminal equipment.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the method for determining the relevance of the device provided by the embodiment of the present disclosure is generally performed by a server, and accordingly, the apparatus for determining the relevance of the device is generally disposed in the server.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method for determining relevance of a device according to the present disclosure is shown. The method for determining the relevance of the equipment is applied to a server and comprises the following steps:
step 201, grouping each product obtained from each device and the internet protocol address matched with each product according to the ID of the device to obtain a plurality of internet protocol addresses matched with the ID of the device.
In this embodiment, an execution subject (e.g., the server 105 shown in fig. 1) of the method for determining the relevance of the devices may group, by the ID of the device, each product acquired from each device and an internet protocol address matching each product, thereby obtaining a plurality of internet protocol addresses matching the ID of the device.
An internet protocol address, i.e. IP, may be understood as a uniformly formatted form of address provided by the IP protocol. It can assign a logical address to each network and each host on the internet.
Here, the execution main body may acquire each product from each device and an internet protocol address matching each product. The execution subject may also obtain each product and an internet protocol address matching each product from each device via another third-party device, which is not limited in this embodiment.
The product here may be an Application (APP). The product may be installed on a device. Since there may be multiple devices, the internet protocol address of a product installed on one device may be different when connecting to different networks. If a user uses a product in a networking mode, the server can record the internet protocol address of the product when the product is used. Because the IDs of different devices are different, the server may group the products and the internet protocol addresses matching the products according to the IDs of the devices, to obtain a plurality of internet protocol addresses matching the IDs of the devices.
Step 202, determining the location information of the device indicated by each internet protocol address and the time information matched with the location information of the device according to the plurality of internet protocol addresses matched with the ID of the device.
In this embodiment, if a plurality of internet protocol addresses matching the ID of the device are obtained, the execution body may determine, in combination with the plurality of internet protocol addresses matching the ID of the device, location information of the device indicated by each internet protocol address and time information matching the location information of the device.
When the user uses a certain product on the device to surf the internet, the server can record the internet protocol address of the product and the time period of surfing the internet. The server may then learn the location information of the device over the time period in conjunction with the internet protocol address.
Because a plurality of products are possibly installed on one device, and the internet access products possibly used by users at different places are different, if different internet protocol addresses matched with the ID of the device are obtained, the position information of the device indicated by each internet protocol address and the time information matched with the position information of the device can be further determined.
As an example, a mobile phone with a small user is installed with a map software and an instant chat software. When the Xiaoming person goes to the coffee hall for rest, the mobile phone can be used for being connected with WIFI of the coffee hall, and then the person chats with friends through instant chat software. When the xiaoming wants to go to a certain destination, the xiaoming can open the map software on the mobile phone for route inquiry and navigation because the route is not clear. In the above process, when the instant chat software is used, the internet protocol address used by the instant chat software can be recorded by the server. The server can obtain the internet time point and the position information of the instant chat software through the internet protocol address, namely the position information of the small and clear mobile phone and the time information matched with the position information are obtained. Similarly, when xiaoming uses the map software on the mobile phone, the server can also obtain the position information and the time information of the xiaoming mobile phone through the internet protocol address when the map software is networked.
In some optional implementations of this embodiment, the execution subject may determine, based on the clustering algorithm and a plurality of internet protocol addresses matched with the IDs of the devices, location information of the devices indicated by the respective internet protocol addresses and time information matched with the location information of the devices.
In order to make the obtained location information more accurate, the executing agent may map the internet protocol address to the location information by combining a plurality of internet protocol addresses matched with the ID of the device with a clustering algorithm. The clustering algorithm here may be, for example, a density-based clustering algorithm. I.e. a plurality of internet protocol addresses are aggregated on a density basis.
Step 203, determining the position track of the equipment according to the position information and the time information of the equipment.
In this embodiment, if the location information of the device indicated by each ip address and the time information matching the location information are determined, the execution body may determine the location track of the device according to the location information and the time information of the device.
For example, for a device, a user may surf the internet using a product on the device at different locations a day. Different sites may have different internet protocol addresses. If the location information and the time information of the internet protocol address of the device within one day are obtained, the locations of the devices can be connected in a time sequence from front to back, so that a location track of the device within one day can be generated.
Step 204, determining whether the users of the at least two devices are the same based on the position tracks of the at least two devices.
In this embodiment, after obtaining the location tracks of the devices, the execution main body may determine whether the users of the at least two devices are the same by combining the location tracks of the at least two devices.
For example, the execution body can obtain the position tracks of the two devices by the method. The execution body may compare the location tracks of the two devices in the same time period, and if the location tracks of the two devices are similar or even the same, it indicates that the users of the two devices may be the same.
It should be noted here that even though the device commonly used by the user is the first device and the second device is only the standby device, if the user does not turn off the internet function of the second device, that is, the product on the second device automatically connects to the internet background and runs, the server can still obtain the internet protocol address of the product on the second device.
In some optional implementations of this embodiment, the executing body may determine whether the users of the at least two devices are the same based on the position tracks of the at least two devices by:
firstly, inputting the position tracks of at least two devices into a dynamic time warping model to obtain the similarity of the position tracks of at least two devices.
In this optional implementation, if the position trajectories of the two devices are obtained, the positions are sorted according to the time dimension to obtain the position trajectories. Thereafter, the execution body may input the position trajectories of the two devices into the dynamic time warping model DTW.
Since the similarity between the position trajectory and the human voice length is high, the dynamic time warping model, which is usually used to detect the voice similarity, can also be used to detect the similarity of the position trajectory. Therefore, after the position tracks of the two devices are input into the dynamic time warping model, the similarity of the position tracks of the two devices can be obtained through the output of the model.
And a second step of determining whether the users of the at least two devices are the same based on the similarity.
In this alternative implementation, if the similarity of the position trajectories of the two devices is obtained, the executing entity may determine whether the users of the two devices are the same.
For example, the similarity of the obtained position tracks of the two devices may be compared with a preset value, and if the similarity is greater than or equal to the preset value, it indicates that the users of the two devices may be the same. If the similarity is smaller than the preset value, it indicates that the users of the two devices may be different.
With continued reference to fig. 3. Fig. 3 is a schematic diagram of an application scenario of a method for determining relevance of a device according to an embodiment of the present disclosure.
First, the terminal device 301 may send the internet protocol address 1, the internet protocol address 2, and the internet protocol address 3 corresponding to the product a, the product b, and the product c thereon to the server 303. The terminal device 302 may send the internet protocol addresses 3, 4, and 5 corresponding to the products d, e, and f thereon to the server 303.
Next, the server 303 may group the obtained product a, product b, product c, product d, product e, and product f, and the internet protocol address 1, the internet protocol address 2, the internet protocol address 3, the internet protocol address 4, the internet protocol address 5, and the internet protocol address 6 respectively matched therewith according to the ID of the terminal device. The server 303 divides the product a, the product b, the product c and the internet protocol address 1, the internet protocol address 2, the internet protocol address 3 into a group in which the terminal device 301 is located (as indicated by reference numeral 304), and divides the product d, the product e, the product f and the internet protocol address 4, the internet protocol address 5, the internet protocol address 6 into a group in which the terminal device 302 is located (as indicated by reference numeral 305).
Then, the server 303 may determine, in conjunction with the internet protocol address 1, the internet protocol address 2, and the internet protocol address 3 of the terminal device 301, the location 1 and time 1, the location 2 and time 2, and the location 3 and time 3 of the terminal device 301 indicated by the internet protocol address 1, the internet protocol address 2, and the internet protocol address 3, respectively (as indicated by reference numeral 306).
Similarly, the server 303 may determine the location 4 and time 4, the location 5 and time 5, and the location 6 and time 6 of the terminal device 302 indicated by the internet protocol address 4, the internet protocol address 5, and the internet protocol address 6, respectively, in combination with the internet protocol address 4, the internet protocol address 5, and the internet protocol address 6 of the terminal device 302 (as shown by reference numeral 307).
Server 303 may then determine a first location trajectory 308 for terminal device 301 in conjunction with location 1 and time 1, location 2 and time 2, and location 3 and time 3 (as indicated by reference numeral 306) of terminal device 301. Similarly, the server 303 may determine the second location trajectory 309 of the terminal device 302 in conjunction with location 4 and time 4, location 5 and time 5, and location 6 and time 6 (as indicated by reference numeral 307) of the terminal device 302.
Finally, server 303 may compare first location track 308 and second location track 309 to determine whether the users of terminal device 301 and terminal device 302 are the same (as indicated by reference numeral 310).
At present, one of the prior arts generally directly compares whether internet protocols of two devices are the same to determine whether users of the two devices are the same. This approach has low accuracy. In the method provided by the embodiment of the disclosure, the position tracks of the devices are obtained according to the internet protocol addresses of the products on the devices, and then whether the users of the at least two devices are the same or not is determined based on the obtained position tracks of the at least two devices, so that the accuracy of detecting whether the users of the devices are the same user or not is improved, and accurate basis is provided for personalized recommendation and user portrait construction of the users.
With further reference to fig. 4, a flow 400 of another embodiment of a method for determining relevance of a device is shown. The flow 400 of the method for determining the relevance of the device, applied to the server, comprises the following steps:
step 401, obtaining an internet protocol address when each product in a plurality of preset time periods is enabled.
In the present embodiment, an executing agent (such as the server 105 shown in fig. 1) of the method for determining the relevance of a device may acquire the internet protocol addresses of when respective products are enabled for a plurality of preset time periods.
For example, the server may obtain the internet protocol address of each product when enabled each day of 30 days.
And 402, grouping each product obtained from each device and the internet protocol address matched with each product according to the ID of the device to obtain a plurality of internet protocol addresses matched with the ID of the device.
Step 403, determining the location information of the device indicated by each internet protocol address and the time information matched with the location information of the device according to the plurality of internet protocol addresses matched with the ID of the device.
In this embodiment, the step 402 and the step 403 may be performed in a manner similar to the step 201 and the step 202 in the foregoing embodiment, and the above description for the step 201 and the step 202 also applies to the step 402 and the step 403, which is not described again here.
And step 404, determining the position track of the equipment in each preset time period according to the position information of the equipment in each preset time period and the time information matched with the position information of the equipment.
In this embodiment, if the location information of the device indicated by each ip address and the time information matching the location information of the device are determined, the execution main body may determine the location track of the device in each preset time period.
That is, after determining the location information of the devices in each time period and the time information matching with the location information of the devices, the server may determine the location track of the devices in each time period according to the time sequence. For example, if there are 30 days each of which determines the location trajectory of the device, the server may determine 30 location trajectories of the device within 30 days.
Step 405, inputting the position tracks of the at least two devices in each preset time period into the dynamic time warping model to obtain the similarity of the position tracks of the at least two devices in each preset time period.
In this embodiment, if the position tracks of the devices in each preset time period are obtained, the executing body may input the position tracks of the at least two devices in each preset time period into the dynamic time warping model, so as to obtain the similarity between the position tracks of the at least two devices in each preset time period.
For example, for device a, the server gets the location track of device a for each day for 30 days. For device B, the server obtains the location track for device B each day for 30 days. Then, the server may input the position tracks of the device a and the device B each day into the dynamic time warping model, respectively, to obtain the similarity of the position tracks of the two devices each day.
Step 406, determining whether the users of the at least two devices are the same based on the comparison of the similarity within each preset time period.
In this embodiment, if the similarity of the position tracks of at least two devices in each preset time period is obtained, the execution main body may perform unified comparison and analysis on the similarity of the two devices in each preset time period to determine whether the users of the devices are the same.
For example, for the devices a and B, the server obtains the similarity of the position tracks of the two devices every day within 30 days, that is, 30 similarities. Then, the server performs comparative analysis on the 30 similarities, for example, if more than 50% of the 30 similarities exceed a preset value, the server may determine that the users of the device a and the device B are the same. The server may also analyze the similarity of the location tracks within the 30 days by other analysis methods, and determine whether the users of the device a and the device B are the same, which is not limited in this embodiment.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, the process 400 of the method for determining the correlation of the devices in this embodiment embodies a step of obtaining an internet protocol address when each product in a plurality of preset time periods is enabled, determining a location track of the device in each preset time period according to location information of the device in each preset time period and time information matched with the location information of the device, inputting the location tracks of the devices in each preset time period of at least two devices into a dynamic time warping model, obtaining similarities of the location tracks of the at least two devices in each preset time period, and determining whether users of the at least two devices are the same based on comparison of the similarities in each preset time period. Therefore, the solution described in this embodiment may not only determine whether the users of the at least two devices are the same by combining the location tracks of the at least two devices in one time period, but also compare the similarities of the location tracks of the at least two devices in multiple time periods to determine whether the users of the at least two devices are the same, thereby improving the detection accuracy.
With further reference to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present disclosure provides an embodiment of an apparatus for determining a relevance of a device, which corresponds to the method embodiment shown in fig. 2, and which may be specifically applied in a server.
As shown in fig. 5, the apparatus 500 for determining device relevance provided by the present embodiment includes a first internet protocol address obtaining unit 501, an information obtaining unit 502, a location track obtaining unit 503, and a processing unit 504. The first internet protocol address obtaining unit 501 is configured to group, according to the ID of the device, each product obtained from each device and the internet protocol address matched with each product, to obtain a plurality of internet protocol addresses matched with the ID of the device; an information acquisition unit 502 configured to determine, from a plurality of internet protocol addresses matching the IDs of the devices, location information of the devices indicated by the respective internet protocol addresses and time information matching the location information of the devices; a location trajectory acquisition unit 503 configured to determine a location trajectory of the device based on the location information of the device and the time information; a processing unit 504 configured to determine whether users of the at least two devices are the same based on the location trajectories of the at least two devices.
In the present embodiment, in the apparatus 500 for determining the relevance of a device: the specific processing of the first ip address obtaining unit 501, the information obtaining unit 502, the location track obtaining unit 503 and the processing unit 504 and the technical effects thereof can refer to the related descriptions of step 201, step 202, step 203 and step 204 in the corresponding embodiment of fig. 2, which are not described herein again.
In some optional implementations of the present embodiment, the processing unit 504 may include a first similarity obtaining module and a first processing module (not shown in the figure). The first similarity obtaining module may be configured to input the position tracks of the at least two devices into the dynamic time warping model to obtain similarities of the position tracks of the at least two devices; a first processing module may be configured to determine whether users of the at least two devices are the same based on the similarity.
In some optional implementations of this embodiment, the apparatus 500 for determining the relevance of a device may further include a second internet protocol address obtaining unit (not shown in the figure). The second internet protocol address acquisition unit may be configured to acquire the internet protocol addresses of the products when the products are enabled within a plurality of preset time periods; and the position trajectory acquisition unit 503 may be further configured to determine the position trajectory of the device in each preset time period according to the position information of the device in each preset time period and the time information matched with the position information of the device.
In some optional implementations of this embodiment, the processing unit 504 may further include a second similarity obtaining module and a second processing module (not shown in the figure). The second similarity obtaining module may be configured to input the position tracks of the at least two devices in each preset time period into the dynamic time warping model, so as to obtain similarities of the position tracks of the at least two devices in each preset time period; a second processing module configured to determine whether users of the at least two devices are the same based on the comparison of the similarities within the respective preset time periods.
In some optional implementations of the present embodiment, the information obtaining unit 502 may be further configured to determine, based on the clustering algorithm and a plurality of internet protocol addresses matching the IDs of the devices, location information of the devices indicated by the respective internet protocol addresses and time information matching the location information of the devices.
In the apparatus for determining device correlation according to the above embodiment of the present disclosure, the server groups each product acquired from each device and the internet protocol address matching each product according to the ID of the device by the first internet protocol address acquisition unit 501, obtains a plurality of internet protocol addresses matching the ID of the device, and then, the location information of the device indicated by each internet protocol address and the time information matching the location information of the device are determined by the information obtaining unit 502 on the basis of a plurality of internet protocol addresses matching the ID of the device, and thereafter, the location trajectory of the device is determined by the location trajectory acquisition unit 503 based on the location information of the device and the time information, and, finally, it is determined by the processing unit 504 whether the users of the at least two devices are the same based on the location trajectories of the at least two devices. Therefore, the accuracy of detecting whether the users of the equipment are the same user is improved, and accurate basis is provided for personalized recommendation and user portrait construction of the users.
Referring now to FIG. 6, and referring now to FIG. 6, a block diagram of an electronic device (e.g., server in FIG. 1) 600 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 6 may represent one device or may represent multiple devices as desired.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of embodiments of the present disclosure.
It should be noted that the computer readable medium described in the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In embodiments of the present disclosure, however, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately and not be assembled into the server. The computer readable medium carries one or more programs which, when executed by the server, cause the server to: grouping the products acquired from the devices and the internet protocol addresses matched with the products according to the ID of the devices to obtain a plurality of internet protocol addresses matched with the ID of the devices; determining the position information of the equipment indicated by each internet protocol address and the time information matched with the position information of the equipment according to the plurality of internet protocol addresses matched with the ID of the equipment; determining a position track of the equipment according to the position information and the time information of the equipment; determining whether users of the at least two devices are the same based on the location trajectories of the at least two devices.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (10)

1. A method for determining relevance of a device, comprising:
grouping products acquired from each device and internet protocol addresses matched with the products according to the ID of the device to obtain a plurality of internet protocol addresses matched with the ID of the device;
determining, according to a plurality of internet protocol addresses matched with the IDs of the devices, location information of the devices indicated by the respective internet protocol addresses and time information matched with the location information of the devices, including: determining the position information of the equipment indicated by each Internet protocol address and the time information matched with the position information of the equipment based on a clustering algorithm and a plurality of Internet protocol addresses matched with the ID of the equipment; the clustering algorithm is configured to aggregate a plurality of internet protocol addresses to determine the location information and the time information;
determining a position track of the equipment according to the position information of the equipment and the time information;
determining whether users of at least two devices are the same based on the location trajectories of the at least two devices.
2. The method of claim 1, wherein the determining whether users of at least two devices are the same based on the location trajectories of the at least two devices comprises:
inputting the position tracks of at least two devices into a dynamic time warping model to obtain the similarity of the position tracks of the at least two devices;
determining whether the users of the at least two devices are the same based on the similarity.
3. The method of claim 1, wherein the method further comprises:
acquiring an internet protocol address when each product in a plurality of preset time periods is started; and
determining the position track of the device according to the position information of the device and the time information, including:
and determining the position track of the equipment in each preset time period according to the position information of the equipment in each preset time period and the time information matched with the position information of the equipment.
4. The method of claim 3, wherein the determining whether users of at least two devices are the same based on the location trajectories of the at least two devices comprises:
inputting the position tracks of the equipment in each preset time period of at least two pieces of equipment into a dynamic time warping model to obtain the similarity of the position tracks of the at least two pieces of equipment in each preset time period;
and determining whether the users of the at least two devices are the same or not based on the comparison of the similarity in each preset time period.
5. An apparatus for determining a relevance of a device, comprising:
the first Internet protocol address acquisition unit is configured to group each product acquired from each device and the Internet protocol addresses matched with the products according to the ID of the device to obtain a plurality of Internet protocol addresses matched with the ID of the device;
an information acquisition unit configured to determine, from a plurality of internet protocol addresses matching the ID of the device, location information of the device indicated by each of the internet protocol addresses and time information matching the location information of the device;
a position track obtaining unit configured to determine a position track of the device according to the position information of the device and the time information;
a processing unit configured to determine whether users of at least two devices are the same based on the location trajectories of the at least two devices;
the information acquisition unit is further configured to determine location information of the device indicated by each internet protocol address and time information matching the location information of the device based on a clustering algorithm and a plurality of internet protocol addresses matching the ID of the device; the clustering algorithm is configured to aggregate a plurality of internet protocol addresses to determine the location information and the time information.
6. The apparatus of claim 5, wherein the processing unit comprises:
the first similarity obtaining module is configured to input the position tracks of at least two devices into the dynamic time warping model to obtain the similarity of the position tracks of the at least two devices;
a first processing module configured to determine whether users of the at least two devices are the same based on the similarity.
7. The apparatus of claim 5, wherein the apparatus further comprises:
a second internet protocol address acquisition unit configured to acquire an internet protocol address when each of the products is enabled for a plurality of preset time periods; and
the position track obtaining unit is further configured to determine the position track of the device in each preset time period according to the position information of the device in each preset time period and the time information matched with the position information of the device.
8. The apparatus of claim 7, wherein the processing unit further comprises:
the second similarity obtaining module is configured to input the position tracks of the at least two devices in each preset time period into a dynamic time warping model to obtain the similarity of the position tracks of the at least two devices in each preset time period;
a second processing module configured to determine whether users of the at least two devices are the same based on a comparison of the similarities within the respective preset time periods.
9. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
10. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN201910570370.1A 2019-06-27 2019-06-27 Method and device for determining relevance of equipment Active CN112153091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910570370.1A CN112153091B (en) 2019-06-27 2019-06-27 Method and device for determining relevance of equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910570370.1A CN112153091B (en) 2019-06-27 2019-06-27 Method and device for determining relevance of equipment

Publications (2)

Publication Number Publication Date
CN112153091A CN112153091A (en) 2020-12-29
CN112153091B true CN112153091B (en) 2022-05-13

Family

ID=73868934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910570370.1A Active CN112153091B (en) 2019-06-27 2019-06-27 Method and device for determining relevance of equipment

Country Status (1)

Country Link
CN (1) CN112153091B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113067913B (en) * 2021-03-19 2022-12-09 北京达佳互联信息技术有限公司 Positioning method, device, server, medium and product

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168341A (en) * 2014-08-15 2014-11-26 北京百度网讯科技有限公司 IP address locating method and CDN dispatching method and device
CN105307112A (en) * 2014-08-01 2016-02-03 中国电信股份有限公司 Method and system for acquiring user movement path by analysis
CN105787104A (en) * 2016-03-21 2016-07-20 百度在线网络技术(北京)有限公司 User attribute information acquiring method and device
CN105933294A (en) * 2016-04-12 2016-09-07 晶赞广告(上海)有限公司 Network user positioning method, device and terminal
CN106027693A (en) * 2016-06-30 2016-10-12 百度在线网络技术(北京)有限公司 Positioning method and positioning apparatus based on IP address
CN106210163A (en) * 2016-06-30 2016-12-07 百度在线网络技术(北京)有限公司 IP address-based localization method and device
CN106462634A (en) * 2014-06-27 2017-02-22 索尼公司 Information processing device, information processing method, and program
CN106570764A (en) * 2016-11-09 2017-04-19 广州杰赛科技股份有限公司 User relationship predicting method and device
CN106663105A (en) * 2014-06-27 2017-05-10 索尼公司 Information processing device, information processing method, and program
CN107341668A (en) * 2016-04-29 2017-11-10 滴滴(中国)科技有限公司 A kind of method and device for judging True Data
CN108134951A (en) * 2018-01-19 2018-06-08 百度在线网络技术(北京)有限公司 For recommending the method and apparatus of broadcasting content
CN109200567A (en) * 2017-07-01 2019-01-15 珠海格力电器股份有限公司 A kind of exchange method and its device, electronic equipment of exercise data

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106462634A (en) * 2014-06-27 2017-02-22 索尼公司 Information processing device, information processing method, and program
CN106663105A (en) * 2014-06-27 2017-05-10 索尼公司 Information processing device, information processing method, and program
CN105307112A (en) * 2014-08-01 2016-02-03 中国电信股份有限公司 Method and system for acquiring user movement path by analysis
CN104168341A (en) * 2014-08-15 2014-11-26 北京百度网讯科技有限公司 IP address locating method and CDN dispatching method and device
CN105787104A (en) * 2016-03-21 2016-07-20 百度在线网络技术(北京)有限公司 User attribute information acquiring method and device
CN105933294A (en) * 2016-04-12 2016-09-07 晶赞广告(上海)有限公司 Network user positioning method, device and terminal
CN107341668A (en) * 2016-04-29 2017-11-10 滴滴(中国)科技有限公司 A kind of method and device for judging True Data
CN106027693A (en) * 2016-06-30 2016-10-12 百度在线网络技术(北京)有限公司 Positioning method and positioning apparatus based on IP address
CN106210163A (en) * 2016-06-30 2016-12-07 百度在线网络技术(北京)有限公司 IP address-based localization method and device
CN106570764A (en) * 2016-11-09 2017-04-19 广州杰赛科技股份有限公司 User relationship predicting method and device
CN109200567A (en) * 2017-07-01 2019-01-15 珠海格力电器股份有限公司 A kind of exchange method and its device, electronic equipment of exercise data
CN108134951A (en) * 2018-01-19 2018-06-08 百度在线网络技术(北京)有限公司 For recommending the method and apparatus of broadcasting content

Also Published As

Publication number Publication date
CN112153091A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN109918040B (en) Voice instruction distribution method and device, electronic equipment and computer readable medium
US11934160B2 (en) Context driven routine prediction assistance
US10108748B2 (en) Most relevant application recommendation based on crowd-sourced application usage data
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN106897003A (en) For the methods, devices and systems of show map information
CN112395509A (en) Information display method, information providing method, apparatus, and computer-readable medium
CN109241721A (en) Method and apparatus for pushed information
CN110727775A (en) Method and apparatus for processing information
CN112153091B (en) Method and device for determining relevance of equipment
CN110781066B (en) User behavior analysis method, device, equipment and storage medium
CN110708238B (en) Method and apparatus for processing information
CN109995543B (en) Method and apparatus for adding group members
CN112148962B (en) Method and device for pushing information
CN111930228A (en) Method, device, equipment and storage medium for detecting user gesture
CN111311358A (en) Information processing method and device and electronic equipment
CN111311305A (en) Method and system for analyzing user public traffic band based on user track
CN114827060B (en) Interaction method and device and electronic equipment
CN114550728A (en) Method, device and electronic equipment for marking speaker
CN113486749A (en) Image data collection method, device, electronic equipment and computer readable medium
CN112309387A (en) Method and apparatus for processing information
CN110719324A (en) Information pushing method and equipment
CN110752958A (en) User behavior analysis method, device, equipment and storage medium
CN111291199B (en) Information query method and device
CN109614137A (en) Software version control method, device, equipment and medium
CN111367592A (en) Information processing method and device

Legal Events

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