CN105809471B - Method and device for acquiring user attribute and electronic equipment - Google Patents

Method and device for acquiring user attribute and electronic equipment Download PDF

Info

Publication number
CN105809471B
CN105809471B CN201610098988.9A CN201610098988A CN105809471B CN 105809471 B CN105809471 B CN 105809471B CN 201610098988 A CN201610098988 A CN 201610098988A CN 105809471 B CN105809471 B CN 105809471B
Authority
CN
China
Prior art keywords
application
user
attribute
tag
count value
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
CN201610098988.9A
Other languages
Chinese (zh)
Other versions
CN105809471A (en
Inventor
郭镇龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610098988.9A priority Critical patent/CN105809471B/en
Publication of CN105809471A publication Critical patent/CN105809471A/en
Application granted granted Critical
Publication of CN105809471B publication Critical patent/CN105809471B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/0255Targeted advertisements based on user history
    • G06Q30/0256User search
    • 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/0257User requested

Landscapes

  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a method and a device for acquiring user attributes and electronic equipment. The method comprises the following steps: acquiring each application installation package installed in the electronic equipment; sequentially extracting the acquired package name information of the application installation package, and inquiring the mapping relation between the prestored application information and the package name information of the application installation package to obtain the application information mapped by the acquired package name information of the application installation package; inquiring a mapping relation between preset application information and an application label to obtain the application label mapped by the obtained application information; respectively accumulating a first tag count value of the obtained application tag matched with a preset first application tag library and a second tag count value matched with a second application tag library; and determining the user attribute according to the first label count value, the second label count value, the first attribute condition of the user and the second attribute condition of the user. By applying the method and the device, the efficiency of pushing the value-added service application aiming at the user attribute can be improved.

Description

Method and device for acquiring user attribute and electronic equipment
Technical Field
The present invention relates to computer application technologies, and in particular, to a method and an apparatus for obtaining user attributes, and an electronic device.
Background
With the continuous development of computer communication and internet technology, electronic devices such as smart mobile phones, personal digital assistants, palm computers, notebook computers and the like are increasingly widely used. Many value added service operators have seen a huge business opportunity for releasing value added service Application (APP) information based on electronic devices, for example, the value added service operators push value added service Application information to mobile phones through mobile communication network operators, and the value added service operators have the characteristics of low release cost, wide release range, easy browsing for users, high release efficiency of value added service applications, and the like.
At present, in order to effectively improve the value added service application experience of a user, more and more value added service operators can perform oriented release of the value added service application based on user attributes. For example, based on the qualitative analysis that a male user may be more interested in electronic sports applications than a female user, and a female user may be more interested in fashion applications than a male user, the application information such as cosmetic value-added service information, weight-reducing value-added service information, cosmetic treasure value-added service information and the like is put in the female user, and the application information such as game value-added service information, strength fitness value-added service information and the like is put in the male user, so that the value-added service application information pushed to the user is more targeted, and a better value-added service application effect can be obtained. In the method, because the preference difference between the male user and the female user is very large, the acquisition or identification of the user attribute is very important for accurate value added service application information push of the application.
However, the method for performing oriented delivery of the value added service application based on the user attribute requires that the user register an account in the delivery system of the value added service operator in advance, so that the user attribute can be known. Because a user needs to register in the value added service operator release system corresponding to each application information, the user needs to spend a great deal of time and energy to memorize login account numbers and login passwords, so that most users are not willing to spend time for account number registration, and a great deal of value added service application of the value added service operator cannot acquire user attributes, so that the value added service application information has quite different value added service application push efficiency if being pushed to users with different attributes, for example, if the value added service application information is pushed to a female user, the value added service application information is mistakenly released to a male user, the value added service application information is not browsed by the male user or purchasing behavior is difficult to generate, thereby improving the release cost of the value added service operator, reducing the push efficiency of the value added service application, and causing poor push effect, therefore, a method for obtaining the user attribute is needed to improve the efficiency of pushing the value-added service for the user attribute.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, and an electronic device for obtaining a user attribute, so as to improve efficiency of pushing a value added service application for the user attribute.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, an embodiment of the present invention provides a method for obtaining a user attribute, including:
acquiring each application installation package installed in the electronic equipment;
sequentially extracting the acquired package name information of the application installation package, and inquiring the mapping relation between the prestored application information and the package name information of the application installation package to obtain the application information mapped by the acquired package name information of the application installation package;
inquiring a mapping relation between preset application information and application labels, and acquiring one or more application labels mapped by the obtained application information;
respectively accumulating a first tag count value of the obtained application tag matched with a preset first application tag library and a second tag count value matched with a second application tag library;
and when the first label count value and the second label count value meet a preset user first attribute condition, determining the user attribute using the electronic equipment as the user first attribute mapped by the first application label library, and when the first label count value and the second label count value meet a preset user second attribute condition, determining the user attribute using the electronic equipment as the user second attribute mapped by the second application label library.
Optionally, the respectively accumulating the obtained first tag count value of the application tag matched with the preset first application tag library, and the second tag count value matched with the second application tag library include:
traversing the application label mapped by the application information;
if the mapped application label is the same as any application label in the first application label library, adding 1 to a first label count value corresponding to the application information, wherein the initial value of the first label count value is zero; and if the mapped application label is the same as any application label in the second application label library, adding 1 to a second label count value corresponding to the application information, wherein the initial value of the second label count value is zero.
Optionally, when the first tag count value and the second tag count value satisfy a preset first attribute condition of the user, determining that the user attribute using the electronic device is the first attribute of the user mapped by the first application tag library includes:
and if the first label count value corresponding to certain application information is larger than or equal to a first threshold value and the second label count value corresponding to certain application information is zero, determining that the user attribute of certain application using the electronic equipment is the first attribute of the user mapped by the first application label library.
Optionally, when the first tag count value and the second tag count value satisfy a preset first attribute condition of the user, determining that the user attribute using the electronic device is the first attribute of the user mapped by the first application tag library includes:
and if the first label count value corresponding to certain application information is larger than or equal to a first threshold value, determining that the user attribute of certain application using the electronic equipment is the first attribute of the user mapped by the first application label library.
Optionally, after the adding 1 to the second tag count value corresponding to the application information, the method further includes:
and judging whether the application information is the only application information in the electronic equipment, if not, sequentially traversing application labels mapped by each other application information in the electronic equipment, and accumulating the first label count value or the second label count value corresponding to the application information.
Optionally, when the first tag count value and the second tag count value satisfy a preset first attribute condition of the user, determining that the user attribute using the electronic device is the first attribute of the user mapped by the first application tag library includes:
and if the first tag count values corresponding to all application information installed in the electronic equipment are larger than or equal to a first threshold value and the second tag count values corresponding to all application information are zero, determining that the user attribute using the electronic equipment is the first attribute of the user mapped by the first application tag library.
Optionally, the method further includes:
if a first label count value and a second label count value corresponding to certain application information are both smaller than a third threshold value, acquiring user statistical data of the certain application in the electronic equipment with the determined user attribute, and in the user statistical data, if the user proportion of the first user attribute exceeds a preset proportion threshold value, determining the user attribute using the certain application in the electronic equipment as the first user attribute; and if the user proportion of the second user attribute exceeds a preset proportion threshold, determining the user attribute using the certain application in the electronic equipment as the second user attribute.
Optionally, the method further includes:
and writing the user information corresponding to the determined first attribute of the user into a first attribute library, and writing the user information corresponding to the determined second attribute of the user into a second attribute library.
Optionally, the method further includes:
according to the user attribute required by the value added service application information to be pushed, if the required user attribute is the first attribute of the user, pushing the value added service application information to the user in the first attribute library; and if the required user attribute is the second attribute of the user, pushing the value-added service application information to the user in the second attribute library.
Optionally, the method further includes:
and monitoring and recording the operation behavior of the user on the pushed value-added service application information.
In a second aspect, an embodiment of the present invention provides an apparatus for acquiring a user attribute, where the apparatus includes: an application installation package obtaining module, an application query module, an application tag query module, a counting module and a user attribute determining module, wherein,
the application installation package acquisition module is used for acquiring each application installation package installed in the electronic equipment;
the application query module is used for sequentially extracting the acquired package name information of the application installation package, and querying the mapping relation between the prestored application information and the package name information of the application installation package to obtain the application information mapped by the acquired package name information of the application installation package;
the application label query module is used for querying a preset mapping relation between the application information and the application labels and acquiring one or more application labels mapped by the obtained application information;
the counting module is used for respectively accumulating a first tag count value of the acquired application tag matched with a preset first application tag library and a second tag count value matched with a second application tag library;
and the user attribute determining module is used for determining the user attribute using the electronic equipment as the first attribute of the user mapped by the first application tag library when the first tag count value and the second tag count value meet a preset first attribute condition of the user, and determining the user attribute using the electronic equipment as the second attribute of the user mapped by the second application tag library when the first tag count value and the second tag count value meet a preset second attribute condition of the user.
Optionally, the counting module includes: a traversal unit, a first tag counting unit, and a second tag counting unit, wherein,
the traversing unit is used for traversing the application label mapped by the application information;
a first tag counting unit, configured to add 1 to a first tag count value corresponding to the application information if the mapped application tag is the same as any application tag in the first application tag library, where an initial value of the first tag count value is zero;
and the second label counting unit is used for adding 1 to a second label count value corresponding to the application information if the mapped application label is the same as any application label in the second application label library, and the initial value of the second label count value is zero.
Optionally, when the first tag count value and the second tag count value satisfy a preset first attribute condition of the user, determining that the user attribute using the electronic device is the first attribute of the user mapped by the first application tag library includes:
and if the first label count value corresponding to certain application information is larger than or equal to a first threshold value and the second label count value corresponding to certain application information is zero, determining that the user attribute of certain application using the electronic equipment is the first attribute of the user mapped by the first application label library.
Optionally, when the first tag count value and the second tag count value satisfy a preset first attribute condition of the user, determining that the user attribute using the electronic device is the first attribute of the user mapped by the first application tag library includes:
and if the first label count value corresponding to certain application information is larger than or equal to a first threshold value, determining that the user attribute of certain application using the electronic equipment is the first attribute of the user mapped by the first application label library.
Optionally, the counting module includes: an application label traversal unit, a third counting unit, and a fourth counting unit, wherein,
sequentially traversing application labels mapped by each application information in the electronic equipment;
a third counting unit, configured to add 1 to the first tag count value if the mapped application tag is the same as any application tag in the first application tag library, where the initial value of the first tag count value is zero;
and a fourth counting unit configured to add 1 to the second tag count value if the mapped application tag is the same as any application tag in the second application tag library, where the second tag count value is set to an initial value of zero.
Optionally, when the first tag count value and the second tag count value satisfy a preset first attribute condition of the user, determining that the user attribute using the electronic device is the first attribute of the user mapped by the first application tag library includes:
and if the accumulated first tag count value corresponding to all application information installed in the electronic equipment is greater than or equal to a first threshold value and the accumulated second tag count value corresponding to all application information is zero, determining that the user attribute using the electronic equipment is the first attribute of the user mapped by the first application tag library.
Optionally, the apparatus further comprises:
a user attribute re-determination module, configured to, if a first tag count value and a second tag count value corresponding to certain application information are both smaller than a third threshold, obtain user statistical data of the certain application in the electronic device with the determined user attribute, and in the user statistical data, determine, if a user duty of the first user attribute exceeds a preset duty threshold, that the user attribute of the certain application is used in the electronic device as the first user attribute; and if the user proportion of the second user attribute exceeds a preset proportion threshold, determining the user attribute using the certain application in the electronic equipment as the second user attribute.
Optionally, the apparatus further comprises:
and the attribute storage module is used for writing the user information corresponding to the determined first attribute of the user into the first attribute library and writing the user information corresponding to the determined second attribute of the user into the second attribute library.
Optionally, the apparatus further comprises:
the push module is used for pushing the value added service application information to the user in the first attribute library according to the user attribute required by the value added service application information to be pushed and if the required user attribute is the first attribute of the user; and if the required user attribute is the second attribute of the user, pushing the value-added service application information to the user in the second attribute library.
Optionally, the apparatus further comprises:
and the recording module is used for monitoring and recording the operation behavior of the user on the pushed value-added service application information.
In a third aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing the following operations:
acquiring each application installation package installed in the electronic equipment;
sequentially extracting the acquired package name information of the application installation package, and inquiring the mapping relation between the prestored application information and the package name information of the application installation package to obtain the application information mapped by the acquired package name information of the application installation package;
inquiring a mapping relation between preset application information and application labels, and acquiring one or more application labels mapped by the obtained application information;
respectively accumulating a first tag count value of the obtained application tag matched with a preset first application tag library and a second tag count value matched with a second application tag library;
and when the first label count value and the second label count value meet a preset user first attribute condition, determining the user attribute using the electronic equipment as the user first attribute mapped by the first application label library, and when the first label count value and the second label count value meet a preset user second attribute condition, determining the user attribute using the electronic equipment as the user second attribute mapped by the second application label library.
In a fourth aspect, an embodiment of the present invention further provides a storage medium, configured to store an application program, where the application program is configured to execute the method for acquiring the user attribute provided in the embodiment of the present invention.
In a fifth aspect, an embodiment of the present invention further provides an application program, configured to execute the method for obtaining the user attribute provided in the embodiment of the present invention.
The method, the device and the electronic equipment for obtaining the user attributes provided by the embodiment of the invention are used for obtaining each application installation package installed in the electronic equipment; sequentially extracting the acquired package name information of the application installation package, and inquiring the mapping relation between the prestored application information and the package name information of the application installation package to obtain the application information mapped by the acquired package name information of the application installation package; inquiring a mapping relation between preset application information and application labels, and acquiring one or more application labels mapped by the obtained application information; respectively accumulating a first tag count value of the obtained application tag matched with a preset first application tag library and a second tag count value matched with a second application tag library; and when the first label count value and the second label count value meet a preset user first attribute condition, determining the user attribute using the electronic equipment as the user first attribute mapped by the first application label library, and when the first label count value and the second label count value meet a preset user second attribute condition, determining the user attribute using the electronic equipment as the user second attribute mapped by the second application label library. Therefore, the application tags corresponding to the installed application information are acquired by identifying the applications installed in the electronic equipment, and are matched and counted with the preset first application tag library and the preset second application tag library, so that the user attributes are determined according to the corresponding count values, the value added service application information can be accurately and directionally released according to the user attributes identified by the application tags, the releasing cost of a value added service operator can be effectively reduced, and the pushing efficiency and the pushing effect of the value added service application are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for obtaining user attributes according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of an apparatus for obtaining user attributes according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an embodiment of an electronic device according to the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart illustrating a method for obtaining a user attribute according to an embodiment of the present invention. Referring to fig. 1, the method includes:
step 11, acquiring each application installation package installed in the electronic equipment;
in this step, as an optional embodiment, the application installation package includes but is not limited to: android Package (apk), saiban system installation Package (sis ), jar installation Package, apple Application installation Package (ipa, iPhone Application), executable file installation Package, and the like.
In the embodiment of the present invention, as an optional embodiment, taking an android installation package as an example, the default saving path of the mobile phone installation package may be located: sdcard/terminal/tassistant/apk to obtain the installed android application installation package.
As an alternative embodiment, all application installation packages installed in the electronic device may be identified in a scanning manner.
In this embodiment, as an optional embodiment, before the obtaining of each application installation package installed in the electronic device, the method further includes:
and inquiring whether the registered account information of the user corresponding to the electronic equipment contains user attributes, and if not, executing the step of acquiring each application installation package installed in the electronic equipment.
In this step, if the registration account information of the user corresponding to the electronic device includes the user attribute, the user attribute of the user is already confirmed, and the method of the embodiment of the present invention does not need to be executed.
Step 12, sequentially extracting the acquired package name information of the application installation package, and inquiring the mapping relation between the prestored application information and the package name information of the application installation package to obtain the application information mapped by the acquired package name information of the application installation package;
in this step, each application or application information corresponds to one or more application installation packages, and the application installation packages include installation information of the application, such as an icon, package name information, a version, an installation path, and the like. In the embodiment of the present invention, as an optional embodiment, the same value added service operator provides the same application installation package through different service platforms, and the included package name information may be the same or different.
In the embodiment of the invention, the mapping relation between the application information and the package name information of the application installation package can be established by installing the application installation package by related technicians, acquiring the provided application information, analyzing the application installation package, and acquiring the package name information of the application installation package. For example, a technician of the third-party operator may analyze and install the application installation package to obtain a mapping relationship between the application information and the package name information of the application installation package.
As an alternative embodiment, an application information may map multiple application installation package name information, for example, the same application information, corresponding to different operating systems, is mapped with one or more application installation packages. An application installation package name information maps an application information.
In the embodiment of the invention, the application information installed in the electronic equipment by the user can be acquired by analyzing the application installation package in the electronic equipment used by the user. In an internet environment, some application information has strong user attribute characteristics, and as mentioned above, for example, a male user may be more interested in an electronic sports-type application than a female user, and a female user may be more interested in a fashion-type application than a male user. Therefore, in the embodiment of the invention, the user attributes can be distinguished based on the application information installed in the electronic equipment used by the user, so that the value added service operator can push different value added service application information to different users according to the user attributes. For example, a value added service operator or an internet value added service provider can push electronic sports value added service application information to a male user and push fashion clothing value added service application information to a female user, so that the pushed value added service application information is more targeted and a better pushing effect is obtained.
Step 13, inquiring a mapping relation between preset application information and application labels, and acquiring one or more application labels mapped by the obtained application information;
in this step, as an optional embodiment, each electronic device is installed with one or more applications, each application corresponds to one application information, and each application information corresponds to one or more application tags. The application tag is information for describing or identifying characteristic attributes of the application, for example, information for identifying gender attributes of the application, and can better display and highlight key words or terms contained in the application, facilitate classification of the application, and facilitate better guidance of user browsing and indexing. For example, for a travel web application, the mapped tags may include, but are not limited to: travel, Beijing, Tiananmen, Imperial palace and other application labels.
In the embodiment of the present invention, as an optional embodiment, the application tags of the third-party application market may be crawled to obtain the application tags to which all application information is respectively mapped, so as to construct the mapping relationship between the application information and the application tags.
In the embodiment of the present invention, the application tags to which the plurality of pieces of application information are respectively mapped may include one or more same application tags.
Step 14, respectively accumulating a first tag count value of the obtained application tag matched with a preset first application tag library and a second tag count value matched with a second application tag library;
in this step, as an optional embodiment, respectively accumulating the obtained first tag count values of the application tags matched with the preset first application tag library, and the second tag count values matched with the second application tag library include:
traversing the application label mapped by the application information;
if the mapped application label is the same as any application label in the first application label library, adding 1 to a first label count value corresponding to the application information, wherein the initial value of the first label count value is zero; and if the mapped application label is the same as any application label in the second application label library, adding 1 to a second label count value corresponding to the application information, wherein the initial value of the second label count value is zero.
In the embodiment of the invention, each application information corresponds to a first tag count value and a second tag count value.
As an alternative embodiment, the first application tag library is a male feature application tag library, and the second application tag library is a female feature application tag library, where the male feature application tag library is used to store an application tag or an application tag list having male features, and the female feature application tag library is used to store an application tag or an application tag list having female features. After statistical analysis is performed on the registered users of each application by related technicians, the application tags subjected to statistical analysis are placed in a male feature application tag library or a female feature application tag library according to preset rules. For example, statistics is performed on each application corresponding to a tag, and the situation that a male user and a female user use each application corresponding to the tag respectively, and if the ratio of the male user to the female user exceeds a preset threshold, the tag is placed in the male feature application tag library.
In the embodiment of the invention, the male characteristic application label library and the female characteristic application label library for distinguishing the male from the female are constructed, so that whether the user attribute is male or female can be identified based on the application label mapped by the application information installed in the electronic equipment used by the user.
In the embodiment of the present invention, as an optional embodiment, the application tags in the male feature application tag library include, but are not limited to: body-building, beauty, family male, military, sports, etc.
In the embodiment of the present invention, as an optional embodiment, the application tags in the female feature application tag library include, but are not limited to: beautifying, physiology, mother and baby, aunt, make-up, maintenance and the like.
In the embodiment of the present invention, as an optional embodiment, the male characteristic application tag library and the female characteristic application tag library may be configured in a cloud server, and may be manually operated and maintained.
In the embodiment of the present invention, if the tag mapped by one application information includes three application tags of fitness, beauty and beauty, after the above accumulation processing, the first tag count value and the second tag count value corresponding to the accumulated application information are 2 and 1, respectively; if the tag of the other application information map includes two application tags, namely a fitness tag and a housekeeping tag, the accumulated first tag count value and the accumulated second tag count value of the other application information map are respectively 2 and 0.
In this embodiment of the present invention, as another optional embodiment, respectively accumulating a first tag count value of an obtained application tag matched with a preset first application tag library, and a second tag count value matched with a second application tag library, that is, after adding 1 to a second tag count value corresponding to the application information, the method further includes:
judging whether the application information is the only application information in the electronic equipment, if not, sequentially traversing application tags mapped by each other application information in the electronic equipment;
if the mapped application label is the same as any application label in the first application label library, adding 1 to the first label count value, wherein the initial value of the first label count value is zero; and if the mapped application label is the same as any application label in the second application label library, adding 1 to the second label count value, wherein the second label count value is initially zero.
In the embodiment of the present invention, the application tags mapped by each piece of application information in the electronic device are sequentially traversed, and the first tag count value or the second tag count value corresponding to the application information is accumulated. That is, whether the application information is the only application information in the electronic device is determined, if not, the application labels mapped by each other application information in the electronic device are sequentially traversed, and the first label count value or the second label count value corresponding to the application information is accumulated. As another alternative embodiment, each electronic device corresponds to a first tag count value and a second tag count value.
In the embodiment of the present invention, if the tag mapped by an application information includes three application tags of fitness, beauty and beauty, assuming that the accumulated first tag count value and second tag count value are respectively 30 and 0, the accumulated first tag count value and second tag count value are respectively 32 and 1 after the accumulation processing; if the tag mapped by the next application information includes two application tags, namely a fitness tag and a housekeeping tag, the accumulated first tag count value and the accumulated second tag count value are 34 and 1 respectively.
Step 15, when the first tag count value and the second tag count value satisfy a preset first attribute condition of the user, determining that the user attribute using the electronic device is the first attribute of the user mapped by the first application tag library, and when the first tag count value and the second tag count value satisfy a preset second attribute condition of the user, determining that the user attribute using the electronic device is the second attribute of the user mapped by the second application tag library.
In this step, as an optional embodiment, the first attribute of the user is male, and the second attribute of the user is female.
In this embodiment, as an optional embodiment, when the first tag count value and the second tag count value satisfy a preset first attribute condition of the user, determining that the user attribute using the electronic device is the first attribute of the user mapped by the first application tag library includes:
if the first label count value corresponding to certain application information is larger than or equal to a first threshold value and the second label count value corresponding to certain application information is zero, determining that the user attribute of certain application using the electronic equipment is the first attribute of the user mapped by the first application label library; alternatively, the first and second electrodes may be,
if the first label count value corresponding to certain application information is larger than or equal to a first threshold value, determining that the user attribute of certain application using the electronic equipment is the first attribute of the user mapped by the first application label library; alternatively, the first and second electrodes may be,
and if the first tag count values corresponding to all application information installed in the electronic equipment are larger than or equal to a first threshold value and the second tag count values corresponding to all application information are zero, determining that the user attribute using the electronic equipment is the first attribute of the user mapped by the first application tag library.
In this step, if the application labels mapped by each application information in the application information installed in the electronic device used by the user are the same as the application labels in the male feature application label library in terms of label count value greater than or equal to a first threshold value and no application label same as any application label in the female feature application label library exists, the user is determined to be a male user; or if the first label count value and the second label count value corresponding to certain application information meet a preset first attribute condition of the user, determining that the user using the application in the electronic equipment is a male user.
In the embodiment of the present invention, the size of the first tag count value and the size of the second tag count value that satisfy the first attribute condition of the user may also be set according to different determination policies. For example, for each application tag mapped by the application information, the threshold of the first tag count value may be set to 10, and the threshold of the second tag count value may be set to 2; or setting the ratio of the threshold of the first tag count value to the threshold of the second tag count value to be greater than 5 so as to meet the preset first attribute condition of the user.
As an optional embodiment, the step of enabling the first tag count value and the second tag count value to satisfy the preset second attribute condition of the user includes:
if the second tag count value corresponding to certain application information is larger than or equal to a second threshold value and the first tag count value corresponding to certain application information is zero, determining that the user attribute of certain application using the electronic equipment is the second attribute of the user mapped by the second application tag library; alternatively, the first and second electrodes may be,
if a second tag count value corresponding to certain application information is larger than or equal to a second threshold value, determining that the user attribute of the certain application using the electronic equipment is a second attribute of the user mapped by the second application tag library; alternatively, the first and second electrodes may be,
and if the second tag count values corresponding to all the application information installed in the electronic equipment are larger than or equal to a second threshold value and the first tag count values corresponding to all the application information are zero, determining that the user attribute using the electronic equipment is the second attribute of the user mapped by the second application tag library.
In this step, in practical application, the first threshold may be equal to or different from the second threshold. As an optional embodiment, if, in an application installed in the electronic device used by the user, among application tags mapped by each piece of application information, a tag count value that is the same as an application tag in the female feature application tag library is greater than or equal to 2, and there is no application tag that is the same as any application tag in the male feature application tag library, it is determined that the user is a female user.
In this embodiment, as another optional embodiment, the method further includes:
if a first label count value and a second label count value corresponding to certain application information are both smaller than a third threshold value, acquiring user statistical data of the certain application in the electronic equipment with the determined user attribute, and in the user statistical data, if the user proportion of the first user attribute exceeds a preset proportion threshold value, determining the user attribute using the certain application in the electronic equipment as the first user attribute; and if the user proportion of the second user attribute exceeds a preset proportion threshold, determining the user attribute using the certain application in the electronic equipment as the second user attribute.
In this step, as an alternative embodiment, the percentage threshold may be set to 70%. In the embodiment of the invention, for application information which does not hit more than two application tags, whether the application is installed on male electronic equipment in a large proportion or female electronic equipment in a large proportion can be judged by background inquiry according to user account information registered to the application, if 70% of the application is installed on the male electronic equipment, the application is judged to be male installed application, namely, the user attribute using the application in the electronic equipment is determined to be male; and if 70% of the applications are installed on the female electronic device, judging the applications as female-installed applications, namely determining that the user attribute using the applications in the electronic device is female.
In this embodiment, as another optional embodiment, the method further includes:
and if the user proportion of the first user attribute does not exceed the preset proportion threshold value and the user proportion of the second user attribute does not exceed the preset proportion threshold value, determining that the user attribute using the certain application in the electronic equipment is pending.
As an alternative embodiment, the method may further include:
and writing the user information corresponding to the determined first attribute of the user into a first attribute library, and writing the user information corresponding to the determined second attribute of the user into a second attribute library.
In this step, as an optional embodiment, the user information includes: a user telephone number, a user QQ number, an electronic device IP address, an electronic device MAC address, and the like.
In the embodiment of the invention, the user information containing the user attribute in the registered account information according to the user can be written into the corresponding attribute library.
As an alternative embodiment, the method may further include:
according to the user attribute required by the value added service application information to be pushed, if the required user attribute is the first attribute of the user, pushing the value added service application information to the user in the first attribute library; and if the required user attribute is the second attribute of the user, pushing the value-added service application information to the user in the second attribute library.
In the embodiment of the present invention, as an optional embodiment, value added service application information may also be pushed to a user whose user attribute is to be determined.
As an optional embodiment, after the user attribute required according to the value added service application information to be pushed, if the required user attribute is the first attribute of the user, the method may further include:
inquiring whether the registered account information of the user corresponding to the electronic equipment contains user attributes, if the user attributes contained and contained in the registered account information of the user are matched with the user attributes required by the value added service application information to be pushed, pushing the value added service application information to the user; if not, executing the step of if the required user attribute is the first attribute of the user.
As another alternative embodiment, the method may further include:
and monitoring and recording the operation behavior of the user on the pushed value-added service application information.
In this step, by recording the operation behavior of the user on the pushed value-added service information, relevant data can be accumulated for the subsequently pushed value-added service information, for example, if the user never clicks and browses the value-added service information, the user can be deleted from the user push list of the value-added service.
In the embodiment of the invention, each application installation package installed in the electronic equipment is obtained; sequentially extracting the acquired package name information of the application installation package, and inquiring the mapping relation between the prestored application information and the package name information of the application installation package to obtain the application information mapped by the acquired package name information of the application installation package; inquiring a mapping relation between preset application information and application labels, and acquiring one or more application labels mapped by the obtained application information; respectively accumulating a first tag count value of the obtained application tag matched with a preset first application tag library and a second tag count value matched with a second application tag library; and when the first label count value and the second label count value meet a preset user first attribute condition, determining the user attribute using the electronic equipment as the user first attribute mapped by the first application label library, and when the first label count value and the second label count value meet a preset user second attribute condition, determining the user attribute using the electronic equipment as the user second attribute mapped by the second application label library. Therefore, the application labels corresponding to the installed application information are obtained by identifying the applications installed in the electronic equipment, the application labels are matched and counted with the preset first application label library and the preset second application label library, the user attributes are determined according to the corresponding counting values, the value added service information can be accurately and directionally released according to the user attributes identified by the application labels, the probability that the value added service information is browsed or purchased by users with corresponding user attributes is enhanced, the releasing cost of a value added service operator can be effectively reduced, and the value added service pushing efficiency and the value added service pushing effect are improved.
Fig. 2 is a schematic structural diagram of an apparatus for acquiring a user attribute according to an embodiment of the present invention. Referring to fig. 2, the apparatus includes: an application installation package obtaining module 21, an application query module 22, an application tag query module 23, a counting module 24, and a user attribute determination module 25, wherein,
an application installation package obtaining module 21, configured to obtain each application installation package installed in the electronic device;
in the embodiment of the present invention, as an optional embodiment, the application installation package includes but is not limited to: an android installation package, a saiban system installation package, a jar installation package, an apple application installation package, an executable file installation package, and the like.
In the embodiment of the present invention, as an optional embodiment, taking an android installation package as an example, the default saving path of the mobile phone installation package may be located: sdcard/terminal/tassistant/apk to obtain the installed android application installation package.
As an alternative embodiment, all application installation packages installed in the electronic device may be identified in a scanning manner.
The application query module 22 is configured to sequentially extract the obtained package name information of the application installation package, query a mapping relationship between pre-stored application information and the package name information of the application installation package, and obtain application information mapped by the obtained package name information of the application installation package;
in the embodiment of the invention, the mapping relation between the application and the package name information of the application installation package can be obtained by analyzing and installing the application installation package by technicians of a third-party operator.
An application tag query module 23, configured to query a mapping relationship between preset application information and application tags, and obtain one or more application tags mapped by the obtained application information;
in the embodiment of the present invention, as an optional embodiment, each electronic device is installed with one or more applications, each application corresponds to application information, and each application information corresponds to one or more application tags.
In the embodiment of the present invention, as an optional embodiment, the application tags of the third-party application market may be crawled to obtain the application tags to which all application information is respectively mapped, so as to construct the mapping relationship between the application information and the application tags.
The counting module 24 is configured to respectively accumulate a first tag count value matching the acquired application tag with a preset first application tag library and a second tag count value matching the second application tag library;
in this embodiment of the present invention, as an optional embodiment, the counting module 24 includes: a traversal unit, a first tag counting unit, and a second tag counting unit (not shown), wherein,
the traversing unit is used for traversing the application label mapped by the application information;
a first tag counting unit, configured to add 1 to a first tag count value corresponding to the application information if the mapped application tag is the same as any application tag in the first application tag library, where an initial value of the first tag count value is zero;
and the second label counting unit is used for adding 1 to a second label count value corresponding to the application information if the mapped application label is the same as any application label in the second application label library, and the initial value of the second label count value is zero.
In the embodiment of the invention, each application information corresponds to a first tag count value and a second tag count value.
As an alternative embodiment, the first application tag library is a male feature application tag library, and the second application tag library is a female feature application tag library, where the male feature application tag library is used to store an application tag or an application tag list having male features, and the female feature application tag library is used to store an application tag or an application tag list having female features.
In the embodiment of the present invention, as an optional embodiment, the application tags in the male feature application tag library include, but are not limited to: body-building, beauty, family male, military, sports, etc.
In the embodiment of the present invention, as an optional embodiment, the application tags in the female feature application tag library include, but are not limited to: beautifying, physiology, mother and baby, aunt, make-up, maintenance and the like.
In the embodiment of the present invention, as an optional embodiment, the male characteristic application tag library and the female characteristic application tag library may be configured in a cloud server, and may be manually operated and maintained.
As another alternative embodiment, the counting module 24 includes: a label traversal unit, a third counting unit and a fourth counting unit (not shown in the figure) are applied, wherein,
sequentially traversing application labels mapped by each application information in the electronic equipment;
a third counting unit, configured to add 1 to the first tag count value if the mapped application tag is the same as any application tag in the first application tag library, where the initial value of the first tag count value is zero;
and a fourth counting unit configured to add 1 to the second tag count value if the mapped application tag is the same as any application tag in the second application tag library, where the second tag count value is set to an initial value of zero.
In the embodiment of the present invention, as an optional embodiment, each electronic device corresponds to a first tag count value and a second tag count value.
A user attribute determining module 25, configured to determine, when the first tag count value and the second tag count value satisfy a preset first attribute condition of the user, that the user attribute using the electronic device is the first attribute of the user mapped by the first application tag library, and determine, when the first tag count value and the second tag count value satisfy a preset second attribute condition of the user, that the user attribute using the electronic device is the second attribute of the user mapped by the second application tag library.
In this embodiment, as an optional embodiment, when the first tag count value and the second tag count value satisfy a preset first attribute condition of the user, determining that the user attribute using the electronic device is the first attribute of the user mapped by the first application tag library includes:
and if the first label count value corresponding to certain application information is larger than or equal to a first threshold value and the second label count value corresponding to certain application information is zero, determining that the user attribute of certain application using the electronic equipment is the first attribute of the user mapped by the first application label library.
As another optional embodiment, when the first tag count value and the second tag count value satisfy a preset first attribute condition of the user, the determining that the user attribute using the electronic device is the first attribute of the user mapped to the first application tag library includes:
and if the first label count value corresponding to certain application information is larger than or equal to a first threshold value, determining that the user attribute of certain application using the electronic equipment is the first attribute of the user mapped by the first application label library.
As another optional embodiment, when the first tag count value and the second tag count value satisfy a preset first attribute condition of the user, determining that the user attribute using the electronic device is the first attribute of the user mapped by the first application tag library includes:
and if the accumulated first tag count value corresponding to all application information installed in the electronic equipment is greater than or equal to a first threshold value and the accumulated second tag count value corresponding to all application information is zero, determining that the user attribute using the electronic equipment is the first attribute of the user mapped by the first application tag library.
As an optional embodiment, the step of enabling the first tag count value and the second tag count value to satisfy the preset second attribute condition of the user includes:
if the second tag count value corresponding to certain application information is larger than or equal to a second threshold value and the first tag count value corresponding to certain application information is zero, determining that the user attribute of certain application using the electronic equipment is the second attribute of the user mapped by the second application tag library; alternatively, the first and second electrodes may be,
if a second tag count value corresponding to certain application information is larger than or equal to a second threshold value, determining that the user attribute of the certain application using the electronic equipment is a second attribute of the user mapped by the second application tag library; alternatively, the first and second electrodes may be,
and if the second tag count values corresponding to all the application information installed in the electronic equipment are larger than or equal to a second threshold value and the first tag count values corresponding to all the application information are zero, determining that the user attribute using the electronic equipment is the second attribute of the user mapped by the second application tag library.
In this embodiment, as another optional embodiment, the apparatus further includes:
a user attribute re-determination module 26, configured to, if both a first tag count value and a second tag count value corresponding to certain application information are smaller than a third threshold, obtain user statistical data of the certain application in the electronic device with the determined user attribute, and in the user statistical data, if a user duty ratio of the first user attribute exceeds a preset duty ratio threshold, determine that the user attribute using the certain application in the electronic device is the first user attribute; and if the user proportion of the second user attribute exceeds a preset proportion threshold, determining the user attribute using the certain application in the electronic equipment as the second user attribute.
In the embodiment of the invention, if the user proportion of the first user attribute does not exceed the preset proportion threshold and the user proportion of the second user attribute does not exceed the preset proportion threshold, the user attribute using the certain application in the electronic equipment is determined to be pending.
As a further alternative, the apparatus further comprises:
the attribute storage module 27 is configured to write the user information corresponding to the determined first attribute of the user into the first attribute library, and write the user information corresponding to the determined second attribute of the user into the second attribute library.
In this embodiment of the present invention, as an optional embodiment, the user information includes: a user telephone number, a user QQ number, an electronic device IP address, an electronic device MAC address, and the like. As a further alternative, the apparatus further comprises:
a pushing module 28, configured to, according to a user attribute required by value-added service application information to be pushed, if the required user attribute is the first attribute of the user, push the value-added service application information to the user in the first attribute library; and if the required user attribute is the second attribute of the user, pushing the value-added service application information to the user in the second attribute library.
As a further alternative, the apparatus further comprises:
and the recording module 29 is configured to monitor and record an operation behavior of the user on the pushed value-added service application information.
The embodiment of the invention also provides electronic equipment, and the electronic equipment comprises the device in any one of the embodiments.
Fig. 3 is a schematic structural diagram of an embodiment of an electronic device of the present invention, which can implement the processes of the embodiments shown in fig. 1-2 of the present invention, and as shown in fig. 3, the electronic device may include: the device comprises a shell 31, a processor 32, a memory 33, a circuit board 34 and a power circuit 35, wherein the circuit board 34 is arranged inside a space enclosed by the shell 31, and the processor 32 and the memory 33 are arranged on the circuit board 34; a power supply circuit 35 for supplying power to each circuit or device of the electronic apparatus; the memory 33 is used for storing executable program codes; the processor 32 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 33, for performing the following operations:
acquiring each application installation package installed in the electronic equipment;
sequentially extracting the acquired package name information of the application installation package, and inquiring the mapping relation between the prestored application information and the package name information of the application installation package to obtain the application information mapped by the acquired package name information of the application installation package;
inquiring a mapping relation between preset application information and application labels, and acquiring one or more application labels mapped by the obtained application information;
respectively accumulating a first tag count value of the obtained application tag matched with a preset first application tag library and a second tag count value matched with a second application tag library;
and when the first label count value and the second label count value meet a preset user first attribute condition, determining the user attribute using the electronic equipment as the user first attribute mapped by the first application label library, and when the first label count value and the second label count value meet a preset user second attribute condition, determining the user attribute using the electronic equipment as the user second attribute mapped by the second application label library.
The specific execution process of the above steps by the processor 32 and the steps further executed by the processor 32 by running the executable program code may refer to the description of the embodiment shown in fig. 1-2 of the present invention, and are not described herein again.
The electronic device exists in a variety of forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) A server: the device for providing the computing service comprises a processor, a hard disk, a memory, a system bus and the like, and the server is similar to a general computer architecture, but has higher requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like because of the need of providing high-reliability service.
(5) And other electronic equipment with data interaction function.
The embodiment of the invention also provides a storage medium for storing the application program, and the application program is used for executing the method for acquiring the user attribute provided by the embodiment of the invention.
The embodiment of the invention also provides an application program used for executing the method for acquiring the user attribute provided by the embodiment of the invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (17)

1. A method for obtaining user attributes, the method comprising:
acquiring each application installation package installed in the electronic equipment;
sequentially extracting the acquired package name information of the application installation package, and inquiring the mapping relation between the prestored application information and the package name information of the application installation package to obtain the application information mapped by the acquired package name information of the application installation package;
inquiring a mapping relation between preset application information and application labels, and acquiring one or more application labels mapped by the obtained application information;
respectively accumulating a first tag count value of the obtained application tag matched with a preset first application tag library and a second tag count value matched with a second application tag library; the first application label library is a male characteristic application label library, the second application label library is a female characteristic application label library, the male characteristic application label library is used for storing application labels or application label lists with male characteristics, and the female characteristic application label library is used for storing application labels or application label lists with female characteristics;
when the first label count value and the second label count value meet a preset first attribute condition of a user, determining that the user attribute using the electronic equipment is a first attribute of the user mapped by the first application label library, and when the first label count value and the second label count value meet a preset second attribute condition of the user, determining that the user attribute using the electronic equipment is a second attribute of the user mapped by the second application label library; wherein the first attribute of the user is male, and the second attribute of the user is female;
wherein, the application label that obtains accumulatively respectively and the first label count value of the first application label storehouse assorted that sets up in advance to and, with second application label storehouse assorted second label count value include:
traversing the application label mapped by the application information;
if the mapped application label is the same as any application label in the first application label library, adding 1 to a first label count value corresponding to the application information, wherein the initial value of the first label count value is zero; if the mapped application label is the same as any application label in the second application label library, adding 1 to a second label count value corresponding to the application information, wherein the initial value of the second label count value is zero;
wherein, when the first tag count value and the second tag count value satisfy a preset first attribute condition of the user, determining that the user attribute using the electronic device is the first attribute of the user mapped by the first application tag library includes:
and if the first label count value corresponding to certain application information is larger than or equal to a first threshold value and the second label count value corresponding to certain application information is zero, determining that the user attribute of certain application using the electronic equipment is the first attribute of the user mapped by the first application label library.
2. The method of claim 1, wherein determining the user first attribute mapped for the first application tag library using the user attribute of the electronic device when the first tag count value and the second tag count value satisfy a preset user first attribute condition comprises:
and if the first label count value corresponding to certain application information is larger than or equal to a first threshold value, determining that the user attribute of certain application using the electronic equipment is the first attribute of the user mapped by the first application label library.
3. The method according to claim 1, wherein after the adding 1 to the second tag count value corresponding to the application information, the method further comprises:
and judging whether the application information is the only application information in the electronic equipment, if not, sequentially traversing application labels mapped by each other application information in the electronic equipment, and accumulating the first label count value or the second label count value corresponding to the application information.
4. The method of claim 3, wherein determining the user first attribute mapped for the first application tag library using the user attribute of the electronic device when the first tag count value and the second tag count value satisfy a preset user first attribute condition comprises:
and if the accumulated first tag count values corresponding to all application information installed in the electronic equipment are greater than or equal to a first threshold value and the accumulated second tag count values corresponding to all application information are zero, determining that the user attribute using the electronic equipment is the first attribute of the user mapped by the first application tag library.
5. The method according to any one of claims 1 to 4, further comprising:
if the first label count value and the second label count value corresponding to certain application information are both smaller than a third threshold value, acquiring user statistical data of the certain application in the electronic equipment with the determined user attribute, and in the user statistical data, if the user proportion of the user first attribute exceeds a preset proportion threshold value, determining the user attribute using the certain application in the electronic equipment as the user first attribute; and if the user proportion of the second user attribute exceeds a preset proportion threshold, determining the user attribute using the certain application in the electronic equipment as the second user attribute.
6. The method of claim 5, further comprising:
and writing the user information corresponding to the determined first attribute of the user into a first attribute library, and writing the user information corresponding to the determined second attribute of the user into a second attribute library.
7. The method of claim 6, further comprising:
according to the user attribute required by the value added service application information to be pushed, if the required user attribute is the first attribute of the user, pushing the value added service application information to the user in the first attribute library; and if the required user attribute is the second attribute of the user, pushing the value-added service application information to the user in the second attribute library.
8. The method of claim 7, further comprising:
and monitoring and recording the operation behavior of the user on the pushed value-added service application information.
9. An apparatus for obtaining user attributes, the apparatus comprising: an application installation package obtaining module, an application query module, an application tag query module, a counting module and a user attribute determining module, wherein,
the application installation package acquisition module is used for acquiring each application installation package installed in the electronic equipment;
the application query module is used for sequentially extracting the acquired package name information of the application installation package, and querying the mapping relation between the prestored application information and the package name information of the application installation package to obtain the application information mapped by the acquired package name information of the application installation package;
the application label query module is used for querying a preset mapping relation between the application information and the application labels and acquiring one or more application labels mapped by the obtained application information;
the counting module is used for respectively accumulating a first tag count value of the acquired application tag matched with a preset first application tag library and a second tag count value matched with a second application tag library; the first application label library is a male characteristic application label library, the second application label library is a female characteristic application label library, the male characteristic application label library is used for storing application labels or application label lists with male characteristics, and the female characteristic application label library is used for storing application labels or application label lists with female characteristics;
a user attribute determining module, configured to determine, when the first tag count value and the second tag count value satisfy a preset first attribute condition of a user, a user attribute using the electronic device as a first attribute of the user mapped by the first application tag library, and determine, when the first tag count value and the second tag count value satisfy a preset second attribute condition of the user, a user attribute using the electronic device as a second attribute of the user mapped by the second application tag library; wherein the first attribute of the user is male, and the second attribute of the user is female;
the counting module comprises: a traversal unit, a first tag counting unit, and a second tag counting unit, wherein,
the traversing unit is used for traversing the application label mapped by the application information;
a first tag counting unit, configured to add 1 to a first tag count value corresponding to the application information if the mapped application tag is the same as any application tag in the first application tag library, where an initial value of the first tag count value is zero;
a second tag counting unit, configured to add 1 to a second tag count value corresponding to the application information if the mapped application tag is the same as any application tag in the second application tag library, where an initial value of the second tag count value is zero;
wherein, when the first tag count value and the second tag count value satisfy a preset first attribute condition of the user, determining that the user attribute using the electronic device is the first attribute of the user mapped by the first application tag library includes:
and if the first label count value corresponding to certain application information is larger than or equal to a first threshold value and the second label count value corresponding to certain application information is zero, determining that the user attribute of certain application using the electronic equipment is the first attribute of the user mapped by the first application label library.
10. The apparatus of claim 9, wherein the determining a first user attribute mapped for the first application tag library using the user attribute of the electronic device when the first tag count value and the second tag count value satisfy a preset first user attribute condition comprises:
and if the first label count value corresponding to certain application information is larger than or equal to a first threshold value, determining that the user attribute of certain application using the electronic equipment is the first attribute of the user mapped by the first application label library.
11. The apparatus of claim 9, wherein the counting module comprises: an application label traversal unit, a third counting unit, and a fourth counting unit, wherein,
sequentially traversing application labels mapped by each application information in the electronic equipment;
a third counting unit, configured to add 1 to the first tag count value if the mapped application tag is the same as any application tag in the first application tag library, where the initial value of the first tag count value is zero;
and a fourth counting unit configured to add 1 to the second tag count value if the mapped application tag is the same as any application tag in the second application tag library, where the second tag count value is set to an initial value of zero.
12. The apparatus of claim 11, wherein the determining a first user attribute mapped for the first application tag library using the user attribute of the electronic device when the first tag count value and the second tag count value satisfy a preset first user attribute condition comprises:
and if the accumulated first tag count value corresponding to all application information installed in the electronic equipment is greater than or equal to a first threshold value and the accumulated second tag count value corresponding to all application information is zero, determining that the user attribute using the electronic equipment is the first attribute of the user mapped by the first application tag library.
13. The apparatus of any one of claims 9 to 12, further comprising:
a user attribute re-determination module, configured to, if a first tag count value and a second tag count value corresponding to certain application information are both smaller than a third threshold, obtain user statistics data of the certain application in the electronic device with the determined user attribute, and in the user statistics data, if a user duty of the user first attribute exceeds a preset duty threshold, determine that the user attribute using the certain application in the electronic device is the user first attribute; and if the user proportion of the second user attribute exceeds a preset proportion threshold, determining the user attribute using the certain application in the electronic equipment as the second user attribute.
14. The apparatus of claim 13, further comprising:
and the attribute storage module is used for writing the user information corresponding to the determined first attribute of the user into the first attribute library and writing the user information corresponding to the determined second attribute of the user into the second attribute library.
15. The apparatus of claim 14, further comprising:
the push module is used for pushing the value added service application information to the user in the first attribute library according to the user attribute required by the value added service application information to be pushed and if the required user attribute is the first attribute of the user; and if the required user attribute is the second attribute of the user, pushing the value-added service application information to the user in the second attribute library.
16. The apparatus of claim 15, further comprising:
and the recording module is used for monitoring and recording the operation behavior of the user on the pushed value-added service application information.
17. An electronic device, characterized in that the electronic device comprises: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing the method of acquiring the user attribute as set forth in any one of the preceding claims 1 to 8.
CN201610098988.9A 2016-02-23 2016-02-23 Method and device for acquiring user attribute and electronic equipment Active CN105809471B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610098988.9A CN105809471B (en) 2016-02-23 2016-02-23 Method and device for acquiring user attribute and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610098988.9A CN105809471B (en) 2016-02-23 2016-02-23 Method and device for acquiring user attribute and electronic equipment

Publications (2)

Publication Number Publication Date
CN105809471A CN105809471A (en) 2016-07-27
CN105809471B true CN105809471B (en) 2020-02-07

Family

ID=56466463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610098988.9A Active CN105809471B (en) 2016-02-23 2016-02-23 Method and device for acquiring user attribute and electronic equipment

Country Status (1)

Country Link
CN (1) CN105809471B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106485548A (en) * 2016-09-30 2017-03-08 北京金山安全软件有限公司 Questionnaire survey method and device and electronic equipment
CN107705156B (en) * 2017-10-16 2021-02-05 深圳大宇无限科技有限公司 User feature analysis method and device
CN107729544B (en) * 2017-11-01 2021-06-22 阿里巴巴(中国)有限公司 Method and device for recommending applications
CN110555451A (en) * 2018-05-31 2019-12-10 北京京东尚科信息技术有限公司 information identification method and device
CN108809987B (en) * 2018-06-14 2020-10-23 江苏果米文化发展有限公司 Online game popularization method based on big data analysis
CN112015730A (en) * 2019-05-31 2020-12-01 上海晶赞融宣科技有限公司 Label matching method and device, storage medium and server
CN110851759B (en) * 2019-10-31 2022-11-29 上海连尚网络科技有限公司 Method and equipment for identifying gender of new user

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455522A (en) * 2012-06-04 2013-12-18 北京搜狗科技发展有限公司 Recommendation method and system of application extension tools
CN104133878A (en) * 2014-07-25 2014-11-05 百度在线网络技术(北京)有限公司 User label generation method and device
CN104573021A (en) * 2015-01-12 2015-04-29 浪潮软件集团有限公司 Method for analyzing internet behaviors

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7181488B2 (en) * 2001-06-29 2007-02-20 Claria Corporation System, method and computer program product for presenting information to a user utilizing historical information about the user

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455522A (en) * 2012-06-04 2013-12-18 北京搜狗科技发展有限公司 Recommendation method and system of application extension tools
CN104133878A (en) * 2014-07-25 2014-11-05 百度在线网络技术(北京)有限公司 User label generation method and device
CN104573021A (en) * 2015-01-12 2015-04-29 浪潮软件集团有限公司 Method for analyzing internet behaviors

Also Published As

Publication number Publication date
CN105809471A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
CN105809471B (en) Method and device for acquiring user attribute and electronic equipment
US11036820B2 (en) Page loading method and electronic device
CN110874440B (en) Information pushing method and device, model training method and device, and electronic equipment
CN109271768B (en) Distribution information management method, distribution information management device, storage medium and terminal
CN110868377B (en) Method and device for generating network attack graph and electronic equipment
CN111163072B (en) Method and device for determining characteristic value in machine learning model and electronic equipment
CN106790727A (en) Information push method and device
CN109600638B (en) Live broadcast method and device, electronic equipment and computer readable storage medium
WO2015014260A1 (en) Data processing method and server therefor
EP3482300A1 (en) Object identifier index
CN111586695A (en) Short message identification method and related equipment
CN107688587B (en) Media information display method and device
CN111027065B (en) Leucavirus identification method and device, electronic equipment and storage medium
CN106651410B (en) Application management method and device
CN106933323B (en) Method and device for optimizing power consumption of application program and electronic equipment
CN110611675A (en) Vector magnitude detection rule generation method and device, electronic equipment and storage medium
CN114338102B (en) Security detection method, security detection device, electronic equipment and storage medium
CN115795100A (en) User event processing method and device, electronic equipment and readable storage medium
US20170171330A1 (en) Method for pushing information and electronic device
CN115396128A (en) Malicious traffic detection method and device, storage medium and electronic equipment
CN113779576A (en) Identification method and device for executable file infected virus and electronic equipment
CN113904837A (en) Attack detection method, device, electronic equipment and medium
CN108881151B (en) Joint-point-free determination method and device and electronic equipment
CN108875363B (en) Method and device for accelerating virtual execution, electronic equipment and storage medium
CN107844554B (en) Application recommendation method and device, terminal equipment and storage medium

Legal Events

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