Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application aims to provide a user tag determination method and device so as to accurately determine a user tag.
Fig. 1 is a schematic view of an application scenario of a user tag determination method according to an embodiment of the present application, as shown in fig. 1, where the scenario includes a target user terminal, a sensing device 200, and a server 300, where the target user terminal may be shown as a target user terminal 100, a target user terminal 101, and a target user terminal 102 in fig. 1. The sensing device 200 is disposed at a preset geographical area, the target user terminal is a user terminal located at the preset geographical area, and the server 300 may communicate with the sensing device 200. The sensing device 200 is configured to scan a communication signal of a target user terminal, obtain a signal strength sequence of the communication signal, and report the signal strength sequence to the server 300. The server 300 may determine first stay information of the target user terminal in the preset geographic area according to the signal strength sequence, and determine a target user tag corresponding to the target user terminal according to the first stay information, second stay information of a plurality of predetermined users in the preset geographic area, and user tags corresponding to the plurality of users.
In fig. 1, the target user terminal includes, but is not limited to, a mobile phone, a laptop, a tablet, a wearable device, and other user devices. The communication signal of the target user terminal may be a bluetooth signal or a WIFI (wireless local area network technology) signal. The perception device 200 may be a bluetooth detection device or a WIFI detection device, etc. In fig. 1, a plurality of sensing devices may be provided at a preset geographical area, so that first stay information of a target user terminal at the preset geographical area is accurately determined by the plurality of sensing devices. In a specific embodiment, the preset geographic area is an advertisement data delivery area, such as a certain business circle, a plurality of sensing devices are arranged in the business circle, the sensing devices scan signal intensity sequences of WIFI signals of target user terminals in the business circle, the server determines target user tags corresponding to the target user terminals based on the signal intensity sequences, and pushes advertisement data to the advertisement devices in the business circle according to the target user tags. In this embodiment, the target user tag may be a shopping preference tag or a diet preference tag, and the shopping preference and the diet preference of the user who frequently visits the shopping circle can be determined through the target user tag, so that the advertisement data can be accurately pushed.
Fig. 2 is a schematic flowchart of a user tag determination method according to an embodiment of the present application, where the flowchart may be executed by a server, as shown in fig. 2, and the flowchart includes:
step S202, acquiring a signal intensity sequence of a communication signal of a target user terminal scanned by a sensing device; the sensing equipment is located in a preset geographic area; the target user terminal is a user terminal located in a preset geographic area;
step S204, determining first stay information of the target user terminal in a preset geographical area according to the signal intensity sequence;
step S206, determining a target user label corresponding to the target user terminal according to the first stay information, second stay information of a plurality of predetermined users in a preset geographic area and user labels corresponding to the plurality of users; and the second stay information is determined and obtained according to the position information reported by the application programs in the user terminals of the users.
In this embodiment, a signal intensity sequence of a communication signal of a target user terminal scanned by a sensing device is first obtained, first stay information of the target user terminal in a preset geographic area is determined according to the signal intensity sequence, and a target user tag corresponding to the target user terminal is determined according to the first stay information, second stay information of a plurality of predetermined users in the preset geographic area, and user tags corresponding to the plurality of users. The sensing equipment is located in a preset geographical area, the target user terminal is a user terminal located in the preset geographical area, and the second stay information is determined according to position information reported by application programs in the user terminals of the users. Therefore, according to the embodiment, the first stay information of the target user terminal in the preset geographic area can be determined based on the signal intensity sequence of the communication signal of the target user terminal scanned by the sensing device, and then the target user label corresponding to the target user terminal is determined, so that the effect of accurately determining the user label is achieved.
In step S202, the sensing device is located in a preset geographic area, and the sensing device scans a communication signal of a target user terminal located in the preset geographic area to obtain a signal strength sequence, and sends the signal strength sequence to the server. The communication signal of the target user terminal may be a bluetooth signal or a WIFI signal.
In this embodiment, a plurality of sensing devices may be set in a preset geographic area, and by setting a plurality of sensing devices in the preset geographic area, the problem that the sensing device cannot scan the target user terminal due to signal change of the sensing device or signal change of the target user terminal may be avoided.
Considering that one or more sensing devices may be disposed at a preset geographic area, and the number of target user terminals in the preset geographic area may be one or more, in order to distinguish signal strength sequences of different target user terminals scanned by different sensing devices, an ID (identity) for indicating the sensing device and the target user terminal corresponding to the signal strength sequence may be set for the signal strength sequence. The format of the ID may be, for example, "sensing device serial number-target user terminal MAC Address (Media Access Control Address)".
Fig. 3a is a schematic diagram of a signal strength sequence of a target ue according to an embodiment of the present application, where an abscissa in fig. 3a represents time and an ordinate represents signal strength value. The IDs of the signal strength sequences in fig. 3a are: 001-. The signal strength sequence of the probe signals in fig. 3a can be interpreted as: within 24 hours, a target user terminal with the address of 3456 is scanned by a 001 number sensing device to appear in a preset geographic area for 2 times, and each time duration is 2 hours.
Fig. 3b is a schematic diagram of a signal strength sequence of a target ue according to another embodiment of the present application, where an abscissa in fig. 3b represents time and an ordinate represents signal strength value. The ID of the signal strength sequence in fig. 3b is: 002-. The signal strength sequence of the probe signals in fig. 3b can be interpreted as: within 24 hours, the target user terminal with the address of 3456 is scanned by the number 002 sensing device to appear in the preset geographic area for 2 times, and each time duration is 3 hours.
In this embodiment, the signal strength sequence is transmitted to the server through the sub-channel, and the server accurately determines whether the target user terminal is in the preset geographic area according to the signal strength in the signal strength sequence and the signal strength information of the sub-channel.
In step S204, determining first staying information of the target user terminal in the preset geographic area according to the signal strength sequence, specifically: and determining a first stay time and/or a first stay time of the target user terminal in a preset geographical area according to the signal intensity sequence, and taking the first stay time and/or the first stay time as first stay information.
In this embodiment, a preset time period may be set, for example, the last 24 hours, and according to the signal strength sequence, the first staying times and/or the first staying duration of the target user terminal in the preset geographic area in the last 24 hours are determined, and the first staying times and/or the first staying duration are used as the first staying information corresponding to the target user terminal. Each target user terminal may be scanned by a plurality of sensing devices, and therefore each target user terminal may correspond to a plurality of pieces of first staying information, each piece of first staying information corresponds to a signal strength sequence of a communication signal of the target user terminal scanned by one sensing device, and each piece of first staying information includes a first staying number and/or a first staying duration. The first staying time can be the total staying time in a preset time period, and the first staying time length can be the total staying time length in the preset time period or the average single staying time length. The preset time period may be other time periods, and is not limited herein.
As illustrated in fig. 3a and 3b, the target ue with address 3456 has two pieces of first staying information, where the first staying information may be 2 times and/or 2 hours corresponding to the signal strength sequence of the communication signal of the target ue scanned by number 001 sensing device, and the second staying information may be 2 times and/or 3 hours corresponding to the signal strength sequence of the communication signal of the target ue scanned by number 002 sensing device.
In this embodiment, before step S206, second staying information of a plurality of users in a preset geographic area may also be predetermined, where the process specifically includes: and determining the position change information of the users according to the position information reported by the application programs in the user terminals of the users, determining a second staying time and/or a second staying duration of the user in a preset geographic area according to the position change information of the user for any user, and taking the second staying time and/or the second staying duration as the second staying information corresponding to the user.
Specifically, the application program in the user terminal may run in the background and collect the location information of the user and report the location information to the server, and the server continuously obtains the location information reported by the application program in the user terminal along with the time change, so as to obtain the location change information of the user, where the location change information is used to indicate the corresponding relationship between the location of the user and the time. The server may acquire location change information of a plurality of users through the above-described procedure and store the location change information in the first database. Furthermore, for each user, the server may determine, according to the location change information of the user, a second number of times of stay and/or a second length of stay of the user in a preset geographic area, and use the second number of times of stay and/or the second length of stay as second stay information corresponding to the user. Wherein the second number of dwells and/or the second dwell time period may be the second number of dwells and/or the second dwell time period at the preset geographical area within the preset time period.
In this embodiment, the preset geographic area may be represented in the form of a location coordinate range, and the location of the user may be represented in the form of a location coordinate, so that the server determines whether the user is located in the preset geographic area according to the location of the user represented by the location change information of the user, and determines a second staying time and/or a second staying duration of the user in the preset geographic area.
In this embodiment, if a plurality of applications in the user terminal report location information of the user to the server, for a user, the server may obtain a plurality of pieces of location change information of the user, so as to determine second staying information of the user once for each piece of location change information, so that each user may correspond to a plurality of pieces of second staying information, each piece of second staying information corresponds to location information reported by one application, and each piece of second staying information includes a second staying number and/or a second staying duration. The second staying time may be a total staying time within a preset time period, and the second staying time may be a total staying time or an average single staying time within the preset time period. The preset time period may be set as needed, and is not limited herein.
In the step S206, determining a target user tag corresponding to the target user terminal according to the first staying information, the predetermined second staying information of the plurality of users in the preset geographic area, and the user tags corresponding to the plurality of users, specifically:
(a1) determining similar users corresponding to the target user terminal in the plurality of users according to the first stay information and second stay information of the plurality of users in a preset geographic area, wherein the second stay information is predetermined;
(a2) and determining a target user label corresponding to the target user terminal according to the user labels corresponding to the similar users.
As can be seen from the foregoing description, the first staying information includes the first staying times and/or the first staying duration, and the second staying information includes the second staying times and/or the second staying duration; in the action (a1), according to the first staying information and the predetermined second staying information of the multiple users in the preset geographic area, determining similar users corresponding to the target user terminal among the multiple users, specifically:
(a11) representing the first dwell information in the form of a first N-dimensional vector; each dimension vector in the first N-dimension vector corresponds to one sensing device, and the value of each dimension vector in the first N-dimension vector is the value of first stay information determined according to a signal intensity sequence scanned by the corresponding sensing device;
(a12) for each user of the plurality of users, representing second dwell information for the user in the form of a first M-dimensional vector; the first M-dimensional vector is a positive integer, each dimension vector in the first M-dimensional vector corresponds to an application program used for reporting the position information of the user, and the value of each dimension vector in the first M-dimensional vector is a value of second stay information of the user determined according to the position information reported by the corresponding application program;
(a13) if the value of N is not equal to the value of M, converting the first M-dimensional vector into a second N-dimensional vector according to a preset vector conversion mode, calculating the distance between the first N-dimensional vector and the second N-dimensional vector, and determining similar users corresponding to the target user terminal in the plurality of users according to the distance.
Specifically, first dwell information is first expressed in the form of a first N-dimensional vector. As can be seen from the foregoing description, each target user terminal may be scanned by multiple sensing devices, so that each target user terminal may correspond to multiple pieces of first staying information, and each piece of first staying information corresponds to a signal strength sequence of a communication signal of the target user terminal scanned by one sensing device, so that here, when constructing a first N-dimensional vector, one sensing device may be set for each dimensional vector, and accordingly, the value of N may be equal to the number of sensing devices in a preset geographic area.
Taking the target user terminal a as an example, the target user terminal a is scanned by 5 sensing devices, and it can be determined according to the scanning results of the 5 sensing devices that five first staying times corresponding to the target user terminal a are respectively: 3 times, 2 times, 4 times, 1 time and 4 times, and determining that five first stay time lengths corresponding to the target user terminal A are respectively as follows: 2h, 2.5h, 0.5h, 2.5h and 0.5 h. The first N-dimensional vector corresponding to the target user terminal a may be established as a ═ 3,2,4,1,4], or as a ═ 2,2.5,0.5,2.5,0.5], or as a ═ 3,2,4,1,4,2,2.5,0.5,2.5, 0.5. In this example, N is 5.
Then, the second stay information is expressed in the form of a first M-dimensional vector. As can be seen from the foregoing description, each user may correspond to one or more pieces of second staying information, and each piece of second staying information corresponds to location information reported by one application program. Thus, here, when constructing the first M-dimensional vector, one application per-dimensional vector may be set.
Taking user B as an example, 4 application programs report location information of user B to the server, and according to the location information, it can be determined that four second stay times corresponding to user B are respectively: determining four second stay time lengths corresponding to the user B as follows for 3 times, 2 times, 4 times and 1 time respectively: 2h, 2.5h, 0.5h and 2.5 h. The first M-dimensional vector for establishing the user B correspondence may be B ═ 3,2,4,1,2.5], or B ═ 2,2.5,0.5,2.5,1.875], or B ═ 3,2,4,1,2.5,2,2.5,0.5,2.5,1.875 ]. In this example, since only a four-dimensional vector can be constructed based on the second stay information of the user B, which is one dimension less than the first N-dimensional vector of the previous target user terminal a, the step (a13) needs to be performed for vector conversion.
In the step (a13), if the value of N is not equal to the value of M, the first M-dimensional vector is converted into a second N-dimensional vector according to a preset vector conversion method. Specifically, if the dimension M of the constructed vector is smaller than N after each dimension vector is set to correspond to one application program, N-dimensional data can be gathered by taking an average value, a median and the like. For example, the four-dimensional vector is expanded into a five-dimensional vector by taking an average value.
And finally, calculating the distance between the first N-dimensional vector and the second N-dimensional vector, and determining similar users corresponding to the target user terminal in the plurality of users according to the distance. For example, S users with the shortest distance are selected from the multiple users as similar users corresponding to the target user terminal. Wherein S may be 3 or any other value. The distance between the first N-dimensional vector and the second N-dimensional vector may be a cosine distance, a pearson distance, a euclidean distance, or the like. To facilitate the construction of the first N-dimensional vector and the second N-dimensional vector, before the construction of the first N-dimensional vector and the second N-dimensional vector, the values of the first dwell time period, the second dwell time period, the first dwell times, and the second dwell times may be normalized.
In the action (a2), determining the target user label corresponding to the target user terminal according to the user labels corresponding to the similar users includes:
(a21) counting user tags corresponding to similar users to determine user tags corresponding to the similar users and the occurrence frequency of each corresponding user tag;
(a22) and selecting a target user tag corresponding to the target user terminal from the corresponding user tags according to the occurrence frequency of each corresponding user tag.
In this embodiment, the user identifier and the corresponding user tag of each user may be stored in the second database, and the user tag may be determined according to the online behavior data corresponding to the user, for example, the user tag is determined according to the online shopping behavior corresponding to the user, and the user identifier and the user tag of the user are stored in the second database. In the action (a21), the server obtains the user tags corresponding to the similar users from the second database, and counts the user tags corresponding to the similar users to determine the user tags corresponding to the similar users and the occurrence frequency of each corresponding user tag.
In the above-mentioned act (a22), according to the occurrence frequency of each corresponding user tag, the top K tags with the largest occurrence frequency may be selected from the corresponding user tags as the target user tags corresponding to the target user terminals. K is a positive integer.
For example, the similar users include a user 1 and a user 2, the user tags corresponding to the user 1 include a11, a12 and a13, the user tags corresponding to the user 2 include a11, a22 and a13, the user tags corresponding to the user 1 and the user 2 are counted, the user tags corresponding to the similar users are determined to include a11, a12, a13 and a22, and the occurrence frequency of each corresponding user tag is 2 times, 1 time, 2 times and 1 time respectively. And then, selecting the first two user tags A11 and A13 with the largest occurrence frequency as target user tags corresponding to the target user terminals.
Therefore, the method and the device can determine the similar user corresponding to the target user terminal, and accurately determine the target user tag corresponding to the target user terminal according to the user tag corresponding to the similar user, so that the accuracy of data push is improved.
In this embodiment, when the sensing device uploads the signal intensity sequence of the target user terminal to the server, if the MAC address of the target user terminal is uploaded at the same time, and each target user terminal is distinguished by the MAC address of the target user terminal, there is a risk of revealing the MAC address of the target user terminal. The terminal identifier may be a MAC address.
Correspondingly, the server can acquire terminal characteristic data corresponding to the target user terminal uploaded by the sensing device, the terminal characteristic data is data obtained by encrypting the terminal identifier of the target user terminal, and the server can also establish a corresponding relation between the terminal characteristic data and the first stay information and store the terminal characteristic data and the first stay information according to the corresponding relation.
Specifically, the sensing device carries the terminal characteristic data of the target user terminal and the signal intensity sequence corresponding to the target user terminal in the same data message and uploads the data message to the server, so that the server can correspondingly store the terminal characteristic data and the signal intensity sequence of the target user terminal, determine first stay information according to the signal intensity sequence corresponding to the target user terminal, and correspondingly store the terminal characteristic data, the signal intensity sequence and the first stay information of the target user terminal.
Therefore, in the embodiment, the effect of avoiding disclosure of the user privacy can be achieved by uploading the terminal characteristic data to distinguish each target user terminal.
In a specific embodiment, the preset geographic area includes an advertisement data delivery area, and the method in this embodiment may further include: and pushing the advertisement data to advertisement display equipment at the advertisement data delivery area according to the target user label corresponding to the target user terminal. In this embodiment, the target user terminal is a user terminal located in the advertisement data delivery area, and the advertisement data is pushed to the advertisement display device in the advertisement data delivery area according to the target user tag corresponding to the target user terminal, so that an effect of accurately pushing the advertisement data according to the user tag can be achieved, and the data pushing accuracy is improved.
Fig. 4 is a schematic flowchart of a user tag determination method according to another embodiment of the present application, where the flowchart may be executed by a sensing device, as shown in fig. 4, and the flowchart includes:
step S402, scanning the communication signal of the target user terminal staying in the preset geographic area to obtain a signal intensity sequence;
step S404, uploading the signal strength sequence to a server, so as to determine, by the server, a target user tag corresponding to the target user terminal based on the signal strength sequence.
In this embodiment, a communication signal of a target user terminal staying in a preset geographic area is first scanned to obtain a signal intensity sequence, and then the signal intensity sequence is uploaded to a server, so that a target user tag corresponding to the target user terminal is determined by the server based on the signal intensity sequence. Therefore, according to the embodiment, the target user tag corresponding to the target user terminal can be determined based on the scanned signal intensity sequence of the communication signal of the target user terminal, so that the effect of accurately determining the user tag is achieved.
In the above steps S402 to S404, taking the sensing device as a WIFI sensing device as an example, the WIFI sensing device scans the WIFI signal of the target user terminal staying in the preset geographic area to obtain a signal intensity sequence of the WIFI signal of the target user terminal, and uploads the signal intensity sequence of the WIFI signal of the target user terminal to the server, so as to determine, by the server, the target user tag corresponding to the target user terminal based on the signal intensity sequence.
The method in this embodiment further includes: and encrypting the terminal identification of the target user terminal to obtain terminal characteristic data, and uploading the terminal characteristic data to the server so as to facilitate the server to distinguish each target user terminal. The terminal identifier may be a MAC address.
Correspondingly, the server can acquire terminal characteristic data corresponding to the target user terminal uploaded by the sensing device, the terminal characteristic data is data obtained by encrypting the terminal identifier of the target user terminal, and the server can also establish a corresponding relation between the terminal characteristic data and the first stay information and store the terminal characteristic data and the first stay information according to the corresponding relation.
Specifically, the sensing device carries the terminal characteristic data of the target user terminal and the signal intensity sequence corresponding to the target user terminal in the same data message and uploads the data message to the server, so that the server can correspondingly store the terminal characteristic data and the signal intensity sequence of the target user terminal, determine first stay information according to the signal intensity sequence corresponding to the target user terminal, and correspondingly store the terminal characteristic data, the signal intensity sequence and the first stay information of the target user terminal.
Therefore, in the embodiment, the effect of avoiding disclosure of the user privacy can be achieved by uploading the terminal characteristic data to distinguish each target user terminal.
In a specific embodiment, a first database and a second database are set, the first database stores a user identifier and user location information reported by an application program in a user terminal, and the second database stores a user identifier and a user tag determined according to online behavior data of the user for the application program. When the user label corresponding to the target user terminal is determined, second stay information of each user is determined according to the position information of each user recorded in the first database, so that the user identification of the similar user corresponding to the target user terminal is determined in the first database, and then the user label of the similar user is determined in the second database according to the user identification of the similar user, so that the user label corresponding to the target user terminal is determined.
Fig. 5 is a schematic block diagram of a user tag determination apparatus according to an embodiment of the present application, and as shown in fig. 5, the apparatus includes:
a first obtaining module 51, configured to obtain a signal strength sequence of a communication signal of a target user terminal scanned by a sensing device; the sensing equipment is located in a preset geographic area, and the target user terminal is a user terminal located in the preset geographic area;
a first determining module 52, configured to determine, according to the signal strength sequence, first stay information of the target user terminal in the preset geographic area;
a second determining module 53, configured to determine, according to the first staying information, second staying information of a plurality of predetermined users in the preset geographic area, and user tags corresponding to the plurality of users, a target user tag corresponding to the target user terminal; and the second stay information is determined and obtained according to the position information reported by the application programs in the user terminals of the users.
Optionally, the first determining module is specifically configured to: and determining a first stay time and/or a first stay duration of the target user terminal in the preset geographic area according to the signal intensity sequence, and taking the first stay time and/or the first stay duration as the first stay information.
Optionally, the apparatus further includes a second obtaining module, configured to: acquiring terminal characteristic data corresponding to the target user terminal uploaded by the sensing equipment; the terminal characteristic data is data obtained by encrypting the terminal identification of the target user terminal; and establishing a corresponding relation between the terminal characteristic data and the first staying information, and storing the terminal characteristic data and the first staying information according to the corresponding relation.
Optionally, the apparatus further includes a third obtaining module, configured to: determining the position change information of the users according to the position information reported by the application programs in the user terminals of the users; and for any one user, determining a second stay time and/or a second stay duration of the user in the preset geographic area according to the position change information of the user, and taking the second stay time and/or the second stay duration as second stay information corresponding to the user.
Optionally, the second determining module is specifically configured to: determining similar users corresponding to the target user terminal in the plurality of users according to the first stay information and second stay information of the plurality of users in the preset geographic area, wherein the second stay information is predetermined; and determining a target user label corresponding to the target user terminal according to the user label corresponding to the similar user.
Optionally, the first staying information includes a first staying number and/or a first staying duration, and the second staying information includes a second staying number and/or a second staying duration; the second determining module is further specifically configured to:
representing the first dwell information in the form of a first N-dimensional vector; wherein, N is a positive integer, each of the first N-dimensional vectors corresponds to one sensing device, and a value of each of the first N-dimensional vectors is a value of first dwell information determined according to a signal intensity sequence scanned by the corresponding sensing device;
for each user of the plurality of users, representing the second dwell information for that user in the form of a first M-dimensional vector; wherein, M is a positive integer, each of the first M-dimensional vectors corresponds to an application program for reporting the location information of the user, and the value of each of the first M-dimensional vectors is a value of second stay information of the user determined according to the location information reported by the corresponding application program;
if the value of N is not equal to the value of M, converting the first M-dimensional vector into a second N-dimensional vector according to a preset vector conversion mode, calculating the distance between the first N-dimensional vector and the second N-dimensional vector, and determining similar users corresponding to the target user terminal in the plurality of users according to the distance.
Optionally, the second determining module is further specifically configured to: counting the user tags corresponding to the similar users to determine the user tags corresponding to the similar users and the occurrence frequency of the user tags corresponding to the similar users; and selecting a target user tag corresponding to the target user terminal from the corresponding user tags according to the occurrence frequency of each corresponding user tag.
Optionally, the preset geographic area includes an advertisement data delivery area; the apparatus further comprises a data push module configured to: and pushing advertisement data to advertisement display equipment at the advertisement data delivery area according to the target user label corresponding to the target user terminal.
In this embodiment, a signal intensity sequence of a communication signal of a target user terminal scanned by a sensing device is first obtained, first stay information of the target user terminal in a preset geographic area is determined according to the signal intensity sequence, and a target user tag corresponding to the target user terminal is determined according to the first stay information, second stay information of a plurality of predetermined users in the preset geographic area, and user tags corresponding to the plurality of users. The sensing equipment is located in a preset geographical area, the target user terminal is a user terminal located in the preset geographical area, and the second stay information is determined according to position information reported by application programs in the user terminals of the users. Therefore, according to the embodiment, the first stay information of the target user terminal in the preset geographic area can be determined based on the signal intensity sequence of the communication signal of the target user terminal scanned by the sensing device, and then the target user label corresponding to the target user terminal is determined, so that the effect of accurately determining the user label is achieved.
The user tag determination device in the embodiment of the present application can implement each process of the foregoing user tag determination method embodiment, and achieve the same effect and function, which is not repeated here.
Fig. 6 is a schematic block diagram of a user tag determination apparatus according to another embodiment of the present application, and as shown in fig. 6, the apparatus includes:
the scanning module 61 is configured to scan a communication signal of a target user terminal staying in a preset geographic area to obtain a signal intensity sequence;
an uploading module 62, configured to upload the signal strength sequence to a server, so as to determine, by the server, a target user tag corresponding to the target user terminal based on the signal strength sequence.
Optionally, the apparatus further comprises an encryption module configured to: encrypting the terminal identification of the target user terminal to obtain terminal characteristic data; and uploading the terminal characteristic data to the server so that the server can distinguish each target user terminal.
In this embodiment, a communication signal of a target user terminal staying in a preset geographic area is first scanned to obtain a signal intensity sequence, and then the signal intensity sequence is uploaded to a server, so that a target user tag corresponding to the target user terminal is determined by the server based on the signal intensity sequence. Therefore, according to the embodiment, the target user tag corresponding to the target user terminal can be determined based on the scanned signal intensity sequence of the communication signal of the target user terminal, so that the effect of accurately determining the user tag is achieved.
The user tag determination device in the embodiment of the present application can implement each process of the foregoing user tag determination method embodiment, and achieve the same effect and function, which is not repeated here.
Fig. 7 is a schematic structural diagram of the user tag determination device provided in an embodiment of the present application, and as shown in fig. 7, the user tag determination device may generate a relatively large difference due to different configurations or performances, and may include one or more processors 901 and a memory 902, where the memory 902 may store one or more stored applications or data. Memory 902 may be, among other things, transient storage or persistent storage. The application program stored in memory 902 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for a user tag determination device. Still further, the processor 901 may be arranged in communication with the memory 902 for executing a series of computer executable instructions in the memory 902 on the user tag determination device. The user tag determination apparatus may also include one or more power supplies 903, one or more wired or wireless network interfaces 904, one or more input-output interfaces 905, one or more keyboards 906, and the like.
In a particular embodiment, the user tag determination apparatus comprises a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may comprise one or more modules, and each module may comprise a series of computer-executable instructions for the user tag determination apparatus, and execution of the one or more programs by one or more processors comprises computer-executable instructions for:
acquiring a signal intensity sequence of a communication signal of a target user terminal scanned by sensing equipment; the sensing equipment is located in a preset geographic area, and the target user terminal is a user terminal located in the preset geographic area;
determining first stay information of the target user terminal in the preset geographic area according to the signal intensity sequence;
determining a target user tag corresponding to the target user terminal according to the first stay information, second stay information of a plurality of predetermined users in the preset geographic area and user tags corresponding to the plurality of users; and the second stay information is determined and obtained according to the position information reported by the application programs in the user terminals of the users.
Optionally, when executed, the computer-executable instructions determine, according to the signal strength sequence, first stay information of the target user terminal at the preset geographic area, including: and determining a first stay time and/or a first stay duration of the target user terminal in the preset geographic area according to the signal intensity sequence, and taking the first stay time and/or the first stay duration as the first stay information.
Optionally, the computer executable instructions, when executed, further comprise: acquiring terminal characteristic data corresponding to the target user terminal uploaded by the sensing equipment; the terminal characteristic data is data obtained by encrypting the terminal identification of the target user terminal; and establishing a corresponding relation between the terminal characteristic data and the first staying information, and storing the terminal characteristic data and the first staying information according to the corresponding relation.
Optionally, the computer executable instructions, when executed, further comprise: determining the position change information of the users according to the position information reported by the application programs in the user terminals of the users; and for any one user, determining a second stay time and/or a second stay duration of the user in the preset geographic area according to the position change information of the user, and taking the second stay time and/or the second stay duration as second stay information corresponding to the user.
Optionally, when executed, the computer-executable instructions determine, according to the first staying information, second staying information of a plurality of predetermined users in the preset geographic area, and user tags corresponding to the plurality of users, a target user tag corresponding to the target user terminal, including: determining similar users corresponding to the target user terminal in the plurality of users according to the first stay information and second stay information of the plurality of users in the preset geographic area, wherein the second stay information is predetermined; and determining a target user label corresponding to the target user terminal according to the user label corresponding to the similar user.
Optionally, when the computer-executable instructions are executed, the first stay information includes a first stay number and/or a first stay duration, and the second stay information includes a second stay number and/or a second stay duration; determining similar users corresponding to the target user terminal in the plurality of users according to the first stay information and second stay information of the plurality of users in the preset geographic area, wherein the determining comprises:
representing the first dwell information in the form of a first N-dimensional vector; wherein, N is a positive integer, each of the first N-dimensional vectors corresponds to one sensing device, and a value of each of the first N-dimensional vectors is a value of first dwell information determined according to a signal intensity sequence scanned by the corresponding sensing device;
for each user of the plurality of users, representing the second dwell information for that user in the form of a first M-dimensional vector; wherein, M is a positive integer, each of the first M-dimensional vectors corresponds to an application program for reporting the location information of the user, and the value of each of the first M-dimensional vectors is a value of second stay information of the user determined according to the location information reported by the corresponding application program;
if the value of N is not equal to the value of M, converting the first M-dimensional vector into a second N-dimensional vector according to a preset vector conversion mode, calculating the distance between the first N-dimensional vector and the second N-dimensional vector, and determining similar users corresponding to the target user terminal in the plurality of users according to the distance.
Optionally, when executed, the determining, by the computer-executable instruction, the target user tag corresponding to the target user terminal according to the user tag corresponding to the similar user includes: counting the user tags corresponding to the similar users to determine the user tags corresponding to the similar users and the occurrence frequency of the user tags corresponding to the similar users; and selecting a target user tag corresponding to the target user terminal from the corresponding user tags according to the occurrence frequency of each corresponding user tag.
Optionally, the predetermined geographic area comprises an advertising data delivery area when the computer-executable instructions are executed; the method further comprises the following steps: and pushing advertisement data to advertisement display equipment at the advertisement data delivery area according to the target user label corresponding to the target user terminal.
In this embodiment, a signal intensity sequence of a communication signal of a target user terminal scanned by a sensing device is first obtained, first stay information of the target user terminal in a preset geographic area is determined according to the signal intensity sequence, and a target user tag corresponding to the target user terminal is determined according to the first stay information, second stay information of a plurality of predetermined users in the preset geographic area, and user tags corresponding to the plurality of users. The sensing equipment is located in a preset geographical area, the target user terminal is a user terminal located in the preset geographical area, and the second stay information is determined according to position information reported by application programs in the user terminals of the users. Therefore, according to the embodiment, the first stay information of the target user terminal in the preset geographic area can be determined based on the signal intensity sequence of the communication signal of the target user terminal scanned by the sensing device, and then the target user label corresponding to the target user terminal is determined, so that the effect of accurately determining the user label is achieved.
The user tag determination device in the embodiment of the present application can implement each process of the foregoing user tag determination method embodiment, and achieve the same effect and function, which is not repeated here.
In another particular embodiment, a user tag determination apparatus includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the user tag determination apparatus, and execution of the one or more programs by one or more processors includes computer-executable instructions for:
scanning a communication signal of a target user terminal staying in a preset geographic area to obtain a signal intensity sequence;
and uploading the signal intensity sequence to a server, so that the server determines a target user tag corresponding to the target user terminal based on the signal intensity sequence.
Optionally, the computer executable instructions, when executed, further comprise: encrypting the terminal identification of the target user terminal to obtain terminal characteristic data; and uploading the terminal characteristic data to the server so that the server can distinguish each target user terminal.
In this embodiment, a communication signal of a target user terminal staying in a preset geographic area is first scanned to obtain a signal intensity sequence, and then the signal intensity sequence is uploaded to a server, so that a target user tag corresponding to the target user terminal is determined by the server based on the signal intensity sequence. Therefore, according to the embodiment, the target user tag corresponding to the target user terminal can be determined based on the scanned signal intensity sequence of the communication signal of the target user terminal, so that the effect of accurately determining the user tag is achieved.
The user tag determination device in the embodiment of the present application can implement each process of the foregoing user tag determination method embodiment, and achieve the same effect and function, which is not repeated here.
Further, embodiments of the present application also provide a storage medium for storing computer-executable instructions, in a specific embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, and the like, and the storage medium stores computer-executable instructions that, when executed by a processor, implement the following processes:
acquiring a signal intensity sequence of a communication signal of a target user terminal scanned by sensing equipment; the sensing equipment is located in a preset geographic area, and the target user terminal is a user terminal located in the preset geographic area;
determining first stay information of the target user terminal in the preset geographic area according to the signal intensity sequence;
determining a target user tag corresponding to the target user terminal according to the first stay information, second stay information of a plurality of predetermined users in the preset geographic area and user tags corresponding to the plurality of users; and the second stay information is determined and obtained according to the position information reported by the application programs in the user terminals of the users.
Optionally, the computer-executable instructions stored in the storage medium, when executed by the processor, determine first stay information of the target user terminal at the preset geographical area according to the signal strength sequence, including: and determining a first stay time and/or a first stay duration of the target user terminal in the preset geographic area according to the signal intensity sequence, and taking the first stay time and/or the first stay duration as the first stay information.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, further comprise: acquiring terminal characteristic data corresponding to the target user terminal uploaded by the sensing equipment; the terminal characteristic data is data obtained by encrypting the terminal identification of the target user terminal; and establishing a corresponding relation between the terminal characteristic data and the first staying information, and storing the terminal characteristic data and the first staying information according to the corresponding relation.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, further comprise: determining the position change information of the users according to the position information reported by the application programs in the user terminals of the users; and for any one user, determining a second stay time and/or a second stay duration of the user in the preset geographic area according to the position change information of the user, and taking the second stay time and/or the second stay duration as second stay information corresponding to the user.
Optionally, when executed by a processor, the computer-executable instructions stored in the storage medium determine a target user tag corresponding to the target user terminal according to the first stay information, predetermined second stay information of a plurality of users in the preset geographic area, and user tags corresponding to the plurality of users, including: determining similar users corresponding to the target user terminal in the plurality of users according to the first stay information and second stay information of the plurality of users in the preset geographic area, wherein the second stay information is predetermined; and determining a target user label corresponding to the target user terminal according to the user label corresponding to the similar user.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, the first dwell information includes a first number of dwells and/or a first dwell period, and the second dwell information includes a second number of dwells and/or a second dwell period; determining similar users corresponding to the target user terminal in the plurality of users according to the first stay information and second stay information of the plurality of users in the preset geographic area, wherein the determining comprises:
representing the first dwell information in the form of a first N-dimensional vector; wherein, N is a positive integer, each of the first N-dimensional vectors corresponds to one sensing device, and a value of each of the first N-dimensional vectors is a value of first dwell information determined according to a signal intensity sequence scanned by the corresponding sensing device;
for each user of the plurality of users, representing the second dwell information for that user in the form of a first M-dimensional vector; wherein, M is a positive integer, each of the first M-dimensional vectors corresponds to an application program for reporting the location information of the user, and the value of each of the first M-dimensional vectors is a value of second stay information of the user determined according to the location information reported by the corresponding application program;
if the value of N is not equal to the value of M, converting the first M-dimensional vector into a second N-dimensional vector according to a preset vector conversion mode, calculating the distance between the first N-dimensional vector and the second N-dimensional vector, and determining similar users corresponding to the target user terminal in the plurality of users according to the distance.
Optionally, when executed by a processor, the computer-executable instructions stored in the storage medium determine, according to the user tag corresponding to the similar user, a target user tag corresponding to the target user terminal, including: counting the user tags corresponding to the similar users to determine the user tags corresponding to the similar users and the occurrence frequency of the user tags corresponding to the similar users; and selecting a target user tag corresponding to the target user terminal from the corresponding user tags according to the occurrence frequency of each corresponding user tag.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, the preset geographic area comprises an advertisement data delivery area; the method further comprises the following steps: and pushing advertisement data to advertisement display equipment at the advertisement data delivery area according to the target user label corresponding to the target user terminal.
In this embodiment, a signal intensity sequence of a communication signal of a target user terminal scanned by a sensing device is first obtained, first stay information of the target user terminal in a preset geographic area is determined according to the signal intensity sequence, and a target user tag corresponding to the target user terminal is determined according to the first stay information, second stay information of a plurality of predetermined users in the preset geographic area, and user tags corresponding to the plurality of users. The sensing equipment is located in a preset geographical area, the target user terminal is a user terminal located in the preset geographical area, and the second stay information is determined according to position information reported by application programs in the user terminals of the users. Therefore, according to the embodiment, the first stay information of the target user terminal in the preset geographic area can be determined based on the signal intensity sequence of the communication signal of the target user terminal scanned by the sensing device, and then the target user label corresponding to the target user terminal is determined, so that the effect of accurately determining the user label is achieved.
The storage medium in the embodiment of the present application can implement the processes of the foregoing embodiment of the user tag determination method, and achieve the same effects and functions, which are not repeated here.
In another specific embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, or the like, and the storage medium stores computer executable instructions that, when executed by the processor, implement the following process:
scanning a communication signal of a target user terminal staying in a preset geographic area to obtain a signal intensity sequence;
and uploading the signal intensity sequence to a server, so that the server determines a target user tag corresponding to the target user terminal based on the signal intensity sequence.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, further comprise: encrypting the terminal identification of the target user terminal to obtain terminal characteristic data; and uploading the terminal characteristic data to the server so that the server can distinguish each target user terminal.
In this embodiment, a communication signal of a target user terminal staying in a preset geographic area is first scanned to obtain a signal intensity sequence, and then the signal intensity sequence is uploaded to a server, so that a target user tag corresponding to the target user terminal is determined by the server based on the signal intensity sequence. Therefore, according to the embodiment, the target user tag corresponding to the target user terminal can be determined based on the scanned signal intensity sequence of the communication signal of the target user terminal, so that the effect of accurately determining the user tag is achieved.
The storage medium in the embodiment of the present application can implement the processes of the foregoing embodiment of the user tag determination method, and achieve the same effects and functions, which are not repeated here.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.