User classification method, electronic equipment, storage medium and program product
Through the two-stage identification and real-time data update method, the user's wishes are accurately identified, which solves the problem of inaccurate user identification in the existing technology, improves the accuracy and efficiency of house recommendation, and reduces work costs.
Patent Information
- Application Number
- CN202411116790.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-10-22
AI Technical Summary
Existing technologies have inaccuracies and large errors in identifying potential users, resulting in inappropriate house recommendation and increased work costs and user interference.
Two-stage identification is performed by obtaining user data sets. First, it is converted into semantic descriptions, and then user tags are matched. Combined with real-time data updates, user wishes are accurately identified and user classification is achieved.
It improves the accuracy and efficiency of user identification, reduces interference caused by identification errors, and reduces work costs.
Smart Images

Figure CN118822601A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a user classification method, electronic equipment, storage medium and program product. Background Art
[0002] With the rapid development of society, people pay more and more attention to living conditions, and there are more and more factors to consider when buying or renting houses. Therefore, buying or renting houses is becoming more and more troublesome. In order to shorten the time of searching for houses and improve the efficiency of searching for houses, users usually search for relevant house information online. How to identify potential users among many users and recommend suitable houses to them based on the identified potential users has become an important direction in house recommendation.
[0003] The solutions provided by related technologies generally use the records of historical data to roughly judge potential users and recommend suitable properties to potential users.
[0004] However, the above method cannot accurately identify potential users. When the identification is incorrect or the error is large, recommending properties to the identified users will cause certain disturbances to the users and increase the work cost. Summary of the invention
[0005] The present disclosure provides a user classification method, an electronic device, a storage medium and a program product.
[0006] According to one aspect of the present disclosure, a user classification method is provided, comprising: Get user data set; Performing a first-stage recognition based on the user data set to obtain a first output result, where the first output result is a semantic description; Using the first output result as the input of the second-stage recognition, performing the second-stage recognition, and obtaining a second output result, wherein the second output result is a user label that matches the user data set; The users are classified based on the user tags that match the user data set.
[0007] According to the user classification method of at least one embodiment of the present disclosure, the user data set includes user behavior data and / or user status data.
[0008] According to at least one embodiment of the user classification method of the present disclosure, performing a first-stage identification based on the user data set to obtain a first output result includes: Matching the user data set with prompt information corresponding to the recognition task identified in the first stage to obtain first matching information; A first stage recognition is performed on the user data set based on the first matching information to obtain a first output result.
[0009] According to at least one embodiment of the user classification method of the present disclosure, the first output result is used as the input of the second stage recognition, the second stage recognition is performed, and the second output result is obtained, including: Matching the first output result with the prompt information corresponding to the recognition task of the second stage recognition to obtain second matching information; The first output result is subjected to a second-stage recognition based on the second matching information to obtain the second output result.
[0010] According to the user classification method of at least one embodiment of the present disclosure, the recognition task in the first stage recognition has a corresponding first recognition dimension, and the first recognition dimension has corresponding first recognition dimension information; The recognition task in the second stage recognition has a corresponding second recognition dimension, and the second recognition dimension has corresponding second recognition dimension information; The first identification dimension information and the second identification dimension information are different.
[0011] According to at least one embodiment of the present disclosure, the user classification method further includes: Acquire a real-time data set, wherein the real-time data set includes real-time user behavior data generated based on the real-time user behavior; The second output result is updated based on the real-time user behavior data.
[0012] According to the user classification method of at least one embodiment of the present disclosure, updating the second output result based on the real-time user behavior data includes: Vectorizing the user real-time behavior data to obtain vectorized data, wherein the vectorized data includes user tags for classifying users; The second output result is updated based on the vectorized data including the user tag.
[0013] According to at least one embodiment of the user classification method of the present disclosure, after acquiring the user data set, the method further includes cleaning and / or preprocessing the data in the user data set.
[0014] According to the user classification method of at least one embodiment of the present disclosure, the cleaning includes clearing erroneous data, checking data consistency, processing invalid values and / or processing missing values; The preprocessing includes extracting data features and vectorizing the data in the user data set according to the data features.
[0015] According to another aspect of the present disclosure, there is provided an electronic device, comprising: A memory storing execution instructions; A processor executes the execution instruction stored in the memory, so that the processor executes the user classification method of any embodiment of the present disclosure.
[0016] According to another aspect of the present disclosure, a readable storage medium is provided, wherein the readable storage medium stores execution instructions, and when the execution instructions are executed by a processor, the user classification method of any embodiment of the present disclosure is implemented.
[0017] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the user classification method according to any one of the embodiments of the present disclosure is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings illustrate exemplary embodiments of the present disclosure and together with the description serve to explain the principles of the present disclosure. These drawings are included to provide a further understanding of the present disclosure and are incorporated in and constitute a part of this specification.
[0019] Figure 1 A flowchart of a user classification method provided in an embodiment of the present disclosure.
[0020] Figure 2 This is a flowchart of step S120 in the user classification method provided in an embodiment of the present disclosure.
[0021] Figure 3 This is a flowchart of another embodiment of step S120 in the user classification method provided in an embodiment of the present disclosure.
[0022] Figure 4 The present invention is a schematic block diagram of a user classification device using a hardware implementation method of a processor according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] The present disclosure is further described in detail below in conjunction with the accompanying drawings and implementations. It is understood that the specific implementations described herein are only used to explain the relevant content, rather than to limit the present disclosure. It should also be noted that, for ease of description, only the parts related to the present disclosure are shown in the accompanying drawings.
[0024] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in the present disclosure can be combined with each other. The technical solution of the present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0025] Unless otherwise specified, the exemplary embodiments / implementations shown will be understood as providing exemplary features of various details of some ways in which the technical concept of the present disclosure can be implemented in practice. Therefore, unless otherwise specified, the features of the various embodiments / implementations can be combined, separated, interchanged and / or rearranged in addition without departing from the technical concept of the present disclosure.
[0026] The use of cross-hatching and / or shading in the accompanying drawings is generally used to make the boundaries between adjacent components clear. As such, unless otherwise specified, the presence or absence of cross-hatching or shading does not convey or indicate any preference or requirement for the specific materials, material properties, dimensions, proportions, commonalities between the components shown, and / or any other characteristics, attributes, properties, etc. of the components. In addition, in the accompanying drawings, the sizes and relative sizes of the components may be exaggerated for clarity and / or descriptive purposes. When the exemplary embodiments can be implemented differently, the specific process sequence can be performed in a different order than described. For example, two successively described processes can be performed substantially simultaneously or in an order opposite to the described order. In addition, the same figure numbers represent the same components.
[0027] When a component is referred to as being "on" or "over," "connected to," or "coupled to" another component, the component may be directly on, directly connected to, or directly coupled to the other component, or intervening components may be present. However, when a component is referred to as being "directly on," "directly connected to," or "directly coupled to" another component, there are no intervening components. For this purpose, the term "connected" may refer to a physical connection, an electrical connection, etc., with or without intervening components.
[0028] The terms used herein are for the purpose of describing specific embodiments, and are not intended to be restrictive. As used herein, unless the context clearly indicates otherwise, the singular forms "one (kind, person)" and "said (the)" are also intended to include plural forms. In addition, when the terms "comprise" and / or "include" and their variations are used in this specification, it is explained that there are stated features, integral bodies, steps, operations, parts, assemblies and / or their groups, but one or more other features, integral bodies, steps, operations, parts, assemblies and / or their groups are not excluded from existence or addition. It should also be noted that, as used herein, the terms "substantially", "approximately" and other similar terms are used as approximate terms and not as degree terms, so that they are used to explain the inherent deviations of the measured values, calculated values and / or the values provided that will be recognized by those of ordinary skill in the art.
[0029] Combined with the following Figures 1 to 4 The user classification method, user classification device, etc. disclosed in the present invention are described in detail.
[0030] On the one hand, a user classification method M100 is provided, see Figure 1 ,include: S110: Obtain a user data set.
[0031] S120 , performing a first-stage recognition based on the user data set to obtain a first output result, where the first output result is a semantic description.
[0032] S130: Use the semantic description as input for second-stage recognition, perform second-stage recognition, and obtain a second output result, where the second output result is a user label that matches the user data set.
[0033] S140: Classify users based on user tags that match the user data set.
[0034] The user classification method provided by the embodiment of the present disclosure improves the efficiency of user classification through the first stage identification and the second stage identification, can improve the accuracy of user identification, and avoid unnecessary interference to users due to user identification errors.
[0035] The user classification method provided by the embodiment of the present disclosure will be further explained and described below through optional implementation modes.
[0036] In step S110 provided in the embodiment of the present disclosure, the user data set includes user behavior data and / or user status data, that is, the user data set can be user behavior data and user status data, or can be user behavior data or user status data.
[0037] User behavior data may include user action behavior data. As an example, user behavior data may include page clicks and browsing actions performed by users based on a specific client when searching for properties. The user's actions when searching for properties are collected to form user behavior data. As another example, user status data may include the transaction status of users for properties in the past preset time period.
[0038] For example, the user status data may include whether the user has finally completed the house transaction or the user's past house transaction status data, such as the price of the house, the transaction method, the transaction status, and other data.
[0039] As an example, taking the user data set as the behavioral data of users when searching for houses, when searching for houses, users will have interfaces for selecting new houses or second-hand houses, or options for prices within XX thousand, areas within 150 square meters, transaction times, and other actions. The disclosed implementation method obtains the above-mentioned action behavior data and saves it as user behavior data, for example, in a database.
[0040] In step S120 provided in the embodiment of the present disclosure, a first-stage recognition is performed based on the user data set to obtain a first output result, which is a semantic description.
[0041] The user classification method provided by the embodiment of the present disclosure can convert the user data in the user data set into a semantic description through the first stage identification, thereby improving the identification capability of the user data and improving the efficiency and accuracy of user identification. For example, the semantic description can be a description in natural language, such as "I am looking for a house located in XX district, with a superior geographical location and complete ancillary facilities".
[0042] In step S130 provided in the embodiment of the present disclosure, the semantic description is used as the input of the second stage recognition, and the second stage recognition is performed to obtain a second output result, and the second output result is a user label that matches the user data set.
[0043] According to a preferred embodiment of the present disclosure, processing the user data set includes one or more groups of processing steps, wherein each group of processing steps includes a first stage recognition and a second stage recognition. For example, the second output result of the second stage recognition in the first group of processing steps can be used as the input of the first stage recognition in the second group of processing steps, forming a multi-level recognition.
[0044] The disclosed embodiment performs multi-level recognition of the user data set through the first stage recognition and the second stage recognition in multiple groups of processing steps, which can improve the accuracy and completeness of user classification. Among them, the user label described above is a label that matches the user data set, that is, the corresponding user can be matched through the user label to achieve user classification.
[0045] Exemplarily, the user tags provided by the embodiments of the present disclosure may include a user's specific description of the house price, area, location, etc. As an example, the user tags may include a price of XX thousand, an area of 120 square meters, and the like.
[0046] In step S140 provided in the embodiment of the present disclosure, the users are classified based on the user tags matching the user data set.
[0047] Exemplarily, the classified users may include target users and non-target users, wherein the target users may include users who are willing to trade houses, and the non-target users may include users who are not willing to trade houses.
[0048] According to a preferred embodiment of the present disclosure, the embodiment of the present disclosure pre-trains a user classification model, and implements the first stage recognition and the second stage recognition in the user classification method provided by any embodiment of the present disclosure based on the trained user classification model.
[0049] Among them, the step of training the user classification model provided by the embodiment of the present disclosure includes: training the user classification model based on the training data set, so that the trained user classification model has the ability to classify users. The training data set may include user behavior data and / or user status data. Exemplarily, the user behavior data may include the user's clicks on pages, browsing actions, etc. when searching for houses based on, for example, a mobile client. The user's actions and behaviors when searching for houses are collected to form user behavior data. As another example, the user status data may include the user's transaction status of houses in the past preset time period, etc. Exemplarily, the user status data may include whether the user finally completed the house transaction or the user's past house transaction status data. For example, data such as the price of the house, the transaction method, and the transaction status.
[0050] Among them, the step of training the user classification model based on the training data set includes configuring a processing framework for the user classification model, the processing framework includes first-stage recognition and second-stage recognition, wherein the output of the first-stage recognition serves as the input of the second-stage recognition, and the output of the first-stage recognition is a semantic description, and the output of the second-stage recognition is a user label that matches the user data set.
[0051] The disclosed embodiment can use the LangChain tool chain, combined with the supervised learning method, and use the training data set to train the user classification model. The disclosed embodiment can select the existing deep learning model as the basic model of the user classification model of the present disclosure, such as Recurrent Neural Network (RNN), Long Short-Term Memory Network (LSTM), Convolutional Neural Network (CNN), etc. The trained user classification model has the ability to classify users.
[0052] Furthermore, after the user classification model is trained using the training data set, a verification step of the user classification model is also included, that is, the user classification ability of the user classification model is verified. Furthermore, the user status data and / or user behavior data in the verification data set can be used as input, and the output is calculated by the user classification model. When the verification result and the verification data set are consistent, it means that the user classification model training is completed. When the verification result and the verification data set are different or have differences, the user classification model is adjusted.
[0053] In the embodiments of the present disclosure, user classification is performed based on the user data set, and potential users (i.e., target users described in the present disclosure) and non-potential users who are willing to buy a house can be identified. For potential users (i.e., target users), houses can be recommended to users based on the user information and user housing demand. For non-potential users, the user information of non-potential users and their corresponding user behavior data and user status data can be cleared from the database to avoid repeated classification and reduce the waste of computing resources.
[0054] It should be noted that the user information in the user data set stored in the database and the user behavior data and user status data corresponding to the user information may change over time. Therefore, the present disclosure obtains user behavior data and user status data in real time or at a preset frequency, and tracks changes in user behavior data and user status data, so that the user classification method of the present disclosure can classify users more accurately. According to a preferred embodiment of the present disclosure, see Figure 2 In step S120, a first stage recognition is performed based on the user data set to obtain a first output result, including: step S121 and step S122.
[0055] S121 . Match the user data set with prompt information corresponding to the recognition task of the first stage recognition to obtain first matching information.
[0056] S122: Perform a first-stage recognition on the user data set based on the first matching information to obtain a first output result.
[0057] The disclosed embodiment sets one or more groups of processing steps, each group of processing steps includes two processing stages (first stage identification and second stage identification), one processing stage may include different identification tasks (for example, the first stage identification includes a house price identification task and a house area identification task), when the first stage identification and the second stage identification tasks in one group of processing steps are completed, the two processing stages in the next group of processing steps are performed until all the identification tasks in each group of processing steps are completed.
[0058] Preferably, each recognition task in the first stage has corresponding prompt information. Exemplarily, the first stage recognition includes a housing price recognition task A and a housing area recognition task B. The prompt information of the housing price recognition task A is the price, and the prompt information of the housing area recognition task B is the area.
[0059] The disclosed embodiment obtains first matching information that matches the prompt information of the house price identification task A from the user data set. For example, the first matching information that matches the house price is "I want a house price between XX million and XX million yuan." The first matching information "I want a house price between XX million and XX million yuan" is used to realize the identification of the house price in the first stage of identification.
[0060] In the disclosed embodiment, the first matching information may include a voice description or a text description, etc. The voice description may include a keyword range, or a key field range, etc. For example, the recognition task of the first stage recognition, such as the prompt information of the house area, may be a prompt voice or a prompt word, and the prompt voice may include "I want a house with an area of 100 square meters to 120 square meters, a floor height of more than three floors, and a price of no more than XX thousand yuan".
[0061] For example, the first matching information that matches the prompt information of the recognition task in the first stage recognition in the above example may be "area 100 square meters to 120 square meters, floor above the third floor, price XX million", etc. That is, the first matching information can be matched through the prompt information in the recognition task, and then the first stage recognition is performed on the user data set through the first matching information to obtain the first output result.
[0062] According to a preferred embodiment of the present disclosure, see Figure 3 In step S120 of the embodiment of the present disclosure, the first output result is used as the input of the second stage recognition, and the second stage recognition is performed to obtain the second output result, including step S123 and step S124.
[0063] S123: Match the first output result with the prompt information corresponding to the recognition task of the second stage recognition to obtain second matching information.
[0064] S124. Perform a second-stage recognition on the first output result based on the second matching information to obtain a second output result.
[0065] Correspondingly, the second stage recognition may include multiple recognition tasks. Exemplarily, the second stage recognition includes a house location recognition task and a house ancillary recognition task.
[0066] All recognition tasks in the second stage of recognition have corresponding prompt information. For example, the second stage of recognition includes a property location recognition task C and a property ancillary recognition task D. The prompt information of the property location recognition task C is the location, and the prompt information of the property ancillary recognition task D is the ancillary facilities.
[0067] Exemplarily, the recognition task of the second stage recognition, such as the prompt information of the house location, can be a prompt voice or prompt words, and the prompt voice can include "I want a house in XX district, south of XX street, XX community" and the like.
[0068] For example, the second matching information that matches the prompt information of the recognition task of the second stage recognition in the above example can be "XX District, South of XX Street, XX Community". That is, the second matching information can be matched through the prompt information in the recognition task, and then the second stage recognition is performed on the user data set through the second matching information to obtain the second output result.
[0069] It is worth noting that in the embodiments of the present disclosure, the recognition tasks of the first stage recognition and the second stage recognition are different. For example, the recognition tasks of the first stage recognition are the area of the house, the floor of the house, etc., and the recognition tasks of the second stage recognition are the location of the house, the ancillary facilities of the house, etc.
[0070] Exemplarily, the recognition tasks of the first stage recognition may include the area of the house and the floor of the house.
[0071] The recognition tasks of the second stage can include the location of the property and its ancillary facilities (such as hospitals and schools).
[0072] According to a preferred embodiment of the present disclosure, the recognition task in the first stage recognition has a corresponding first recognition dimension, and the first recognition dimension has corresponding first recognition dimension information; The recognition task in the second stage recognition has a corresponding second recognition dimension, and the second recognition dimension has corresponding second recognition dimension information.
[0073] The first identification dimension information and the second identification dimension information are different.
[0074] The first stage of identification may include one or more identification tasks, and the number of identification tasks can be set as needed. One identification task corresponds to one identification dimension. As an example, identification task A is to identify the price of the house, identification task B is to identify the area of the house, and identification task C is to identify the supporting facilities of the house. Each identification dimension has its own corresponding identification dimension information. For example, identification task A will have corresponding house price information, identification task B will have corresponding house area information, identification task C will have corresponding house supporting facilities information, and so on.
[0075] According to a preferred embodiment of the present disclosure, the user classification method provided in the embodiment of the present disclosure further includes: A real-time data set is obtained, where the real-time data set includes real-time user behavior data generated based on real-time user behavior.
[0076] The second output result is updated based on the real-time user behavior data.
[0077] The user's behavior may change over time, and the disclosed embodiment may update the second output result based on the user's real-time behavior data.
[0078] Furthermore, the first-stage identification and the second-stage identification classification are performed through the user's real-time behavior data, and finally an updated user classification result is obtained.
[0079] The user classification model provided by the embodiment of the present disclosure may also be updated using the user's real-time behavior data, thereby updating the second output result (the user label matching the user data set). That is, the user classification model is updated using the user's real-time behavior data, and then the user's real-time behavior data is classified using the updated user classification model to obtain an updated user classification result.
[0080] According to a preferred implementation of the present disclosure, updating the first output result and the second output result based on the real-time user behavior data includes: The real-time user behavior data is vectorized to obtain vectorized data, which includes user tags for classifying users.
[0081] The second output result is updated based on the vectorized data including the user tags matching the user data set.
[0082] Furthermore, the user's real-time behavior data is vectorized, that is, one behavior data corresponds to one vector.
[0083] As an example, user real-time behavior data can be collected in real time in the following manner: for example, when a user clicks on a page of a client on a mobile phone, the above behavior data (i.e., user real-time behavior data) is obtained in real time, and a vector corresponding to the real-time behavior data is updated according to the real-time behavior data, and the second output result (category label matching the user data) is updated based on the updated vector.
[0084] According to a preferred implementation manner of the present disclosure, after acquiring the user data set, the user classification method of the present disclosure further includes cleaning and / or preprocessing the data in the user data set.
[0085] In some embodiments of the present disclosure, cleaning includes clearing erroneous data, checking data consistency, processing invalid values and / or processing missing values; preprocessing includes extracting data features and vectorizing the data in the user data set according to the data features.
[0086] It is understandable that the acquired user data set may contain information redundancy, missing information semantics, or confusing information semantics. The disclosed embodiment cleans the user data set to ensure the accuracy of the user data set and provide a guarantee for subsequent user classification.
[0087] In an optional implementation, the user classification method provided in the implementation of the present disclosure further includes classifying users according to the user classification results, and classifying users into potential users and non-potential users according to the user classification results.
[0088] According to a preferred embodiment of the present disclosure, the user classification method provided by the embodiment of the present disclosure also includes obtaining the number of nodes of the recognition tasks that have been executed in a set of processing steps. When the number of nodes of the recognition tasks that have been executed in a set of processing steps is equal to the total number of recognition task nodes, it indicates that all the recognition tasks in the group of processing steps have been executed, that is, the recognition tasks of the first stage recognition and the second stage recognition in a set of processing steps have been executed.
[0089] In an optional implementation, when the number of identification task nodes executed at a certain moment is less than the total number of identification task nodes, it indicates that the identification task has not been processed completely and needs to be further processed.
[0090] It should be noted that before obtaining user data (including but not limited to user behavior data and user status data) or in the process of obtaining user data, this disclosure should inform users of the type, scope of use, usage scenarios, etc. of personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations and obtain users' authorization.
[0091] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0092] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0093] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0094] At the same time, it is understandable that the data involved in the technical solution of the present disclosure (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0095] Figure 4The present invention is a schematic block diagram of a user classification device using a hardware implementation method of a processor according to an embodiment of the present invention.
[0096] The user classification device 1000 may include corresponding modules for executing each or several steps in the above flowchart. Therefore, each step or several steps in the above flowchart may be executed by the corresponding module, and the device may include one or more modules in these modules. The module may be one or more hardware modules specially configured to execute the corresponding steps, or implemented by a processor configured to execute the corresponding steps, or stored in a computer-readable medium for implementation by a processor, or implemented by some combination.
[0097] The hardware structure of the user classification device of the present disclosure can be implemented using a bus architecture. The bus architecture may include any number of interconnected buses and bridges, depending on the specific application and overall design constraints of the hardware. The bus 1100 connects various circuits including one or more processors 1200, memory 1300 and / or hardware modules together. The bus 1100 may also connect various other circuits 1400 such as peripherals, voltage regulators, power management circuits, external antennas, etc.
[0098] The bus 1100 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Component (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the figure only uses one connecting line, but does not mean that there is only one bus or one type of bus.
[0099] Any process or method description in the flowchart or otherwise described herein can be understood as a module, fragment or portion of a code representing one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes other implementations, in which the functions may not be performed in the order shown or discussed, including performing the functions in a substantially simultaneous manner or in a reverse order according to the functions involved, which should be understood by a person skilled in the art of the present disclosure. The processor performs the various methods and processes described above. For example, the method implementation in the present disclosure can be implemented as a software program, which is tangibly contained in a machine-readable medium, such as a memory. In some embodiments, part or all of the software program can be loaded and / or installed via a memory and / or a communication interface. When the software program is loaded into the memory and executed by the processor, one or more steps in the method described above can be performed. Alternatively, in other embodiments, the processor can be configured to perform one of the above methods in any other appropriate manner (e.g., by means of firmware).
[0100] The logic and / or steps represented in the flowchart or otherwise described herein may be embodied in any readable storage medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from and execute instructions on an instruction execution system, apparatus, or device), or in combination with such instruction execution systems, apparatuses, or devices.
[0101] For the purposes of this specification, a "readable storage medium" may be any device that can contain, store, communicate, propagate or transmit a program for use with or in conjunction with an instruction execution system, device or apparatus. More specific examples of readable storage media (a non-exhaustive list) include the following: an electrical connection with one or more wirings (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), a fiber optic device, and a portable read-only memory (CDROM). In addition, the readable storage medium may even be paper or other suitable medium on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a memory.
[0102] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0103] A person skilled in the art may understand that all or part of the steps of implementing the above-mentioned implementation method may be completed by instructing related hardware through a program, and the program may be stored in a readable storage medium, which, when executed, includes one or a combination of the steps of the implementation method.
[0104] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a readable storage medium. The storage medium may be a read-only memory, a disk or an optical disk, etc.
[0105] refer to Figure 4 According to one embodiment of the present disclosure, the user classification device 1000 of the present disclosure includes: A user data acquisition unit 1002, the user data acquisition unit 1002 acquires a user data set; A first recognition unit 1004, the first recognition unit 1004 performs a first stage recognition based on the user data set to obtain a first output result, the first output result being a semantic description; A second recognition unit 1006, the second recognition unit 1006 uses the semantic description as an input for second-stage recognition, performs second-stage recognition, and obtains a second output result, the second output result being a user label that matches the user data set; The user classification unit 1008 , the user classification unit 1008 classifies users based on user tags that match the user data set.
[0106] The present disclosure also provides an electronic device, including: a memory, the memory storing execution instructions; and a processor or other hardware module, the processor or other hardware module executes the execution instructions stored in the memory, so that the processor or other hardware module executes the user classification method provided by any embodiment of the present disclosure.
[0107] The present disclosure also provides a readable storage medium, in which execution instructions are stored. When the execution instructions are executed by a processor, they are used to implement the user classification method in any embodiment of the present disclosure.
[0108] The present disclosure also provides a computer program product, including a computer program, which implements the user classification method of any embodiment of the present disclosure when the computer program is executed by a processor.
[0109] Those skilled in the art should understand that the above embodiments are only for the purpose of clearly illustrating the present disclosure, and are not intended to limit the scope of the present disclosure. For those skilled in the art, other changes or modifications may be made based on the above disclosure, and these changes or modifications are still within the scope of the present disclosure.
Claims
1. A user classification method, characterized in that: include: Get user data set; Performing a first-stage recognition based on the user data set to obtain a first output result, where the first output result is a semantic description; Using the first output result as the input of the second-stage recognition, performing the second-stage recognition, and obtaining a second output result, wherein the second output result is a user label matching the user data set; as well as The users are classified based on the user tags that match the user data set.
2. The user classification method according to claim 1, characterized in that: The user data set includes user behavior data and / or user status data.
3. The user classification method according to claim 1, characterized in that: Performing a first-stage recognition based on the user data set to obtain a first output result includes: Matching the user data set with the prompt information corresponding to the recognition task identified in the first stage to obtain first matching information; and A first-stage recognition is performed on the user data set based on the first matching information to obtain the first output result.
4. The user classification method according to claim 1, characterized in that: The first output result is used as the input of the second stage recognition, and the second stage recognition is performed to obtain a second output result, including: Matching the first output result with the prompt information corresponding to the recognition task of the second stage recognition to obtain second matching information; and The first output result is subjected to a second-stage recognition based on the second matching information to obtain the second output result.
5. The user classification method according to claim 3 or 4, characterized in that: The recognition task in the first stage recognition has a corresponding first recognition dimension, and the first recognition dimension has corresponding first recognition dimension information; The recognition task in the second stage recognition has a corresponding second recognition dimension, and the second recognition dimension has corresponding second recognition dimension information; The first identification dimension information and the second identification dimension information are different.
6. The user classification method according to any one of claims 1 to 4, characterized in that: Also includes: Acquire a real-time data set, wherein the real-time data set includes real-time user behavior data generated based on the real-time user behavior; as well as The second output result is updated based on the user real-time behavior data.
7. The user classification method according to claim 6, characterized in that: Updating the second output result based on the user real-time behavior data includes: Vectorizing the user real-time behavior data to obtain vectorized data, wherein the vectorized data includes user tags for classifying users; and The second output result is updated based on the vectorized data including the user tag.
8. An electronic device, characterized in that: include: A memory storing execution instructions; as well as A processor, wherein the processor executes the execution instruction stored in the memory, so that the processor executes the user classification method according to any one of claims 1 to 7.
9. A readable storage medium, characterized in that: The readable storage medium stores execution instructions, which are used to implement the user classification method according to any one of claims 1 to 7 when executed by a processor.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the user classification method according to any one of claims 1 to 7 is implemented.
