Movatterモバイル変換


[0]ホーム

URL:


CN111263345B - A method and device for identifying a user terminal - Google Patents

A method and device for identifying a user terminal
Download PDF

Info

Publication number
CN111263345B
CN111263345BCN201811452478.2ACN201811452478ACN111263345BCN 111263345 BCN111263345 BCN 111263345BCN 201811452478 ACN201811452478 ACN 201811452478ACN 111263345 BCN111263345 BCN 111263345B
Authority
CN
China
Prior art keywords
user terminal
terminal
user
information
type information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811452478.2A
Other languages
Chinese (zh)
Other versions
CN111263345A (en
Inventor
吕传祝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Group Shandong Co Ltd
Original Assignee
China Mobile Group Shandong Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Group Shandong Co LtdfiledCriticalChina Mobile Group Shandong Co Ltd
Priority to CN201811452478.2ApriorityCriticalpatent/CN111263345B/en
Publication of CN111263345ApublicationCriticalpatent/CN111263345A/en
Application grantedgrantedCritical
Publication of CN111263345BpublicationCriticalpatent/CN111263345B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The embodiment of the invention provides a method and a device for identifying a user terminal. The method comprises the steps of obtaining a user agent UA identifier included in a log of surfing the Internet of a user terminal; the UA identifier comprises terminal type information, model type information and an operating system version number; and judging whether the user terminal is a provider of the shared flow or not according to a preset rule and the UA identifier. According to the user terminal identification method provided by the embodiment of the invention, the number of the terminals used by the user in surfing the Internet is identified through the UA information of the 4G Internet log, whether the user opens a hot spot is further judged, and the problem that in the prior art, the judgment is inaccurate when the terminal of the user using the shared flow is a non-mobile phone terminal such as a computer terminal is solved.

Description

Translated fromChinese
一种用户终端的识别方法和装置A method and device for identifying a user terminal

技术领域technical field

本发明实施例涉及移动通信技术领域,尤其涉及一种用户终端的识别方法和装置。The embodiments of the present invention relate to the technical field of mobile communication, and in particular, to a method and device for identifying a user terminal.

背景技术Background technique

随着4G业务的推广的普及,4G已经成为移动上网的首选。一般家庭或者单位的办公环境都有宽带上网,因此好多用户都切换到共享热点上网。但是因为有些用户因为搬新家等,所处的位置没有安装宽带等,这时有的用户因为订购了大流量的套餐,就设置自己的手机为共享热点,方便熟悉的人员使用共享热点来上网。With the promotion and popularization of 4G services, 4G has become the first choice for mobile Internet access. Generally, the office environment of families or units has broadband Internet access, so many users switch to shared hotspots to access the Internet. However, because some users have moved to a new home, etc., and the location does not have broadband installed, some users have ordered a large data package at this time, and set their mobile phones as a shared hotspot, so that familiar people can use the shared hotspot to surf the Internet.

如何准确地识别这些开通共享流量的用户以及共享流量的使用用户,以及如何对共享流量的使用用户如何展开针对性的营销是目前电信运营商面对的亟待解决的问题。How to accurately identify the users who subscribe to the shared traffic and the users who use the shared traffic, and how to carry out targeted marketing to the users who use the shared traffic are problems that telecom operators are facing urgently.

发明内容Contents of the invention

针对现有技术中存在的技术问题,本发明实施例提供一种用户终端的识别方法和装置。Aiming at the technical problems existing in the prior art, embodiments of the present invention provide a user terminal identification method and device.

第一方面,本发明实施例提供一种用户终端的识别方法,包括:In a first aspect, an embodiment of the present invention provides a method for identifying a user terminal, including:

获取用户终端上网日志中所包括的用户代理UA标识;其中,所述UA标识包括终端类型信息、型号类型信息和操作系统版本号;Obtain the user agent UA identification included in the user terminal online log; wherein, the UA identification includes terminal type information, model type information and operating system version number;

根据预设规则和所述UA标识,判断所述用户终端是否为共享流量的提供方。According to the preset rule and the UA identifier, it is judged whether the user terminal is a provider of shared traffic.

第二方面,本发明实施例提供一种用户终端的识别装置,包括:In a second aspect, an embodiment of the present invention provides an identification device for a user terminal, including:

第一处理模块,用于获取用户终端上网日志中所包括的用户代理UA标识;其中,所述UA标识包括终端类型信息、型号类型信息和操作系统版本号;The first processing module is used to obtain the user agent UA identification included in the user terminal log online; wherein, the UA identification includes terminal type information, model type information and operating system version number;

第二处理模块,用于根据预设规则和所述UA标识,判断所述用户终端是否为共享流量的提供方。The second processing module is configured to judge whether the user terminal is a provider of shared traffic according to preset rules and the UA identifier.

第三方面,本发明实施例提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如第一方面所提供的方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the program, the computer program described in the first aspect is implemented. The steps of the provided method.

第四方面,本发明实施例提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如第一方面所提供的方法的步骤。In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method provided in the first aspect are implemented.

本发明实施例提供的用户终端的识别方法和装置,通过4G上网日志的UA信息,识别用户上网中使用的终端数情况,进一步判断用户是否开通热点,解决了现有技术中对使用共享流量的终端为电脑终端等非手机终端时判断不准确的问题。The user terminal identification method and device provided by the embodiments of the present invention, through the UA information of the 4G online log, identify the number of terminals used by the user to surf the Internet, and further determine whether the user has opened a hotspot, which solves the problem of using shared traffic in the prior art The problem of inaccurate judgment when the terminal is a non-mobile terminal such as a computer terminal.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为本发明实施例提供的用户终端的识别方法流程示意图;FIG. 1 is a schematic flowchart of a method for identifying a user terminal provided by an embodiment of the present invention;

图2为本发明实施例提供的用户终端的识别装置组成示意图;FIG. 2 is a schematic composition diagram of an identification device for a user terminal provided by an embodiment of the present invention;

图3为本发明实施例提供的电子设备的实体结构示意图。FIG. 3 is a schematic diagram of a physical structure of an electronic device provided by an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

电信行业面临竞争加剧、收入增长放缓、投入产出率下降的压力,需要不断的挖掘客户的使用习惯开展针对性的营销。开启热点的用户(即共享流量的提供方)目前仍然是一个庞大的客户群体,其周围的人员还没有订购大流量的套餐,造成需要使用这个用户的共享流量来登陆网络,如何精确识别这部分用户,并结合用户开通热点的时间、地点、以及这个用户的交往圈等开展针对4G、宽带、新业务等的促销是一个重要课题。Facing the pressure of intensified competition, slowing revenue growth, and declining input-output ratio, the telecommunications industry needs to constantly tap customers' usage habits to carry out targeted marketing. The user who turns on the hotspot (that is, the provider of the shared data) is still a huge customer group, and the people around him have not ordered a large-data package, so they need to use the user's shared data to log in to the network. How to accurately identify this part It is an important topic to carry out promotions for 4G, broadband, and new services based on the time and location of the user's hotspot activation, and the user's social circle.

图1为本发明实施例提供的用户终端的识别方法流程示意图,如图1所示,该方法包括如下步骤:FIG. 1 is a schematic flow chart of a method for identifying a user terminal provided in an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:

步骤100、获取用户终端上网日志中所包括的用户代理UA标识;其中,所述UA标识包括终端类型信息、型号类型信息和操作系统版本号;Step 100, obtain the user agent UA identification included in the user terminal log online; wherein, the UA identification includes terminal type information, model type information and operating system version number;

步骤101、根据预设规则和所述UA标识,判断所述用户终端是否为共享流量的提供方。Step 101, according to preset rules and the UA identifier, determine whether the user terminal is a provider of shared traffic.

本方法实施例可以基于4G上网日志判断开启热点的用户,以及下挂的设备。具体地,UA(UserAgent)中文名为用户代理,是Http协议中的一部分,它是一个特殊字符串头,其标准格式为:浏览器标识(操作系统标识;加密等级标识;浏览器语言)渲染引擎标识版本信息,如:Mozilla/5.0(Macintosh;U;IntelMacOSX10_6_8;en-us)AppleWebKit/534.50(KHTML,likeGecko)Version/5.1Safari/534.50。网站常通过判断UA标识的类型来给不同的操作系统、不同的浏览器发送不同的页面,例如:分别用手机和电脑访问百度,会呈现出不同的页面。出于兼容及推广等目的,很多厂商会采用相同的浏览器的标识,如:Mozilla。手机自带UA,主流的手机厂商一般会遵循上面的标准格式进行命名,这个时候我们就可以简单的认为UA就是用户的手机系统描述信息,通过UA标识就可以知道用户的手机品牌类型。In this embodiment of the method, the user who turns on the hotspot and the connected device can be judged based on the 4G online log. Specifically, UA (UserAgent) Chinese name is User Agent, which is a part of the Http protocol. It is a special string header, and its standard format is: browser identification (operating system identification; encryption level identification; browser language) rendering Engine identification version information, such as: Mozilla/5.0 (Macintosh; U; IntelMacOSX10_6_8; en-us) AppleWebKit/534.50 (KHTML, likeGecko) Version/5.1Safari/534.50. Websites often send different pages to different operating systems and different browsers by judging the type of UA logo. For example, when visiting Baidu with a mobile phone and a computer, different pages will be displayed. For the purpose of compatibility and promotion, many manufacturers will use the same browser logo, such as: Mozilla. The mobile phone has its own UA, and mainstream mobile phone manufacturers generally follow the above standard format for naming. At this time, we can simply think that UA is the user's mobile phone system description information, and the user's mobile phone brand type can be known through the UA logo.

主流的手机厂商一般会有各自独特的UA标识,如iPone、MI、Vivo,网站也会据此向用户展示不同的页面,虽然完全按照标准对UA进行命名,但在有些时候后还是不能完全兼容所有网页,以至于部分页面在浏览器中无法正常显示,此时就不得不通过伪装设置成通用的UA标识,以达到欺骗服务器正常显示网页的目的。判断用户是否开启热点,用到的是用户4G手机上网日志,上网日志中包含UA标识等字段,从上面的介绍可知,既然UA标识包含用户终端的操作系统标志,那么在用户的上网日志中如果出现多个不同的UA标识,就可以推测该用户开启热点并且共享了流量给其他终端使用。Mainstream mobile phone manufacturers generally have their own unique UA logo, such as iPhone, MI, Vivo, and the website will also display different pages to users based on this. Although the UA is completely named according to the standard, it is not fully compatible sometimes All webpages, so that some pages cannot be displayed normally in the browser, at this time have to be set as a common UA logo by disguising, so as to achieve the purpose of deceiving the server to display the webpage normally. To determine whether the user has turned on the hotspot, the log of the user’s 4G mobile phone is used. The log contains fields such as the UA logo. From the above introduction, since the UA logo includes the operating system logo of the user terminal, in the user’s web log, if If multiple different UA identifiers appear, it can be inferred that the user has turned on the hotspot and shared the traffic with other terminals.

通过用户上网日志判断是否开启热点,那么必要前提是用户或连接该用户的终端有使用微信或者浏览网页等其他产生流量的上网行为,并且用户终端与连接用户热点的终端型号不能完全相同。满足了前面的条件后,可以从上网日志中筛选用户的UA标识,主要以Mozilla开头的信息,如:Mozilla/5.0(Linux;Android 7.0;U;PRO 7 Plus Build/NRD90M;en-us;wv)AppleWebKit/537.36(KHTML,like Gecko)Version/4.0Chrome/48.0.2564.116Mobile Safari/537.36,然后截取操作系统标识、加密等级标识和浏览器语言,也就是”Linux;Android 7.0;U;PRO 7 Plus Build/NRD90M;en_us;wv”,去除加密信息、浏览器语言以及操作系统内部版本信息,最终我们得到了包含终端类型信息、型号类型信息和操作系统版本号的字符串“Linux;Android 7.0;PRO 7 Plus”,将其与日志中的其他UA标识进行比较,如果出现不同的终端类型信息、型号类型信息和操作系统版本号,那么就可以推测该用户可能开启了热点。To determine whether to enable the hotspot based on the user's online log, the necessary prerequisite is that the user or the terminal connected to the user has other Internet behaviors that generate traffic such as using WeChat or browsing the web, and the model of the user terminal and the terminal connected to the user's hotspot cannot be exactly the same. After meeting the previous conditions, you can filter the user's UA logo from the online log, mainly information starting with Mozilla, such as: Mozilla/5.0 (Linux; Android 7.0; U; PRO 7 Plus Build/NRD90M; en-us; wv )AppleWebKit/537.36(KHTML, like Gecko)Version/4.0Chrome/48.0.2564.116Mobile Safari/537.36, and then intercept the operating system logo, encryption level logo and browser language, that is, "Linux; Android 7.0; U; PRO 7 Plus Build/NRD90M; en_us; wv", remove encryption information, browser language and operating system internal version information, and finally we get the string "Linux; Android 7.0; PRO 7 Plus", compare it with other UA identifiers in the log, if different terminal type information, model type information and operating system version number appear, then it can be inferred that the user may have turned on the hotspot.

本发明实施例中根据预设规则和所述UA标识,判断所述用户终端是否为共享流量的提供方,可以包括:In the embodiment of the present invention, judging whether the user terminal is a provider of shared traffic according to preset rules and the UA identifier may include:

若所述用户终端上网日志中所包括的用户代理UA标识中包括有非手机终端对应的第二UA标识,则确定所述用户终端为共享流量的提供方;其中,所述第二UA标识中的所述终端类型用于指示对应的终端为非手机终端;If the user agent UA identifier included in the user terminal online log includes a second UA identifier corresponding to a non-mobile terminal, then it is determined that the user terminal is the provider of the shared traffic; wherein, the second UA identifier The terminal type in is used to indicate that the corresponding terminal is a non-mobile terminal;

若所述用户终端上网日志中所包括的用户代理UA标识中包括有两个手机终端对应的UA标识,则确定所述用户终端为共享流量的提供方;其中,所述两个手机终端对应的UA标识中所包括的型号类型信息和/或操作系统版本号不相同,且终端类型信息相同。If the user agent UA identification included in the user terminal online log includes the UA identification corresponding to two mobile phone terminals, then it is determined that the user terminal is the provider of the shared traffic; wherein, the two mobile phone terminals correspond to The model type information and/or operating system version numbers included in the UA identifier are different, and the terminal type information is the same.

有些终端为了兼容网页,使页面正常显示,从而采取伪装UA的手段,从伪装的UA中得到终端称之为伪终端,那么须将这部分伪终端从获取到的终端中剔除,否则会影响最终结果的判断。另外还要在出现的终端中根据终端类型识别出电脑、平板电脑、手环等非独立上网终端,因为这些终端不能直接通过SIM卡访问网络,如果其出现在了用户的上网日志中,那么该用户必然开启了热点。如果用户上网日志中没有出现非独立上网终端,但存在多个不同的移动电话终端,也表明该用户开启了热点。当上网日志中包括有两个UA标识,则其中一个是用户终端本机的UA标识,另一个则是其他终端的UA标识,当两个UA标识中的终端类型信息相同,则说明均是手机终端,此时需要进一步判断第二个UA标识中的型号类型信息是否与本机UA标识中的型号类型信息相同,若型号类型信息不相同,则说明均是两台手机不是同一型号的手机产品,例如一个是华为P20,另一个vivo R7。此时则可以确定用户终端为共享流量的提供方了。但是若型号类型信息相同则说明均是同一型号的手机产品,例如均是华为P20。此时需要再判断二者的操作系统版本号是否相同,若不相同,则说明虽然均是同一型号的手机产品,例如均是华为P20,但是因操作系统版本号,可以确定两个手机是两个独立的终端。此时,则可以确定用户终端为共享流量的提供方了。In order to be compatible with the webpage and display the page normally, some terminals adopt the method of disguising UA. The terminal obtained from the disguising UA is called a pseudo terminal. Then these pseudo terminals must be removed from the acquired terminals, otherwise it will affect the final Judgment of results. In addition, it is necessary to identify non-independent Internet terminals such as computers, tablet computers, and bracelets among the terminals that appear, because these terminals cannot directly access the network through SIM cards. If they appear in the user's Internet log, then the The user must have turned on the hotspot. If there is no non-independent Internet terminal in the user's online log, but there are multiple different mobile phone terminals, it also indicates that the user has turned on the hotspot. When there are two UA logos in the log, one of them is the UA logo of the user terminal itself, and the other is the UA logo of other terminals. When the terminal type information in the two UA logos is the same, it means that both are mobile phones. For the terminal, it is necessary to further judge whether the model type information in the second UA logo is the same as the model type information in the local UA logo. If the model type information is not the same, it means that the two mobile phones are not the same model mobile phone products , for example one is Huawei P20 and the other is vivo R7. At this point, it can be determined that the user terminal is the provider of the shared traffic. However, if the model type information is the same, it means that they are all mobile phone products of the same model, for example, both are Huawei P20. At this time, it is necessary to judge whether the operating system version numbers of the two are the same. If they are not the same, it means that although they are both mobile phone products of the same model, for example, both are Huawei P20, but because of the operating system version numbers, it can be determined that the two mobile phones are two. an independent terminal. At this point, it can be determined that the user terminal is the provider of the shared traffic.

以此类推,形成用户上网的终端类型明细。在确定所述用户终端为共享流量的提供方后,便可以获取共享流量的享受方对应的终端信息数组,所述终端信息包括终端类型信息和型号类型信息。By analogy, the terminal type details of the user surfing the Internet are formed. After it is determined that the user terminal is the provider of the shared traffic, an array of terminal information corresponding to the recipient of the shared traffic may be acquired, where the terminal information includes terminal type information and model type information.

用户user终端信息terminal information基站小区base station cell型号类型model type终端类型terminal type上网时间Internet timeUser1User1Term1Term1Lac/cellLac/cell小米Millet电脑computerUser1User1Term2Term2华为HuaweiPadpad....User2…User2…Term1Term1手机cell phoneUser2…User2…Term2Term2Usern…Usern…Term1..nTerm1..n

举例说明,User1为共享流量的提供方,Term1和Term2为共享流量的享受方。For example, User1 is the provider of the shared traffic, and Term1 and Term2 are the enjoyers of the shared traffic.

在上述实施例的基础上,本方法实施例还可以结合用户的使用终端信息和交往圈信息形成使用共享流量的用户群体明细。具体地,方法包括:On the basis of the above embodiments, this method embodiment can also combine the user's terminal information and social circle information to form the user group details using the shared traffic. Specifically, the methods include:

获取预设时间段内所述用户终端的交往圈用户终端的用户终端信息,将所述交往圈用户终端的用户终端信息与共享流量的享受方对应的终端信息进行匹配,将匹配成功的交往圈用户终端标记为可疑用户终端;其中,所述用户终端信息包括终端类型信息和型号类型信息。具体地,首先获取该用户的交往圈用户群最近一个月内的交往圈用户(包括本网和异网),再获取这些用户的使用终端信息,与访问共享流量的终端信息数组进行匹配,如果终端信息匹配,就标记为可疑用户。Obtain the user terminal information of the user terminal in the social circle of the user terminal within the preset time period, match the user terminal information of the user terminal in the social circle with the terminal information corresponding to the party enjoying the shared traffic, and match the successfully matched social circle The user terminal is marked as a suspicious user terminal; wherein, the user terminal information includes terminal type information and model type information. Specifically, first obtain the users in the user's social circle user group within the last month (including the local network and other networks), and then obtain the terminal information of these users, and match it with the terminal information array for accessing shared traffic, if If the terminal information matches, it will be marked as a suspicious user.

进一步地,若所述可疑用户终端的数量为1,则将标记为可疑用户终端的交往圈用户终端确定为目标用户终端。标记为可疑用户后,对这部分用户进行清洗,如果匹配的终端数只有1个,则标记为使用共享流量的用户即目标用户终端。若所述可疑用户终端的数量大于1,则将标记为可疑用户终端中的没有订阅大流量包的交往圈用户终端确定为目标用户终端。如果匹配终端为多个,再判断该可疑用户是否已订购大流量套餐,如果是则排除;若果没有订购大流量套餐,则确定为目标用户终端。Further, if the number of suspicious user terminals is 1, then determine a user terminal in a social circle marked as a suspicious user terminal as a target user terminal. After marking as suspicious users, clean these users. If there is only one matching terminal, the user marked as using shared traffic is the target user terminal. If the number of the suspicious user terminals is greater than 1, the user terminals in the social circle that have not subscribed to the large traffic package among the marked suspicious user terminals are determined as the target user terminals. If there are multiple matching terminals, then determine whether the suspicious user has subscribed to a large-flow package, and if so, exclude it; if not, then determine it as the target user terminal.

形成使用共享流量用户的相关信息如下表所示。The following table shows the relevant information of users who use shared traffic.

Figure BDA0001887005690000061
Figure BDA0001887005690000061

在确定好目标用户终端后,本方法实施例还可以结合用户画像进行网络优化和营销。根据上述信息进行营销信息推送,推送策略主要为根据共享终端类型进行推送,以及进一步根据共享信息精确推送,包括:After the target user terminal is determined, this method embodiment can also perform network optimization and marketing in combination with user portraits. Push marketing information based on the above information. The push strategy is mainly to push according to the type of shared terminal, and further accurately push according to the shared information, including:

若根据所述终端类型信息判断获知,所述目标用户终端的终端类型为非手机终端,则向所述目标用户终端发送宽带推送信息。例如,若享受分享流量的终端为电脑或者PAD等,则进行宽带营销信息推送。If it is determined and known according to the terminal type information that the terminal type of the target user terminal is a non-mobile terminal, send broadband push information to the target user terminal. For example, if the terminal enjoying the shared traffic is a computer or PAD, push broadband marketing information.

还可以包括:根据所述上网日志获取所述用户终端进行流量共享的时间,根据所述用户终端所在的基站小区信息获取所述用户终端进行流量共享的位置;相应地,所述向所述目标用户终端发送宽带推送信息,具体为:根据所述时间和位置,向所述目标用户终端发送宽带推送信息。本方法实施例中还可以根据确定的共享时间和位置对用户共享流量的场景进一步精细划分是办公地点或者休息常住地,以推送合理的宽带套餐。其中,共享时间可以从上网日志中获取,位置信息可以结合基站的经纬度信息来确定。It may also include: obtaining the time when the user terminal performs traffic sharing according to the online log, and obtaining the location where the user terminal performs traffic sharing according to the base station cell information where the user terminal is located; correspondingly, the The user terminal sending the broadband push information specifically includes: sending the broadband push information to the target user terminal according to the time and location. In this embodiment of the method, the scene where users share data traffic can be further finely divided according to the determined sharing time and location as the office location or resting and permanent residence, so as to push reasonable broadband packages. Wherein, the sharing time may be obtained from an online log, and the location information may be determined in combination with the latitude and longitude information of the base station.

本方法实施例中,若根据所述终端类型信息判断获知,所述目标用户终端的终端类型为手机终端,则向所述目标用户终端发送手机套餐推送信息。例如若享受分享流量的终端为手机,则进行手机套餐营销信息推送。同时还可根据上述享受分享流量的终端是否属于用户朋友圈,准确识别用户后期继续共享流量的倾向,以便进一步精确推送。In this embodiment of the method, if it is determined and known according to the terminal type information that the terminal type of the target user terminal is a mobile phone terminal, the mobile phone package push information is sent to the target user terminal. For example, if the terminal that enjoys the shared traffic is a mobile phone, the marketing information of the mobile phone package will be pushed. At the same time, it can also accurately identify the user's tendency to continue to share traffic in the future based on whether the above-mentioned terminal enjoying shared traffic belongs to the user's circle of friends, so as to further accurately push.

本发明实施例提供的用户终端的识别方法,通过4G上网日志的UA信息,识别用户上网中使用的终端数情况,进一步判断用户是否开通热点,解决了现有技术中对使用共享流量的用户的终端为电脑终端等非手机终端时判断不准确的问题。同时通过上网使用的终端类型合理确定营销信息类别;通过上网日志进一步解析了用户开通热点的时间、所处的基站小区位置、使用共享流量的用户等情况,为后续对该用户进行家宽营销/终端营销,以及针对家庭的套餐营销、策反营销等提供了数据基础,提高了营销的成功率。The user terminal identification method provided by the embodiment of the present invention, through the UA information of the 4G online log, identifies the number of terminals used by the user to access the Internet, and further judges whether the user has activated a hotspot, which solves the problem of users using shared traffic in the prior art The problem of inaccurate judgment when the terminal is a non-mobile terminal such as a computer terminal. At the same time, the type of terminal used to surf the Internet is used to reasonably determine the category of marketing information; the time when the user opens the hotspot, the location of the base station cell, and the user who uses the shared traffic are further analyzed through the log on the Internet, so as to carry out home broadband marketing/ Terminal marketing, as well as family-oriented package marketing, instigating marketing, etc. provide a data basis and improve the success rate of marketing.

图2为本发明实施例提供的用户终端的识别装置组成示意图,如图2所示,该装置包括第一处理模块201和第二处理模块202,其中:FIG. 2 is a schematic diagram of the composition of an identification device for a user terminal provided by an embodiment of the present invention. As shown in FIG. 2, the device includes afirst processing module 201 and asecond processing module 202, wherein:

第一处理模块201用于获取用户终端上网日志中所包括的用户代理UA标识;其中,所述UA标识包括终端类型信息、型号类型信息和操作系统版本号;第二处理模块202用于根据预设规则和所述UA标识,判断所述用户终端是否为共享流量的提供方。Thefirst processing module 201 is used to acquire the user agent UA identification included in the user terminal online log; wherein, the UA identification includes terminal type information, model type information and operating system version number; thesecond processing module 202 is used to A rule and the UA identifier are set, and it is judged whether the user terminal is a provider of shared traffic.

本装置实施例具体可以用于执行上述方法实施例,具体功能详见上述方法实施例,此处不再赘述。The embodiment of the device can be specifically used to execute the above method embodiment, and the specific functions can be found in the above method embodiment, and will not be repeated here.

本发明实施例提供的用户终端的识别装置,通过4G上网日志的UA信息,识别用户上网中使用的终端数情况,进一步判断用户是否开通热点,解决了现有技术中对使用共享流量的终端为电脑终端等非手机终端时判断不准确的问题。The user terminal identification device provided by the embodiment of the present invention, through the UA information of the 4G Internet access log, identifies the number of terminals used by the user to access the Internet, and further judges whether the user has activated a hotspot, which solves the problem of terminals using shared traffic in the prior art. The problem of inaccurate judgment on non-mobile terminals such as computer terminals.

图3为本发明实施例提供的电子设备的实体结构示意图,如图3所示,该电子设备可以包括:处理器(processor)310、通信接口(Communications Interface)320、存储器(memory)330和通信总线340,其中,处理器310,通信接口320,存储器330通过通信总线340完成相互间的通信。处理器310可以调用存储在存储器330上并可在处理器310上运行的计算机程序,以执行上述各实施例提供的方法,例如包括:获取用户终端上网日志中所包括的用户代理UA标识;其中,所述UA标识包括终端类型信息、型号类型信息和操作系统版本号;根据预设规则和所述UA标识,判断所述用户终端是否为共享流量的提供方。FIG. 3 is a schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. As shown in FIG. Thebus 340 , wherein theprocessor 310 , thecommunication interface 320 , and thememory 330 communicate with each other through thecommunication bus 340 . Theprocessor 310 may invoke a computer program stored in thememory 330 and operable on theprocessor 310 to execute the methods provided in the above-mentioned embodiments, for example, including: obtaining the user agent UA identifier included in the log of the user terminal surfing the Internet; wherein , the UA identification includes terminal type information, model type information, and operating system version number; according to preset rules and the UA identification, it is judged whether the user terminal is a provider of shared traffic.

此外,上述的存储器330中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above-mentioned logic instructions in thememory 330 may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the embodiment of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .

本发明实施例还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各实施例提供的方法,例如包括:获取用户终端上网日志中所包括的用户代理UA标识;其中,所述UA标识包括终端类型信息、型号类型信息和操作系统版本号;根据预设规则和所述UA标识,判断所述用户终端是否为共享流量的提供方。An embodiment of the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the methods provided in the above-mentioned embodiments are implemented, for example, including: The user agent UA identification included in the log; wherein, the UA identification includes terminal type information, model type information and operating system version number; according to preset rules and the UA identification, it is judged whether the user terminal is a shared traffic provider.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative efforts.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (8)

Translated fromChinese
1.一种用户终端的识别方法,其特征在于,包括:1. An identification method for a user terminal, comprising:获取用户终端上网日志中所包括的用户代理UA标识;其中,所述UA标识包括终端类型信息、型号类型信息和操作系统版本号;Obtain the user agent UA identification included in the user terminal online log; wherein, the UA identification includes terminal type information, model type information and operating system version number;根据预设规则和所述UA标识,判断所述用户终端是否为共享流量的提供方;judging whether the user terminal is a provider of shared traffic according to preset rules and the UA identifier;确定所述用户终端为共享流量的提供方后,所述方法还包括:After determining that the user terminal is the provider of the shared traffic, the method further includes:获取共享流量的享受方对应的终端信息,所述终端信息包括终端类型信息和型号类型信息;Obtain terminal information corresponding to the party enjoying the shared traffic, where the terminal information includes terminal type information and model type information;获取预设时间段内所述用户终端的交往圈用户终端的用户终端信息,将所述交往圈用户终端的用户终端信息与共享流量的享受方对应的终端信息进行匹配,将匹配成功的交往圈用户终端标记为可疑用户终端;其中,所述用户终端信息包括终端类型信息和型号类型信息;Obtain the user terminal information of the user terminal in the social circle of the user terminal within the preset time period, match the user terminal information of the user terminal in the social circle with the terminal information corresponding to the party enjoying the shared traffic, and match the successfully matched social circle The user terminal is marked as a suspicious user terminal; wherein, the user terminal information includes terminal type information and model type information;若所述可疑用户终端的数量为1,则将标记为可疑用户终端的交往圈用户终端确定为目标用户终端;If the quantity of the suspicious user terminal is 1, then the user terminal in the social circle marked as the suspicious user terminal is determined as the target user terminal;若所述可疑用户终端的数量大于1,则将标记为可疑用户终端中的没有订阅大流量包的交往圈用户终端确定为目标用户终端。If the number of the suspicious user terminals is greater than 1, the user terminals in the social circle that have not subscribed to the large traffic package among the marked suspicious user terminals are determined as the target user terminals.2.根据权利要求1所述的方法,其特征在于,所述根据预设规则和所述UA标识,判断所述用户终端是否为共享流量的提供方,包括:2. The method according to claim 1, wherein the judging whether the user terminal is a provider of shared traffic according to preset rules and the UA identifier comprises:若所述用户终端上网日志中所包括的用户代理UA标识中包括有非手机终端对应的第二UA标识,则确定所述用户终端为共享流量的提供方;其中,所述第二UA标识中的所述终端类型用于指示对应的终端为非手机终端;If the user agent UA identifier included in the user terminal online log includes a second UA identifier corresponding to a non-mobile terminal, then it is determined that the user terminal is the provider of the shared traffic; wherein, the second UA identifier The terminal type in is used to indicate that the corresponding terminal is a non-mobile terminal;若所述用户终端上网日志中所包括的用户代理UA标识中包括有两个手机终端对应的UA标识,则确定所述用户终端为共享流量的提供方;其中,所述两个手机终端对应的UA标识中所包括的型号类型信息和/或操作系统版本号不相同,且终端类型信息相同。If the user agent UA identification included in the user terminal online log includes the UA identification corresponding to two mobile phone terminals, then it is determined that the user terminal is the provider of the shared traffic; wherein, the two mobile phone terminals correspond to The model type information and/or operating system version numbers included in the UA identifier are different, and the terminal type information is the same.3.根据权利要求1所述的方法,其特征在于,所述方法还包括:3. The method according to claim 1, characterized in that the method further comprises:若根据所述终端类型信息判断获知,所述目标用户终端的终端类型为非手机终端,则向所述目标用户终端发送宽带推送信息。If it is determined and known according to the terminal type information that the terminal type of the target user terminal is a non-mobile terminal, send broadband push information to the target user terminal.4.根据权利要求3所述的方法,其特征在于,所述方法还包括:4. method according to claim 3, is characterized in that, described method also comprises:根据所述上网日志获取所述用户终端进行流量共享的时间,根据所述用户终端所在的基站小区信息获取所述用户终端进行流量共享的位置;Acquire the time when the user terminal performs traffic sharing according to the online log, and obtain the location where the user terminal performs traffic sharing according to the information of the base station cell where the user terminal is located;相应地,所述向所述目标用户终端发送宽带推送信息,具体为:Correspondingly, the sending broadband push information to the target user terminal is specifically:根据所述时间和位置,向所述目标用户终端发送宽带推送信息。Send broadband push information to the target user terminal according to the time and location.5.根据权利要求1所述的方法,其特征在于,所述方法还包括:5. The method according to claim 1, wherein the method further comprises:若根据所述终端类型信息判断获知,所述目标用户终端的终端类型为手机终端,则向所述目标用户终端发送手机套餐推送信息。If it is determined and known according to the terminal type information that the terminal type of the target user terminal is a mobile phone terminal, the mobile phone package push information is sent to the target user terminal.6.一种用户终端的识别装置,其特征在于,包括:6. An identification device for a user terminal, comprising:第一处理模块,用于获取用户终端上网日志中所包括的用户代理UA标识;其中,所述UA标识包括终端类型信息、型号类型信息和操作系统版本号;The first processing module is used to obtain the user agent UA identification included in the user terminal log online; wherein, the UA identification includes terminal type information, model type information and operating system version number;第二处理模块,用于根据预设规则和所述UA标识,判断所述用户终端是否为共享流量的提供方;A second processing module, configured to determine whether the user terminal is a provider of shared traffic according to preset rules and the UA identifier;确定所述用户终端为共享流量的提供方后,所述识别装置还用于:After determining that the user terminal is the provider of the shared traffic, the identification device is further used for:获取共享流量的享受方对应的终端信息,所述终端信息包括终端类型信息和型号类型信息;Obtain terminal information corresponding to the party enjoying the shared traffic, where the terminal information includes terminal type information and model type information;获取预设时间段内所述用户终端的交往圈用户终端的用户终端信息,将所述交往圈用户终端的用户终端信息与共享流量的享受方对应的终端信息进行匹配,将匹配成功的交往圈用户终端标记为可疑用户终端;其中,所述用户终端信息包括终端类型信息和型号类型信息;Obtain the user terminal information of the user terminal in the social circle of the user terminal within the preset time period, match the user terminal information of the user terminal in the social circle with the terminal information corresponding to the party enjoying the shared traffic, and match the successfully matched social circle The user terminal is marked as a suspicious user terminal; wherein, the user terminal information includes terminal type information and model type information;若所述可疑用户终端的数量为1,则将标记为可疑用户终端的交往圈用户终端确定为目标用户终端;If the quantity of the suspicious user terminal is 1, then the user terminal in the social circle marked as the suspicious user terminal is determined as the target user terminal;若所述可疑用户终端的数量大于1,则将标记为可疑用户终端中的没有订阅大流量包的交往圈用户终端确定为目标用户终端。If the number of the suspicious user terminals is greater than 1, the user terminals in the social circle that have not subscribed to the large traffic package among the marked suspicious user terminals are determined as the target user terminals.7.一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1至5任一项所述方法的步骤。7. An electronic device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor implements any of claims 1 to 5 when executing the program. steps of the method described in the item.8.一种非暂态计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现如权利要求1至5任一项所述方法的步骤。8. A non-transitory computer-readable storage medium, on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
CN201811452478.2A2018-11-302018-11-30 A method and device for identifying a user terminalActiveCN111263345B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811452478.2ACN111263345B (en)2018-11-302018-11-30 A method and device for identifying a user terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811452478.2ACN111263345B (en)2018-11-302018-11-30 A method and device for identifying a user terminal

Publications (2)

Publication NumberPublication Date
CN111263345A CN111263345A (en)2020-06-09
CN111263345Btrue CN111263345B (en)2022-11-08

Family

ID=70951875

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811452478.2AActiveCN111263345B (en)2018-11-302018-11-30 A method and device for identifying a user terminal

Country Status (1)

CountryLink
CN (1)CN111263345B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111866146B (en)*2020-07-222022-02-11中国联合网络通信集团有限公司Household user identification method and device
CN112559586B (en)*2020-12-032023-06-09中国联合网络通信集团有限公司Method and system for acquiring home user characteristic data
CN115243248B (en)*2021-04-212023-09-01中国移动通信集团湖南有限公司 Terminal traffic sharing type identification method, device and electronic equipment
CN116017411B (en)*2022-12-162024-03-01中国联合网络通信集团有限公司Terminal identification method, device, server and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102882748A (en)*2012-10-232013-01-16深圳中兴网信科技有限公司Network access detection system and network access detection method
CN103124407A (en)*2011-11-182013-05-29中国移动通信集团内蒙古有限公司Determination method and device for on-line mode of mobile user
CN103607691A (en)*2013-11-262014-02-26中国联合网络通信集团有限公司Flow package recommendation method and device
CN104702564A (en)*2013-12-052015-06-10华为技术有限公司Tethering user identification method and device
CN105389713A (en)*2015-10-152016-03-09南京大学Mobile data traffic package recommendation algorithm based on user historical data
EP3082053A2 (en)*2016-08-042016-10-19Clickky Group Ltd.Traffic distribution and click validation system
CN106789486A (en)*2017-03-172017-05-31杭州迪普科技股份有限公司The detection method and device of shared access
CN107086928A (en)*2017-04-112017-08-22深信服科技股份有限公司The detection method and device of the shared network terminal
CN108235303A (en)*2017-12-292018-06-29中国移动通信集团江苏有限公司Method, apparatus, equipment and the medium of the shared flow user of identification

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP2506184A1 (en)*2006-03-292012-10-03The Bank of Tokyo-Mitsubishi UFJ, Ltd.Apparatus, method, and program for validating user
KR101755612B1 (en)*2014-04-302017-07-26주식회사 수산아이앤티Method of detecting a plurality of terminals using a type of a browser and apparatus thererof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103124407A (en)*2011-11-182013-05-29中国移动通信集团内蒙古有限公司Determination method and device for on-line mode of mobile user
CN102882748A (en)*2012-10-232013-01-16深圳中兴网信科技有限公司Network access detection system and network access detection method
CN103607691A (en)*2013-11-262014-02-26中国联合网络通信集团有限公司Flow package recommendation method and device
CN104702564A (en)*2013-12-052015-06-10华为技术有限公司Tethering user identification method and device
CN105389713A (en)*2015-10-152016-03-09南京大学Mobile data traffic package recommendation algorithm based on user historical data
EP3082053A2 (en)*2016-08-042016-10-19Clickky Group Ltd.Traffic distribution and click validation system
CN106789486A (en)*2017-03-172017-05-31杭州迪普科技股份有限公司The detection method and device of shared access
CN107086928A (en)*2017-04-112017-08-22深信服科技股份有限公司The detection method and device of the shared network terminal
CN108235303A (en)*2017-12-292018-06-29中国移动通信集团江苏有限公司Method, apparatus, equipment and the medium of the shared flow user of identification

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
面向高速流量环境的网络用户识别研究;潘培龙;《中国优秀硕士学位论文辑》;20180415;全文*

Also Published As

Publication numberPublication date
CN111263345A (en)2020-06-09

Similar Documents

PublicationPublication DateTitle
CN111263345B (en) A method and device for identifying a user terminal
US11537751B2 (en)Using machine learning algorithm to ascertain network devices used with anonymous identifiers
US20170359313A1 (en)Methods and Systems for Data Anonymization at a Proxy Server
US9277378B2 (en)Short message service validation engine
CN107483522B (en)Service access method and device
US10531286B2 (en)Methods and systems for auto-completion of anonymized strings
US20170041307A1 (en)Identity authentication method and device
CN102710755A (en)Data mining method of terminal user social network, correlation method, device and system
US20180063270A1 (en)Methods and Systems for Signing Resource Identifiers
CN107181745A (en)Malicious messages recognition methods, device, equipment and computer-readable storage medium
CN113727351B (en)Communication fraud identification method and device and electronic equipment
CN104822156B (en)A kind of method and device of user behavior analysis
US10630800B2 (en)Methods and systems for handling requests regarding zero-rating
WO2015021873A1 (en)Method, platform server, and system of data pushing
Teodorescu et al.The rise of the mobile Internet: Tracing the evolution of portable devices
RU2012133455A (en) SYSTEM AND METHOD FOR THE GLOBAL CATALOG SERVICE
US20130179421A1 (en)System and Method for Collecting URL Information Using Retrieval Service of Social Network Service
CN105993156B (en)Server access verification method and device
CN105824821A (en)Data processing method and big data platform
WO2020252639A1 (en)Content pushing method and related product
CN106686562A (en) Method, device and server for link processing in short message of pseudo base station
CN106060825B (en)Client identification card copying reminding method and server
US20190130133A1 (en)Ascertaining network devices used with anonymous identifiers
CN110557351A (en)Method and apparatus for generating information
EP3424005A1 (en)Counterfeit electronic device detection

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp