WO2016188018A1 - 一种数据处理方法及装置 - Google Patents

一种数据处理方法及装置 Download PDF

Info

Publication number
WO2016188018A1
WO2016188018A1 PCT/CN2015/092002 CN2015092002W WO2016188018A1 WO 2016188018 A1 WO2016188018 A1 WO 2016188018A1 CN 2015092002 W CN2015092002 W CN 2015092002W WO 2016188018 A1 WO2016188018 A1 WO 2016188018A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
information
attribute
area
bit set
Prior art date
Application number
PCT/CN2015/092002
Other languages
English (en)
French (fr)
Inventor
陈迟兵
朱峰
何新昇
彭川
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP15893095.8A priority Critical patent/EP3293640A4/en
Publication of WO2016188018A1 publication Critical patent/WO2016188018A1/zh
Priority to US15/823,024 priority patent/US10783203B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • G06F3/0611Improving I/O performance in relation to response time
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • G06Q30/0261Targeted advertisements based on user location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services

Definitions

  • the present invention relates to the field of communications, and in particular, to a data processing method and apparatus.
  • Embodiments of the present invention provide a data processing method and apparatus, which greatly reduce the storage space of data by generating a set of user appearance information bits corresponding to a region, and improve computation efficiency and speed when performing data processing.
  • a data processing method comprising: generating a user corresponding to the area according to a corresponding relationship between a location information of a user in the user group and the area in a plurality of areas An information bit set is displayed, the location information indicating a location where the user appears, and the bits in the user presence information bit set are in one-to-one correspondence with users in the user group, and the user appears each bit in the information bit set.
  • the bit value of the bit indicates whether the corresponding user in the user group appears in the area; receiving a request message, the request message carrying an area indication parameter; querying the area indication parameter according to the area indication parameter
  • the user corresponding to the indicated area displays a set of information bits, and performs data processing according to the queried user information bit set.
  • the generating according to the corresponding relationship between the location information of the user in the user group and the region, generating a user information ratio corresponding to the region And collecting the location information of the user having the target service feature in the user group, and generating a user presence information ratio corresponding to the region according to the correspondence between the location information of the user having the target service feature and the region Special collection.
  • the location information of the user in the user group includes one of the following two types of information: the user group Geographical location information of each user; or information of at least one of the user groups appearing in the certain area.
  • the location information of the user in the user group further includes the user appearing in the location The time information of the position in the information; the time length is divided into M time segments, and M is an integer greater than 1, according to the correspondence between the time and the certain time period in the position information, corresponding to the time period and the The user of the area appears with a set of information bits.
  • the request message further carries a time segment indication parameter, and the parameter is indicated according to the time segment
  • the area indication parameter queries a time period indicated by the time period indication parameter, where the area indication user indicates an information occurrence bit set corresponding to the area indicated by the parameter.
  • the generating a user information bit set corresponding to the time period and the region includes: determining that different locations where the user appears in the same time period correspond to different regions, and in the same time period, the bit values corresponding to the occurrence information bit sets of the user in the region in which the user appears are indicated. .
  • the method further includes: selecting one of the at least one attribute of the user group An attribute generating a bit set of attribute information corresponding to the attribute, where bits in the bit set of the attribute information are in one-to-one correspondence with users in the user group, and bit values of each bit in the set of attribute information bits Indicates whether a corresponding one of the user groups has an attribute corresponding to the attribute information bit set.
  • the request message further includes an attribute indication parameter, and then querying, according to the attribute indication parameter, an attribute information bit set corresponding to the attribute indicated by the attribute indication parameter, according to the attribute information ratio of the query Special collection for data processing.
  • the attributes include a gender attribute, an age attribute, a package attribute, a level attribute, a preference attribute, At least one of the identity attributes, the identity attribute being associated with a zone.
  • the request message further carries a user information indication parameter, where the user information indication parameter indication Selecting at least one user; generating, according to the user information indication parameter, a user screening information bit set corresponding to the user group, where the bits in the user screening information bit set are in one-to-one correspondence with the users in the user group.
  • the bit value of each bit in the user filter information bit set indicates whether a corresponding user in the user group is selected.
  • the first to the ninth possible implementation manners of the first aspect in a tenth possible implementation manner, according to the user screening information bit set and the queried user appearance information bit set Perform data processing.
  • the performing data processing is specifically: generating an information bit set according to the queried user
  • the logical operator in the request message indicates that the parameter performs a logical operation.
  • the location information of the user with the target service feature includes: the user group The location information of the user of the at least one target service, where the target service includes at least one of a short message service, a voice service, a data service, and an application.
  • the location information of the user with the target service feature includes: Positioning the obtained location information of the user in the user group, where the target positioning manner includes global positioning system GPS positioning, base station positioning, small base station positioning, wireless fidelity WI-FI positioning, base station sector positioning, and indoor base station positioning. At least one.
  • a second aspect provides a data processing apparatus, including a generating module, a receiving module, and a processing module: the generating module, configured to use one of a plurality of regions, according to a user a corresponding relationship between the location information of the user in the group and the area, generating a set of user appearance information bits corresponding to the area, the location information indicating a location where the user appears, and the bit position of the user in the information bit set
  • the user in the user group has a one-to-one correspondence, and the bit value of each bit of the user information bit set indicates whether the corresponding user in the user group appears in the area
  • the receiving module is configured to receive a request message, where the request message carries an area indication parameter
  • the processing module is configured to query, according to the area indication parameter, a user occurrence information bit set corresponding to the area indicated by the area indication parameter, and the user appears according to the queryed user
  • the information bit set performs data processing.
  • the device further includes an acquiring module, where the acquiring module is configured to acquire location information of a user that has a target service feature in the user group. And generating, according to the correspondence between the location information of the user in the user group and the region, a user information bit set corresponding to the region, including the location information of the user with the target service feature and the region. Correspondence relationship, generating a set of user appearance information bits corresponding to the area.
  • the location information of the user in the user group includes one of the following two types of information: the user group Geographical location information of each user; or information of at least one of the user groups appearing in the certain area.
  • the location information of the user in the user group further includes the user appearing in the location
  • the generating module is further configured to divide the time length into M time segments, where M is an integer greater than 1, and generate a corresponding according to the correspondence between the time and the certain time period in the position information.
  • a set of information bits appears to the user of the time period and the area.
  • the request message further carries a time segment indication parameter;
  • the time period indication parameter and the area indication parameter query a time period indicated by the time period indication parameter, and the area indication user presence information bit set corresponding to the area indicated by the parameter.
  • the generating a user appearance information bit set corresponding to the time period and the area includes: determining different positions of the user in the same time period Corresponding to different regions, in the same time period, the bit value corresponding to the presence information bit set of the user in the region in which it appears is indicated.
  • the generating module is further configured to be used in at least one attribute of the user group a certain attribute, generating an attribute information bit set corresponding to the attribute, where the bits in the attribute information bit set are in one-to-one correspondence with users in the user group, and bits of each bit in the attribute information bit set The value indicates whether the corresponding user in the user group has an attribute corresponding to the attribute information bit set.
  • the request message further carries an attribute indication parameter;
  • the attribute indication parameter queries the attribute information bit set corresponding to the attribute indicated by the attribute indication parameter, and performs data processing according to the queried attribute information bit set.
  • the attributes include a gender attribute, an age attribute, a package attribute, a level attribute, a preference attribute, At least one of the identity attributes, the identity attribute being associated with a zone.
  • the request message further carries a user information indication parameter, where the user information indication parameter indication is required Selecting at least one user; the generating module generates a user screening information bit set corresponding to the user group according to the user information indication parameter, where a bit of the user screening information bit set is equal to a user in the user group Correspondingly, the bit value of each bit in the user screening information bit set indicates whether to select a corresponding user in the user group.
  • the processing module filters the information bit set and the queried user according to the user An information bit set appears for data processing.
  • the performing data processing is specifically: generating an information bit set according to the queried user
  • the logical operator in the request message indicates that the parameter performs a logical operation.
  • the location information of the user with the target service feature includes: location information of a user that uses at least one target service in the user group, where the target service includes at least one of a short message service, a voice service, a data service, and an application.
  • the location information of the user with the target service feature includes: Positioning the obtained location information of the user in the user group, where the target positioning manner includes global positioning system GPS positioning, base station positioning, small base station positioning, wireless fidelity WI-FI positioning, base station sector positioning, and indoor base station positioning. At least one.
  • a computing device comprising: a processor, a memory, a bus, and a communication interface; the memory is configured to store a computing device to execute an instruction, and the processor is connected to the memory through the bus When the computing device is in operation, the processor executes the computer-executed instructions stored by the memory to cause the computing device to perform any of the first aspect to the second aspect and any one of the first aspect to the second aspect The method described in the manner.
  • the user information bit set corresponding to the area is generated according to the corresponding relationship between the location information of the user in the user group and the area, thereby greatly reducing the storage space of the data; Instructing the parameter to query the user occurrence information bit set corresponding to the indicated area, and performing data processing according to the queried user information bit set, thereby greatly improving the calculation efficiency and speed.
  • FIG. 1 is a schematic diagram of a network architecture applied to an embodiment of the present invention
  • FIG. 2 is an exemplary flowchart of a data processing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram showing a result of dividing a region on a map according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram showing a relationship between a user information bit set and an area and time according to an embodiment of the present invention
  • FIG. 5 is an exemplary flowchart of a data processing method according to another embodiment of the present invention.
  • FIG. 6 is a schematic diagram showing the hardware structure of a general-purpose computer structure according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention.
  • the accurate positioning includes at least one of the following two methods: acquiring the location information of the user by using the user terminal, including acquiring the location information of the user by using the application having the positioning function on the user terminal; and analyzing the signal strength of the user accessing the base station and The angle determines the location information of the user.
  • the fuzzy positioning includes determining the location information of the user by acquiring the location of the device accessed by the user.
  • the device accessed by the user includes, but is not limited to, a base station sector, a wireless routing device, a small base station (Small Cell), and a Bluetooth device.
  • the location where the user appears may be represented by a precise location, such as, but not limited to, by latitude and longitude, or by a fuzzy location, such as, but not limited to, a location or identification of the device accessed by the user.
  • the map referred to in the present invention is a map of the divided regions, including but not limited to a geographical map, a base station sector location map, and a floor map.
  • the plurality referred to in the present invention is an integer number of 2 or more.
  • FIG. 1 is a schematic diagram of a network architecture 100 to which an embodiment of the present invention is applied.
  • the computer device acquires location information of the user in the user group, and generates a user information bit set according to the correspondence between the location information of the user and the region.
  • the requesting device sends a request message to the computer device, and the computer device searches for the corresponding user appearance information bit set according to the area indication parameter carried in the request message, performs data processing according to the found user appearance information bit set, and returns the result of the data processing to the requesting device.
  • the requesting device may be, for example but not limited to, a server or a terminal device.
  • the data processing method 200 can be performed by, for example, but not limited to, a computer device.
  • the computer device can be, for example but not limited to, a data processing platform or a processing server.
  • the computer device For a certain one of the multiple areas, the computer device generates a user appearance information bit set corresponding to the area according to the corresponding relationship between the location information of the user in the user group and the area, where the location information indicates the a location where the user appears, the bits of the user presence information bit set are in one-to-one correspondence with users in the user group, and the bit value indication of each bit of the user occurrence information bit set indicates Whether the corresponding user in the user group appears in the area.
  • Each bit of the user's presence information bit set represents the presence information of the corresponding user in the user group.
  • the computer device receives a request message, where the request message carries an area indication parameter.
  • the area indication parameter may be a line number and a column number of the area, or may be an identifier of a device accessed by the user, and the area indication parameter indicates at least one area.
  • the computer device queries the user appearance information bit set corresponding to the area indicated by the area indication parameter according to the area indication parameter, and performs data processing according to the queried user appearance information bit set.
  • the computer device divides the map into N areas, where N is an integer greater than 1.
  • N is an integer greater than 1.
  • Each point on the map belongs to one of the N regions, and there are no points on the map that do not belong to the N regions.
  • the divided N regions may be N regions having the same shape and the same area, or may be divided into N different regions.
  • N different regions refer to N regions, at least one region having a different shape from other regions, or at least one region having a different area from other regions.
  • the map When the map is divided into N regions of the same shape and the same area, it may be divided into, for example, but not limited to, N rectangular regions having the same area and the same shape, each of the rectangular regions being parallel to each other, and the width of each rectangular region is mutually parallel.
  • the map is divided into N different regions, for example, taking the base station sector location map as an example, one base station sector can be used as one region, and the map is divided into N regions according to the base station sector.
  • N areas it may be divided according to, for example, but not limited to, an indoor storefront or a booth range.
  • the computer device Before the computer device generates the information occurrence bit set corresponding to the region according to the correspondence between the location information of the user and the region in the user group, the computer device acquires the location information of the user in the user group, and determines the correspondence between the location information of the user and the region. .
  • the location information of the user may be obtained by means of precise positioning or fuzzy positioning, wherein the precise positioning includes, but is not limited to, Global Positioning System (GPS) positioning, base station (Cell) positioning, Small Cell positioning, and wireless protection.
  • GPS Global Positioning System
  • WI-FI Wireless Fidelity
  • Fuzzy positioning includes, but is not limited to, one of Cell positioning, Small Cell positioning, WI-FI positioning, base station sector positioning, and indoor base station positioning.
  • the location information of the user may be obtained by, for example, but not limited to, an operator or a user terminal, and the location information of the located user is provided to the computer device.
  • the map when the location information of the user is obtained by using the precise positioning, the map may be divided into N regions having the same shape and the same area, thereby determining an area corresponding to the location information of the user; when the location information of the user is obtained by using the fuzzy positioning, The map can be divided into N different regions to determine the region corresponding to the geographic location information of the user.
  • an information bit set appears. If the location information of the user corresponds to the area, the bit value indication corresponding to the bit of the user in the information bit set of the user appears, indicating that the user appears in the area; If the location information of the user does not correspond to the area, the bit value indication corresponding to the bit of the user in the information bit set of the user does not appear, indicating that the user does not appear in the area.
  • the occurrence of the bit value is 1 and the bit value is 0.
  • the occurrence of the bit value is 0.
  • the bit value is 1 and the bit value is 1. The present invention does not limit this.
  • the computer device For each of the divided regions, the computer device generates a set of user presence information bits corresponding to the region. Each user corresponds to one bit and is at The users corresponding to different areas appear in the information bit set, and the positions of the bits corresponding to the same user are the same.
  • the location information of the user in the user group includes one of the following two types of information:
  • the following will explain how the computer device generates a set of user appearance information bits corresponding to the area based on the above two kinds of information.
  • the geographical location information of the user in the user group includes the geographical location information of each user in the user group
  • the geographical location information of the user may be represented by latitude and longitude.
  • the terminal obtains the location of the user by 28 degrees east longitude and 23 degrees north latitude through GPS positioning; for example, the operator determines that the user is located in the sector through the base station sector accessed by the user, and the location of the base station sector is 38° east longitude.
  • the latitude of 33° north is the location of the user.
  • the computer device obtains geographic location information of each user in the user group, and determines a correspondence between the geographic location information of the user and the region.
  • the geographical location information of the user corresponds to the area.
  • the coordinate system may be established with the point on the lower left corner of the map as the coordinate origin, and the correspondence between the geographic location information of the user and the region is determined according to the latitude and longitude of the coordinate origin and the geographical location information of the user acquired by the computer device.
  • the column number of the region corresponding to the position information wherein the symbol "/" indicates rounding down, x1 indicates the latitude of the user position, y1 indicates the longitude of the user position, x indicates the latitude of the coordinate origin, and y indicates the longitude of the coordinate origin, a Indicates the latitude difference corresponding to the length of the rectangular area in the vertical direction, and b represents the longitude difference corresponding to the length of the rectangular area in the horizontal direction.
  • the computer device determines an area corresponding to the geographic location information of each user in the user group according to the above method. How to determine the area corresponding to the user's geographic location information The method provided by the embodiments of the present invention is not limited to this.
  • the latitude and longitude of the coordinate origin is 10° north latitude and 10° east longitude
  • the user in the user group is AJ
  • the computer device obtains the geographical location information of the user AJ.
  • the user A is taken as an example for explanation.
  • the location of the user A indicated by the geographic location information of the user A acquired by the computer device is 23° north latitude and 28° east longitude
  • the divided rectangular area is a square area, and the side of the square area
  • the length corresponding to the latitude difference is 5°
  • the corresponding longitude difference is 5°
  • the location of the user indicated by the geographical location information of A belongs to a rectangular area of the third row and the fourth column, and the geographical position information of the user A corresponds to the rectangular area of the third row and the fourth column.
  • the computer device uses the same method to determine the area corresponding to the geographic location information of the user B-J, and details are not described herein again.
  • the location or identifier of the base station sector accessed by the user terminal is used as the location of the user indicated by the geographic location information of the user, and the geographical location information indication of the user is indicated.
  • the location where the user appears belongs to the sector area of the base station, and the sector area of the base station is the area corresponding to the geographical location information of the user.
  • the base station sector area may be indicated by the identity of the base station sector.
  • the computer device After the computer device obtains the geographic location information of each user in the user group, and determines the correspondence between the geographic location information of the user and the region, the computer device generates, according to the corresponding relationship between the geographic location information of each user in the user group and the region, The user of the zone appears with a set of information bits. Specifically, the information bit set is generated for the user corresponding to one area, and if the geographic location information of the user corresponds to the area, the bit value indication corresponding to the user bit of the information bit set in the user appears, if the user's geography If the location information does not correspond to the area, then the bit value indicating that the user bit appears in the information bit set corresponding to the user bit does not appear. For example, take the area divided by Figure 3 as an example. Suppose the number of user groups is 10, which is the user A-J. The device obtains the geographical location information of each user in the user group, and the location of the user indicated by the geographic location information of each user is
  • the column number of the area, the geographical location information of the user A, C, D is corresponding to the area of the third row and the fourth column, and the geographical location information of the user B, E, F, G, H, I, J and the first row
  • the area corresponding to the first column corresponds to the user information bit set corresponding to the third row and the fourth column region, and the bit value corresponding to the bits of the users A, C, and D is 1, corresponding to the users B, E, F,
  • the bit value of the bits of G, H, I, and J is 0.
  • the user corresponding to the first row and the first column region appears in the information bit set, and the bit value corresponding to the bits of the user B, E, F, G, H, I, J is 1, corresponding to the users A, C, and D.
  • the bit value of the bit is 0.
  • the user information bit corresponding to the regions corresponds to the user AJ.
  • the bit value of the bit is 0.
  • the computer device generates a set of information bits for the user corresponding to each area, which can be recorded as follows
  • (1, 1), (3, 4), and (1, 2) respectively indicate the first row, the first column region, the third row, the fourth column region, and the first row and the second column region.
  • the positions of the bits corresponding to the user A-J are the same.
  • the user corresponding to all the areas divided in Figure 3 is not listed in the above table.
  • the set of information bits, but the computer device generates a set of information bits corresponding to the user corresponding to all areas of the partition.
  • bit values in the information bit set of the user corresponding to other areas except the (1,1), (3,4) area are the same as the (1,2) area, they are all 0, therefore, due to space limitations, in this example Only the user occurrence information bit set corresponding to the (1, 2) area is listed as an example, and the computer device does not generate the user appearance information bit set corresponding to other areas.
  • the information that at least one user in the user group appears in a certain area may include, User information of all users appearing in a certain area, the user information has a corresponding relationship with the area, and the computer device determines, according to the user information, that the user presence information bit set corresponding to the area corresponds to the position of the user appearing in the area , the bit values of these bits are set to appear.
  • the bit values of the bits corresponding to the users are not set, that is, the corresponding information is obtained.
  • a set of information bits appears for users in the area.
  • the user information may be, for example but not limited to, a mobile phone number, an International Mobile Subscriber Identification Number (IMSI), an International Mobile Equipment Identity (IMEI), and a Unique Device Identifier (UDID).
  • IMSI International Mobile Subscriber Identification Number
  • IMEI International Mobile Equipment Identity
  • UDID Unique Device Identifier
  • the user group is AJ
  • the computer device obtains the mobile phone numbers of all the users appearing in the third row and the fourth column area, and determines the third row and the fourth column area according to the mobile phone number.
  • the users in the information bit set corresponding to these mobile phone numbers are A, B, and C.
  • the bit values of the bits of the users A, B, and C are set to 1, and the other bit values are set to 0, that is, corresponding to the area is obtained.
  • the user has a set
  • the information that at least one user in the user group appears in a certain area may also include presence information of all users appearing in a certain area, and the computer device acquires the presence information of all users appearing in a certain area of the user group.
  • the obtained user appearance information is used as the appearance information of the corresponding user in the information bit set of the user corresponding to the area. For users who have not obtained the information, it means that the users do not appear in the area, so the user information bit corresponding to the area corresponds to the bit value of the user's bit in the user group that does not appear in the area. If it does not appear, the information bit set corresponding to the user of the area is obtained.
  • the user group is AJ, in which the user A, B, and C appear in the third row and the fourth column area, so the computer device acquires the users A, B, and C in the third row. Information appears for users in the four columns:
  • the computer device obtains the user appearance information as the appearance information of the user A, B, and C in the user presence information bit set corresponding to the third row and the fourth column region, and concentrates the user information bit corresponding to the third row and the fourth column region.
  • the bit value corresponding to the bit of the user DJ is set to 0, that is, the user appearance information bit set corresponding to the third row and the fourth column region is obtained:
  • the geographical location information of each user in the user group acquired by the computer device is not for a specific area, it is necessary to determine the area to which the user's location indicated by the user's geographical location information belongs, thereby determining The correspondence between the location information of the user in the user group and the region.
  • the location of the user indicated by the location information of the user in the user group belongs to a specific area, and has a corresponding relationship. Therefore, it is no longer necessary to determine the location information and the area of the user in the user group according to the location where the user appears. Correspondence relationship.
  • the user group may be, for example, but not limited to, a plurality of users in a city or a county or a township, and is determined according to specific needs, and the present invention does not limit this.
  • the space occupied by the stored data is minimized compared to the storage user's location information.
  • the location information of the user in the user group further includes time information when the user appears in the location information; the computer device divides the time length into M time segments, where M is an integer greater than 1, according to the location information.
  • a correspondence between the time and a certain time period generates a set of user appearance information bits corresponding to the time period and the area.
  • the time information may be, for example, but not limited to, a time or a time period.
  • the computer device For each time period divided, the computer device generates a set of user presence information bits corresponding to each of the divided regions. The user corresponding to the different time segments appears in the information bit set, and the positions of the corresponding bits of the same user are the same.
  • the area X axis represents the area column number
  • the area Y axis represents the area line number
  • the time Z axis represents the divided time period
  • the user appearance information bit set generated by the computer device corresponds to the area and the time period.
  • a computer device divides the time of day into 24 time periods, each of which is 1 hour long. Taking the area divided by FIG. 3 as an example, the user group is A-J, and corresponding to the time period of 8:00 to 9:00, the user information bit set corresponding to the second row and the fifth column area generated by the computer device can be recorded as
  • the user appearance information bit set indicates whether the user group AJ appears in the area of the second row and the fifth column in the 8:00 to 9:00 time period, wherein the time zone appears in the second row from 8:00 to 9:00.
  • the users in the area of the fifth column are A, C, D, E, G, and J, and the users who do not appear in the area are B, F, H, and I.
  • the computer For the time period other than the 8:00 to 9:00 time period, for the user group A-J, the computer is set.
  • the user presence information bit set corresponding to the second row and the fifth column area is also generated.
  • the computer device For regions other than the fifth row and fifth column, the computer device also generates a set of user appearance information bits corresponding to the regions corresponding to each of the time periods including the 8:00 to 9:00 time period.
  • generating the user appearance information bit set corresponding to the time period and the area specifically includes: determining that different locations where the user appears in the same time period correspond to different areas, and the user appears in the same time period. The corresponding bit value of the presence information bit set of the area is indicated.
  • the position appearing at 8:00 to 8:30 is 18 degrees north latitude and 33 degrees east longitude, belonging to the second row and the fifth column region, and the position appearing at 8:31 to 9:00 is north latitude 23 °, east longitude 33 °, belongs to the third row and the fifth column area, then for the time period 8:00 to 9:00, the user corresponding to the second row and the fifth column region appears in the information bit set corresponding to the bit value of the user A bit.
  • the bit value corresponding to the user bit in the information bit set corresponding to the third row and the fifth column region is 1, and the bit value of the bit corresponding to the user A is also 1.
  • a user bit information set corresponding to the time segment and the region is generated according to the location information of the user in the user group, so that the total number of data entries in the information bit set of the user is fixed, and the maximum is The limit reduces the storage space of the data.
  • the newly added Q person has the information before the T time. Appears with a bit value of 0.
  • the bit of the newly added Q person for indicating the appearance information can be added after the appearance information bit of the initial P person.
  • the number of users in the user group is initially 10, and since the beginning of March 18, 2015, 5 people have been added. The newly added 5 people have not appeared before March 18, 2015, and the bit value is 0,15.
  • the user information bit set corresponding to a certain area before March 18, 2015 can be expressed as
  • the last 5 digits indicate the appearance of the newly added 5 people.
  • the computer device generates a pair of one of the at least one attribute of the user group And corresponding to the attribute information bit set of the attribute, the bit in the attribute information bit set is in one-to-one correspondence with the user in the user group, and the bit value of each bit in the attribute information bit set indicates the correspondence in the user group.
  • the user has an attribute corresponding to the attribute information bit set. Having the attribute is represented by a bit value of 1, and the attribute is not represented by a bit value of 0; or, the attribute has a bit value of 0, and the attribute is not represented by a bit value of 1, the present invention does not limit.
  • Each user corresponds to one bit, and the position of the bit corresponding to the user in the attribute information bit set is the same as the position of the bit corresponding to the user in the information bit set.
  • Each bit in the attribute information bit set represents attribute information of a corresponding user in the user group.
  • the attribute includes at least one of a gender attribute, an age attribute, a package attribute, a level attribute, a preference attribute, and an identity attribute, wherein the identity attribute is related to the area.
  • the gender attribute includes male and female
  • the age attribute includes youth, middle age, and old age
  • the preference attribute may be, for example, WeChat preference, online shopping preference, etc.
  • the user A-J in the above user group is taken as an example
  • the user attribute information bit set includes
  • the identity attribute includes a role of the user in an area, which may be, for example, but not limited to, a worker, an occupant, an entertainer, a visitor. Since the identity attribute is related to the zone, the same user can have different identity attributes in different zones.
  • the identity attribute information of the user A-J includes:
  • performing data processing is specifically: performing logical operations according to the queryed user presence information bit set and the logical operator indication parameter in the request message.
  • the logical operator indicates that the parameter is used to indicate that logical operations such as "and", "or” are performed.
  • the computer device queries the user occurrence information bit set corresponding to the area indicated by the area indication parameter according to the area indication parameter, and performs a logical operation according to the logical operator indication parameter and the queried user appearance information bit set. During the logical operation, the computer device logically operates the bit values of the bits of the same user in the information bit set of different users.
  • the user group AJ is taken as an example to request a message.
  • the carrying area indication parameters (2, 5), (3, 5) and the logical operator indicate the parameter "AND" operator, and the computer device queries the following information according to the area indication parameters (2, 5), (3, 5):
  • the computer device performs an AND operation on the bit value of the bit of the same user corresponding to the presence information bit set corresponding to the second row and the fifth column region, and the bit value of the bit of the same user corresponding to the third row and the fifth column region, and obtains the second The area in the fifth column appears, and the users appearing in the third row and fifth column are A, D, E, G, and J.
  • the request message further carries a time period indication parameter
  • the computer device queries, according to the time period indication parameter and the area indication parameter, a time period indicated by the time period indication parameter, where the area indication parameter indicates The user corresponding to the area appears with a set of information bits.
  • the time period indication parameter indicates at least one time period.
  • the number of time segments indicated by the time segment indication parameter is determined according to a specific requirement, and the number of the area indicated by the parameter indication parameter is not limited by the present invention.
  • the computer device displays information based on the queried user
  • the special set and logical operators indicate that the parameters are logically operated.
  • the request message further includes an attribute indication parameter
  • the computer device queries the attribute information bit set corresponding to the attribute indicated by the attribute indication parameter according to the attribute indication parameter, and performs data processing according to the queried attribute information bit set.
  • the attribute indication parameter indicates at least one attribute.
  • the request message carries an area indication parameter (2, 5), a time period indication parameter (8:00, 10:00), an attribute indication parameter (Female, Young, WeChat, worker), and a logical operator.
  • the parameter "or" operator, the "and” operator, the computer device indicates the parameter (2, 5) according to the area, the time period indication parameter (8:00, 10:00), and the attribute indication parameter (Female, Young, WeChat, Worker) Query the following information:
  • the computer device correspondingly sets the user presence information bit set corresponding to the 8:00 to 9:00 time period of the 2nd row and 5th column area to the same user of the user occurrence information bit corresponding to the 9:00 to 10:00 time period of the area.
  • the bit value of the bit is ORed, and the result of the OR operation is ANDed with the bit value of the bit of the same user in each attribute information bit set, and the user who satisfies the condition is A. G.
  • the computer device greatly reduces the time for analyzing and filtering the position information and the attribute information according to the information bit set and the attribute information bit set of the user, and greatly shortens the calculation efficiency and speed.
  • the request message when the request message requests location information of at least one specific user in the user group, the request message further carries a user information indication parameter, where the user information indication parameter indicates at least one user to be selected; and the computer device indicates according to the user information.
  • the parameter generates a user screening information bit set corresponding to the user group, and the bits in the user screening information bit set are in one-to-one correspondence with the users in the user group, and the bit value of each bit in the user screening information bit set indicates whether to select The corresponding user in the user group.
  • Each user corresponds to one bit, and the position of the bit corresponding to the user in the information bit set is filtered by the user, which is the same as the position of the bit corresponding to the user in the information bit set.
  • the computer device queries the user to be selected according to the user information indication parameter, and sets a bit value of the user screening information bit set corresponding to the bit of the user to be selected as a selection.
  • the bit value of the bit corresponding to the bit set in the user screening information bit set is not selected, that is, the user screening information bit set corresponding to the user group is obtained.
  • the selection is represented by a bit value of 1, and the non-selection is represented by a bit value of 0; or, the selection is represented by a bit value of 0, and the non-selection is represented by a bit value of 1.
  • the computer device performs data processing according to the user screening information bit set and the queried user appearance information bit set. Specifically, the computer device performs a logical operation on the user screening information bit set and the user location information bit set according to the logical operator indication parameter in the request message, to obtain the location information of the requested at least one specific user.
  • the request message further carries the attribute information indication parameter
  • the user screening information bit set, the user location information bit set, and the attribute information bit set are logically operated to obtain location information of the requested at least one specific user.
  • the user screening information bit set may not be used in the data processing.
  • the location information of at least one particular user in the requesting user group can be used for location distribution analysis of a particular user.
  • the computer device queries the user to be selected as A and B according to the user information indication parameter.
  • Computer equipment will The bit value corresponding to the bits of the user A and B in the user screening information bit set corresponding to the user group is set to 1, and the bit value of the bit corresponding to the user CJ is set to 0, and the user screening information bit set corresponding to the user group AJ is obtained. Can be recorded as
  • the computer device further queries the corresponding information according to the area indication parameter, the time segment indication parameter and the attribute indication parameter in the request message, and performs the AND operation on the corresponding information of the query and the user screening information bit set, thereby obtaining the user A and B's location information.
  • the compression algorithm may be used to compress the consecutive “1” and “0” to further save storage space.
  • the foregoing area indication parameter, the time period indication parameter, the attribute indication parameter, and the user information indication parameter may be carried in the same request message, and may be carried in multiple request messages, which is not limited by the present invention.
  • the user for the user to present the information bit set, when the "appearance" is represented by the bit value of 1, the attribute information bit is concentrated, the "having a certain attribute” is represented by the bit value of 1, the user filters the information bit set, and the “selection” is passed.
  • the bit value is 1; or, for the user to appear the information bit set, when the "appearance" is indicated by the bit value of 0, the attribute information bit set, "having a certain attribute” is represented by the bit value of 0, and the user filters the information bit set.
  • “Selection” is indicated by a bit value of 0.
  • the computer device generates a user appearance information bit set corresponding to the area according to the correspondence between the location information of the user and the area in the user group, and generates attribute information corresponding to the attribute according to the attribute of the user group.
  • the bit set minimizes the storage space occupied by each location information and each attribute information, and greatly reduces the storage space of the data; and generates the information bit set of the user by dividing the map into regions and dividing the time length into time segments. In this way, the total number of data entries in the information bit set of the user is fixed, and the storage space of the data is minimized.
  • the way of data processing through logical operations greatly shortens the time for analyzing, filtering, and attribute information, greatly improving computational efficiency and speed.
  • FIG. 5 is an exemplary flow diagram of a data processing method 500 in accordance with another embodiment of the present invention.
  • data processing method 500 can be performed by, for example, but not limited to, a computer device, which can be, for example, but not limited to, a data processing platform or a processing server.
  • the computer device acquires location information of a user having a target service feature in the user group, that is, does not acquire location information of a user who does not have the target service feature in the user group.
  • the computer device shown in the embodiment of FIG. 5 is capable of more flexibly processing location information that satisfies certain conditions as needed, without having to process all location information without selection.
  • the computer device acquires location information of a user with a target service feature in the user group, and generates a corresponding information according to the corresponding relationship between the location information of the user having the target service feature and the region.
  • a user of the area presents an information bit set, the location information indicating a location where the user appears, and bits of the user presence information bit set correspond to users in the user group.
  • the bit value of each bit of the user presence information bit set indicates whether a corresponding user in the user group appears in the area.
  • the location information of the user with the target service feature includes: location information of the user in the user group that uses at least one target service, where the target service includes at least one of a short message service, a voice service, a data service, and an application. .
  • the computer device only obtains the location information of the user who makes a call in the user group; or the computer device only obtains the location information of the user who accesses the Internet in the user group; or the computer device only obtains the location information of the user who uses the WeChat application in the user group.
  • the location information of the user with the target service feature includes: location information of the user in the user group obtained by the target location manner, where the target location manner includes global positioning system GPS positioning, base station positioning, small base station positioning, and wireless At least one of fidelity WI-FI positioning, base station sector positioning, and indoor base station positioning.
  • the target location manner includes global positioning system GPS positioning, base station positioning, small base station positioning, and wireless At least one of fidelity WI-FI positioning, base station sector positioning, and indoor base station positioning.
  • the computer device only obtains the location information of the user in the user group obtained by GPS positioning.
  • the computer device in S502 determines location information and region of the user having the target service feature
  • the process of the corresponding relationship is the same as the process of determining the correspondence between the location information of the user and the area in the embodiment S202 of FIG. 2, and therefore the specific process is not described herein again.
  • the process of generating the user location information bit set by the computer device in S502 is the same as the process of generating the user location information bit set in the embodiment S202 of FIG. 2, and therefore is not described herein again.
  • the computer device receives a request message, where the request message carries an area indication parameter.
  • the computer device queries the user appearance information bit set corresponding to the area indicated by the area indication parameter according to the area indication parameter, and performs data processing according to the queried user appearance information bit set.
  • the computer device by acquiring the location information of the user having the target service feature in the user group, the computer device can more flexibly process the location information of the user that meets certain conditions according to requirements, without unnecessary processing. All location information makes the processed data more targeted and can further reduce the data storage space.
  • FIG. 6 is a block diagram showing the hardware structure of a general purpose computer structure 600 in accordance with an embodiment of the present invention.
  • the general purpose computer architecture 600 includes a processor 602, a memory 604, a communication interface 606, and a bus 608.
  • the processor 602, the memory 604, and the communication interface 606 implement a communication connection with each other through the bus 608.
  • the processor 602 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for executing related programs.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the memory 604 may be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM).
  • Memory 604 can store operating system 6041 and other applications 6042.
  • the program code for implementing the technical solution provided by the embodiment of the present invention is saved in the memory 604, and is processed by the processor 602. To execute.
  • Communication interface 606 implements communication with other devices or communication networks using transceivers such as, but not limited to, transceivers.
  • Bus 608 can include a path for communicating information between various components (e.g., processor 602, memory 604, input and communication interface 606).
  • the general purpose computer architecture 600 further includes a generation module 702, a receiving module 704, and a processing module 706 for data processing.
  • These modules can be implemented in hardware, software implementation, or software in combination with hardware.
  • the modules, which are software, are stored in the memory 604 of the general purpose computer architecture 600 and may be used together as a separate program or as separate programs. As an alternative embodiment, these software modules may also be separate, or together, as part of the application 6042, or as part of the operating system 6041.
  • the generating module 702 is configured to generate, according to a correspondence between the location information of the user in the user group and the region, a bit set of user presence information corresponding to the region, where the location information indicates a location where the user appears, a bit in the user information bit set is in one-to-one correspondence with a user in the user group, and a bit value of each bit in the user information bit set indicates the user group Whether the corresponding user appears in the area.
  • the data processing device further includes an obtaining module 706, configured to acquire location information of a user having a target service feature in the user group, where the generating module 702 is configured according to the location information of the user having the target service feature.
  • the correspondence of the regions generates a set of user appearance information bits corresponding to the regions.
  • the receiving module 704 is configured to receive a request message, where the request message carries an area indication parameter.
  • the processing module 706 is configured to query, according to the area indication parameter, a user presence information bit set corresponding to the area indicated by the area indication parameter, and perform data processing according to the queried user appearance information bit set.
  • the generating module 702 is used according to the user group. Corresponding relationship between the location information of the user and the region, generating a set of user appearance information bits corresponding to the region, generating an attribute information bit set corresponding to the attribute according to the attribute of the user group, and minimizing each position information and each attribute information
  • the occupied storage space greatly reduces the storage space of the data; the generating module 702 generates a user information bit set by dividing the map into regions and dividing the time length into time segments, so that the total number of data entries of the user's information bit set is fixed.
  • the data storage space is minimized; the processing module 706 performs data processing by logical operations, which greatly shortens the time for analyzing and filtering information and attribute information, and greatly improves the calculation efficiency and speed.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), and a random access memory. (RAM, Random Access Memory), various types of media that can store program code, such as a disk or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Library & Information Science (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明的实施例提供一种数据处理方法,该方法包括,对多个区域中的某一个区域,根据用户群中用户的位置信息与所述区域的对应关系,生成对应于所述区域的用户出现信息比特集,所述用户出现信息比特集中的每一比特位的比特值指示所述用户群中的对应用户是否出现在所述区域;接收请求消息,所述请求消息携带区域指示参数;根据所述区域指示参数查询所述区域指示参数指示的区域对应的用户出现信息比特集,根据所述查询到的用户出现信息比特集进行数据处理。根据本发明实施例提供的技术方案,通过生成对应区域的用户出现信息比特集,大大减少了数据的存储空间,在进行数据处理时提升了计算效率和速度。

Description

一种数据处理方法及装置
本申请要求于2015年05月28日提交中国专利局、申请号为201510284151.9,发明名称为“一种数据处理方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信领域,尤其涉及一种数据处理方法及装置。
背景技术
目前,运营商在进行市场营销、产品策划等工作时,往往需要处理大量的用户数据,以便根据数据处理结果确定目标用户,从而进行推销和推荐。然而,目前进行用户数据处理之前需要存储巨大的用户数据量,占用大量的数据存储空间,并且大量数据重复存储。在利用这些数据进行数据处理时,查找的数据量巨大,速度慢,资源耗损高,并且往往需要通过用户身份(ID)过滤出满足条件的用户,速度慢,效率低。
发明内容
本发明的实施例提供一种数据处理方法和装置,通过生成对应于区域的用户出现信息比特集,大大减少了数据的存储空间,在进行数据处理时提升了计算效率和速度。
第一方面,提供了一种数据处理方法,所述方法包括对多个区域中的某一个区域,根据用户群中用户的位置信息与所述区域的对应关系,生成对应于所述区域的用户出现信息比特集,所述位置信息指示所述用户出现的位置,所述用户出现信息比特集中的比特位与所述用户群中的用户一一对应,所述用户出现信息比特集中的每一比特位的比特值指示所述用户群中的对应用户是否出现在所述区域;接收请求消息,所述请求消息携带区域指示参数;根据所述区域指示参数查询所述区域指示参 数指示的区域对应的用户出现信息比特集,根据所述查询到的用户出现信息比特集进行数据处理。
结合第一方面的实现方式,在第一方面第一种可能的实现方式中,所述根据用户群中用户的位置信息与所述区域的对应关系,生成对应于所述区域的用户出现信息比特集,包括获取所述用户群中具有目标业务特征的用户的位置信息,根据所述具有目标业务特征的用户的位置信息与所述区域的对应关系,生成对应于所述区域的用户出现信息比特集。
结合第一方面、第一方面的第一种可能的实现方式,在第二种可能实现的方式中,所述用户群中用户的位置信息包括以下两种信息中的一种:所述用户群中每个用户的地理位置信息;或所述用户群中的至少一个用户出现在所述某一区域中的信息。
结合第一方面、第一方面的第一种至第二种可能的实现方式,在第三种可能实现的方式中,所述用户群中用户的位置信息还包含所述用户出现在所述位置信息中位置时的时间信息;将时间长度划分成M个时间段,M为大于1的整数,根据所述位置信息中时刻与某一时间段的对应关系,生成对应于所述时间段和所述区域的用户出现信息比特集。
结合第一方面、第一方面的第一种至第三种可能的实现方式,在第四种可能实现的方式中,所述请求消息还携带时间段指示参数;则根据所述时间段指示参数和所述区域指示参数查询所述时间段指示参数指示的时间段,所述区域指示参数指示的区域对应的用户出现信息比特集。
结合第一方面、第一方面的第一种至第四种可能的实现方式,在第五种可能实现的方式中,所述生成对应于所述时间段和所述区域的用户出现信息比特集具体包括:确定在同一时间段内所述用户出现的不同位置对应不同的区域,则在所述同一时间段内,所述用户在其出现的区域的出现信息比特集中对应的比特值都指示出现。
结合第一方面、第一方面的第一种至第五种可能的实现方式,在第六种可能实现的方式中,所述方法还包括,对所述用户群的至少一种属性中的某一属性,生成对应于所述属性的属性信息比特集,所述属性信息比特集中的比特位与所述用户群中的用户一一对应,所述属性信息比特集中的每一比特位的比特值指示所述用户群中的对应用户是否具有对应于所述属性信息比特集的属性。
结合第一方面、第一方面的第一种至第六种可能的实现方式,在第 七种可能实现的方式中,所述请求消息还携带属性指示参数;则根据所述属性指示参数查询所述属性指示参数指示的属性对应的属性信息比特集,根据所述查询到的属性信息比特集进行数据处理。
结合第一方面、第一方面的第一种至第七种可能的实现方式,在第八种可能实现的方式中,所述属性包括性别属性、年龄属性、套餐属性、等级属性、偏好属性、身份属性中的至少一种,所述身份属性与区域相关。
结合第一方面、第一方面的第一种至第八种可能的实现方式,在第九种可能实现的方式中,所述请求消息还携带用户信息指示参数,所述用户信息指示参数指示所要选择的至少一个用户;根据所述用户信息指示参数生成对应于所述用户群的用户筛选信息比特集,所述用户筛选信息比特集中的比特位与所述用户群中的用户一一对应,所述用户筛选信息比特集中的每一比特位的比特值指示是否选择所述用户群中的对应用户。
结合第一方面、第一方面的第一种至第九种可能的实现方式,在第十种可能实现的方式中,根据所述用户筛选信息比特集和所述查询到的用户出现信息比特集进行数据处理。
结合第一方面、第一方面的第一种至第十种可能的实现方式,在第十一种可能实现的方式中,所述进行数据处理具体为:根据查询到的用户出现信息比特集及所述请求消息中的逻辑运算符指示参数进行逻辑运算。
结合第一方面、第一方面的第一种至第十一种可能的实现方式,在第十二种可能实现的方式中,所述具有目标业务特征的用户的位置信息包括:所述用户群中使用至少一种目标业务的用户的位置信息,所述目标业务包括短信业务、话音业务、数据业务、应用中的至少一种。
结合第一方面、第一方面的第一种至第十二种可能的实现方式,在第十三种可能实现的方式中,所述具有目标业务特征的用户的位置信息包括:通过目标定位方式定位得到的所述用户群中用户的位置信息,所述目标定位方式包括全球定位系统GPS定位、基站定位、小型基站定位、无线保真WI-FI定位、基站扇区定位、室内基站定位中的至少一种。
第二方面,提供了一种数据处理装置,包括生成模块,接收模块和处理模块:所述生成模块,用于对多个区域中的某一个区域,根据用户 群中用户的位置信息与所述区域的对应关系,生成对应于所述区域的用户出现信息比特集,所述位置信息指示所述用户出现的位置,所述用户出现信息比特集中的比特位与所述用户群中的用户一一对应,所述用户出现信息比特集中的每一比特位的比特值指示所述用户群中的对应用户是否出现在所述区域;所述接收模块,用于接收请求消息,所述请求消息携带区域指示参数;所述处理模块,用于根据所述区域指示参数查询所述区域指示参数指示的区域对应的用户出现信息比特集,根据所述查询到的用户出现信息比特集进行数据处理。
结合第二方面的实现方式,在第二方面第一种可能的实现方式中,所述装置还包括获取模块,所述获取模块用于获取所述用户群中具有目标业务特征的用户的位置信息,则所述根据用户群中用户的位置信息与所述区域的对应关系,生成对应于所述区域的用户出现信息比特集,包括根据所述具有目标业务特征的用户的位置信息与所述区域的对应关系,生成对应于所述区域的用户出现信息比特集。
结合第二方面、第二方面的第一种可能的实现方式,在第二种可能实现的方式中,所述用户群中用户的位置信息包括以下两种信息中的一种:所述用户群中每个用户的地理位置信息;或所述用户群中的至少一个用户出现在所述某一区域中的信息。
结合第二方面、第二方面的第一种至第二种可能的实现方式,在第三种可能实现的方式中,所述用户群中用户的位置信息还包含所述用户出现在所述位置信息中位置时的时间信息;所述生成模块还用于将时间长度划分成M个时间段,M为大于1的整数,根据所述位置信息中时刻与某一时间段的对应关系,生成对应于所述时间段和所述区域的用户出现信息比特集。
结合第二方面、第二方面的第一种至第三种可能的实现方式,在第四种可能实现的方式中,所述请求消息还携带时间段指示参数;则所述处理模块用于根据所述时间段指示参数和所述区域指示参数查询所述时间段指示参数指示的时间段,所述区域指示参数指示的区域对应的用户出现信息比特集。
结合第二方面、第二方面的第一种至第四种可能的实现方式,在第五种可能实现的方式中,所述生成对应于所述时间段和所述区域的用户出现信息比特集具体包括:确定在同一时间段内所述用户出现的不同位 置对应不同的区域,则在所述同一时间段内,所述用户在其出现的区域的出现信息比特集中对应的比特值都指示出现。
结合第二方面、第二方面的第一种至第五种可能的实现方式,在第六种可能实现的方式中,所述生成模块还用于对所述用户群的至少一种属性中的某一属性,生成对应于所述属性的属性信息比特集,所述属性信息比特集中的比特位与所述用户群中的用户一一对应,所述属性信息比特集中的每一比特位的比特值指示所述用户群中的对应用户是否具有对应于所述属性信息比特集的属性。
结合第二方面、第二方面的第一种至第六种可能的实现方式,在第七种可能实现的方式中,所述请求消息还携带属性指示参数;则所述处理模块用于根据所述属性指示参数查询所述属性指示参数指示的属性对应的属性信息比特集,根据所述查询到的属性信息比特集进行数据处理。
结合第二方面、第二方面的第一种至第七种可能的实现方式,在第八种可能实现的方式中,所述属性包括性别属性、年龄属性、套餐属性、等级属性、偏好属性、身份属性中的至少一种,所述身份属性与区域相关。
结合第二方面、第二方面的第一种至第八种可能的实现方式,在第九种可能实现的方式中,所述请求消息还携带用户信息指示参数,所述用户信息指示参数指示所要选择的至少一个用户;所述生成模块根据所述用户信息指示参数生成对应于所述用户群的用户筛选信息比特集,所述用户筛选信息比特集中的比特位与所述用户群中的用户一一对应,所述用户筛选信息比特集中的每一比特位的比特值指示是否选择所述用户群中的对应用户。
结合第二方面、第二方面的第一种至第九种可能的实现方式,在第十种可能实现的方式中,所述处理模块根据所述用户筛选信息比特集和所述查询到的用户出现信息比特集进行数据处理。
结合第二方面、第二方面的第一种至第十种可能的实现方式,在第十一种可能实现的方式中,所述进行数据处理具体为:根据查询到的用户出现信息比特集及所述请求消息中的逻辑运算符指示参数进行逻辑运算。
结合第二方面、第二方面的第一种至第十一种可能的实现方式,在第十二种可能实现的方式中,所述具有目标业务特征的用户的位置信息 包括:所述用户群中使用至少一种目标业务的用户的位置信息,所述目标业务包括短信业务、话音业务、数据业务、应用中的至少一种。
结合第二方面、第二方面的第一种至第十二种可能的实现方式,在第十三种可能实现的方式中,所述具有目标业务特征的用户的位置信息包括:通过目标定位方式定位得到的所述用户群中用户的位置信息,所述目标定位方式包括全球定位系统GPS定位、基站定位、小型基站定位、无线保真WI-FI定位、基站扇区定位、室内基站定位中的至少一种。
第三方面,提供了一种计算设备,包括:处理器、存储器、总线和通信接口;所述存储器用于存储计算设备执行指令,所述处理器与所述存储器通过所述总线连接,当所述计算设备运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述计算设备执行第一方面至第二方面及第一方面至第二方面的任一可能的实现方式所述的方法。
根据本发明实施例提供的技术方案,通过根据用户群中用户的位置信息与所述区域的对应关系,生成对应于所述区域的用户出现信息比特集,大大减少了数据的存储空间;根据区域指示参数查询其指示的区域对应的用户出现信息比特集,根据查询到的用户出现信息比特集进行数据处理,大大提升了计算效率和速度。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例应用的网络架构的示意图;
图2是依据本发明一实施例的数据处理方法的示范性流程图;
图3是依据本发明一实施例的地图上区域的划分结果示意图;
图4是依据本发明一实施例的用户出现信息比特集与区域和时间的关系的示意图;
图5是依据本发明另一实施例的数据处理方法的示范性流程图;
图6是依据本发明一实施例的通用计算机结构的硬件结构示意图;
图7是依据本发明一实施例的数据处理装置的结构示意图。
具体实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、接口、技术之类的具体细节,以便透彻理解本发明。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。
为方便理解和说明本发明提供的实施例,首先介绍几个与本发明相关的概念。精准定位,包括以下两种方式中的至少一种:通过用户终端获取用户的位置信息,包括通过用户终端上具有定位功能的应用获取用户的位置信息;通过分析用户接入基站的信号强弱和角度确定用户的位置信息。模糊定位,包括通过获取用户接入的设备的位置来确定用户的位置信息,用户接入的设备包括但不限于基站扇区、无线路由设备、小型基站(Small Cell)、蓝牙设备。用户出现的位置可以通过精准位置表示,例如但不限于通过经纬度表示,也可以通过模糊位置表示,例如但不限于通过用户接入的设备的位置或标识表示。本发明所指的地图为被划分区域的地图,包括但不限于地理位置图,基站扇区位置图,楼层分布图。本发明所指的多个为大于等于2的整数个。
图1是本发明实施例应用的网络架构100的示意图。其中计算机设备获取用户群中用户的位置信息,根据用户的位置信息与区域的对应关系生成用户出现信息比特集。请求设备向计算机设备发送请求消息,计算机设备根据请求消息中携带的区域指示参数查找对应的用户出现信息比特集,根据查找到的用户出现信息比特集进行数据处理,返回数据处理的结果给请求设备。其中,请求设备可以为例如但不限于服务器或终端设备。
图2是依据本发明一实施例的数据处理方法200的示范性流程图。在具体实现过程中,数据处理方法200可以由例如但不限于计算机设备来执 行,该计算机设备可以是例如但不限于数据处理平台或处理服务器。
S202,对多个区域中的某一个区域,计算机设备根据用户群中用户的位置信息与所述区域的对应关系,生成对应于所述区域的用户出现信息比特集,所述位置信息指示所述用户出现的位置,所述用户出现信息比特集中的比特位(bits)与所述用户群中的用户(users)一一对应,所述用户出现信息比特集中的每一比特位的比特值指示所述用户群中的对应用户是否出现在所述区域。
用户出现信息比特集中的每个比特表示用户群中的对应用户的出现信息。
S204,所述计算机设备接收请求消息,所述请求消息携带区域指示参数。
区域指示参数可以为区域的行号和列号,也可以为用户接入的设备的标识,该区域指示参数指示至少一个区域。
S206,所述计算机设备根据所述区域指示参数查询所述区域指示参数指示的区域对应的用户出现信息比特集,根据所述查询到的用户出现信息比特集进行数据处理。
在S202中,在计算机设备根据用户群中用户的位置信息与区域的对应关系,生成对应于区域的用户出现信息比特集之前,计算机设备将地图划分成N个区域,N为大于1的整数,位于该地图上的每一点都属于该N个区域中的一个区域,不存在位于该地图上但不属于该N个区域的点。具体的,划分成的N个区域可以为N个形状相同且面积相同的区域,也可以划分成N个不同的区域。N个不同的区域指N个区域中,至少有一个区域与其他区域具有不同的形状,或至少有一个区域与其他区域具有不同的面积。
当将地图划分成N个形状相同且面积相同的区域时,可以划分成例如但不限于N个面积相同且形状相同的矩形区域,每个矩形区域的长相互平行,每个矩形区域的宽相互平行。
当将地图划分成N个不同的区域时,例如以基站扇区位置图为例,可以将一个基站扇区作为一个区域,按照基站扇区将地图划分成N个区域。当划分室内地图时,由于室内区分楼层,因此需要对每个楼层单独进行区域的划分。在划分成N个区域时,可以根据例如但不限于室内的店面或展台范围来划分。
在计算机设备根据用户群中用户的位置信息与区域的对应关系,生成对应于区域的用户出现信息比特集之前,计算机设备获取用户群中用户的位置信息,确定用户的位置信息与区域的对应关系。具体的,用户的位置信息可以通过精准定位或模糊定位的方式获得,其中,精准定位包括但不限于全球定位系统(Global Positioning System,GPS)定位、基站(Cell)定位、Small Cell定位、无线保真(Wireless Fidelity,WI-FI)定位中的一种。模糊定位包括但不限于Cell定位、Small Cell定位、WI-FI定位、基站扇区定位、室内基站定位中的一种。用户的位置信息可由例如但不限于运营商或用户终端获得,再将定位得到的用户的位置信息提供给该计算机设备。
可选的,当使用精准定位获得用户的位置信息时,可以将地图划分成N个形状相同且面积相同区域,从而确定用户的位置信息对应的区域;当使用模糊定位获得用户的位置信息时,可以将地图划分成N个不同区域,从而确定用户的地理位置信息对应的区域。
对于对应于一个区域的用户出现信息比特集,如果用户的位置信息与该区域对应,则该用户出现信息比特集中对应于该用户的比特位的比特值指示出现,表示该用户出现在该区域;如果用户的位置信息与该区域不对应,则该用户出现信息比特集中对应于该用户的比特位的比特值指示未出现,表示该用户未出现在该区域。出现通过比特值为1表示,未出现通过比特值为0表示;或者,出现通过比特值为0表示,未出现通过比特值为1表示,本发明对此不做限制。对于划分的每一个区域,计算机设备生成对应于该区域的用户出现信息比特集。每个用户对应一位比特位,并且在 不同区域对应的用户出现信息比特集中,同一用户对应的比特位的位置相同。
可选的,用户群中用户的位置信息包括以下两种信息中的一种:
用户群中每个用户的地理位置信息;
用户群中的至少一个用户出现在某一区域中的信息。
下面将分别说明计算机设备如何依据上述两种信息生成对应于区域的用户出现信息比特集。
(1)当用户群中用户的位置信息包括用户群中每个用户的地理位置信息时,具体的,用户的地理位置信息可以通过经纬度表示。例如,终端通过GPS定位得到用户的位置为东经28°、北纬23°;又例如,运营商通过用户接入的基站扇区确定用户位于该扇区内,该基站扇区的位置东经38°、北纬33°即作为该用户的位置。计算机设备获取用户群中每个用户的地理位置信息,确定用户的地理位置信息与区域的对应关系。当用户的地理位置信息指示的用户出现的位置属于一个区域时,该用户的地理位置信息与该区域对应。
当将地图划分成N个面积相同且形状相同的矩形区域时,每个矩形区域的长相互平行,每个矩形区域的宽相互平行。此时,可以以地图上左下角的点为坐标原点建立坐标系,根据坐标原点的经纬度和计算机设备获取的用户的地理位置信息确定用户的地理位置信息与区域的对应关系。可选的,可以根据k=((x1-x)/a)+1确定用户的地理位置信息对应的区域的行号,根据j=((y1-y)/b)+1确定用户的地理位置信息对应的区域的列号,其中,符号“/”表示向下取整,x1表示用户位置的纬度,y1表示用户位置的经度,x表示坐标原点的纬度,y表示坐标原点的经度,a表示矩形区域竖直方向的长度对应的纬度差,b表示矩形区域水平方向的长度对应的经度差。计算机设备依据上述方法确定用户群中每个用户的地理位置信息对应的区域。确定用户的地理位置信息对应的区域的方法有多 种,本发明实施例提供的方法并不用来对此作出限制。
例如,如图3所示,以图3所示的地理位置图为例,坐标原点的经纬度为北纬10°、东经10°,用户群中的用户为A-J,计算机设备获取用户A-J的地理位置信息,以用户A为例进行说明,假设计算机设备获取的用户A的地理位置信息指示的用户A出现的位置为北纬23°、东经28°,若划分的矩形区域为正方形区域,且正方形区域的边长对应的纬度差为5°,对应的经度差为5°,则根据k=((x1-x)/a)+1确定用户A的地理位置信息对应的区域的行号,根据j=((y1-y)/b)+1确定用户A的地理位置信息对应的区域的列号,在图3中,x1=23°,y1=28°,x=10°,y=10°,a=5°,b=5°,则k=((23°-10°)/5°)+1=3,j=((28°-10°)/5°)+1=4,则用户A的地理位置信息指示的用户出现的位置北纬23°、东经28°属于第3行第4列的矩形区域,用户A的地理位置信息与第3行第4列的矩形区域对应。计算机设备采用相同的方法确定用户B-J的地理位置信息对应的区域,此处不再赘述。
当按照基站扇区将地图划分成N个不同区域时,将用户终端接入的基站扇区的位置或标识作为用户的地理位置信息所指示的用户出现的位置,则该用户的地理位置信息指示的用户出现的位置属于该基站扇区区域,该基站扇区区域即为该用户的地理位置信息对应的区域。该基站扇区区域可以通过该基站扇区的标识来指示。
在计算机设备获取用户群中每个用户的地理位置信息,确定用户的地理位置信息与区域的对应关系之后,计算机设备根据用户群中每个用户的地理位置信息与区域的对应关系,生成对应于区域的用户出现信息比特集。具体的,对于对应于一个区域的用户出现信息比特集,如果用户的地理位置信息与该区域对应,则该用户出现信息比特集中对应于该用户的比特位的比特值指示出现,如果用户的地理位置信息与该区域不对应,则该用户出现信息比特集中对应于该用户的比特位的比特值指示未出现。例如,以图3划分的区域为例,假设用户群数量为10人,为用户A-J,计算 机设备获取到用户群中每个用户的地理位置信息,每个用户的地理位置信息指示的用户出现的位置为
Figure PCTCN2015092002-appb-000001
可以根据k=((x1-x)/a)+1确定用户的地理位置信息对应的区域的行号,根据j=((y1-y)/b)+1确定用户的地理位置信息对应的区域的列号,得出用户A、C、D的地理位置信息与第3行第4列的区域对应,用户B、E、F、G、H、I、J的地理位置信息与第1行第1列的区域对应,则对应于第3行第4列区域的用户出现信息比特集中,对应于用户A、C、D的比特位的比特值为1,对应于用户B、E、F、G、H、I、J的比特位的比特值为0。对应于第1行第1列区域的用户出现信息比特集中,对应于用户B、E、F、G、H、I、J的比特位的比特值为1,对应于用户A、C、D的比特位的比特值为0。对于除第3行第4列区域和第1行第1列区域之外的其他区域,由于用户A-J的地理位置信息与这些区域不对应,因此这些区域对应的用户出现信息比特集中对应于用户A-J的比特位的比特值为0。计算机设备生成对应每个区域的用户出现信息比特集,可记录如下
(1,1) 0 1 0 0 1 1 1 1 1 1
(3,4) 1 0 1 1 0 0 0 0 0 0
(1,2) 0 0 0 0 0 0 0 0 0 0
用户 A B C D E F G H I J
其中,(1,1)、(3,4)、(1,2)分别表示第1行第1列区域、第3行第4列区域、第1行第2列区域。在不同的区域中,用户A-J对应的比特位的位置相同。上表中并未列出图3中划分的全部区域对应的用户出现 信息比特集,但计算机设备生成划分的全部区域对应的用户出现信息比特集。由于除(1,1)、(3,4)区域外,其他区域对应的用户出现信息比特集中的比特值与(1,2)区域相同,都为0,因此,由于篇幅限制,本例中只列出了(1,2)区域对应的用户出现信息比特集作为示范,并非计算机设备不生成其他区域对应的用户出现信息比特集。
(2)当用户群中用户的位置信息包括用户群中的至少一个用户出现在某一区域中的信息时,具体的,用户群中的至少一个用户出现在某一区域中的信息可以包括,出现在某一区域中的所有用户的用户信息,该用户信息与该区域具有对应关系,计算机设备根据用户信息,确定该区域对应的用户出现信息比特集中对应于出现在该区域的用户的比特位,将这些比特位的比特值设为出现。对于未获取到用户信息的用户,则说明这些用户未出现在该区域,这些用户的位置信息与该区域不对应,因此将这些用户对应的比特位的比特值设为未出现,即得到了对应于该区域的用户出现信息比特集。用户信息可以为例如但不限于手机号码、国际移动用户识别码(International Mobile Subscriber Identification Number,IMSI)、国际移动设备标识(International Mobile Equipment Identity,IMEI)、唯一设备标识符(Unique Device Identifier,UDID)、媒体访问控制(Media Access Control,MAC)地址、互联网协议(Internet Protocol,IP)地址、储存在用户本地终端上的数据(cookie)中的一种。例如以图3所划分的区域为例,用户群为A-J,计算机设备获取到在第3行第4列区域中所有出现的用户的手机号码,根据手机号码确定第3行第4列区域对应的用户出现信息比特集中对应于这些手机号码的用户为A、B、C,将用户A、B、C的比特位的比特值设为1,其他比特值设为0,即得到了对应于该区域的用户出现信息比特集,如下所示:
比特值 1 1 1 0 0 0 0 0 0 0
用户 A B C D E F G H I J
用户群中的至少一个用户出现在某一区域中的信息也可以包括,出现在某一区域的所有用户的出现信息,计算机设备获取到该用户群中出现在某一区域的所有用户的出现信息,将获取到的用户出现信息作为对应该区域的用户出现信息比特集中对应用户的出现信息。对于未获取到出现信息的用户,则说明这些用户未出现在该区域,因此将该区域对应的用户出现信息比特集中对应于该用户群中未出现在该区域的用户的比特位的比特值设为未出现,即得到了对应于该区域的用户出现信息比特集。例如以图3所划分的区域为例,用户群为A-J,其中由于用户A、B、C出现在第3行第4列区域,因此计算机设备获取到用户A、B、C在第3行第4列区域的用户出现信息:
比特值 1 1 1
用户 A B C
则计算机设备将获取到的用户出现信息作为第3行第4列区域对应的用户出现信息比特集中用户A、B、C的出现信息,将第3行第4列区域对应的用户出现信息比特集中对应用户D-J的比特位的比特值设为0,即得到了对应于第3行第4列区域的用户出现信息比特集:
比特值 1 1 1 0 0 0 0 0 0 0
用户 A B C D E F G H I J
在(1)中,由于计算机设备获取的用户群中每个用户的地理位置信息并不是针对某一特定区域的,因此需要确定用户的地理位置信息指示的用户出现的位置所属的区域,从而确定用户群中用户的位置信息与区域的对应关系。而(2)中,用户群中用户的位置信息指示的用户出现的位置属于某一特定区域,其本身具有对应关系,因此不必再依据用户出现的位置确定用户群中用户的位置信息与区域的对应关系。
用户群可以为例如但不限于一个城市或县城或乡镇的多个用户,根据具体需要确定,本发明对此不做限制。
通过采用二进制比特集的方式记录用户的出现信息,相比于存储用户的位置信息,最大限度的缩小了存储数据占用的空间。
对于相同的地图,划分的每个区域的面积越小,确定用户位置信息对应的区域的精度越高,存储用户出现信息比特集需要的存储空间越大。
可选的,用户群中用户的位置信息还包含该用户出现在该位置信息中位置时的时间信息;计算机设备将时间长度划分成M个时间段,M为大于1的整数,根据位置信息中时刻与某一时间段的对应关系,生成对应于该时间段和该区域的用户出现信息比特集。所述时间信息可以为例如但不限于时刻或时间段。
对于划分的每一个时间段,计算机设备生成对应于每一个划分的区域的用户出现信息比特集。在不同时间段对应的用户出现信息比特集中,同一用户对应的比特位的位置相同。
如图4所示,区域X轴表示区域列号,区域Y轴表示区域行号,时间Z轴表示划分的时间段,计算机设备生成的用户出现信息比特集与区域和时间段对应。
例如,计算机设备将一天的时间划分成24个时间段,每个时间段时长为1小时。以图3划分的区域为例,用户群为A-J,则对应于8:00至9:00时间段,计算机设备生成的对应第2行第5列区域的用户出现信息比特集可记录为
(2,5,8:00-9:00) 1 0 1 1 1 0 1 0 0 1
用户 A B C D E F G H I J
该用户出现信息比特集表示用户群A-J在8:00至9:00时间段,是否出现在第2行第5列的区域,其中,在8:00至9:00时间段,出现在第2行第5列的区域的用户为A、C、D、E、G、J,未出现在该区域的用户为B、F、H、I。
除8:00至9:00时间段以外的其他时间段,对于用户群A-J,计算机设 备同样生成对应于第2行第5列区域的用户出现信息比特集。对于除第2行第5列以外的其他区域,计算机设备同样生成对应于这些区域的对应于包括8:00至9:00时间段在内的每个时间段的用户出现信息比特集。
可选的,生成对应于时间段和区域的用户出现信息比特集具体包括:确定在同一时间段内用户出现的不同位置对应不同的区域,则在该同一时间段内,该用户在其出现的区域的出现信息比特集中对应的比特值都指示出现。
例如,对于上述用户A,在8:00至8:30出现的位置为北纬18°、东经33°,属于第2行第5列区域,在8:31至9:00出现的位置为北纬23°、东经33°,属于第3行第5列区域,则对于时间段8:00至9:00,第2行第5列区域对应的用户出现信息比特集中对应用户A的比特位的比特值为1,第3行第5列区域对应的用户出现信息比特集中对应用户A的比特位的比特值也为1。
通过将地图划分区域、将时间长度划分时间段,根据用户群中用户的位置信息生成对应于时间段和区域的用户出现信息比特集的方式,使得用户出现信息比特集的数据条目总数固定,最大限度的降低了数据的存储空间。
可选的,如果用户群中用户数量初始为P人,从T时刻开始增加了Q人,其中P、Q均为大于0的整数,则新增加的Q人在T时刻之前的出现信息为未出现,比特值为0。此时可以将新增Q人的用于表示出现信息的比特增加在初始P人的出现信息比特位后。例如用户群中用户数量初始为10人,从2015年3月18日开始增加了5人,则新增加的5人在2015年3月18日之前出现信息为未出现,比特值为0,15位用户在2015年3月18日之前对应于某一区域的用户出现信息比特集可表示为
1 0 0 1 0 1 1 1 0 1 0 0 0 0 0
其中,最后5位表示新增加的5人的出现信息。
可选的,计算机设备对用户群的至少一种属性中的某一属性,生成对 应于所述属性的属性信息比特集,该属性信息比特集中的比特位与该用户群中的用户一一对应,该属性信息比特集中的每一比特位的比特值指示该用户群中的对应用户是否具有对应于该属性信息比特集的属性。具有该属性通过比特值为1表示,不具有该属性通过比特值为0表示;或者,具有该属性通过比特值为0表示,不具有该属性通过比特值为1表示,本发明对此不做限制。每个用户对应一位比特位,属性信息比特集中用户对应的比特位的位置,与用户出现信息比特集中用户对应的比特位的位置相同。属性信息比特集中的每个比特表示用户群中的对应用户的属性信息。
可选的,属性包括性别属性、年龄属性、套餐属性、等级属性、偏好属性、身份属性中的至少一种,其中,身份属性与区域相关。
例如,性别属性包括男性和女性,年龄属性包括青年、中年、老年,偏好属性可以为例如微信偏好、网购偏好等,则以上述用户群中的用户A-J为例,用户属性信息比特集包括
男性 0 0 1 0 1 1 0 1 0 0
女性 1 1 0 1 0 0 1 0 1 1
青年 1 1 0 0 0 1 1 1 0 1
微信偏好 1 0 1 1 1 0 1 0 0 1
用户 A B C D E F G H I J
可选的,身份属性包括用户在一个区域的角色,可以为例如但不限于工作者、居住者、娱乐者、来访者。由于身份属性与区域相关,因此,同一用户在不同的区域可以有不同的身份属性。
例如,以图3划分的区域为例,对于第2行第5列的区域,用户A-J的身份属性信息包括:
工作者 1 1 1 1 0 0 1 1 1 0
居住者 0 0 1 0 1 1 0 0 1 0
用户 A B C D E F G H I J
通过采用二进制比特集的方式记录用户的属性信息,最大限度的缩小 了每个属性信息占用的存储空间。
在S206中,可选的,进行数据处理具体为:根据查询到的用户出现信息比特集及请求消息中的逻辑运算符指示参数进行逻辑运算。
其中,逻辑运算符指示参数用于指示进行“与”、“或”等逻辑运算。计算机设备根据该区域指示参数查询到该区域指示参数指示的区域对应的用户出现信息比特集,根据逻辑运算符指示参数和查询到的用户出现信息比特集进行逻辑运算。在逻辑运算过程中,计算机设备将不同用户出现信息比特集中对应同一用户的比特位的比特值进行逻辑运算。
例如,以图3所划分的区域为例,想得到既在第2行第5列的区域出现,又在第3行第5列的区域出现的用户,则以上述用户群A-J为例,请求消息中携带区域指示参数(2,5)、(3,5)和逻辑运算符指示参数“与”运算符,计算机设备根据区域指示参数(2,5)、(3,5)查询到如下信息:
(2,5) 1 0 1 1 1 0 1 0 0 1
(3,5) 1 1 0 1 1 1 1 1 1 1
用户 A B C D E F G H I J
计算机设备将第2行第5列区域对应的出现信息比特集与第3行第5列区域对应的出现信息比特集中对应同一用户的比特位的比特值进行“与”运算,得到既在第2行第5列的区域出现,又在第3行第5列的区域出现的用户为A、D、E、G、J。
在S204和S206中,可选的,上述请求消息还携带时间段指示参数,计算机设备根据该时间段指示参数和上述区域指示参数查询该时间段指示参数指示的时间段,该区域指示参数指示的区域对应的用户出现信息比特集。
时间段指示参数指示至少一个时间段。在具体实现过程中,根据具体需要确定时间段指示参数指示的时间段的个数,区域指示参数指示的区域的个数,本发明对此不做限制。计算机设备根据查询到的用户出现信息比 特集和逻辑运算符指示参数进行逻辑运算。
可选的,上述请求消息中还携带属性指示参数,计算机设备根据该属性指示参数查询该属性指示参数指示的属性对应的属性信息比特集,根据查询到的属性信息比特集进行数据处理。
属性指示参数指示至少一种属性。
例如,以图3所划分的区域为例,想得到在第2行第5列的区域内工作,在8:00至10:00时间段内出现在该区域,偏好使用微信的女性青年用户,则以用户群A-J为例,请求消息中携带区域指示参数(2,5)、时间段指示参数(8:00,10:00)、属性指示参数(Female,Young,WeChat,worker)和逻辑运算符指示参数“或”运算符、“与”运算符,计算机设备根据区域指示参数(2,5)、时间段指示参数(8:00,10:00)和属性指示参数(Female,Young,WeChat,worker)查询到的如下信息:
(2,5,8:00-9:00) 1 0 1 1 1 0 1 0 0 1
(2,5,9:00-10:00) 1 0 0 0 1 0 0 0 0 1
女性 1 1 0 1 0 0 1 0 1 1
青年 1 1 0 0 0 1 1 1 0 1
微信偏好 1 0 1 1 1 0 1 0 0 1
工作者 1 1 1 1 0 0 1 1 1 0
用户 A B C D E F G H I J
计算机设备将第2行第5列区域的8:00至9:00时间段对应的用户出现信息比特集与该区域的9:00至10:00时间段对应的用户出现信息比特集中对应同一用户的比特位的比特值进行“或”运算,再将该“或”运算的结果与各属性信息比特集中对应同一用户的比特位的比特值进行“与”运算,得到满足条件的用户为A、G。
计算机设备根据用户出现信息比特集和属性信息比特集,通过逻辑运算进行数据处理的方式大大缩短了分析、过滤位置信息和属性信息的时间,极大地提升了计算效率和速度。
可选的,当请求消息请求用户群中至少一个特定用户的位置信息时,上述请求消息还携带用户信息指示参数,该用户信息指示参数指示所要选择的至少一个用户;计算机设备根据该用户信息指示参数生成对应于用户群的用户筛选信息比特集,该用户筛选信息比特集中的比特位与该用户群中的用户一一对应,该用户筛选信息比特集中的每一比特位的比特值指示是否选择该用户群中的对应用户。每个用户对应一位比特位,用户筛选信息比特集中用户对应的比特位的位置,与用户出现信息比特集中用户对应的比特位的位置相同。具体的,计算机设备根据该用户信息指示参数查询到所要选择的用户,将用户筛选信息比特集中对应所要选择的用户的比特位的比特值设为选择。对于该用户信息指示参数中未指示选择的用户,将其在用户筛选信息比特集中对应的比特位的比特值设为不选择,即得到了对应于该用户群的用户筛选信息比特集。选择通过比特值为1表示,不选择通过比特值为0表示;或者,选择通过比特值为0表示,不选择通过比特值为1表示。
可选的,计算机设备根据用户筛选信息比特集和查询到的用户出现信息比特集进行数据处理。具体的,计算机设备根据请求消息中的逻辑运算符指示参数,将用户筛选信息比特集与用户位置信息比特集进行逻辑运算,可以得到请求的至少一个特定用户的位置信息。当请求消息中还携带属性信息指示参数时,将用户筛选信息比特集、用户位置信息比特集和属性信息比特集进行逻辑运算,得到请求的至少一个特定用户的位置信息。当请求消息中未携带用户信息指示参数,或请求消息中携带的用户信息指示参数未指示选择用户时,数据处理过程中可以不使用用户筛选信息比特集。请求用户群中至少一个特定用户的位置信息可用于特定用户的位置分布分析。
例如,以用户群A-J为例,当请求消息中携带的用户信息指示参数指示选择手机号码为13900001111和13900002222的用户时,计算机设备根据该用户信息指示参数查询到所要选择的用户为A和B,则计算机设备将 用户群对应的用户筛选信息比特集中对应用户A和B的比特位的比特值设为1,对应用户C-J的比特位的比特值设为0,则得到对应于用户群A-J的用户筛选信息比特集可记录为
filter 1 1 0 0 0 0 0 0 0 0
用户 A B C D E F G H I J
计算机设备再根据请求消息中的区域指示参数、时间段指示参数和属性指示参数查询到相应信息,将该查询到的相应信息与用户筛选信息比特集进行“与”运算,即可得到用户A和B的位置信息。
可选的,在计算机设备存储用户出现信息比特集、属性信息比特集和用户筛选信息比特集时,可以使用压缩算法将连续的“1”和“0”进行压缩处理,更进一步的节省存储空间。
上述区域指示参数、时间段指示参数、属性指示参数和用户信息指示参数可以携带在同一个请求消息中发送,也可以携带在多个请求消息中发送,本发明对此不做限制。优选的,对于用户出现信息比特集,当“出现”通过比特值为1表示时,属性信息比特集中,“具有某种属性”通过比特值为1表示,用户筛选信息比特集中,“选择”通过比特值为1表示;或者,对于用户出现信息比特集,当“出现”通过比特值为0表示时,属性信息比特集中,“具有某种属性”通过比特值为0表示,用户筛选信息比特集中,“选择”通过比特值为0表示。
根据本发明实施例提供的技术方案,计算机设备通过根据用户群中用户的位置信息与区域的对应关系,生成对应于区域的用户出现信息比特集,根据用户群的属性生成对应于属性的属性信息比特集,最大限度的缩小了每个位置信息、每个属性信息占用的存储空间,大大减少了数据的存储空间;通过将地图划分区域、将时间长度划分时间段来生成用户出现信息比特集的方式,使得用户出现信息比特集的数据条目总数固定,最大限度的降低了数据的存储空间。通过逻辑运算进行数据处理的方式大大缩短了分析、过滤位置信息和属性信息的时间,极大地提升了计算效率和速度。
图5是依据本发明另一实施例的数据处理方法500的示范性流程图。在具体实现过程中,数据处理方法500可以由例如但不限于计算机设备来执行,该计算机设备可以是例如但不限于数据处理平台或处理服务器。与图2实施例不同,在图5实施例中,计算机设备获取用户群中具有目标业务特征的用户的位置信息,即:不获取用户群中不具有该目标业务特征的用户的位置信息。图5实施例所示的计算机设备能够根据需求更灵活的处理满足一定条件的位置信息,而不必不加选择的处理所有位置信息。
S502,对多个区域中的某一个区域,计算机设备获取用户群中具有目标业务特征的用户的位置信息,根据所述具有目标业务特征的用户的位置信息与所述区域的对应关系,生成对应于所述区域的用户出现信息比特集,所述位置信息指示所述用户出现的位置,所述用户出现信息比特集中的比特位(bits)与所述用户群中的用户(users)一一对应,所述用户出现信息比特集中的每一比特位的比特值指示所述用户群中的对应用户是否出现在所述区域。
可选的,具有目标业务特征的用户的位置信息包括:该用户群中使用至少一种目标业务的用户的位置信息,该目标业务包括短信业务、话音业务、数据业务、应用中的至少一种。
例如,计算机设备只获取用户群中打电话的用户的位置信息;或者计算机设备只获取用户群中上网的用户的位置信息;或者计算机设备只获取用户群中使用微信应用的用户的位置信息。
可选的,具有目标业务特征的用户的位置信息包括:通过目标定位方式定位得到的该用户群中用户的位置信息,该目标定位方式包括全球定位系统GPS定位、基站定位、小型基站定位、无线保真WI-FI定位、基站扇区定位、室内基站定位中的至少一种。
例如,计算机设备只获取通过GPS定位得到的用户群中用户的位置信息。
S502中计算机设备确定具有目标业务特征的用户的位置信息与区域 的对应关系的过程,与图2实施例S202中确定用户的位置信息与区域的对应关系的过程相同,因此其具体过程此处不再赘述。S502中计算机设备生成用户位置信息比特集的过程,与图2实施例S202中生成用户位置信息比特集的过程相同,因此此处不再赘述。
S504,计算机设备接收请求消息,所述请求消息携带区域指示参数;
S506,计算机设备根据所述区域指示参数查询所述区域指示参数指示的区域对应的用户出现信息比特集,根据所述查询到的用户出现信息比特集进行数据处理。
其中,S504、S506的具体过程分别与图2实施例中S204、S206的过程相同,因此此处不再赘述。
根据本发明实施例提供的技术方案,通过获取用户群中具有目标业务特征的用户的位置信息,计算机设备能够根据需求更灵活的处理满足一定条件的用户的位置信息,而不必不加选择的处理所有位置信息,使得处理的数据更加具有针对性,能够进一步减小数据存储空间。
图6是依据本发明一实施例的通用计算机结构600的硬件结构示意图。如图6所示,通用计算机结构600包括处理器602、存储器604、通信接口606和总线608。其中,处理器602、存储器604和通信接口606通过总线608实现彼此之间的通信连接。
处理器602可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路(Application Specific Integrated Circuit,ASIC),或者一个或多个集成电路,用于执行相关程序,以实现本发明实施例所提供的技术方案。
存储器604可以是只读存储器(Read Only Memory,ROM),静态存储设备,动态存储设备或者随机存取存储器(Random Access Memory,RAM)。存储器604可以存储操作系统6041和其他应用程序6042。在通过软件或者固件来实现本发明实施例提供的技术方案时,用于实现本发明实施例提供的技术方案的程序代码保存在存储器604中,并由处理器602 来执行。
通信接口606使用例如但不限于收发器一类的收发装置,来实现接与其他设备或通信网络之间的通信。
总线608可包括一通路,在各个部件(例如处理器602、存储器604、输和通信接口606)之间传送信息。
如图7所示,当数据处理装置包括上述通用计算机结构600时,该通用计算机结构600进一步包括用于数据处理的生成模块702,接收模块704和处理模块706。这些模块可以使用硬件实现,软件实现,或软件结合硬件实现。作为软件的模块,存储于通用计算机结构600的存储器604中,可以一起作为一个独立的程序,或分别作为独立的程序。作为一种可选的实施方式,这些软件模块也可以分别,或一起作为应用程序6042的一部分,或者作为操作系统6041的一部分。
生成模块702,用于对多个区域中的某一个区域,根据用户群中用户的位置信息与所述区域的对应关系,生成对应于所述区域的用户出现信息比特集,所述位置信息指示所述用户出现的位置,所述用户出现信息比特集中的比特位与所述用户群中的用户一一对应,所述用户出现信息比特集中的每一比特位的比特值指示所述用户群中的对应用户是否出现在所述区域。
可选的,该数据处理装置还包括获取模块706,该获取模块用于获取用户群中具有目标业务特征的用户的位置信息,则该生成模块702根据该具有目标业务特征的用户的位置信息与该区域的对应关系,生成对应于所述区域的用户出现信息比特集。
接收模块704,用于接收请求消息,所述请求消息携带区域指示参数。
处理模块706,用于根据所述区域指示参数查询所述区域指示参数指示的区域对应的用户出现信息比特集,根据所述查询到的用户出现信息比特集进行数据处理。
根据本发明实施例提供的技术方案,通过生成模块702根据用户群中 用户的位置信息与区域的对应关系,生成对应于区域的用户出现信息比特集,根据用户群的属性生成对应于属性的属性信息比特集,最大限度的缩小了每个位置信息、每个属性信息占用的存储空间,大大减少了数据的存储空间;生成模块702通过将地图划分区域、将时间长度划分时间段来生成用户出现信息比特集的方式,使得用户的出现信息比特集的数据条目总数固定,最大限度的降低了数据的存储空间;处理模块706通过逻辑运算进行数据处理的方式大大缩短了分析、过滤出现信息和属性信息的时间,极大地提升了计算效率和速度。
应注意,尽管图6所示的通用计算机结构600仅仅示出了处理器602、存储器604、通信接口606和总线608,但是在具体实现过程中,本领域的技术人员应当明白,上述数据处理装置还包含实现正常运行所必须的其他器件。同时,根据具体需要,本领域的技术人员应当明白,上述数据处理装置还可包含实现其他附加功能的硬件器件。此外,本领域的技术人员应当明白,上述数据处理装置也可仅仅包含实现本发明实施例所必须的器件,而不必包含图6中所示的全部器件。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器 (RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (28)

  1. 一种数据处理方法,其特征在于,包括以下步骤:
    对多个区域中的某一个区域,根据用户群中用户的位置信息与所述区域的对应关系,生成对应于所述区域的用户出现信息比特集,所述位置信息指示所述用户出现的位置,所述用户出现信息比特集中的比特位与所述用户群中的用户一一对应,所述用户出现信息比特集中的每一比特位的比特值指示所述用户群中的对应用户是否出现在所述区域;
    接收请求消息,所述请求消息携带区域指示参数;
    根据所述区域指示参数查询所述区域指示参数指示的区域对应的用户出现信息比特集,根据所述查询到的用户出现信息比特集进行数据处理。
  2. 如权利要求1所述的方法,其特征在于,所述根据用户群中用户的位置信息与所述区域的对应关系,生成对应于所述区域的用户出现信息比特集,包括
    获取所述用户群中具有目标业务特征的用户的位置信息,根据所述具有目标业务特征的用户的位置信息与所述区域的对应关系,生成对应于所述区域的用户出现信息比特集。
  3. 如权利要求1或2所述的方法,其特征在于,所述用户群中用户的位置信息包括以下两种信息中的一种:
    所述用户群中每个用户的地理位置信息;
    所述用户群中的至少一个用户出现在所述某一区域中的信息。
  4. 如权利要求1至3任意一项所述的方法,其特征在于,所述用户群中用户的位置信息还包含所述用户出现在所述位置信息中位置时的时间信息;
    将时间长度划分成M个时间段,M为大于1的整数,根据所述位置信息中时刻与某一时间段的对应关系,生成对应于所述时间段和所述区域的用户出现信息比特集。
  5. 如权利要求4所述的方法,其特征在于,所述请求消息还携带时间段指 示参数;则根据所述时间段指示参数和所述区域指示参数查询所述时间段指示参数指示的时间段,所述区域指示参数指示的区域对应的用户出现信息比特集。
  6. 如权利要求4或5所述的方法,其特征在于,所述生成对应于所述时间段和所述区域的用户出现信息比特集具体包括:
    确定在同一时间段内所述用户出现的不同位置对应不同的区域,则在所述同一时间段内,所述用户在其出现的区域的出现信息比特集中对应的比特值都指示出现。
  7. 如权利要求1至6任意一项所述的方法,其特征在于,所述方法还包括,对所述用户群的至少一种属性中的某一属性,生成对应于所述属性的属性信息比特集,所述属性信息比特集中的比特位与所述用户群中的用户一一对应,所述属性信息比特集中的每一比特位的比特值指示所述用户群中的对应用户是否具有对应于所述属性信息比特集的属性。
  8. 如权利要求7所述的方法,其特征在于,所述请求消息还携带属性指示参数;则根据所述属性指示参数查询所述属性指示参数指示的属性对应的属性信息比特集,根据所述查询到的属性信息比特集进行数据处理。
  9. 如权利要求7或8所述的方法,其特征在于,所述属性包括性别属性、年龄属性、套餐属性、等级属性、偏好属性、身份属性中的至少一种,所述身份属性与区域相关。
  10. 如权利要求1至9任意一项所述的方法,其特征在于,所述请求消息还携带用户信息指示参数,所述用户信息指示参数指示所要选择的至少一个用户;根据所述用户信息指示参数生成对应于所述用户群的用户筛选信息比特集,所述用户筛选信息比特集中的比特位与所述用户群中的用户一一对应,所述用户筛选信息比特集中的每一比特位的比特值指示是否选择所述用户群中的对应用户。
  11. 如权利要求10所述的方法,其特征在于,根据所述用户筛选信息比特集和所述查询到的用户出现信息比特集进行数据处理。
  12. 如权利要求1至11任意一项所述的方法,其特征在于,所述进行数据 处理具体为:
    根据查询到的用户出现信息比特集及所述请求消息中的逻辑运算符指示参数进行逻辑运算。
  13. 如权利要求2至12任意一项所述的方法,其特征在于,所述具有目标业务特征的用户的位置信息包括:
    所述用户群中使用至少一种目标业务的用户的位置信息,所述目标业务包括短信业务、话音业务、数据业务、应用中的至少一种。
  14. 如权利要求2至13所述的方法,其特征在于,所述具有目标业务特征的用户的位置信息包括:
    通过目标定位方式定位得到的所述用户群中用户的位置信息,所述目标定位方式包括全球定位系统GPS定位、基站定位、小型基站定位、无线保真WI-FI定位、基站扇区定位、室内基站定位中的至少一种。
  15. 一种数据处理装置,其特征在于,包括生成模块,接收模块和处理模块:
    所述生成模块,用于对多个区域中的某一个区域,根据用户群中用户的位置信息与所述区域的对应关系,生成对应于所述区域的用户出现信息比特集,所述位置信息指示所述用户出现的位置,所述用户出现信息比特集中的比特位与所述用户群中的用户一一对应,所述用户出现信息比特集中的每一比特位的比特值指示所述用户群中的对应用户是否出现在所述区域;
    所述接收模块,用于接收请求消息,所述请求消息携带区域指示参数;
    所述处理模块,用于根据所述区域指示参数查询所述区域指示参数指示的区域对应的用户出现信息比特集,根据所述查询到的用户出现信息比特集进行数据处理。
  16. 如权利要求15所述的装置,其特征在于,所述装置还包括获取模块,所述获取模块用于获取所述用户群中具有目标业务特征的用户的位置信息,则所述根据用户群中用户的位置信息与所述区域的对应关系,生成对应于所述区域的用户出现信息比特集,包括
    根据所述具有目标业务特征的用户的位置信息与所述区域的对应关系,生成对应于所述区域的用户出现信息比特集。
  17. 如权利要求15或16所述的装置,其特征在于,所述用户群中用户的位置信息包括以下两种信息中的一种:
    所述用户群中每个用户的地理位置信息;
    所述用户群中的至少一个用户出现在所述某一区域中的信息。
  18. 如权利要求15至17任意一项所述的装置,其特征在于,所述用户群中用户的位置信息还包含所述用户出现在所述位置信息中位置时的时刻;
    所述生成模块还用于将时间长度划分成M个时间段,M为大于1的整数,根据所述位置信息中时刻与某一时间段的对应关系,生成对应于所述时间段和所述区域的用户出现信息比特集。
  19. 如权利要求18所述的装置,其特征在于,所述请求消息还携带时间段指示参数;则所述处理模块用于根据所述时间段指示参数和所述区域指示参数查询所述时间段指示参数指示的时间段,所述区域指示参数指示的区域对应的用户出现信息比特集。
  20. 如权利要求18或19所述的方法,其特征在于,所述生成对应于所述时间段和所述区域的用户出现信息比特集具体包括:
    确定在同一时间段内所述用户出现的不同位置对应不同的区域,则在所述同一时间段内,所述用户在其出现的区域的出现信息比特集中对应的比特值都指示出现。
  21. 如权利要求15至20任意一项所述的装置,其特征在于,所述生成模块还用于对所述用户群的至少一种属性中的某一属性,生成对应于所述属性的属性信息比特集,所述属性信息比特集中的比特位与所述用户群中的用户一一对应,所述属性信息比特集中的每一比特位的比特值指示所述用户群中的对应用户是否具有对应于所述属性信息比特集的属性。
  22. 如权利要求21所述的装置,其特征在于,所述请求消息还携带属性指 示参数;则所述处理模块用于根据所述属性指示参数查询所述属性指示参数指示的属性对应的属性信息比特集,根据所述查询到的属性信息比特集进行数据处理。
  23. 如权利要求21或22所述的装置,其特征在于,所述属性包括性别属性、年龄属性、套餐属性、等级属性、偏好属性、身份属性中的至少一种,所述身份属性与区域相关。
  24. 如权利要求15至23任意一项所述的装置,其特征在于,所述请求消息还携带用户信息指示参数,所述用户信息指示参数指示所要选择的至少一个用户;所述生成模块根据所述用户信息指示参数生成对应于所述用户群的用户筛选信息比特集,所述用户筛选信息比特集中的比特位与所述用户群中的用户一一对应,所述用户筛选信息比特集中的每一比特位的比特值指示是否选择所述用户群中的对应用户。
  25. 如权利要求24所述的装置,其特征在于,所述处理模块根据所述用户筛选信息比特集和所述查询到的用户出现信息比特集进行数据处理。
  26. 如权利要求15至25任意一项所述的装置,其特征在于,所述进行数据处理具体为:
    根据查询到的用户出现信息比特集及所述请求消息中的逻辑运算符指示参数进行逻辑运算。
  27. 如权利要求16至26任意一项所述的装置,其特征在于,所述具有目标业务特征的用户的位置信息包括:
    所述用户群中使用至少一种目标业务的用户的位置信息,所述目标业务包括短信业务、话音业务、数据业务、应用中的至少一种。
  28. 如权利要求16至27所述的装置,其特征在于,所述具有目标业务特征的用户的位置信息包括:
    通过目标定位方式定位得到的所述用户群中用户的位置信息,所述目标定位方式包括全球定位系统GPS定位、基站定位、小型基站定位、无线保真WI-FI定位、基站扇区定位、室内基站定位中的至少一种。
PCT/CN2015/092002 2015-05-28 2015-10-15 一种数据处理方法及装置 WO2016188018A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP15893095.8A EP3293640A4 (en) 2015-05-28 2015-10-15 Data processing method and apparatus
US15/823,024 US10783203B2 (en) 2015-05-28 2017-11-27 Data processing method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510284151.9A CN106294449B (zh) 2015-05-28 2015-05-28 一种数据处理方法及装置
CN201510284151.9 2015-05-28

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/823,024 Continuation US10783203B2 (en) 2015-05-28 2017-11-27 Data processing method and apparatus

Publications (1)

Publication Number Publication Date
WO2016188018A1 true WO2016188018A1 (zh) 2016-12-01

Family

ID=57392581

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/092002 WO2016188018A1 (zh) 2015-05-28 2015-10-15 一种数据处理方法及装置

Country Status (4)

Country Link
US (1) US10783203B2 (zh)
EP (1) EP3293640A4 (zh)
CN (1) CN106294449B (zh)
WO (1) WO2016188018A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809582B (zh) 2017-05-05 2021-07-20 华为技术有限公司 一种数据传输的方法和装置
CN110197383B (zh) * 2018-02-27 2023-06-02 华为技术有限公司 获取客户群的用户集的方法和装置
US10340996B1 (en) * 2018-03-06 2019-07-02 Verizon Patent And Licensing Inc. System and method for antenna array control and coverage mapping
CN111324677A (zh) * 2018-12-13 2020-06-23 中国移动通信集团山西有限公司 用户位置数据的获取方法、装置、设备及介质
KR20210046348A (ko) * 2019-10-18 2021-04-28 삼성전자주식회사 복수의 프로세서들에 유연하게 메모리를 할당하기 위한 메모리 시스템 및 그것의 동작 방법

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863331A (zh) * 2005-12-29 2006-11-15 华为技术有限公司 基于移动通信网络的信息发布系统及方法
CN101645154A (zh) * 2008-08-06 2010-02-10 中国网通集团宽带业务应用国家工程实验室有限公司 广告发布方法及系统
WO2010031294A1 (zh) * 2008-09-16 2010-03-25 中兴通讯股份有限公司 基于区域策略的位置广告业务分众方法及其系统
CN101983519A (zh) * 2008-02-01 2011-03-02 法国电信 无线小区工作的控制
CN102264049A (zh) * 2010-05-26 2011-11-30 中兴通讯股份有限公司 小区短信系统及处理方法
CN103052043A (zh) * 2013-01-14 2013-04-17 北京中创信测科技股份有限公司 一种按区域精确发送短信的方法和装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6282540B1 (en) * 1999-02-26 2001-08-28 Vicinity Corporation Method and apparatus for efficient proximity searching
AU2001253161A1 (en) * 2000-04-04 2001-10-15 Stick Networks, Inc. Method and apparatus for scheduling presentation of digital content on a personal communication device
US20050216518A1 (en) * 2004-03-26 2005-09-29 Oracle International Corporation Database management system with persistent, user-accessible bitmap values
US20060133338A1 (en) * 2004-11-23 2006-06-22 Interdigital Technology Corporation Method and system for securing wireless communications
CN101375544B (zh) * 2005-12-20 2013-06-12 美商内数位科技公司 从联合随机性中产生密钥的方法和系统
US8077708B2 (en) * 2006-02-16 2011-12-13 Techguard Security, Llc Systems and methods for determining a flow of data
CN102932899B (zh) * 2011-08-12 2015-07-22 华为技术有限公司 传输预编码控制指示信息的方法、基站和用户设备
WO2014005654A1 (en) * 2012-07-06 2014-01-09 Nokia Siemens Networks Oy Hierarchical access network discovery and selection function and offload wi-fi network
CN103177380A (zh) * 2013-02-26 2013-06-26 北京集奥聚合科技有限公司 结合用户群与预投放的广告投放效果的优化方法和装置
CA2905503C (en) 2013-03-14 2021-08-24 Sirius Xm Radio Inc. High resolution encoding and transmission of traffic information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863331A (zh) * 2005-12-29 2006-11-15 华为技术有限公司 基于移动通信网络的信息发布系统及方法
CN101983519A (zh) * 2008-02-01 2011-03-02 法国电信 无线小区工作的控制
CN101645154A (zh) * 2008-08-06 2010-02-10 中国网通集团宽带业务应用国家工程实验室有限公司 广告发布方法及系统
WO2010031294A1 (zh) * 2008-09-16 2010-03-25 中兴通讯股份有限公司 基于区域策略的位置广告业务分众方法及其系统
CN102264049A (zh) * 2010-05-26 2011-11-30 中兴通讯股份有限公司 小区短信系统及处理方法
CN103052043A (zh) * 2013-01-14 2013-04-17 北京中创信测科技股份有限公司 一种按区域精确发送短信的方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3293640A4 *

Also Published As

Publication number Publication date
EP3293640A1 (en) 2018-03-14
US10783203B2 (en) 2020-09-22
CN106294449B (zh) 2020-01-03
US20180081889A1 (en) 2018-03-22
EP3293640A4 (en) 2018-03-21
CN106294449A (zh) 2017-01-04

Similar Documents

Publication Publication Date Title
WO2016188018A1 (zh) 一种数据处理方法及装置
JP6442000B2 (ja) 経験上のエキスパートを判断する及び質問をルーティングするシステム及び方法
US20170031951A1 (en) Searching and determining active area
WO2020258905A1 (zh) 一种信息推送方法和装置
CN110008293B (zh) 地理位置查询方法及装置
US10146794B2 (en) System and method for spatial clustering using multiple-resolution grids
US20090286550A1 (en) Tempo Spatial Data Extraction From Network Connected Devices
WO2015188750A1 (en) Method, apparatus and system for implementing location based services
CN107092623B (zh) 一种兴趣点查询方法及装置
WO2019072092A1 (zh) Ip地址定位方法及装置,电子设备及存储介质
US9787557B2 (en) Determining semantic place names from location reports
EP3425876B1 (en) Location-based service implementing method and apparatus
CN110830604B (zh) Dns调度方法、装置
US11010427B2 (en) Geo-location custom indexes
CN110298687B (zh) 一种区域吸引力评估方法及设备
CN111523031A (zh) 用于推荐兴趣点的方法和装置
CN112559663A (zh) Poi数据处理方法、装置、设备、存储介质和程序产品
CN106161553B (zh) 社区应用信息推送方法和系统
CN113449986A (zh) 一种业务分配方法、装置、服务器及存储介质
CN111400520B (zh) 人脸识别库的构建方法、人脸支付方法、装置和系统
CN106487825B (zh) 信息关联方法及装置
CN111143639A (zh) 用户亲密度计算方法、装置、设备及介质
CN111182465A (zh) 终端归属的确定方法及装置
CN109769202B (zh) 流量数据的定位方法及装置、存储介质、服务器
CN113923184A (zh) 一种ip定位基准点提取方法、装置及可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15893095

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2015893095

Country of ref document: EP