WO2018137170A1 - User information recording method and apparatus, and electronic device - Google Patents

User information recording method and apparatus, and electronic device Download PDF

Info

Publication number
WO2018137170A1
WO2018137170A1 PCT/CN2017/072569 CN2017072569W WO2018137170A1 WO 2018137170 A1 WO2018137170 A1 WO 2018137170A1 CN 2017072569 W CN2017072569 W CN 2017072569W WO 2018137170 A1 WO2018137170 A1 WO 2018137170A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
preference
user information
class
user
Prior art date
Application number
PCT/CN2017/072569
Other languages
French (fr)
Chinese (zh)
Inventor
骆磊
Original Assignee
深圳前海达闼云端智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳前海达闼云端智能科技有限公司 filed Critical 深圳前海达闼云端智能科技有限公司
Priority to CN201780000118.6A priority Critical patent/CN107003930B/en
Priority to PCT/CN2017/072569 priority patent/WO2018137170A1/en
Publication of WO2018137170A1 publication Critical patent/WO2018137170A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions

Definitions

  • the present application relates to the field of data collection technologies, and in particular, to a user information recording method, apparatus, and electronic device.
  • the embodiment of the present application mainly solves the problem that the user information record is not accurate enough.
  • a technical solution adopted by the embodiment of the present application is: providing a user information recording method, the method comprising: collecting information of the user; analyzing the information, determining a category of the information; The category of the information is recorded in the first user information set corresponding to the category of the information, and when the recorded information conflicts with at least one user information in the first user information set, The conflicting information is recorded into a second set of user information.
  • a user information recording device comprising: an acquisition module, configured to collect information of the user; and a first determining module, configured to analyze Determining, by the information, a category of the information; the first recording module, configured to record the information into a first user information set corresponding to a category of the information according to the determined category of the information; And a recording module, configured to record the conflicting information into the second user information set when the recorded information collides with the at least one user information in the first user information set.
  • an electronic device where the electronic device includes: at least one processor; and a memory communicably connected to the at least one processor;
  • the memory is stored to be An instruction program executed by one processor, the instruction program being executed by the at least one processor to cause the at least one processor to perform the method as described above.
  • another technical solution adopted by the embodiment of the present application is to provide a computer program product, the computer program product comprising: a non-volatile computer readable storage medium and embedded in the nonvolatile Computer program instructions of a computer readable storage medium; the computer program instructions comprising instructions to cause a processor to perform the method as described above.
  • the collected user information is correspondingly recorded according to the information category, and respectively stored in the first user information set corresponding to the category of the information, and when recorded When the information collides with the information recorded in the first user information set, it is determined that the information is information that needs further confirmation, and the information is recorded into the second user information set.
  • This embodiment enables classification recording of user information and accurate recording of user information.
  • FIG. 1 is a schematic diagram of an operating environment of a user information recording method provided by an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a method for recording user information provided by an embodiment of the present application
  • FIG. 3 is a schematic flowchart of a method for recording user information according to another embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a method for recording the information into a first user information set corresponding to a category of the information according to the determined category of the information according to another embodiment of the present disclosure
  • FIG. 5 is a schematic flowchart of a method for recording the information into a first user information set corresponding to a category of the information according to the determined category of the information according to another embodiment of the present application;
  • FIG. 6 is a schematic flowchart of a method for recording the information into a first user information set corresponding to a category of the information according to the determined category of the information according to an embodiment of the present disclosure
  • FIG. 7 is a schematic structural diagram of a user information recording apparatus according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a user information recording apparatus according to another embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a user information recording apparatus according to still another embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present disclosure.
  • FIG. 1 is a schematic diagram of an operating environment of a user information recording method according to an embodiment of the present disclosure.
  • the application environment includes: a user 10 and a smart terminal 20 .
  • User 10 may be any group having any number of similar or similar operational behaviors, such as a network user community, a mobile phone user community, a library user community, etc., and user 10 may also be a separate individual. Different users 10 have different personalization requirements, usage habits, usage requirements, etc., so each user has their own specific user data.
  • the user 10 can interact with the smart terminal 20 by any suitable type, one or more user interaction devices (such as a mouse, a keyboard, a remote controller, a touch screen, a somatosensory camera, an audio capture device, etc.), input commands or control the smart terminal. 20 performs one or more operations, and the smart terminal 20 performs information collection on the user 10 during the interaction between the user 10 and the smart terminal 20. This information collection is a dynamic and continuous process that enables the smart terminal 20 to continuously enrich the information of the user 10.
  • user interaction devices such as a mouse, a keyboard, a remote controller, a touch screen, a somatosensory camera, an audio capture device, etc.
  • the smart terminal 20 can be any suitable type of electronic device that has certain logical computing capabilities and provides one or more functions that can satisfy the user's intention. For example, robots, PDAs, personal computers, tablets, smart phones, wearable smart devices, and the like.
  • the smart terminal 20 also includes any suitable type of storage medium for storing data, such as a magnetic disk, a compact disc (CD-ROM), a read only memory or a random access memory.
  • the smart terminal 20 may include one or more logical computing modules that perform any suitable type of function or operation in parallel, such as viewing a database, editing a chart, etc., in a single thread or multiple threads.
  • the logic operation module can be any suitable type of electronic circuit or chip-type electronic device capable of performing logical operation operations, such as a single core processor, a multi-core processor, a graphics processing unit (GPU).
  • the smart terminal 20 can also obtain the information of the user 10 through the image collection device or the sound collection device that is included in the smart terminal 20, and the process of obtaining the information is also a dynamic and continuous process, so that the smart terminal 20 can continuously enrich and improve the information of the user 10. .
  • the user information recording method provided by the embodiment of the present application may be further extended to other suitable application environments, and is not limited to the application environment shown in FIG. 1 .
  • the application environment may further include more or fewer users and smart terminals. .
  • the smart terminal 20 records the information of the user 10 according to a preset method, and dynamically maintains a set of information specific to a certain user, thereby being in subsequent scenarios.
  • the corresponding information can be obtained from the already recorded user information set to perform pre-judgment or pre-filling of the information, thereby providing a smarter and more intimate service for the user.
  • the process of the user information recording method includes:
  • Step 31 Collect information about the user.
  • Step 32 Analyze the information to determine a category of the information
  • Step 33 Record, according to the determined category of the information, the first user information set corresponding to the category of the information;
  • Step 34 When the recorded information collides with at least one user information in the first user information set, record the conflicted information into the second user information set.
  • the user information recording method can be executed by the smart terminal described above, so that the information of the user can be collected by the smart terminal executing the method.
  • the information includes information sent by the user or received information, which may also include all information directly or indirectly related to the user. For example, all information used to determine the identity of the user, all information used to represent the user's behavioral habits, all information used to represent the user's personal preferences, all information used to represent the user's personal relationships, and some Information or the like sent or received by the user in a specific scenario.
  • the information After collecting the information of the user, the information is stored in text form, and the acquired text information may be classified based on other artificial intelligence and computational linguistic methods such as semantic analysis.
  • semantic analysis By extracting and semantically analyzing the text information, some certain information in the text information can be extracted, and the determined information can be further divided into more detailed categories, such as user identity information (such as name, origin, gender, age).
  • user habits such as getting up at 7 o'clock on weekdays, getting up at 8 o'clock on rest day, frequent bus rides, frequently connected WIFI, often eating in the same store Lunch, etc.
  • user preference information such as like climbing a mountain, like to drink a certain coffee, like to watch martial arts novels, like to play certain games, etc.
  • the first user information set is a structure for storing data pre-established according to the determined information category, which can form the same type of data into a data set, the first user information set includes multiple, each first user information The collection corresponds to one type of information.
  • the category of the information may be matched with the category name of the first user information set. If the matching is consistent, the information is recorded into the first user information set; or implemented by other means. User information is recorded according to the category of the information.
  • a second user information set is also established, and the second user information set is also a structure for storing data, which is different from the first user information set in that the second user information set is mainly used to store the user's uncertainty.
  • Information when stored, does not need to distinguish the category of information.
  • the uncertainty information includes information that is inconsistent or conflicting with the determined information.
  • the information is considered to be indeterminate user information, and the recorded information is stored in the second
  • the user information set is used to further determine the determination result of the user information by requesting the user or the like within a predetermined time.
  • the first set of user information may be a structure, and a structure is separately set for each category of information, and user information is separately stored by different types of structures.
  • the second set of user information may also be a structure through which some uncertain information of the user is recorded.
  • the embodiment of the present application provides a user information recording method, which records user information into a first user information set according to a category of user information, and when the user information is recorded, the information and the first user information set are collected. When there is a conflict between the recorded user information, the conflicted user information is recorded into the second user information set.
  • the embodiment can process the conflicting user information, and improve the accuracy of the user information record.
  • recording user information according to the information category can make the recorded user information more specific and convenient for subsequent user behavior analysis.
  • FIG. 3 another embodiment of the present application provides a user information recording method, which is different from FIG. 2 mainly in that the method further includes:
  • Step 35 Set an emergency coefficient of the information in the second user information set.
  • Step 36 Determine a determination result of the information according to the emergency coefficient
  • Step 37 Record the determination result of the information into the first user information set corresponding to the category according to the category of the information.
  • an emergency coefficient is set for the uncertain user information, and the emergency coefficient is used to indicate that the uncertain user information needs to be
  • An urgency level that is accurately confirmed for example, an emergency factor of 1, indicates that the urgency is the highest and needs to be confirmed immediately; an emergency factor of 2 indicates that the urgency is medium and can be confirmed within a preset time; the emergency factor is 3. , indicating that the urgency is low and can be confirmed after a longer period of time.
  • the urgency level and the corresponding emergency coefficient may be set in advance, and the higher the coefficient, the more urgent, or the lower the coefficient, the more urgent, which is not limited herein.
  • determining the determination result of the information according to the emergency coefficient specifically includes: directly confirming the information to the user by using a voice inquiry or a message transmission, or analyzing the user behavior in the next preset time period. To confirm further, or when the uncertain information appears again in a certain scene, then directly or indirectly confirm with the user, and so on.
  • the determination result is stored in the first user information set of the category corresponding to the user information according to the category of the user information.
  • the weight of the information corresponding to the determination result in the first user information set may be updated.
  • the user information is respectively recorded into the first user information set according to the category of the user information, and in the process of recording the user information, when the information conflicts with the recorded user information in the first user information set And recording the conflicting user information into the second user information set, and reconfirming the user uncertainty information in the second user information set, and recording the determined result to the category corresponding to the user information.
  • the embodiment of the present embodiment can accurately record user information and process conflicting user information, and the user information is continuously improved by using such an implementation manner, so that when the user information needs to be used in subsequent scenarios, the first user information set can be obtained. Obtain the corresponding user information for pre-judgment or pre-filling the information to provide users with more intimate services.
  • the step 33 in the foregoing embodiment specifically includes:
  • the project If the information pair does not exist in the first user information set corresponding to the determining class, The project, the project is created in the first user information set corresponding to the determining class, and the information is stored to the project as the content of the project;
  • the embodiment provides a specific implementation manner of recording the information in the first user information set.
  • the user information is recorded in the structure, and the form of the user information recorded in the first user information set corresponding to the determining class is:
  • the user information corresponding to the determination class includes: an item and a content.
  • the project includes: name, date of birth, ID number, home address, etc., each item has a corresponding content.
  • the item corresponding to the information is not found in the structure, it indicates that the item corresponding to the information does not exist in the structure corresponding to the determining class, and at this time, the information corresponding to the information is established in the structure. Project, and record the specific content of the information under the established project, for example, add "hometown: Shanghai" in the structure.
  • the item corresponding to the information is one of the items of the user information recorded in the structure
  • the item corresponding to the information exists in the structure corresponding to the determining class, and at this time, the information is further determined.
  • the content matches the content recorded in the structure for example, the content under the name item in the structure is "Zhang San", and the content of the information is "Li Si", indicating the content of the item in the structure
  • the content of the information does not match.
  • it is confirmed that there is a conflict of user information that is, the user information that has been recorded is inconsistent with the currently obtained user information.
  • the item "name” needs to be further determined.
  • the information can be stored in the second user information set described in the above embodiment, and the name of the user is further confirmed in the second user information set. .
  • the process of further confirmation can be referred to The description in the above embodiments will not be repeated here.
  • the content of the item in the structure matches the content of the information, it indicates that the information has been accurately recorded in the structure, and no processing is performed at this time.
  • the step 33 in the foregoing embodiment specifically includes:
  • the habit corresponding to the information does not exist in the first user information set corresponding to the custom class, create a habit corresponding to the information in the first user information set corresponding to the habit class, and store the Information, the information as an attribute of the habit, and recording the weight corresponding to the habit;
  • the embodiment provides a specific implementation manner of recording the information in the first user information set.
  • the user information is recorded in the structure, and the form of the user information recorded in the structure corresponding to the custom class is:
  • the user information corresponding to the custom class includes: the name, the attribute, and the number of times the user is accustomed to, and the name that the user is accustomed to indicates the habit (such as morning running), and the attribute is used to further define the habit (for example, The morning run starts at 7 o'clock.
  • the number is used to measure the weight of the habit. It records the number of times the habit has been executed. The higher the number, the greater the weight, indicating that the habit persists for the longest time. Changing habits, on the contrary, if The smaller the weight, the easier it is to change.
  • the information is first matched with the name of the user in the structure, and if the name of the user corresponding to the information is found in the structure, the attribute corresponding to the habit is further determined. Whether the information matches the information, if the attribute corresponding to the habit does not match the information, indicating that the information is a new habit, and the habit corresponding to the information is established in the structure, including its attribute, and the number of records (for example) The number of times is 1). If the attribute corresponding to the habit matches the information, it indicates that there is already a completely consistent habit in the above structure, and the number of times of the habit is directly updated, for example, the number is increased by one. In addition, if the custom name corresponding to the information cannot be found in the above structure, it is a new habit that the habit does not exist. At this time, the new habit is established in the structure, and the attributes and times are recorded.
  • the content of the message is "Set an alarm clock at 7:00 on Saturday morning”.
  • the habit is “set an alarm clock on Saturday morning”.
  • the attribute of the habit is "7 o'clock in the morning”.
  • the habit of setting an alarm clock six in the morning directly establishes a new habit corresponding to the information and records its attributes and times (weights).
  • the user's habit information can be obtained through user behavior analysis, or can be obtained by other means.
  • an information recording method for the user's habitual information, which can record the user's habits in more detail, and more specifically distinguish the user habits, and can analyze the habits of the recordings.
  • the most common habits of users so that when users are in the same or similar scenarios again, they can provide users with smarter and more intimate services.
  • step 33 in the foregoing embodiment specifically includes:
  • the embodiment provides a specific implementation manner of recording the information in the first user information set.
  • the user information is recorded in the structure, and the form of the user information recorded in the structure corresponding to the preference class is:
  • the preference corresponding to the preference class defines a preference and a weight of the preference, the preference indicating a user's personal preference, the weight indicating the degree that the user likes the preference, and the higher the weight, the more the user likes the preference, and vice versa. So like it.
  • searching for a preference corresponding to the information in the structure corresponding to the preference class and further searching for a reverse preference corresponding to the information in the structure corresponding to the preference class (for example, the information corresponding to the The preference is "like to drink milk", the opposite preference for this information is "do not like to drink milk").
  • the weight corresponding to the preference is updated (such as the weight plus 1).
  • the weight of the preference corresponding to the information is first updated (for example, the weight is increased by 1), and then calculated. The difference between the weight of the preference corresponding to the information and the weight of the opposite preference corresponding to the information, and further confirming the user's preference information according to the difference and recording.
  • the preference corresponding to the information does not exist in the structure corresponding to the preference class and there is no opposite preference, the information is a new preference of the user.
  • the new preference is established in the structure corresponding to the preference class, and the record is recorded.
  • the weight of the new preference, the weight value of the new preference may be set according to personal preference, or may be set according to a system preset rule.
  • the preference corresponding to the information is first established, and the record is recorded.
  • the weight of the preference corresponding to the information (such as the weight of the weight is 1), and then calculating the difference between the weight of the preference corresponding to the information and the weight of the opposite preference corresponding to the information, further confirming the user's preference information according to the difference and recording .
  • the recording the information according to the size of the difference includes:
  • the difference is within a predetermined threshold range.
  • the information may be recorded in the second user information set or the structure, and the user information is further determined in the second user information set or structure.
  • the difference is within the preset threshold range. For example, when the difference between the weight of the preference corresponding to the information and the weight of the opposite preference corresponding to the information is less than or equal to the set threshold, the difference is considered to be within a preset threshold range. In this case, the user information needs to be further confirmed.
  • the weight of the determination result may be updated, for example, the weight of the determination result is set to the information of the determination result.
  • the weight of the opposite preference is the sum of the set thresholds.
  • the preset threshold range and the set threshold may be set according to user preferences or automatically set by the system of the machine.
  • the preference with the weight value is a correct preference of the user. For example, when the difference between the weight of the preference corresponding to the information and the weight of the opposite preference corresponding to the information is greater than a set threshold, the preference with the large weight value is used as the correct preference of the user.
  • the user's preference information may be obtained through a user's voice interaction with the machine, or obtained by other means.
  • an information recording method is provided for the user's preference class information, and the method The method can adjust the contradictory information and correct the user's wrong preference, thereby ensuring that the recorded user information is more accurate, and when the user preference information needs to be used, the user can be more accurately provided with the service.
  • FIG. 7 is a schematic structural diagram of a user information recording apparatus according to an embodiment of the present application.
  • the device 40 includes an acquisition module 410, a first determination module 420, a first recording module 430, and a second recording module 440.
  • the collecting module 410 is configured to collect the information of the user; the first determining module 420 is configured to analyze the information, determine a category of the information, and the first recording module 430 is configured to: according to the determined information. a category, the information is recorded in the first user information set corresponding to the category of the information; the second recording module 440 is configured to: record the information and the at least one user information in the first user information set In case of conflict, the information of the conflict is recorded into the second set of user information.
  • the embodiment of the present application provides a user information recording device, which records user information into a first user information set according to a category of user information.
  • the information and the first user information set are collected.
  • the conflicted user information is recorded into the second user information set.
  • the embodiment can process the conflicting user information, and improve the accuracy of the user information record.
  • recording user information according to the information category can make the recorded user information more specific and convenient for subsequent user behavior analysis.
  • FIG. 8 another embodiment of the present application provides a user information recording apparatus.
  • the apparatus further includes: a setting module 450, a second determining module 460, and a third record. Module 470.
  • the setting module 450 is configured to set an emergency coefficient of the information in the second user information set, and the second determining module 460 is configured to determine a determination result of the information according to the emergency coefficient; the third recording module 470 And for recording, according to the category of the information, the determination result of the information into the first user information set corresponding to the category.
  • the user information is separately recorded according to the category of the user information.
  • the conflicting user information in the process of recording user information, when the information conflicts with the recorded user information in the first user information set, the conflicting user information is recorded into the second user information set, and The user's uncertainty information is reconfirmed in the second user information set, and the determined result is recorded under the category corresponding to the user information.
  • the embodiment of the present embodiment can accurately record user information and process conflicting user information, and the user information is continuously improved by using such an implementation manner, so that when the user information needs to be used in subsequent scenarios, the first user information set can be obtained. Obtain the corresponding user information for pre-judgment or pre-filling the information to provide users with more intimate services.
  • FIG. 9 is a schematic structural diagram of a user information recording apparatus according to another embodiment of the present application.
  • the device 50 includes an acquisition module 510, a first determination module 520, a first recording module 530, a second recording module 540, a setting module 550, a second determining module 560, and a third recording module 570.
  • the collecting module 510 is configured to collect the information of the user, and the first determining module 520 is configured to analyze the information to determine a category of the information, and the first recording module 530 is configured to: according to the determined information. a class, the information is recorded in the first user information set corresponding to the category of the information; the second recording module 540 is configured to: record the information and the at least one user information in the first user information set When the conflict occurs, the information of the conflict is recorded into the second set of user information; the setting module 550 is configured to set the emergency coefficient of the information in the second set of user information; and the second determining module 560 is configured to The emergency coefficient determines the determination result of the information; the third recording module 570 is configured to record the determination result of the information into the first user information set corresponding to the category according to the category of the information.
  • the first recording module 530 includes: a first determining unit 5301, a first creating unit 5302, a second determining unit 5303, and a first confirming unit 5304.
  • the first determining unit 5301 is configured to determine whether an item corresponding to the information exists in the first user information set corresponding to the determining class
  • the first creating unit 5302 is configured to: if the first user information set corresponding to the determining class If the item corresponding to the information does not exist, the item is created in the first user information set corresponding to the determining class, and the information is stored to the item as the content of the item; the second determining
  • the unit 5303 is configured to determine, if the item corresponding to the information exists in the first user information set corresponding to the determining class, whether the content of the item matches the information
  • the first confirming unit 5304 is configured to If the content of the item does not match the information, it is confirmed that there is a user information conflict.
  • the first recording module 530 further includes: a third determining unit 5305, a second creating unit 5306, a fourth determining unit 5307, a third creating unit 5308, and the first update, when the type of the information is information of a custom class.
  • Unit 5309 The third determining unit 5305 is configured to determine whether the first user information set corresponding to the custom class has a habit corresponding to the information
  • the second creating unit 5306 is configured to: if the first user information set corresponding to the custom class If there is no habit corresponding to the information, the habit corresponding to the information is created in the first user information set corresponding to the habit class, and the information is stored, and the information is used as an attribute of the habit, and is recorded.
  • the fourth determining unit 5307 is configured to determine whether the attribute of the habit matches the information if a habit corresponding to the information exists in the first user information set corresponding to the habit class;
  • the third creating unit 5308 is configured to: if the attribute of the habit does not match the information, establish a new habit corresponding to the information in the first user information set corresponding to the habit class, and store the information, The information is used as an attribute of the new habit, and the weight corresponding to the new habit is recorded;
  • the first updating unit 5309 is configured to: if the attribute of the habit is related to the information Right, updating the weight corresponding to the habit.
  • the first recording module 530 further includes: a fifth determining unit 5310, a sixth determining unit 5311, a first recording unit 5312, a second updating unit 5313, and a seventh determining, when the information is of a preference type.
  • a fifth determining unit 5310 configured to determine whether a preference corresponding to the information exists in the first user information set corresponding to the preference class
  • a sixth determining unit 5311 configured to: if the first user information set corresponding to the preference class If there is a preference corresponding to the information, determining whether there is a reverse preference corresponding to the information in the first user information set corresponding to the preference class
  • the first recording unit 5312 is configured to: if the preference class corresponds to the first If the opposite preference exists in the user information set, updating the weight of the preference corresponding to the information, and calculating a difference between the weight of the preference and the weight of the opposite preference, and recording the information according to the size of the difference
  • the second updating unit 5313 is configured to update the weight of the preference corresponding to the information if the opposite preference does not exist in the first user information set corresponding to the preference class.
  • the seventh determining unit 5314 is configured to determine, if the preference corresponding to the information does not exist in the first user information set corresponding to the preference class, determine whether the information is corresponding to the first user information set corresponding to the preference class.
  • the second recording unit 5315 is configured to: if the opposite preference exists in the first user information set corresponding to the preference class, establish the information corresponding to the first user information set corresponding to the preference class a preference, and recording the weight of the preference, and calculating a difference between the weight of the preference and the weight of the opposite preference, recording the information according to the size of the difference; the fourth creating unit 5316, if The preference class corresponds to The opposite preference is not present in the first user information set, and the preference corresponding to the information is established in the first user information set corresponding to the preference class, and the weight of the preference is recorded.
  • the recording the information according to the size of the difference specifically includes: when the difference is within a predetermined threshold range, confirming that there is a user information conflict; when the difference is not in the predetermined When the threshold is within the range, the preference that the weight value is large is determined to be the correct preference of the user.
  • the embodiment of the present application provides a user information recording apparatus, which collects information of a user and determines a category of the information, the category includes a determining class, a habit class, and a preference class, and then storing the user information to the information according to the category.
  • the category includes a determining class, a habit class, and a preference class, and then storing the user information to the information according to the category.
  • the information is recorded into the second user information set, and the information in the second user information set is confirmed, and the confirmation result is confirmed. Recorded in the first user information set corresponding to the category of the information.
  • This embodiment can accurately record user information, and provides a guarantee for the user to perform appropriate services.
  • FIG. 10 is a schematic diagram showing the hardware structure of an electronic device according to an embodiment of the present disclosure.
  • the electronic device 60 can perform the user information recording method as described above, and can be any suitable smart terminal, such as an intelligent robot. Robot assistants, PDAs, personal computers, tablets, smartphones, wearable smart devices, etc.
  • the electronic device 60 includes: one or more processors 610 and a memory 620, and one processor 610 is taken as an example in FIG.
  • the processor 610 and the memory 620 may be connected by a bus or other means, and the connection by a bus is taken as an example in FIG.
  • the memory 620 is a non-volatile computer readable storage medium and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, such as a program corresponding to the user information recording method in the embodiment of the present application.
  • An instruction/module (for example, the acquisition module 410, the first determination module 420, the first recording module 430, and the second recording module 440 shown in FIG. 7).
  • the processor 610 executes various functional applications of the server and data processing by executing non-volatile software programs, instructions, and modules stored in the memory 620, that is, implementing the above-described method embodiment user information recording method.
  • the memory 620 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may be stored Data created according to the use of the user information recording device, and the like.
  • memory 620 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • memory 620 can optionally include memory remotely located relative to processor 610, which can be connected to the user information recording device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the one or more modules are stored in the memory 620, and when executed by the one or more processors 610, perform a user information recording method in any of the above method embodiments.
  • the embodiment of the present application further provides a computer program product, including a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer,
  • the computer performs the user information recording method in any of the above method embodiments, for example, performs the method steps 31 to 34 in FIG. 2 described above, the method steps 31 to 37 in FIG. 3, and the method step 3311 in FIG. Go to step 3315, method steps 3321 to 3325 in FIG. 5, and method steps 3331 to 3337 in FIG. 6, to implement modules 410-440 in FIG. 7, modules 410-470 in FIG. 8, and modules in FIG. 510-570, the function of units 5301-5316.
  • the computer software can be stored in a computer readable storage medium, which, when executed, can include the flow of an embodiment of the methods described above.
  • the storage medium may be a magnetic disk, an optical disk, a read-only storage memory, or a random storage memory.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A user information recording method and apparatus, and an electronic device. The method comprises: collecting information about the user (31); analyzing the information to determine the category of the information (32); recording, according to the determined category of the information, the information in a first user information set corresponding to the category of the information (33); and when the recorded information conflicts with at least one piece of user information in the first user information set, recording the conflicting information in a second user information set (34). By means of the user information recording method and apparatus and the electronic device, different categories of user information can be recorded, and user information having conflicting records can be processed, thereby effectively improving the accuracy of user information recording.

Description

用户信息记录方法、装置及电子设备User information recording method, device and electronic device 技术领域Technical field
本申请涉及数据收集技术领域,特别是涉及一种用户信息记录方法、装置及电子设备。The present application relates to the field of data collection technologies, and in particular, to a user information recording method, apparatus, and electronic device.
背景技术Background technique
用户信息收集和用户行为分析已经成为当前大家研究的一个热门问题。正确的收集用户信息,并合理的运用该用户信息,能够准确有效的进行用户行为分析,为用户体验带来质的飞跃。因此,有效而准确的收集用户信息具有重大的意义。User information collection and user behavior analysis has become a hot issue for everyone. Correctly collecting user information and using this user information reasonably can accurately and effectively analyze user behavior, bringing a qualitative leap to user experience. Therefore, effective and accurate collection of user information is of great significance.
然而,目前的用户信息收集和用户行为分析处于初级阶段,还没有一种合适的方法能够准确的记录更多的用户信息。However, current user information collection and user behavior analysis are in their infancy, and there is no suitable way to accurately record more user information.
发明内容Summary of the invention
本申请实施例主要解决用户信息记录不够准确的问题。The embodiment of the present application mainly solves the problem that the user information record is not accurate enough.
为解决上述技术问题,本申请实施例采用的一个技术方案是:提供一种用户信息记录方法,该方法包括:采集所述用户的信息;分析所述信息,确定所述信息的类别;根据确定的所述信息的类别,将所述信息记录至所述信息的类别所对应的第一用户信息集合中,在记录的信息与所述第一用户信息集合中的至少一项用户信息冲突时,将冲突的所述信息记录至第二用户信息集合中。In order to solve the above technical problem, a technical solution adopted by the embodiment of the present application is: providing a user information recording method, the method comprising: collecting information of the user; analyzing the information, determining a category of the information; The category of the information is recorded in the first user information set corresponding to the category of the information, and when the recorded information conflicts with at least one user information in the first user information set, The conflicting information is recorded into a second set of user information.
为解决上述技术问题,本申请实施例采用的另一个技术方案是:提供一种用户信息记录装置,该装置包括:采集模块,用于采集所述用户的信息;第一确定模块,用于分析所述信息,确定所述信息的类别;第一记录模块,用于根据确定的所述信息的类别,将所述信息记录至所述信息的类别所对应的第一用户信息集合中;第二记录模块,用于在记录的信息与所述第一用户信息集合中的至少一项用户信息冲突时,将冲突的所述信息记录至第二用户信息集合中。In order to solve the above technical problem, another technical solution adopted by the embodiment of the present application is: providing a user information recording device, the device comprising: an acquisition module, configured to collect information of the user; and a first determining module, configured to analyze Determining, by the information, a category of the information; the first recording module, configured to record the information into a first user information set corresponding to a category of the information according to the determined category of the information; And a recording module, configured to record the conflicting information into the second user information set when the recorded information collides with the at least one user information in the first user information set.
为解决上述技术问题,本申请实施例采用的又一个技术方案是:提供一种电子设备,该电子设备包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至 少一个处理器执行的指令程序,所述指令程序被所述至少一个处理器执行,以使所述至少一个处理器执行如上所述的方法。In order to solve the above technical problem, another technical solution adopted by the embodiment of the present application is to provide an electronic device, where the electronic device includes: at least one processor; and a memory communicably connected to the at least one processor; The memory is stored to be An instruction program executed by one processor, the instruction program being executed by the at least one processor to cause the at least one processor to perform the method as described above.
为解决上述技术问题,本申请实施例采用的再一个技术方案是:提供一种计算机程序产品,所述计算机程序产品包括:非易失性计算机可读存储介质以及内嵌于所述非易失性计算机可读存储介质的计算机程序指令;所述计算机程序指令包括用以使处理器执行如上所述的方法的指令。In order to solve the above technical problem, another technical solution adopted by the embodiment of the present application is to provide a computer program product, the computer program product comprising: a non-volatile computer readable storage medium and embedded in the nonvolatile Computer program instructions of a computer readable storage medium; the computer program instructions comprising instructions to cause a processor to perform the method as described above.
本申请实施例提供的用户信息记录方法及装置,将采集到的用户信息,根据信息类别进行相应的记录,分别存储至所述信息的类别所对应的第一用户信息集合中,并且当记录的信息与第一用户信息集合中记录的信息产生冲突时,确定该信息是需要进一步确认的信息,并将该信息记录至第二用户信息集合中。该实施方式能够实现用户信息的分类记录,并且能够准确的记录用户的信息。The method and device for recording user information provided by the embodiment of the present application, the collected user information is correspondingly recorded according to the information category, and respectively stored in the first user information set corresponding to the category of the information, and when recorded When the information collides with the information recorded in the first user information set, it is determined that the information is information that needs further confirmation, and the information is recorded into the second user information set. This embodiment enables classification recording of user information and accurate recording of user information.
附图说明DRAWINGS
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。The one or more embodiments are exemplified by the accompanying drawings in the accompanying drawings, and FIG. The figures in the drawings do not constitute a scale limitation unless otherwise stated.
图1是本申请实施例提供的用户信息记录方法的运行环境的示意图;1 is a schematic diagram of an operating environment of a user information recording method provided by an embodiment of the present application;
图2为本申请实施例提供的用户信息记录方法的流程示意图;2 is a schematic flowchart of a method for recording user information provided by an embodiment of the present application;
图3为本申请另一实施例提供的用户信息记录方法的流程示意图;3 is a schematic flowchart of a method for recording user information according to another embodiment of the present application;
图4是本申请又一实施例提供的根据确定的所述信息的类别,将所述信息记录至所述信息的类别所对应的第一用户信息集合中的方法的流程示意图;FIG. 4 is a schematic flowchart of a method for recording the information into a first user information set corresponding to a category of the information according to the determined category of the information according to another embodiment of the present disclosure;
图5是本申请再一实施例提供的根据确定的所述信息的类别,将所述信息记录至所述信息的类别所对应的第一用户信息集合中的方法的流程示意图;FIG. 5 is a schematic flowchart of a method for recording the information into a first user information set corresponding to a category of the information according to the determined category of the information according to another embodiment of the present application;
图6是本申请还一实施例提供的根据确定的所述信息的类别,将所述信息记录至所述信息的类别所对应的第一用户信息集合中的方法的流程示意图;FIG. 6 is a schematic flowchart of a method for recording the information into a first user information set corresponding to a category of the information according to the determined category of the information according to an embodiment of the present disclosure;
图7是本申请实施例提供的用户信息记录装置的结构示意图; 7 is a schematic structural diagram of a user information recording apparatus according to an embodiment of the present application;
图8是本申请另一实施例提供的用户信息记录装置的结构示意图;FIG. 8 is a schematic structural diagram of a user information recording apparatus according to another embodiment of the present application; FIG.
图9是本申请又一实施例提供的用户信息记录装置的结构示意图;FIG. 9 is a schematic structural diagram of a user information recording apparatus according to still another embodiment of the present application;
图10是本申请实施例提供的电子设备的硬件结构示意图。FIG. 10 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present disclosure.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
请参照图1,图1为本申请实施例提供的用户信息记录方法的运行环境的示意图。如图1所示,该应用环境包括:用户10、智能终端20。Please refer to FIG. 1. FIG. 1 is a schematic diagram of an operating environment of a user information recording method according to an embodiment of the present disclosure. As shown in FIG. 1 , the application environment includes: a user 10 and a smart terminal 20 .
用户10可以为具有任何数量的,具有相同或者相近操作行为的群体,例如,网络用户群体、手机用户群体、图书馆用户群体等等,用户10也可以为单独的个体。不同的用户10具有不同的个性化要求、使用习惯、使用需求等,因此每个用户都有其特定的用户数据。 User 10 may be any group having any number of similar or similar operational behaviors, such as a network user community, a mobile phone user community, a library user community, etc., and user 10 may also be a separate individual. Different users 10 have different personalization requirements, usage habits, usage requirements, etc., so each user has their own specific user data.
用户10可以通过任何合适的类型的,一种或者多种用户交互设备(比如鼠标、键盘、遥控器、触摸屏、体感摄像头以及音频采集装置等)与智能终端20进行交互,输入指令或者控制智能终端20执行一种或者多种操作,在用户10与智能终端20进行交互的过程中,所述智能终端20对所述用户10进行信息收集。该信息收集是一个动态持续的过程,使智能终端20能够不断地丰富完善用户10的信息。The user 10 can interact with the smart terminal 20 by any suitable type, one or more user interaction devices (such as a mouse, a keyboard, a remote controller, a touch screen, a somatosensory camera, an audio capture device, etc.), input commands or control the smart terminal. 20 performs one or more operations, and the smart terminal 20 performs information collection on the user 10 during the interaction between the user 10 and the smart terminal 20. This information collection is a dynamic and continuous process that enables the smart terminal 20 to continuously enrich the information of the user 10.
其中,该智能终端20可以为任何合适类型的,具有一定逻辑运算能力,提供一个或者多个能够满足用户意图的功能的电子设备。例如,机器人、PDA、个人电脑、平板电脑、智能手机、可穿戴智能设备等。该智能终端20还包括任何合适类型的,用以存储数据的存储介质,例如磁碟、光盘(CD-ROM)、只读存储记忆体或随机存储记忆体等。该智能终端20可以包括一个或者多个逻辑运算模块,单线程或者多线程并行执行任何合适类型的功能或者操作,例如查看数据库、编辑图表等。所述逻辑运算模块可以是任何合适类型的,能够执行逻辑运算操作的电子电路或者贴片式电子器件,例如单核心处理器、多核心处理器、图形处理器(GPU)。The smart terminal 20 can be any suitable type of electronic device that has certain logical computing capabilities and provides one or more functions that can satisfy the user's intention. For example, robots, PDAs, personal computers, tablets, smart phones, wearable smart devices, and the like. The smart terminal 20 also includes any suitable type of storage medium for storing data, such as a magnetic disk, a compact disc (CD-ROM), a read only memory or a random access memory. The smart terminal 20 may include one or more logical computing modules that perform any suitable type of function or operation in parallel, such as viewing a database, editing a chart, etc., in a single thread or multiple threads. The logic operation module can be any suitable type of electronic circuit or chip-type electronic device capable of performing logical operation operations, such as a single core processor, a multi-core processor, a graphics processing unit (GPU).
其中,该智能终端20还可以通过其包含的图像采集设备或者声音采集设备获取用户10的信息,该信息获取的过程也是一个动态持续的过程,使智能终端20能够不断地丰富完善用户10的信息。 The smart terminal 20 can also obtain the information of the user 10 through the image collection device or the sound collection device that is included in the smart terminal 20, and the process of obtaining the information is also a dynamic and continuous process, so that the smart terminal 20 can continuously enrich and improve the information of the user 10. .
需要说明的是,本申请实施例提供的用户信息记录方法的还可以进一步的拓展到其他合适的应用环境中,而不限于图1中所示的应用环境。虽然图1中仅显示了三个用户10和两个智能终端20,但本领域技术人员可以理解的是,在实际应用过程中,该应用环境还可以包括更多或者更少的用户、智能终端。It should be noted that the user information recording method provided by the embodiment of the present application may be further extended to other suitable application environments, and is not limited to the application environment shown in FIG. 1 . Although only three users 10 and two smart terminals 20 are shown in FIG. 1, those skilled in the art can understand that in an actual application process, the application environment may further include more or fewer users and smart terminals. .
在人机交互过程中或者用户行为记录过程中,该智能终端20根据预设的方法对用户10的信息进行记录,动态的维护专属于某一用户的一份信息集合,从而在后续各个场景中需要使用用户信息时,能够从已经记录的用户信息集合中获取相应的信息,以进行预判或者信息的预填写,为用户提供更智能更贴心的服务。具体地,如图2所示,用户信息记录方法的过程包括:During the human-computer interaction process or during the user behavior recording process, the smart terminal 20 records the information of the user 10 according to a preset method, and dynamically maintains a set of information specific to a certain user, thereby being in subsequent scenarios. When the user information needs to be used, the corresponding information can be obtained from the already recorded user information set to perform pre-judgment or pre-filling of the information, thereby providing a smarter and more intimate service for the user. Specifically, as shown in FIG. 2, the process of the user information recording method includes:
步骤31、采集所述用户的信息;Step 31: Collect information about the user.
步骤32、分析所述信息,确定所述信息的类别;Step 32: Analyze the information to determine a category of the information;
步骤33、根据确定的所述信息的类别,将所述信息记录至所述信息的类别所对应的第一用户信息集合中;Step 33: Record, according to the determined category of the information, the first user information set corresponding to the category of the information;
步骤34、在记录的信息与所述第一用户信息集合中的至少一项用户信息冲突时,将冲突的所述信息记录至第二用户信息集合中。Step 34: When the recorded information collides with at least one user information in the first user information set, record the conflicted information into the second user information set.
可以由上述智能终端来执行该用户信息记录方法,从而可以由执行本方法的智能终端采集所述用户的信息。该信息包括所述用户发送的信息或者接收的信息,该信息还可以包括与所述用户直接相关或间接相关的所有信息。例如,用于确定所述用户身份的所有信息、用于表示所述用户行为习惯的所有信息、用于表示所述用户个人喜好的所有信息、用于表示所述用户人际关系的所有信息以及某一特定场景下所述用户发送或接收的信息等。The user information recording method can be executed by the smart terminal described above, so that the information of the user can be collected by the smart terminal executing the method. The information includes information sent by the user or received information, which may also include all information directly or indirectly related to the user. For example, all information used to determine the identity of the user, all information used to represent the user's behavioral habits, all information used to represent the user's personal preferences, all information used to represent the user's personal relationships, and some Information or the like sent or received by the user in a specific scenario.
采集所述用户的信息之后,以文本形式存储所述信息,可以基于语义分析等其他人工智能及计算语言学的方法对获取到的文本信息进行分类。通过对文本信息进行特征提取和语义分析,可以提取出文本信息中一些确定的信息,该确定的信息可以进一步划分出更细的类别,例如,用户身份类信息(比如姓名、籍贯、性别、年龄、身高、体重、面部特征、身份证号码、地址等)、用户习惯类信息(比如工作日七点起床、休息日八点起床、经常乘坐的公交、经常连接的WIFI、经常在同一家店吃午餐等)、用户偏好类信息(比如喜欢爬山、喜欢喝某款咖啡、喜欢看武侠小说、喜欢玩某类游戏等),等等。 After collecting the information of the user, the information is stored in text form, and the acquired text information may be classified based on other artificial intelligence and computational linguistic methods such as semantic analysis. By extracting and semantically analyzing the text information, some certain information in the text information can be extracted, and the determined information can be further divided into more detailed categories, such as user identity information (such as name, origin, gender, age). , height, weight, facial features, ID number, address, etc.), user habits (such as getting up at 7 o'clock on weekdays, getting up at 8 o'clock on rest day, frequent bus rides, frequently connected WIFI, often eating in the same store Lunch, etc., user preference information (such as like climbing a mountain, like to drink a certain coffee, like to watch martial arts novels, like to play certain games, etc.), and so on.
确定所述信息的类别后,根据所述信息的类别,将所述信息分别存储至所述信息类别对应的第一用户信息集合中。该第一用户信息集合是根据确定的信息类别预先建立的一种存储数据的结构,其可以将相同类型的数据构成一个数据集合,该第一用户信息集合包含多个,每个第一用户信息集合分别对应一种信息类别。在确定所述信息类别后,可以将所述信息的类别与第一用户信息集合的类别名称进行匹配,若匹配一致,则将该信息记录至该第一用户信息集合中;或者通过其他方式实现根据信息的类别记录用户信息。After determining the category of the information, the information is separately stored in the first user information set corresponding to the information category according to the category of the information. The first user information set is a structure for storing data pre-established according to the determined information category, which can form the same type of data into a data set, the first user information set includes multiple, each first user information The collection corresponds to one type of information. After determining the information category, the category of the information may be matched with the category name of the first user information set. If the matching is consistent, the information is recorded into the first user information set; or implemented by other means. User information is recorded according to the category of the information.
此外,还建立有第二用户信息集合,该第二用户信息集合也是一种存储数据的结构,其与第一用户信息集合的区别在于,该第二用户信息集合主要用于存储用户的不确定信息,存储时不需要区分信息的类别。其中,该不确定信息包括与所述确定的信息中不一致的、存在矛盾或冲突的信息。当在记录的信息与信息的类别所对应的第一用户信息集合中的至少一项用户信息冲突时,即认为该信息是不确定的用户信息,此时将该在记录的信息存储至第二用户信息集合中,以便在预定时间内,通过向用户请求等其他方式来进一步确定这些用户信息的确定结果。In addition, a second user information set is also established, and the second user information set is also a structure for storing data, which is different from the first user information set in that the second user information set is mainly used to store the user's uncertainty. Information, when stored, does not need to distinguish the category of information. The uncertainty information includes information that is inconsistent or conflicting with the determined information. When at least one piece of user information in the first user information set corresponding to the category of the information conflicts with the recorded information, the information is considered to be indeterminate user information, and the recorded information is stored in the second The user information set is used to further determine the determination result of the user information by requesting the user or the like within a predetermined time.
在一些实施例中,该第一用户信息集合可以是结构体,为每一信息的类别分别设置一结构体,由不同类别的结构体分别存储用户信息。该第二用户信息集合也可以是结构体,通过结构体来记录用户的一些不确定信息。通过结构体来记录用户信息,能够利用结构体封装的特点,实现每一结构体中存储的数据的再次利用,并且可以持续动态的更新结构体中的数据,以记录更多的用户信息。In some embodiments, the first set of user information may be a structure, and a structure is separately set for each category of information, and user information is separately stored by different types of structures. The second set of user information may also be a structure through which some uncertain information of the user is recorded. By recording the user information through the structure, the characteristics of the structure encapsulation can be utilized to realize the reuse of the data stored in each structure, and the data in the structure can be continuously updated dynamically to record more user information.
本申请实施例提供了一种用户信息记录方法,该方法根据用户信息的类别来分别将用户信息记录至第一用户信息集合中,在记录用户信息过程中,当该信息与第一用户信息集合中已记录的用户信息存在冲突时,将该冲突的用户信息记录至第二用户信息集合中。区别于相关技术,本实施例能够处理记录冲突的用户信息,提高了用户信息记录的准确性。此外,根据信息类别来记录用户信息,可使记录的用户信息更充分具体,便于后续的用户行为分析。The embodiment of the present application provides a user information recording method, which records user information into a first user information set according to a category of user information, and when the user information is recorded, the information and the first user information set are collected. When there is a conflict between the recorded user information, the conflicted user information is recorded into the second user information set. Different from the related art, the embodiment can process the conflicting user information, and improve the accuracy of the user information record. In addition, recording user information according to the information category can make the recorded user information more specific and convenient for subsequent user behavior analysis.
如图3所示,本申请另一实施例提供了一种用户信息记录方法,该方法与图2的区别主要在于,该方法还包括:As shown in FIG. 3, another embodiment of the present application provides a user information recording method, which is different from FIG. 2 mainly in that the method further includes:
步骤35、设置所述第二用户信息集合中所述信息的紧急系数;Step 35: Set an emergency coefficient of the information in the second user information set.
步骤36、根据所述紧急系数确定所述信息的确定结果; Step 36: Determine a determination result of the information according to the emergency coefficient;
步骤37、根据所述信息的类别,将所述信息的确定结果记录至所述类别对应的第一用户信息集合中。Step 37: Record the determination result of the information into the first user information set corresponding to the category according to the category of the information.
在本实施例中,每一项不确定的用户信息加入第二用户信息集合中时,都会为该不确定的用户信息设置一个紧急系数,该紧急系数用于表示该不确定的用户信息需要被准确确认的一个紧急程度,例如,紧急系数为1,则表示紧急程度最高,需要立即进行确认;紧急系数为2,则表示紧急程度为中等,可以在预设时间内进行确认;紧急系数为3,则表示紧急程度较低,可以在更长的时间之后再进行确认。该紧急程度及其对应的紧急系数可以预先设置好,可以是系数越高表示越紧急,也可以是系数越低表示越紧急,在此不做限定。In this embodiment, when each of the indeterminate user information is added to the second user information set, an emergency coefficient is set for the uncertain user information, and the emergency coefficient is used to indicate that the uncertain user information needs to be An urgency level that is accurately confirmed, for example, an emergency factor of 1, indicates that the urgency is the highest and needs to be confirmed immediately; an emergency factor of 2 indicates that the urgency is medium and can be confirmed within a preset time; the emergency factor is 3. , indicating that the urgency is low and can be confirmed after a longer period of time. The urgency level and the corresponding emergency coefficient may be set in advance, and the higher the coefficient, the more urgent, or the lower the coefficient, the more urgent, which is not limited herein.
此外,紧急系数明确之后,根据紧急系数确定所述信息的确定结果具体包括:通过语音询问或者消息发送等方式直接向用户进行信息确认,或者,在接下来的预设时间段内通过分析用户行为来进行进一步地确认,或者,当该不确定信息再次出现在某个场景中时,再与用户进行直接或间接的确认,等。In addition, after the emergency coefficient is clear, determining the determination result of the information according to the emergency coefficient specifically includes: directly confirming the information to the user by using a voice inquiry or a message transmission, or analyzing the user behavior in the next preset time period. To confirm further, or when the uncertain information appears again in a certain scene, then directly or indirectly confirm with the user, and so on.
获取到该不确定的用户信息的确定结果之后,再根据该用户信息的类别,将该确定结果存储至该用户信息所对应的类别的第一用户信息集合中。此外,获取到用户信息的确定结果后,可以更新该确定结果对应的信息在第一用户信息集合中的权重。After obtaining the determination result of the indeterminate user information, the determination result is stored in the first user information set of the category corresponding to the user information according to the category of the user information. In addition, after obtaining the determination result of the user information, the weight of the information corresponding to the determination result in the first user information set may be updated.
在本申请实施例中,根据用户信息的类别来分别将用户信息记录至第一用户信息集合中,在记录用户信息过程中,当该信息与第一用户信息集合中已记录的用户信息存在冲突时,将该冲突的用户信息记录至第二用户信息集合中,并且,在该第二用户信息集合中再次确认用户的不确定性信息,并把确定的结果记录至用户信息对应的类别下。本实施例的实施方式能够准确的记录用户信息,并处理冲突的用户信息,通过这种实施方式来不断完善用户信息,从而在后续各个场景中需要使用用户信息时,能够从第一用户信息集合中获取相应的用户信息进行预判或信息的预填写,为用户提供更贴心的服务。In the embodiment of the present application, the user information is respectively recorded into the first user information set according to the category of the user information, and in the process of recording the user information, when the information conflicts with the recorded user information in the first user information set And recording the conflicting user information into the second user information set, and reconfirming the user uncertainty information in the second user information set, and recording the determined result to the category corresponding to the user information. The embodiment of the present embodiment can accurately record user information and process conflicting user information, and the user information is continuously improved by using such an implementation manner, so that when the user information needs to be used in subsequent scenarios, the first user information set can be obtained. Obtain the corresponding user information for pre-judgment or pre-filling the information to provide users with more intimate services.
在一些实施例中,如图4所示,当所述信息的类别为确定类时,上述实施例中的步骤33具体包括:In some embodiments, as shown in FIG. 4, when the category of the information is a determining class, the step 33 in the foregoing embodiment specifically includes:
3311、判断所述确定类对应的第一用户信息集合中是否存在所述信息对应的项目;3311. Determine whether an item corresponding to the information exists in the first user information set corresponding to the determining class.
3312、若所述确定类对应的第一用户信息集合中不存在所述信息对 应的项目,则在所述确定类对应的第一用户信息集合中创建所述项目,并存储所述信息至所述项目,以作为所述项目的内容;3312. If the information pair does not exist in the first user information set corresponding to the determining class, The project, the project is created in the first user information set corresponding to the determining class, and the information is stored to the project as the content of the project;
3313、若所述确定类对应的第一用户信息集合中存在所述信息对应的项目,则判断所述项目的内容与所述信息是否匹配;3313. If an item corresponding to the information exists in the first user information set corresponding to the determining class, determine whether the content of the item matches the information;
3314、若所述项目的内容与所述信息不匹配,则确认为存在用户信息冲突。3314. If the content of the item does not match the information, it is confirmed that there is a conflict of user information.
当采集的用户信息为确定类的信息时,本实施例给出了在所述第一用户信息集合中记录该信息的具体实施方式。例如,在结构体中记录用户信息,并且该确定类所对应的第一用户信息集合中记录的用户信息的形式为:When the collected user information is information of a certain class, the embodiment provides a specific implementation manner of recording the information in the first user information set. For example, the user information is recorded in the structure, and the form of the user information recorded in the first user information set corresponding to the determining class is:
Figure PCTCN2017072569-appb-000001
Figure PCTCN2017072569-appb-000001
上述结构体中,确定类对应的用户信息包括:项目和内容。该项目包括:姓名、出生日期、身份证号码、家庭地址等,每一项目下都有相应的内容。当所述信息对应的项目在上述结构体中不能查找到,则表示所述确定类所对应的结构体中不存在所述信息对应的项目,此时,在上述结构体中建立该信息对应的项目,并在建立的项目下记录该信息的具体内容,比如,在结构体中增加“籍贯:上海”。In the above structure, the user information corresponding to the determination class includes: an item and a content. The project includes: name, date of birth, ID number, home address, etc., each item has a corresponding content. When the item corresponding to the information is not found in the structure, it indicates that the item corresponding to the information does not exist in the structure corresponding to the determining class, and at this time, the information corresponding to the information is established in the structure. Project, and record the specific content of the information under the established project, for example, add "hometown: Shanghai" in the structure.
当所述信息对应的项目为上述结构体中记录的用户信息的项目中的一项时,表示所述确定类所对应的结构体中存在所述信息对应的项目,此时,进一步判断该信息的内容与结构体中记载的内容是否匹配,比如,结构体中姓名项目下的内容为“张三”,而所述信息的内容为“李四”,说明所述结构体中的项目的内容与所述信息的内容不匹配,此时确认为存在用户信息冲突,即已经记录的用户信息与当前获取的用户信息不一致。在这里,需要对“姓名”这一项目进行进一步确定,因此,可以将所述信息存储至上述实施例中描述的第二用户信息集合,在该第二用户信息集合中进一步确认该用户的姓名。该进一步确认的过程可参 考上述实施例中的叙述,在此不再赘述。此外,若所述结构体中的项目的内容与所述信息的内容匹配,则表示该信息已经准确记录在该结构体中了,此时不作处理。When the item corresponding to the information is one of the items of the user information recorded in the structure, the item corresponding to the information exists in the structure corresponding to the determining class, and at this time, the information is further determined. Whether the content matches the content recorded in the structure, for example, the content under the name item in the structure is "Zhang San", and the content of the information is "Li Si", indicating the content of the item in the structure The content of the information does not match. At this time, it is confirmed that there is a conflict of user information, that is, the user information that has been recorded is inconsistent with the currently obtained user information. Here, the item "name" needs to be further determined. Therefore, the information can be stored in the second user information set described in the above embodiment, and the name of the user is further confirmed in the second user information set. . The process of further confirmation can be referred to The description in the above embodiments will not be repeated here. In addition, if the content of the item in the structure matches the content of the information, it indicates that the information has been accurately recorded in the structure, and no processing is performed at this time.
在一些实施例中,如图5所示,当所述信息的类别为习惯类时,上述实施例中的步骤33具体包括:In some embodiments, as shown in FIG. 5, when the category of the information is a custom class, the step 33 in the foregoing embodiment specifically includes:
3321、判断所述习惯类对应的第一用户信息集合中是否存在所述信息对应的习惯;3321. Determine whether a habit corresponding to the information exists in the first user information set corresponding to the custom class;
3322、若所述习惯类对应的第一用户信息集合中不存在所述信息对应的习惯,则在所述习惯类对应的第一用户信息集合中创建所述信息对应的习惯,并存储所述信息,所述信息作为所述习惯的属性,并记录所述习惯对应的权重;3322. If the habit corresponding to the information does not exist in the first user information set corresponding to the custom class, create a habit corresponding to the information in the first user information set corresponding to the habit class, and store the Information, the information as an attribute of the habit, and recording the weight corresponding to the habit;
3323、若所述习惯类对应的第一用户信息集合中存在所述信息对应的习惯,则判断所述习惯的属性与所述信息是否匹配;3323. If there is a habit corresponding to the information in the first user information set corresponding to the custom class, determine whether the attribute of the habit matches the information;
3324、若所述习惯的属性与所述信息不匹配,则在所述习惯类对应的第一用户信息集合中建立所述信息对应的新习惯,并且存储所述信息,所述信息作为所述新习惯的属性,并记录所述新习惯对应的权重;3324. If the attribute of the habit does not match the information, establish a new habit corresponding to the information in the first user information set corresponding to the habit class, and store the information, where the information is The attributes of the new habit, and record the weights corresponding to the new habits;
3325、若所述习惯的属性与所述信息匹配,则更新所述习惯对应的权重。3325. If the attribute of the habit matches the information, update the weight corresponding to the habit.
当采集的用户信息为习惯类的信息时,本实施例给出了在所述第一用户信息集合中记录该信息的具体实施方式。例如,在结构体中记录用户信息,并且该习惯类所对应的结构体中记录的用户信息的形式为:When the collected user information is information of a custom class, the embodiment provides a specific implementation manner of recording the information in the first user information set. For example, the user information is recorded in the structure, and the form of the user information recorded in the structure corresponding to the custom class is:
Figure PCTCN2017072569-appb-000002
Figure PCTCN2017072569-appb-000002
上述结构体中,习惯类对应的用户信息包括:用户习惯的名称、属性及次数,该用户习惯的名称即表示该习惯(比如晨跑),该属性用于对该习惯作进一步的限定(比如7点开始晨跑),该次数是用于衡量该习惯的权重,其记录了该习惯已经被执行的次数,次数越大表示权重越大,说明该习惯坚持最久,是该用户不会轻易改变的习惯,相反,若权 重越小,则表示该习惯容易改变。In the above structure, the user information corresponding to the custom class includes: the name, the attribute, and the number of times the user is accustomed to, and the name that the user is accustomed to indicates the habit (such as morning running), and the attribute is used to further define the habit (for example, The morning run starts at 7 o'clock. The number is used to measure the weight of the habit. It records the number of times the habit has been executed. The higher the number, the greater the weight, indicating that the habit persists for the longest time. Changing habits, on the contrary, if The smaller the weight, the easier it is to change.
在本实施例中,首先将所述信息与上述结构体中的用户习惯的名称进行匹配,若能在上述结构体中查找到该信息对应的用户习惯的名称,则进一步判断该习惯对应的属性与该信息是否匹配,如果该习惯对应的属性与该信息不匹配,说明该信息是一个新的习惯,此时在上述结构体中建立该信息对应的习惯,包括其属性,并记录次数(比如次数为1),如果该习惯对应的属性与该信息匹配,说明在上述结构体中已经存在完全一致的习惯,则直接更新该习惯的次数,比如次数加1等。另外,若不能在上述结构体中查找到该信息对应的习惯名称,说明该习惯不存在,是一个新习惯,此时,在所述结构体中建立该新习惯,并记录其属性及次数。In this embodiment, the information is first matched with the name of the user in the structure, and if the name of the user corresponding to the information is found in the structure, the attribute corresponding to the habit is further determined. Whether the information matches the information, if the attribute corresponding to the habit does not match the information, indicating that the information is a new habit, and the habit corresponding to the information is established in the structure, including its attribute, and the number of records (for example) The number of times is 1). If the attribute corresponding to the habit matches the information, it indicates that there is already a completely consistent habit in the above structure, and the number of times of the habit is directly updated, for example, the number is increased by one. In addition, if the custom name corresponding to the information cannot be found in the above structure, it is a new habit that the habit does not exist. At this time, the new habit is established in the structure, and the attributes and times are recorded.
例如,该信息的内容为“周六早上七点设置了闹钟”,通过语义分析等相关技术可知,该习惯为“周六早上设置闹钟”,该习惯的属性为“早上七点”,如果在上述结构体中已经存在“周六早上七点设置了闹钟”的习惯,则直接对该习惯的次数进行更新(比如加1);如果在上述结构体中已经存在“周六早上设置闹钟”的习惯,但属性是“早上八点”,则需要建立该信息对应的习惯,并记录相应的次数(权重);如果在上述结构体中不存在“周六早上七点设置了闹钟”或者“周六早上设置闹钟”的习惯,则直接建立该信息对应的新习惯,并记录其属性及次数(权重)。For example, the content of the message is "Set an alarm clock at 7:00 on Saturday morning". According to related techniques such as semantic analysis, the habit is "set an alarm clock on Saturday morning". The attribute of the habit is "7 o'clock in the morning". In the above structure, there is already a habit of "setting an alarm clock at 7:00 on Saturday morning", and directly updating the number of times of the habit (for example, adding 1); if "the alarm clock is set on Saturday morning" already exists in the above structure Habit, but the attribute is "8 o'clock in the morning", you need to establish the habit of the information, and record the corresponding number of times (weight); if there is no "schedule at 7 o'clock on Saturday morning, set the alarm clock" or "week" in the above structure The habit of setting an alarm clock six in the morning directly establishes a new habit corresponding to the information and records its attributes and times (weights).
本实施例中,用户的习惯类信息可以通过用户行为分析来获取,也可以通过其他方式来获取。In this embodiment, the user's habit information can be obtained through user behavior analysis, or can be obtained by other means.
在本实施例中,为用户的习惯类的信息提供了一种信息记录方法,该方法可以更加详细的记录用户的习惯,并更具体的区分用户习惯,而且通过记录的习惯次数,能够分析出用户最常用的习惯,从而当用户再次处于相同或类似场景下时,能为用户提供更智能更贴心的服务。In this embodiment, an information recording method is provided for the user's habitual information, which can record the user's habits in more detail, and more specifically distinguish the user habits, and can analyze the habits of the recordings. The most common habits of users, so that when users are in the same or similar scenarios again, they can provide users with smarter and more intimate services.
在一些实施例中,如图6所示,当所述信息的类别为偏好类时,上述实施例中的步骤33具体包括:In some embodiments, as shown in FIG. 6, when the category of the information is a preference class, step 33 in the foregoing embodiment specifically includes:
3331、判断所述偏好类对应的第一用户信息集合中是否存在所述信息对应的偏好;3331. Determine whether a preference corresponding to the information exists in the first user information set corresponding to the preference class.
3332、若所述偏好类对应的第一用户信息集合中存在所述信息对应的偏好,则判断所述偏好类对应的第一用户信息集合中是否存在所述信息对应的相反偏好; 3332. If there is a preference corresponding to the information in the first user information set corresponding to the preference class, determining whether the opposite preference corresponding to the information exists in the first user information set corresponding to the preference class;
3333、若所述偏好类对应的第一用户信息集合中存在所述相反偏好,则更新所述信息对应的偏好的权重,并计算所述偏好的权重与所述相反偏好的权重的差值,根据所述差值的大小记录所述信息;3333. If the opposite preference exists in the first user information set corresponding to the preference class, update a weight of the preference corresponding to the information, and calculate a difference between the weight of the preference and the weight of the opposite preference, Recording the information according to the size of the difference;
3334、若所述偏好类对应的第一用户信息集合中不存在所述相反偏好,则更新所述信息对应的偏好的权重;3334. If the opposite preference does not exist in the first user information set corresponding to the preference class, update the weight of the preference corresponding to the information;
3335、若所述偏好类对应的第一用户信息集合中不存在所述信息对应的偏好,则判断所述偏好类对应的第一用户信息集合中是否存在所述信息对应的相反偏好;3335. If there is no preference corresponding to the information in the first user information set corresponding to the preference class, determine whether the opposite preference corresponding to the information exists in the first user information set corresponding to the preference class;
3336、若所述偏好类对应的第一用户信息集合中存在所述相反偏好,则在所述偏好类对应的第一用户信息集合中建立所述信息对应的偏好,并记录所述偏好的权重,并计算所述偏好的权重与所述相反偏好的权重的差值,根据所述差值的大小记录所述信息;3336. If the opposite preference exists in the first user information set corresponding to the preference class, establishing a preference corresponding to the information in the first user information set corresponding to the preference class, and recording the weight of the preference And calculating a difference between the weight of the preference and the weight of the opposite preference, and recording the information according to the size of the difference;
3337、若所述偏好类对应的第一用户信息集合中不存在所述相反偏好,则在所述偏好类对应的第一用户信息集合中建立所述信息对应的偏好,并记录所述偏好的权重。3337. If the opposite preference does not exist in the first user information set corresponding to the preference class, establish a preference corresponding to the information in the first user information set corresponding to the preference class, and record the preference Weights.
当采集的用户信息为偏好类的信息时,本实施例给出了在所述第一用户信息集合中记录该信息的具体实施方式。例如,在结构体中记录用户信息,并且该偏好类所对应的结构体中记录的用户信息的形式为:When the collected user information is information of a preference class, the embodiment provides a specific implementation manner of recording the information in the first user information set. For example, the user information is recorded in the structure, and the form of the user information recorded in the structure corresponding to the preference class is:
Figure PCTCN2017072569-appb-000003
Figure PCTCN2017072569-appb-000003
上述偏好类对应的结构体中定义了偏好及该偏好的权重,该偏好表示用户的个人喜好,该权重表示了用户喜欢该偏好的程度,权重越高表示用户越喜欢该偏好,反之,则没那么喜欢。The preference corresponding to the preference class defines a preference and a weight of the preference, the preference indicating a user's personal preference, the weight indicating the degree that the user likes the preference, and the higher the weight, the more the user likes the preference, and vice versa. So like it.
在本实施例中,在该偏好类对应的结构体中查找所述信息对应的偏好,并进一步在该偏好类对应的结构体中查找所述信息对应的相反偏好(比如,所述信息对应的偏好为“喜欢喝牛奶”,则该信息的相反偏好为“不喜欢喝牛奶”)。In this embodiment, searching for a preference corresponding to the information in the structure corresponding to the preference class, and further searching for a reverse preference corresponding to the information in the structure corresponding to the preference class (for example, the information corresponding to the The preference is "like to drink milk", the opposite preference for this information is "do not like to drink milk").
如果该偏好类对应的结构体中存在该信息对应的偏好且不存在相反偏好,则更新该偏好对应的权重(比如权重加1)。 If there is a preference corresponding to the information in the structure corresponding to the preference class and there is no opposite preference, the weight corresponding to the preference is updated (such as the weight plus 1).
如果偏好类对应的结构体中存在该信息对应的偏好且存在相反偏好,此时出现信息矛盾的情况,在这里,首先将该信息对应的偏好的权重进行更新(比如权重加1),然后计算该信息对应的偏好的权重与所述信息对应的相反偏好的权重的差值,根据该差值进一步确认用户的偏好信息并进行记录。If there is a preference corresponding to the information in the structure corresponding to the preference class and there is an opposite preference, then there is a situation where the information is contradictory. Here, the weight of the preference corresponding to the information is first updated (for example, the weight is increased by 1), and then calculated. The difference between the weight of the preference corresponding to the information and the weight of the opposite preference corresponding to the information, and further confirming the user's preference information according to the difference and recording.
如果偏好类对应的结构体中不存在该信息对应的偏好且不存在相反偏好,说明该信息是用户的一个新的偏好,此时,在该偏好类对应的结构体建立该新偏好,并记录该新偏好的权重,该新偏好的权重值可以根据个人喜好设定,也可以根据系统预设规律来设定。If the preference corresponding to the information does not exist in the structure corresponding to the preference class and there is no opposite preference, the information is a new preference of the user. At this time, the new preference is established in the structure corresponding to the preference class, and the record is recorded. The weight of the new preference, the weight value of the new preference may be set according to personal preference, or may be set according to a system preset rule.
如果偏好类对应的结构体中不存在该信息对应的偏好,但存在该信息对应的相反偏好,此时仍确认为出现信息矛盾的情况,在这里,首先建立该信息对应的偏好,并且记录该信息对应的偏好的权重(比如记权重为1),然后计算该信息对应的偏好的权重与所述信息对应的相反偏好的权重的差值,根据该差值进一步确认用户的偏好信息并进行记录。If there is no preference corresponding to the information in the structure corresponding to the preference class, but there is a reverse preference corresponding to the information, it is still confirmed that the information contradiction occurs. Here, the preference corresponding to the information is first established, and the record is recorded. The weight of the preference corresponding to the information (such as the weight of the weight is 1), and then calculating the difference between the weight of the preference corresponding to the information and the weight of the opposite preference corresponding to the information, further confirming the user's preference information according to the difference and recording .
在本实施例中,根据所述差值的大小记录所述信息具体包括:In this embodiment, the recording the information according to the size of the difference includes:
当所述差值在预定阈值范围内时,确认为存在用户信息冲突。此时,可以将该信息记录至第二用户信息集合或结构体中,在该第二用户信息集合或结构体中再进一步确定该用户信息,具体的确定用户信息的过程可参考上述实施例中的描述,在此不再赘述。其中,差值在该预设阈值范围内,例如,当该信息对应的偏好的权重与该信息对应的相反偏好的权重的差值小于等于设定阈值时,则认为在预设阈值范围内,此时需要进一步确认该用户信息,在通过上述实施例中描述的方式确定用户信息的确定结果后,可以更新该确定结果的权重,比如将该确定结果的权重设置为该确定结果的信息所对应的相反偏好的权重与设定阈值的和。其中,该预设阈值范围和设定阈值可根据用户喜好人为设定,或者由机器的系统自动设定。When the difference is within a predetermined threshold range, it is confirmed that there is a user information conflict. At this time, the information may be recorded in the second user information set or the structure, and the user information is further determined in the second user information set or structure. For the specific process of determining the user information, refer to the foregoing embodiment. The description is not repeated here. The difference is within the preset threshold range. For example, when the difference between the weight of the preference corresponding to the information and the weight of the opposite preference corresponding to the information is less than or equal to the set threshold, the difference is considered to be within a preset threshold range. In this case, the user information needs to be further confirmed. After determining the determination result of the user information in the manner described in the foregoing embodiment, the weight of the determination result may be updated, for example, the weight of the determination result is set to the information of the determination result. The weight of the opposite preference is the sum of the set thresholds. The preset threshold range and the set threshold may be set according to user preferences or automatically set by the system of the machine.
当所述差值不在所述预定阈值范围内时,确定所述权重值大的偏好为所述用户的正确偏好。例如,当该信息对应的偏好的权重与该信息对应的相反偏好的权重的差值大于设定阈值时,则以权重值大的偏好作为所述用户的正确偏好。When the difference is not within the predetermined threshold range, it is determined that the preference with the weight value is a correct preference of the user. For example, when the difference between the weight of the preference corresponding to the information and the weight of the opposite preference corresponding to the information is greater than a set threshold, the preference with the large weight value is used as the correct preference of the user.
本实施例中,该用户的偏好信息可以通过用户与机器的语音交互获取到,或者通过其他方式获取。In this embodiment, the user's preference information may be obtained through a user's voice interaction with the machine, or obtained by other means.
在本实施例中,为用户的偏好类信息提供了一种信息记录方法,该 方法可以调整记录矛盾的信息,纠正用户的错误偏好,从而保证记录的用户信息更准确,当需要使用该用户偏好信息时,能够更准确的为用户提供服务。In this embodiment, an information recording method is provided for the user's preference class information, and the method The method can adjust the contradictory information and correct the user's wrong preference, thereby ensuring that the recorded user information is more accurate, and when the user preference information needs to be used, the user can be more accurately provided with the service.
请参照图7,图7是本申请实施例提供的用户信息记录装置的结构示意图。如图7所示,该装置40包括:采集模块410、第一确定模块420、第一记录模块430以及第二记录模块440。Please refer to FIG. 7. FIG. 7 is a schematic structural diagram of a user information recording apparatus according to an embodiment of the present application. As shown in FIG. 7, the device 40 includes an acquisition module 410, a first determination module 420, a first recording module 430, and a second recording module 440.
其中,采集模块410,用于采集所述用户的信息;第一确定模块420,用于分析所述信息,确定所述信息的类别;第一记录模块430,用于根据确定的所述信息的类别,将所述信息记录至所述信息的类别所对应的第一用户信息集合中;第二记录模块440,用于在记录的信息与所述第一用户信息集合中的至少一项用户信息冲突时,将冲突的所述信息记录至第二用户信息集合中。The collecting module 410 is configured to collect the information of the user; the first determining module 420 is configured to analyze the information, determine a category of the information, and the first recording module 430 is configured to: according to the determined information. a category, the information is recorded in the first user information set corresponding to the category of the information; the second recording module 440 is configured to: record the information and the at least one user information in the first user information set In case of conflict, the information of the conflict is recorded into the second set of user information.
值得说明的是,上述装置内的模块之间的信息交互、执行过程等内容,由于与本申请的方法实施例基于同一构思,具体内容可参见本申请方法实施例中的叙述,此处不再赘述。It is to be noted that the information exchange, the execution process, and the like between the modules in the foregoing device are based on the same concept as the method embodiment of the present application. For details, refer to the description in the method embodiment of the present application. Narration.
本申请实施例提供了一种用户信息记录装置,该装置根据用户信息的类别来分别将用户信息记录至第一用户信息集合中,在记录用户信息过程中,当该信息与第一用户信息集合中已记录的用户信息存在冲突时,将该冲突的用户信息记录至第二用户信息集合中。区别于相关技术,本实施例能够处理记录冲突的用户信息,提高了用户信息记录的准确性。此外,根据信息类别来记录用户信息,可使记录的用户信息更充分具体,便于后续的用户行为分析。The embodiment of the present application provides a user information recording device, which records user information into a first user information set according to a category of user information. In the process of recording user information, the information and the first user information set are collected. When there is a conflict between the recorded user information, the conflicted user information is recorded into the second user information set. Different from the related art, the embodiment can process the conflicting user information, and improve the accuracy of the user information record. In addition, recording user information according to the information category can make the recorded user information more specific and convenient for subsequent user behavior analysis.
如图8所示,本申请另一实施例提供了一种用户信息记录装置,该装置与图7的主要区别在于,所述装置还包括:设置模块450、第二确定模块460以及第三记录模块470。As shown in FIG. 8 , another embodiment of the present application provides a user information recording apparatus. The main difference between the apparatus and FIG. 7 is that the apparatus further includes: a setting module 450, a second determining module 460, and a third record. Module 470.
其中,设置模块450,用于设置所述第二用户信息集合中所述信息的紧急系数;第二确定模块460,用于根据所述紧急系数确定所述信息的确定结果;第三记录模块470,用于根据所述信息的类别,将所述信息的确定结果记录至所述类别对应的第一用户信息集合中。The setting module 450 is configured to set an emergency coefficient of the information in the second user information set, and the second determining module 460 is configured to determine a determination result of the information according to the emergency coefficient; the third recording module 470 And for recording, according to the category of the information, the determination result of the information into the first user information set corresponding to the category.
值得说明的是,上述装置内的模块之间的信息交互、执行过程等内容,由于与本申请的方法实施例基于同一构思,具体内容可参见本申请方法实施例中的叙述,此处不再赘述。It is to be noted that the information exchange, the execution process, and the like between the modules in the foregoing device are based on the same concept as the method embodiment of the present application. For details, refer to the description in the method embodiment of the present application. Narration.
在本申请实施例中,根据用户信息的类别来分别将用户信息记录至 第一用户信息集合中,在记录用户信息过程中,当该信息与第一用户信息集合中已记录的用户信息存在冲突时,将该冲突的用户信息记录至第二用户信息集合中,并且,在该第二用户信息集合中再次确认用户的不确定性信息,并把确定的结果记录至用户信息对应的类别下。本实施例的实施方式能够准确的记录用户信息,并处理冲突的用户信息,通过这种实施方式来不断完善用户信息,从而在后续各个场景中需要使用用户信息时,能够从第一用户信息集合中获取相应的用户信息进行预判或信息的预填写,为用户提供更贴心的服务。In the embodiment of the present application, the user information is separately recorded according to the category of the user information. In the first user information set, in the process of recording user information, when the information conflicts with the recorded user information in the first user information set, the conflicting user information is recorded into the second user information set, and The user's uncertainty information is reconfirmed in the second user information set, and the determined result is recorded under the category corresponding to the user information. The embodiment of the present embodiment can accurately record user information and process conflicting user information, and the user information is continuously improved by using such an implementation manner, so that when the user information needs to be used in subsequent scenarios, the first user information set can be obtained. Obtain the corresponding user information for pre-judgment or pre-filling the information to provide users with more intimate services.
请参照图9,图9是本申请另一实施例提供的用户信息记录装置的结构示意图。如图9所示,该装置50包括:采集模块510、第一确定模块520、第一记录模块530、第二记录模块540、设置模块550、第二确定模块560以及第三记录模块570。Please refer to FIG. 9. FIG. 9 is a schematic structural diagram of a user information recording apparatus according to another embodiment of the present application. As shown in FIG. 9, the device 50 includes an acquisition module 510, a first determination module 520, a first recording module 530, a second recording module 540, a setting module 550, a second determining module 560, and a third recording module 570.
其中,采集模块510,用于采集所述用户的信息;第一确定模块520,用于分析所述信息,确定所述信息的类别;第一记录模块530,用于根据确定的所述信息的类别,将所述信息记录至所述信息的类别所对应的第一用户信息集合中;第二记录模块540,用于在记录的信息与所述第一用户信息集合中的至少一项用户信息冲突时,将冲突的所述信息记录至第二用户信息集合中;设置模块550,用于设置所述第二用户信息集合中所述信息的紧急系数;第二确定模块560,用于根据所述紧急系数确定所述信息的确定结果;第三记录模块570,用于根据所述信息的类别,将所述信息的确定结果记录至所述类别对应的第一用户信息集合中。The collecting module 510 is configured to collect the information of the user, and the first determining module 520 is configured to analyze the information to determine a category of the information, and the first recording module 530 is configured to: according to the determined information. a class, the information is recorded in the first user information set corresponding to the category of the information; the second recording module 540 is configured to: record the information and the at least one user information in the first user information set When the conflict occurs, the information of the conflict is recorded into the second set of user information; the setting module 550 is configured to set the emergency coefficient of the information in the second set of user information; and the second determining module 560 is configured to The emergency coefficient determines the determination result of the information; the third recording module 570 is configured to record the determination result of the information into the first user information set corresponding to the category according to the category of the information.
其中,当所述信息的类别为确定类的信息时,第一记录模块530包括:第一判断单元5301、第一创建单元5302、第二判断单元5303以及第一确认单元5304。第一判断单元5301,用于判断所述确定类对应的第一用户信息集合中是否存在所述信息对应的项目;第一创建单元5302,用于若所述确定类对应的第一用户信息集合中不存在所述信息对应的项目,则在所述确定类对应的第一用户信息集合中创建所述项目,并存储所述信息至所述项目,以作为所述项目的内容;第二判断单元5303,用于若所述确定类对应的第一用户信息集合中存在所述信息对应的项目,则判断所述项目的内容与所述信息是否匹配;第一确认单元5304,用于若所述项目的内容与所述信息不匹配,则确认为存在用户信息冲突。 When the category of the information is the information of the determining class, the first recording module 530 includes: a first determining unit 5301, a first creating unit 5302, a second determining unit 5303, and a first confirming unit 5304. The first determining unit 5301 is configured to determine whether an item corresponding to the information exists in the first user information set corresponding to the determining class, and the first creating unit 5302 is configured to: if the first user information set corresponding to the determining class If the item corresponding to the information does not exist, the item is created in the first user information set corresponding to the determining class, and the information is stored to the item as the content of the item; the second determining The unit 5303 is configured to determine, if the item corresponding to the information exists in the first user information set corresponding to the determining class, whether the content of the item matches the information, and the first confirming unit 5304 is configured to If the content of the item does not match the information, it is confirmed that there is a user information conflict.
其中,当所述信息的类别为习惯类的信息时,第一记录模块530还包括:第三判断单元5305、第二创建单元5306、第四判断单元5307、第三创建单元5308以及第一更新单元5309。第三判断单元5305,用于判断所述习惯类对应的第一用户信息集合中是否存在所述信息对应的习惯;第二创建单元5306,用于若所述习惯类对应的第一用户信息集合中不存在所述信息对应的习惯,则在所述习惯类对应的第一用户信息集合中创建所述信息对应的习惯,并存储所述信息,所述信息作为所述习惯的属性,并记录所述习惯对应的权重;第四判断单元5307,用于若所述习惯类对应的第一用户信息集合中存在所述信息对应的习惯,则判断所述习惯的属性与所述信息是否匹配;第三创建单元5308,用于若所述习惯的属性与所述信息不匹配,则在所述习惯类对应的第一用户信息集合中建立所述信息对应的新习惯,并且存储所述信息,所述信息作为所述新习惯的属性,并记录所述新习惯对应的权重;第一更新单元5309,用于若所述习惯的属性与所述信息匹配,则更新所述习惯对应的权重。The first recording module 530 further includes: a third determining unit 5305, a second creating unit 5306, a fourth determining unit 5307, a third creating unit 5308, and the first update, when the type of the information is information of a custom class. Unit 5309. The third determining unit 5305 is configured to determine whether the first user information set corresponding to the custom class has a habit corresponding to the information, and the second creating unit 5306 is configured to: if the first user information set corresponding to the custom class If there is no habit corresponding to the information, the habit corresponding to the information is created in the first user information set corresponding to the habit class, and the information is stored, and the information is used as an attribute of the habit, and is recorded. Determining the weight of the habit; the fourth determining unit 5307 is configured to determine whether the attribute of the habit matches the information if a habit corresponding to the information exists in the first user information set corresponding to the habit class; The third creating unit 5308 is configured to: if the attribute of the habit does not match the information, establish a new habit corresponding to the information in the first user information set corresponding to the habit class, and store the information, The information is used as an attribute of the new habit, and the weight corresponding to the new habit is recorded; the first updating unit 5309 is configured to: if the attribute of the habit is related to the information Right, updating the weight corresponding to the habit.
其中,当所述信息的类别为偏好类的信息时,第一记录模块530还包括:第五判断单元5310、第六判断单元5311、第一记录单元5312、第二更新单元5313、第七判断单元5314、第二记录单元5315以及第四创建单元5316。第五判断单元5310,用于判断所述偏好类对应的第一用户信息集合中是否存在所述信息对应的偏好;第六判断单元5311,用于若所述偏好类对应的第一用户信息集合中存在所述信息对应的偏好,则判断所述偏好类对应的第一用户信息集合中是否存在所述信息对应的相反偏好;第一记录单元5312,用于若所述偏好类对应的第一用户信息集合中存在所述相反偏好,则更新所述信息对应的偏好的权重,并计算所述偏好的权重与所述相反偏好的权重的差值,根据所述差值的大小记录所述信息;第二更新单元5313,用于若所述偏好类对应的第一用户信息集合中不存在所述相反偏好,则更新所述信息对应的偏好的权重。第七判断单元5314,用于若所述偏好类对应的第一用户信息集合中不存在所述信息对应的偏好,则判断所述偏好类对应的第一用户信息集合中是否存在所述信息对应的相反偏好;第二记录单元5315,用于若所述偏好类对应的第一用户信息集合中存在所述相反偏好,则在所述偏好类对应的第一用户信息集合中建立所述信息对应的偏好,并记录所述偏好的权重,并计算所述偏好的权重与所述相反偏好的权重的差值,根据所述差值的大小记录所述信息;第四创建单元5316,用于若所述偏好类对应 的第一用户信息集合中不存在所述相反偏好,则在所述偏好类对应的第一用户信息集合中建立所述信息对应的偏好,并记录所述偏好的权重。The first recording module 530 further includes: a fifth determining unit 5310, a sixth determining unit 5311, a first recording unit 5312, a second updating unit 5313, and a seventh determining, when the information is of a preference type. The unit 5314, the second recording unit 5315, and the fourth creating unit 5316. a fifth determining unit 5310, configured to determine whether a preference corresponding to the information exists in the first user information set corresponding to the preference class, and a sixth determining unit 5311, configured to: if the first user information set corresponding to the preference class If there is a preference corresponding to the information, determining whether there is a reverse preference corresponding to the information in the first user information set corresponding to the preference class; the first recording unit 5312 is configured to: if the preference class corresponds to the first If the opposite preference exists in the user information set, updating the weight of the preference corresponding to the information, and calculating a difference between the weight of the preference and the weight of the opposite preference, and recording the information according to the size of the difference The second updating unit 5313 is configured to update the weight of the preference corresponding to the information if the opposite preference does not exist in the first user information set corresponding to the preference class. The seventh determining unit 5314 is configured to determine, if the preference corresponding to the information does not exist in the first user information set corresponding to the preference class, determine whether the information is corresponding to the first user information set corresponding to the preference class. The second recording unit 5315 is configured to: if the opposite preference exists in the first user information set corresponding to the preference class, establish the information corresponding to the first user information set corresponding to the preference class a preference, and recording the weight of the preference, and calculating a difference between the weight of the preference and the weight of the opposite preference, recording the information according to the size of the difference; the fourth creating unit 5316, if The preference class corresponds to The opposite preference is not present in the first user information set, and the preference corresponding to the information is established in the first user information set corresponding to the preference class, and the weight of the preference is recorded.
在一些实施例中,所述根据所述差值的大小记录所述信息具体包括:当所述差值在预定阈值范围内时,确认为存在用户信息冲突;当所述差值不在所述预定阈值范围内时,确定所述权重值大的偏好为所述用户的正确偏好。In some embodiments, the recording the information according to the size of the difference specifically includes: when the difference is within a predetermined threshold range, confirming that there is a user information conflict; when the difference is not in the predetermined When the threshold is within the range, the preference that the weight value is large is determined to be the correct preference of the user.
值得说明的是,上述装置内的模块、单元之间的信息交互、执行过程等内容,由于与本申请的方法实施例基于同一构思,具体内容可参见本申请方法实施例中的叙述,此处不再赘述。It should be noted that the content of the module, the information exchange between the units, the execution process, and the like are based on the same concept as the method embodiment of the present application. For details, refer to the description in the method embodiment of the present application. No longer.
本申请实施例提供了一种用户信息记录装置,通过采集用户的信息,并确定信息的类别,该类别包括确定类、习惯类以及偏好类,然后根据类别将用户信息分别存储至所述信息的类别所对应的第一用户信息集合中,当存在冲突的用户信息时,将该信息记录至第二用户信息集合中,并对该第二用户信息集合中的信息进行确认,把确认的确定结果记录至该信息的类别所对应的第一用户信息集合中。该实施方式能够准确的记录用户信息,对为用户进行贴心合适的服务提供了保障。The embodiment of the present application provides a user information recording apparatus, which collects information of a user and determines a category of the information, the category includes a determining class, a habit class, and a preference class, and then storing the user information to the information according to the category. In the first user information set corresponding to the category, when there is conflicting user information, the information is recorded into the second user information set, and the information in the second user information set is confirmed, and the confirmation result is confirmed. Recorded in the first user information set corresponding to the category of the information. This embodiment can accurately record user information, and provides a guarantee for the user to perform appropriate services.
请参照图10,图10是本申请实施例提供的电子设备的硬件结构示意图,该电子设备60能够执行如上所述的用户信息记录方法,其可以为任何合适的智能终端,如:智能机器人、机器人助手、PDA、个人电脑、平板电脑、智能手机、可穿戴智能设备等。Please refer to FIG. 10. FIG. 10 is a schematic diagram showing the hardware structure of an electronic device according to an embodiment of the present disclosure. The electronic device 60 can perform the user information recording method as described above, and can be any suitable smart terminal, such as an intelligent robot. Robot assistants, PDAs, personal computers, tablets, smartphones, wearable smart devices, etc.
具体地,如图10所示,该电子设备60包括:一个或多个处理器610以及存储器620,图10中以一个处理器610为例。Specifically, as shown in FIG. 10, the electronic device 60 includes: one or more processors 610 and a memory 620, and one processor 610 is taken as an example in FIG.
处理器610、存储器620可以通过总线或者其他方式连接,图10中以通过总线连接为例。The processor 610 and the memory 620 may be connected by a bus or other means, and the connection by a bus is taken as an example in FIG.
存储器620作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的用户信息记录方法对应的程序指令/模块(例如,附图7所示的采集模块410、第一确定模块420、第一记录模块430以及第二记录模块440)。处理器610通过运行存储在存储器620中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例用户信息记录方法。The memory 620 is a non-volatile computer readable storage medium and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, such as a program corresponding to the user information recording method in the embodiment of the present application. An instruction/module (for example, the acquisition module 410, the first determination module 420, the first recording module 430, and the second recording module 440 shown in FIG. 7). The processor 610 executes various functional applications of the server and data processing by executing non-volatile software programs, instructions, and modules stored in the memory 620, that is, implementing the above-described method embodiment user information recording method.
存储器620可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储 根据用户信息记录装置的使用所创建的数据等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器620可选包括相对于处理器610远程设置的存储器,这些远程存储器可以通过网络连接至用户信息记录装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 620 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may be stored Data created according to the use of the user information recording device, and the like. Moreover, memory 620 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 620 can optionally include memory remotely located relative to processor 610, which can be connected to the user information recording device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
所述一个或者多个模块存储在所述存储器620中,当被所述一个或者多个处理器610执行时,执行上述任意方法实施例中的用户信息记录方法。The one or more modules are stored in the memory 620, and when executed by the one or more processors 610, perform a user information recording method in any of the above method embodiments.
本申请实施例还提供了一种计算机程序产品,包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时时,使所述计算机执行上述任意方法实施例中的用户信息记录方法,例如,执行以上描述的图2中的方法步骤31至步骤34,图3中的方法步骤31至步骤37,图4中的方法步骤3311至步骤3315,图5中的方法步骤3321至步骤3325,图6中的方法步骤3331至步骤3337,实现图7中的模块410-440,图8中的模块410-470,图9中的模块510-570、单元5301-5316的功能。The embodiment of the present application further provides a computer program product, including a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, The computer performs the user information recording method in any of the above method embodiments, for example, performs the method steps 31 to 34 in FIG. 2 described above, the method steps 31 to 37 in FIG. 3, and the method step 3311 in FIG. Go to step 3315, method steps 3321 to 3325 in FIG. 5, and method steps 3331 to 3337 in FIG. 6, to implement modules 410-440 in FIG. 7, modules 410-470 in FIG. 8, and modules in FIG. 510-570, the function of units 5301-5316.
专业人员应该还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。所述的计算机软件可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体或随机存储记忆体等。A person skilled in the art should further appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, in order to clearly illustrate hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application. The computer software can be stored in a computer readable storage medium, which, when executed, can include the flow of an embodiment of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only storage memory, or a random storage memory.
以上所述仅为本发明的实施方式,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。 The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the invention and the drawings are directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of the present invention.

Claims (18)

  1. 一种用户信息记录方法,其特征在于,包括:A user information recording method, comprising:
    采集所述用户的信息;Collecting information of the user;
    分析所述信息,确定所述信息的类别;Analyzing the information to determine a category of the information;
    根据确定的所述信息的类别,将所述信息记录至所述信息的类别所对应的第一用户信息集合中;Recording, according to the determined category of the information, the first user information set corresponding to the category of the information;
    在记录的信息与所述第一用户信息集合中的至少一项用户信息冲突时,将冲突的所述信息记录至第二用户信息集合中。When the recorded information collides with at least one piece of user information in the first set of user information, the conflicting information is recorded into the second set of user information.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    设置所述第二用户信息集合中所述信息的紧急系数;Setting an emergency coefficient of the information in the second set of user information;
    根据所述紧急系数确定所述信息的确定结果;Determining a determination result of the information according to the emergency coefficient;
    根据所述信息的类别,将所述信息的确定结果记录至所述类别对应的第一用户信息集合中。And determining, according to the category of the information, the determination result of the information into the first user information set corresponding to the category.
  3. 根据权利要求1所述的方法,其特征在于,所述信息的类别为确定类、习惯类以及偏好类中的一种。The method according to claim 1, wherein the category of the information is one of a determination class, a habit class, and a preference class.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述信息的类别为确定类时,The method according to any one of claims 1 to 3, wherein when the category of the information is a class,
    所述根据确定的所述信息的类别,将所述信息记录至所述信息的类别所对应的第一用户信息集合中包括:And the recording, according to the determined category of the information, the first user information set corresponding to the category of the information includes:
    判断所述确定类对应的第一用户信息集合中是否存在所述信息对应的项目;Determining whether an item corresponding to the information exists in the first user information set corresponding to the determining class;
    若所述确定类对应的第一用户信息集合中不存在所述信息对应的项目,则在所述确定类对应的第一用户信息集合中创建所述项目,并存储所述信息至所述项目,以作为所述项目的内容;If the item corresponding to the information does not exist in the first user information set corresponding to the determining class, creating the item in the first user information set corresponding to the determining class, and storing the information to the item To serve as the content of the project;
    若所述确定类对应的第一用户信息集合中存在所述信息对应的项目,则判断所述项目的内容与所述信息是否匹配;If the item corresponding to the information exists in the first user information set corresponding to the determining class, determining whether the content of the item matches the information;
    若所述项目的内容与所述信息不匹配,则确认为存在用户信息冲突。If the content of the item does not match the information, it is confirmed that there is a user information conflict.
  5. 根据权利要求1至3任一项所述的方法,其特征在于,所述信息的类别为习惯类时,The method according to any one of claims 1 to 3, wherein when the category of the information is a custom class,
    所述根据确定的所述信息的类别,将所述信息记录至所述信息的类别所对应的第一用户信息集合中包括: And the recording, according to the determined category of the information, the first user information set corresponding to the category of the information includes:
    判断所述习惯类对应的第一用户信息集合中是否存在所述信息对应的习惯;Determining whether a habit corresponding to the information exists in the first user information set corresponding to the custom class;
    若所述习惯类对应的第一用户信息集合中不存在所述信息对应的习惯,则在所述习惯类对应的第一用户信息集合中创建所述信息对应的习惯,并存储所述信息,所述信息作为所述习惯的属性,并记录所述习惯对应的权重;If the habit corresponding to the information does not exist in the first user information set corresponding to the habit class, the habit corresponding to the information is created in the first user information set corresponding to the habit class, and the information is stored. The information is used as an attribute of the habit, and the weight corresponding to the habit is recorded;
    若所述习惯类对应的第一用户信息集合中存在所述信息对应的习惯,则判断所述习惯的属性与所述信息是否匹配;If the habit corresponding to the information exists in the first user information set corresponding to the custom class, determining whether the attribute of the habit matches the information;
    若所述习惯的属性与所述信息不匹配,则在所述习惯类对应的第一用户信息集合中建立所述信息对应的新习惯,并且存储所述信息,所述信息作为所述新习惯的属性,并记录所述新习惯对应的权重;If the attribute of the habit does not match the information, establishing a new habit corresponding to the information in the first user information set corresponding to the habit class, and storing the information, the information as the new habit Attributes and record the weights corresponding to the new habits;
    若所述习惯的属性与所述信息匹配,则更新所述习惯对应的权重。If the attribute of the habit matches the information, the weight corresponding to the habit is updated.
  6. 根据权利要求1所述的方法,其特征在于,所述信息的类别为偏好类时,The method according to claim 1, wherein when the category of the information is a preference class,
    所述根据确定的所述信息的类别,将所述信息记录至所述信息的类别所对应的第一用户信息集合中包括:And the recording, according to the determined category of the information, the first user information set corresponding to the category of the information includes:
    判断所述偏好类对应的第一用户信息集合中是否存在所述信息对应的偏好;Determining whether a preference corresponding to the information exists in the first user information set corresponding to the preference class;
    若所述偏好类对应的第一用户信息集合中存在所述信息对应的偏好,则判断所述偏好类对应的第一用户信息集合中是否存在所述信息对应的相反偏好;If there is a preference corresponding to the information in the first user information set corresponding to the preference class, determining whether the opposite preference corresponding to the information exists in the first user information set corresponding to the preference class;
    若所述偏好类对应的第一用户信息集合中存在所述相反偏好,则更新所述信息对应的偏好的权重,并计算所述偏好的权重与所述相反偏好的权重的差值,根据所述差值的大小记录所述信息;If the opposite preference exists in the first user information set corresponding to the preference class, updating a weight of the preference corresponding to the information, and calculating a difference between the weight of the preference and the weight of the opposite preference, according to Recording the information by the size of the difference;
    若所述偏好类对应的第一用户信息集合中不存在所述相反偏好,则更新所述信息对应的偏好的权重。If the opposite preference does not exist in the first user information set corresponding to the preference class, updating the weight of the preference corresponding to the information.
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method of claim 6 wherein the method further comprises:
    若所述偏好类对应的第一用户信息集合中不存在所述信息对应的偏好,则判断所述偏好类对应的第一用户信息集合中是否存在所述信息对应的相反偏好;If the preference corresponding to the information does not exist in the first user information set corresponding to the preference class, determining whether the opposite preference corresponding to the information exists in the first user information set corresponding to the preference class;
    若所述偏好类对应的第一用户信息集合中存在所述相反偏好,则在所述偏好类对应的第一用户信息集合中建立所述信息对应的偏好,并记录所述偏好的权重,并计算所述偏好的权重与所述相反偏好的权重的差值,根据所述差值的大小记录所述信息;If the opposite preference exists in the first user information set corresponding to the preference class, establishing a preference corresponding to the information in the first user information set corresponding to the preference class, and recording the weight of the preference, and Calculating a difference between the weight of the preference and the weight of the opposite preference, and recording the information according to the size of the difference;
    若所述偏好类对应的第一用户信息集合中不存在所述相反偏好,则在所述偏好类对应的第一用户信息集合中建立所述信息对应的偏好,并记录所述偏好的权重。 And if the opposite preference does not exist in the first user information set corresponding to the preference class, the preference corresponding to the information is established in the first user information set corresponding to the preference class, and the weight of the preference is recorded.
  8. 根据权利要求6或7所述的方法,其特征在于,所述根据所述差值的大小记录所述信息具体包括:The method according to claim 6 or 7, wherein the recording the information according to the size of the difference comprises:
    当所述差值在预定阈值范围内时,确认为存在用户信息冲突;当所述差值不在所述预定阈值范围内时,确定权重值大的偏好为所述用户的正确偏好。When the difference is within a predetermined threshold range, it is confirmed that there is a user information conflict; when the difference is not within the predetermined threshold range, the preference for determining that the weight value is large is the correct preference of the user.
  9. 一种用户信息记录装置,其特征在于,包括:A user information recording device, comprising:
    采集模块,用于采集所述用户的信息;An acquisition module, configured to collect information about the user;
    第一确定模块,用于分析所述信息,确定所述信息的类别;a first determining module, configured to analyze the information, and determine a category of the information;
    第一记录模块,用于根据确定的所述信息的类别,将所述信息记录至所述信息的类别所对应的第一用户信息集合中;a first recording module, configured to record the information into a first user information set corresponding to a category of the information according to the determined category of the information;
    第二记录模块,用于在记录的信息与所述第一用户信息集合中的至少一项用户信息冲突时,将冲突的所述信息记录至第二用户信息集合中。And a second recording module, configured to record the conflicted information into the second user information set when the recorded information conflicts with the at least one user information in the first user information set.
  10. 根据权利要求9所述的装置,其特征在于,所述装置还包括:The device according to claim 9, wherein the device further comprises:
    设置模块,用于设置所述第二用户信息集合中所述信息的紧急系数;a setting module, configured to set an emergency coefficient of the information in the second user information set;
    第二确定模块,用于根据所述紧急系数确定所述信息的确定结果;a second determining module, configured to determine a determination result of the information according to the emergency coefficient;
    第三记录模块,用于根据所述信息的类别,将所述信息的确定结果记录至所述类别对应的第一用户信息集合中。And a third recording module, configured to record the determination result of the information into the first user information set corresponding to the category according to the category of the information.
  11. 根据权利要求9所述的装置,其特征在于,所述信息的类别为确定类、习惯类以及偏好类中的一种。The apparatus according to claim 9, wherein the category of the information is one of a determination class, a habit class, and a preference class.
  12. 根据权利要求9至11任一项所述的装置,其特征在于,所述信息的类别为确定类时,所述第一记录模块包括:The device according to any one of claims 9 to 11, wherein when the category of the information is a determining class, the first recording module comprises:
    第一判断单元,用于判断所述确定类对应的第一用户信息集合中是否存在所述信息对应的项目;a first determining unit, configured to determine whether an item corresponding to the information exists in the first user information set corresponding to the determining class;
    第一创建单元,用于若所述确定类对应的第一用户信息集合中不存在所述信息对应的项目,则在所述确定类对应的第一用户信息集合中创建所述项目,并存储所述信息至所述项目,以作为所述项目的内容;a first creating unit, configured to: if the item corresponding to the information does not exist in the first user information set corresponding to the determining class, create the item in the first user information set corresponding to the determining class, and store the item Said information to said item as content of said item;
    第二判断单元,用于若所述确定类对应的第一用户信息集合中存在所述信息对应的项目,则判断所述项目的内容与所述信息是否匹配;a second determining unit, configured to determine, if the item corresponding to the information exists in the first user information set corresponding to the determining class, whether the content of the item matches the information;
    第一确认单元,用于若所述项目的内容与所述信息不匹配,则确认为存在用户信息冲突。The first confirming unit is configured to confirm that there is a user information conflict if the content of the item does not match the information.
  13. 根据权利要求9至11任一项所述的装置,其特征在于,所述信息的类别为习惯类时,所述第一记录模块包括:The device according to any one of claims 9 to 11, wherein when the category of the information is a custom class, the first recording module comprises:
    第三判断单元,用于判断所述习惯类对应的第一用户信息集合中是否存在所述信息对应的习惯;a third determining unit, configured to determine whether a habit corresponding to the information exists in the first user information set corresponding to the custom class;
    第二创建单元,用于若所述习惯类对应的第一用户信息集合中不存在所述 信息对应的习惯,则在所述习惯类对应的第一用户信息集合中创建所述信息对应的习惯,并存储所述信息,所述信息作为所述习惯的属性,并记录所述习惯对应的权重;a second creating unit, configured to: if the first user information set corresponding to the custom class does not exist a habit corresponding to the information, creating a habit corresponding to the information in the first user information set corresponding to the habit class, and storing the information, the information being the attribute of the habit, and recording the habit corresponding to the habit Weights;
    第四判断单元,用于若所述习惯类对应的第一用户信息集合中存在所述信息对应的习惯,则判断所述习惯的属性与所述信息是否匹配;a fourth determining unit, configured to determine whether the attribute of the habit matches the information if a habit corresponding to the information exists in the first user information set corresponding to the habit class;
    第三创建单元,用于若所述习惯的属性与所述信息不匹配,则在所述习惯类对应的第一用户信息集合中建立所述信息对应的新习惯,并且存储所述信息,所述信息作为所述新习惯的属性,并记录所述新习惯对应的权重;a third creating unit, configured to: if the attribute of the habit does not match the information, establish a new habit corresponding to the information in the first user information set corresponding to the habit class, and store the information, where Declaring the information as an attribute of the new habit, and recording the weight corresponding to the new habit;
    第一更新单元,用于若所述习惯的属性与所述信息匹配,则更新所述习惯对应的权重。The first updating unit is configured to update the weight corresponding to the habit if the attribute of the habit matches the information.
  14. 根据权利要求9所述的装置,其特征在于,所述信息的类别为偏好类时,所述第一记录模块包括:The device according to claim 9, wherein when the category of the information is a preference class, the first recording module comprises:
    第五判断单元,用于判断所述偏好类对应的第一用户信息集合中是否存在所述信息对应的偏好;a fifth determining unit, configured to determine whether a preference corresponding to the information exists in the first user information set corresponding to the preference class;
    第六判断单元,用于若所述偏好类对应的第一用户信息集合中存在所述信息对应的偏好,则判断所述偏好类对应的第一用户信息集合中是否存在所述信息对应的相反偏好;a sixth determining unit, configured to: if there is a preference corresponding to the information in the first user information set corresponding to the preference class, determine whether the information corresponding to the preference class corresponds to the opposite Preference
    第一记录单元,用于若所述偏好类对应的第一用户信息集合中存在所述相反偏好,则更新所述信息对应的偏好的权重,并计算所述偏好的权重与所述相反偏好的权重的差值,根据所述差值的大小记录所述信息;a first recording unit, configured to update a weight of the preference corresponding to the information if the opposite preference exists in the first user information set corresponding to the preference class, and calculate the weight of the preference and the opposite preference a difference of weights, the information is recorded according to the size of the difference;
    第二更新单元,用于若所述偏好类对应的第一用户信息集合中不存在所述相反偏好,则更新所述信息对应的偏好的权重。And a second updating unit, configured to update a weight of the preference corresponding to the information if the opposite preference does not exist in the first user information set corresponding to the preference class.
  15. 根据权利要求14所述的装置,其特征在于,所述第一记录模块还包括:The device according to claim 14, wherein the first recording module further comprises:
    第七判断单元,用于若所述偏好类对应的第一用户信息集合中不存在所述信息对应的偏好,则判断所述偏好类对应的第一用户信息集合中是否存在所述信息对应的相反偏好;a seventh determining unit, configured to determine, if the first user information set corresponding to the preference class does not have a preference corresponding to the information, determining whether the information is corresponding to the first user information set corresponding to the preference class Opposite preference
    第二记录单元,用于若所述偏好类对应的第一用户信息集合中存在所述相反偏好,则在所述偏好类对应的第一用户信息集合中建立所述信息对应的偏好,并记录所述偏好的权重,并计算所述偏好的权重与所述相反偏好的权重的差值,根据所述差值的大小记录所述信息;a second recording unit, configured to: if the opposite preference exists in the first user information set corresponding to the preference class, establish a preference corresponding to the information in the first user information set corresponding to the preference class, and record Weighting the preference, and calculating a difference between the weight of the preference and the weight of the opposite preference, and recording the information according to the size of the difference;
    第四创建单元,用于若所述偏好类对应的第一用户信息集合中不存在所述相反偏好,则在所述偏好类对应的第一用户信息集合中建立所述信息对应的偏好,并记录所述偏好的权重。a fourth creating unit, configured to establish a preference corresponding to the information in the first user information set corresponding to the preference class, if the opposite preference does not exist in the first user information set corresponding to the preference class, and The weight of the preference is recorded.
  16. 根据权利要求14或15所述的装置,其特征在于,所述根据所述差值 的大小记录所述信息具体包括:Device according to claim 14 or 15, wherein said difference is based on said difference The size of the record records the information specifically includes:
    当所述差值在预定阈值范围内时,确认为存在用户信息冲突;当所述差值不在所述预定阈值范围内时,确定权重值大的偏好为所述用户的正确偏好。When the difference is within a predetermined threshold range, it is confirmed that there is a user information conflict; when the difference is not within the predetermined threshold range, the preference for determining that the weight value is large is the correct preference of the user.
  17. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
    所述存储器存储有可被所述至少一个处理器执行的指令程序,所述指令程序被所述至少一个处理器执行,以使所述至少一个处理器执行如权利要求1至8任一项所述的方法。The memory stores an instruction program executable by the at least one processor, the instruction program being executed by the at least one processor to cause the at least one processor to perform as claimed in any one of claims 1 to The method described.
  18. 一种计算机程序产品,其特征在于,所述计算机程序产品包括:非易失性计算机可读存储介质以及内嵌于所述非易失性计算机可读存储介质的计算机程序指令;所述计算机程序指令包括用以使处理器执行如权利要求1至8任一项所述的方法的指令。 A computer program product, comprising: a non-transitory computer readable storage medium; and computer program instructions embedded in the non-transitory computer readable storage medium; The instructions include instructions for causing a processor to perform the method of any of claims 1-8.
PCT/CN2017/072569 2017-01-25 2017-01-25 User information recording method and apparatus, and electronic device WO2018137170A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780000118.6A CN107003930B (en) 2017-01-25 2017-01-25 User information recording method and device and electronic equipment
PCT/CN2017/072569 WO2018137170A1 (en) 2017-01-25 2017-01-25 User information recording method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/072569 WO2018137170A1 (en) 2017-01-25 2017-01-25 User information recording method and apparatus, and electronic device

Publications (1)

Publication Number Publication Date
WO2018137170A1 true WO2018137170A1 (en) 2018-08-02

Family

ID=59436538

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/072569 WO2018137170A1 (en) 2017-01-25 2017-01-25 User information recording method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN107003930B (en)
WO (1) WO2018137170A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959486B (en) * 2018-06-22 2023-04-18 平安科技(深圳)有限公司 Audit field information acquisition method and device, computer equipment and storage medium
CN111429137A (en) * 2020-03-17 2020-07-17 深圳市随金科技有限公司 Modular data acquisition method and device, server and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202966A (en) * 2007-11-29 2008-06-18 华为软件技术有限公司 Method, system and apparatus for collecting user information
CN105677776A (en) * 2015-12-30 2016-06-15 厦门欣欣信息有限公司 Data processing method and device
CN105740331A (en) * 2016-01-22 2016-07-06 百度在线网络技术(北京)有限公司 Information push method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5409268B2 (en) * 2009-10-30 2014-02-05 株式会社日立ソリューションズ Information presenting apparatus and portable terminal
CN101894151B (en) * 2010-06-24 2012-06-06 北京世纪高通科技有限公司 Method and device for acquiring event information
CN105488118B (en) * 2015-11-23 2019-03-26 国网北京市电力公司 The methods of exhibiting and device of electrical equipment malfunction information
CN105574203A (en) * 2016-01-07 2016-05-11 沈文策 Information storage method and device
CN106055617A (en) * 2016-05-26 2016-10-26 乐视控股(北京)有限公司 Data pushing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202966A (en) * 2007-11-29 2008-06-18 华为软件技术有限公司 Method, system and apparatus for collecting user information
CN105677776A (en) * 2015-12-30 2016-06-15 厦门欣欣信息有限公司 Data processing method and device
CN105740331A (en) * 2016-01-22 2016-07-06 百度在线网络技术(北京)有限公司 Information push method and device

Also Published As

Publication number Publication date
CN107003930B (en) 2020-07-28
CN107003930A (en) 2017-08-01

Similar Documents

Publication Publication Date Title
KR102462365B1 (en) Method and apparatus for predicting text input based on user demographic information and context information
US9928232B2 (en) Topically aware word suggestions
US9743251B2 (en) Adding location names using private frequent location data
RU2701508C1 (en) Method and system of content recommendations based on user behavior information
CN108829808B (en) Page personalized sorting method and device and electronic equipment
CN110020104B (en) News processing method and device, storage medium and computer equipment
WO2021027595A1 (en) User portrait generation method and apparatus, computer device, and computer-readable storage medium
KR20150095577A (en) Dynamically modifying elements of User Interface based on knowledge graph
US20160164815A1 (en) Terminal device and data processing method thereof
US20230224301A1 (en) Enhanced access to media, systems and methods
US10719695B2 (en) Method for pushing picture, mobile terminal, and storage medium
DE102014117412A1 (en) Find personal meaning in unstructured user data
JP2019507398A (en) Collaborative filtering method, apparatus, server, and storage medium for fusing time factors
CN110476162B (en) Controlling displayed activity information using navigation mnemonics
CN111797861A (en) Information processing method, information processing apparatus, storage medium, and electronic device
JPWO2012169112A1 (en) Content processing apparatus, content processing method, program, and integrated circuit
TW201931099A (en) Mobile terminal click event recognition method and apparatus
US20190005841A1 (en) Representation of group emotional response
WO2018137170A1 (en) User information recording method and apparatus, and electronic device
US20180232643A1 (en) Identifying user engagement based upon emotional state
WO2022095661A1 (en) Update method and apparatus for recommendation model, computer device, and storage medium
CN112000823B (en) Function entry display method, electronic device, and computer-readable storage medium
CN111461346B (en) Network node characterization method, device and equipment
US11250071B2 (en) Trigger-based contextual information feature
KR102674099B1 (en) Method, device, and system for automating content planning and a/b testing based on classification of video content and analysis of viewing-related data

Legal Events

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

Ref document number: 17893828

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 21/11/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17893828

Country of ref document: EP

Kind code of ref document: A1