CN108897801B - User behavior determination method and device - Google Patents

User behavior determination method and device Download PDF

Info

Publication number
CN108897801B
CN108897801B CN201810612918.XA CN201810612918A CN108897801B CN 108897801 B CN108897801 B CN 108897801B CN 201810612918 A CN201810612918 A CN 201810612918A CN 108897801 B CN108897801 B CN 108897801B
Authority
CN
China
Prior art keywords
event
detail
main
information
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810612918.XA
Other languages
Chinese (zh)
Other versions
CN108897801A (en
Inventor
赵云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201810612918.XA priority Critical patent/CN108897801B/en
Publication of CN108897801A publication Critical patent/CN108897801A/en
Application granted granted Critical
Publication of CN108897801B publication Critical patent/CN108897801B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a method and a device for determining user behaviors, wherein the method comprises the following steps: acquiring user data in a historical time period, wherein the historical time period is a time period before the current moment; determining main events and detail events occurring in the historical time period according to the user data; determining association information between the main event and the detail event; and generating user behavior information according to the main event, the detail event and the associated information between the main event and the detail event. The method and the device are used for simplifying user operation and improving the efficiency of determining user behaviors.

Description

User behavior determination method and device
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a user behavior determining method and device.
Background
At present, many people like to remember what has been done so now, for example, a year ago, and the process of recalling is full of fun.
In the prior art, users often record what they do by themselves in a diary, for example, the user may write the diary in a notebook or record the diary in a web document. When a user recalls, the user typically looks over a previously written diary for recall. However, in the above process, the user needs to manually record what is done and manually search in the diary to determine what he has done on a previous day, so that the process of determining the user's behavior in a previous period is complicated, resulting in inefficient determination of the user's behavior.
Disclosure of Invention
The embodiment of the invention provides a user behavior determining method and device, which not only simplify user operation, but also improve the efficiency of determining user behavior.
In a first aspect, an embodiment of the present invention provides a method for determining a user behavior, where the method is applied to a terminal device, and the method includes:
acquiring user data in a historical time period, wherein the historical time period is a time period before the current moment;
determining main events and detail events occurring in the historical time period according to the user data;
determining association information between the main event and the detail event;
and generating user behavior information according to the main event, the detail event and the associated information between the main event and the detail event.
In a possible implementation, the user data at least includes location information and operation information of each application program in the terminal device; the determining, according to the user data, the main event and the detail event occurring within the history period includes:
determining the main event occurring in the historical time period according to the location information;
and determining the detail events occurring in the historical time period according to the running information of each application program in the terminal equipment.
In another possible embodiment, the determining, according to the location information, a main event occurring within the historical period includes:
acquiring event conditions of a plurality of preset events;
and determining the main event in the plurality of preset events according to the place information and the event conditions of the plurality of preset events, wherein the place information meets the event conditions of the main event.
In another possible implementation, the determining the association information between the main event and the detail event includes:
acquiring the event type, the occurrence time and the occurrence place of the detail event;
acquiring a main time range and a main place range of the main event;
and determining the associated information between the main event and the detail event according to the event type of the detail event, the occurrence time of the detail event, the occurrence place of the detail event, the main time range and the main place range.
In another possible implementation, the determining, according to the event type of the detail event, the occurrence time of the detail event, the occurrence location of the detail event, the master time range, and the master location range, the association information between the master event and the detail event includes:
the event type of the detail event is a trip type, and if an end position in an occurrence place of the detail event is within the main place range and an end time in an occurrence time of the detail event is within the main time range, determining that the associated information between the main event and the detail event is: the travel mode of the main event is the travel mode corresponding to the detail event;
the event types of the detail event are an entertainment type and a consumption type, and if the occurrence time of the detail event is within the range of the main event and the occurrence place of the detail event is within the range of the main place, determining the associated information between the main event and the detail event as follows: the detail event occurs within the primary event;
the event types of the detail events are entertainment types and consumption types, and if the occurrence time of the detail events is out of the range of the main events or the occurrence place of the detail events is out of the range of the main places, the association information between the main events and the detail events is determined as follows: the detail event occurs outside of the primary event.
In another possible embodiment, the method further comprises:
acquiring user data obtained by collection;
and when the terminal equipment is connected with a wireless fidelity WiFi network, sending the acquired user data to a server.
In another possible implementation, obtaining user data over a history period includes:
and requesting a server to acquire the user data in the historical period.
In a second aspect, an embodiment of the present invention provides a user behavior determination apparatus, including a first obtaining module, a first determining module, a second determining module, and a generating module, where,
the first acquisition module is used for acquiring user data in a historical time period, wherein the historical time period is a time period before the current moment;
the first determining module is used for determining main events and detail events which occur in the historical time period according to the user data;
the second determining module is used for determining the associated information between the main event and the detail event;
the generation module is used for generating user behavior information according to the main event, the detail event and the associated information between the main event and the detail event.
In a possible implementation manner, the first determining module is specifically configured to:
determining the main event occurring in the historical time period according to location information in the user data, wherein the user data at least comprises the location information and operation information of each application program in the terminal equipment;
and determining the detail events occurring in the historical time period according to the running information of each application program in the terminal equipment.
In another possible implementation manner, the first determining module is specifically configured to:
acquiring event conditions of a plurality of preset events;
and determining the main event in the plurality of preset events according to the place information and the event conditions of the plurality of preset events, wherein the place information meets the event conditions of the main event.
In another possible implementation manner, the second determining module is specifically configured to:
acquiring the event type, the occurrence time and the occurrence place of the detail event;
acquiring a main time range and a main place range of the main event;
and determining the associated information between the main event and the detail event according to the event type of the detail event, the occurrence time of the detail event, the occurrence place of the detail event, the main time range and the main place range.
In another possible implementation manner, the second determining module is specifically configured to:
the event type of the detail event is a trip type, and if an end position in an occurrence place of the detail event is within the main place range and an end time in an occurrence time of the detail event is within the main time range, determining that the associated information between the main event and the detail event is: the travel mode of the main event is the travel mode corresponding to the detail event;
the event types of the detail event are an entertainment type and a consumption type, and if the occurrence time of the detail event is within the range of the main event and the occurrence place of the detail event is within the range of the main place, determining the associated information between the main event and the detail event as follows: the detail event occurs within the primary event;
the event types of the detail events are entertainment types and consumption types, and if the occurrence time of the detail events is out of the range of the main events or the occurrence place of the detail events is out of the range of the main places, the association information between the main events and the detail events is determined as follows: the detail event occurs outside of the primary event.
In another possible implementation manner, the apparatus further includes a second obtaining module and a sending module, wherein,
the second acquisition module is used for acquiring the acquired user data;
the sending module is used for sending the collected user data to the server when the terminal equipment is connected with the wireless fidelity WiFi network.
In another possible implementation manner, the first obtaining module is specifically configured to:
and requesting a server to acquire the user data in the historical period.
In a third aspect, an embodiment of the present invention provides a terminal device, including: a processor coupled with a memory;
the memory is used for storing a computer program;
the processor is configured to execute the computer program stored in the memory, so that the boot screen dotting device executes the method of any one of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a readable storage medium, which includes a program or instructions, and when the program or instructions are run on a computer, the method according to any one of the first aspect is performed.
According to the user behavior determining method and device provided by the embodiment of the invention, the terminal equipment can acquire the user data in the historical time period, determine the main event and the detail event which occur in the historical time period and the associated information between the main event and the detail event according to the user data, and generate the user behavior information according to the main event and the detail event which occur in the historical time period and the associated information between the main event and the detail event, wherein the user behavior information represents the user behavior of the user in the historical time period. In the process, when the user needs to recall the things happening in the historical time period, the terminal device can quickly generate user behavior information according to the user data in the historical time period, so that the user can quickly know the things happening in the historical time period, the user operation is simplified, and the efficiency of determining the user behavior is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a scene diagram of a user behavior determination method according to an embodiment of the present invention;
fig. 2 is a first flowchart of a user behavior determination method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a user behavior determination method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a user interface provided by an embodiment of the invention;
fig. 5 is a first schematic structural diagram of a user behavior determination apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a user behavior determination apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a scene diagram of a user behavior determination method according to an embodiment of the present invention. Referring to fig. 1, the terminal device 101 and the server 102 are included. Optionally, the terminal device 101 may be a mobile phone, a tablet computer, or the like. The terminal device 101 may collect user data and send the user data to the server 102, for example, the user data collected by the terminal device 101 may include address information, running information of an application program in the terminal device 101, and the like, and the running information of the application program may include a running duration of the application program, and information (e.g., order information, payment information, and the like) generated during the running of the application program. The server 102 may store the user data transmitted by the terminal device 101. When the terminal device 101 needs to display the user behavior in the history period, the terminal device 101 may acquire the user data in the history period in the server 102 and analyze the user data in the history period to generate the user behavior in the history period.
In the application, the terminal device may obtain user data in a history period, analyze the user data in the history period, determine a main event, a detail event and associated information between the main event and the detail event which occur in the history period according to the user data, and generate user behavior information according to the main event, the detail event and the associated information between the main event and the detail event which occur in the history period, wherein the user behavior information represents a user behavior of a user in the history period. In the process, when the user needs to recall the things happening in a certain time period before the current time, the terminal device can quickly generate user behavior information according to the user data, so that the user can quickly know the things happening in the certain time period, the user operation is simplified, and the efficiency of determining the user behavior is improved.
It should be noted that fig. 1 illustrates only one application scenario of the user behavior determination method by way of example, and is not limited to the application scenario, and in an actual application process, the method shown in the embodiment of the present invention may also be applied to other scenarios, which is not specifically limited in this embodiment of the present invention.
The technical means shown in the present application will be described in detail below with reference to specific examples. It should be noted that the following embodiments may be combined with each other, and the description of the same or similar contents in different embodiments is not repeated.
Fig. 2 is a first flowchart of a user behavior determination method according to an embodiment of the present invention. Referring to fig. 2, the method may include:
s201, user data in a historical time period is obtained, wherein the historical time period is a time period before the current time.
The execution subject of the embodiment of the present invention may be a terminal device, or may be a user behavior determination device provided in the terminal device. Alternatively, the user behavior determination means may be implemented by software, or may be implemented by a combination of software and hardware.
Alternatively, the duration of the historical period may be one day, two days, one week, one month, etc. In an actual application process, the duration of the history period may be set according to actual needs, which is not specifically limited in the embodiment of the present invention.
Alternatively, the time interval between the historical period and the current time may be one month, one year, three years, etc. In an actual application process, a time interval between the history time period and the current time may be set according to actual needs, which is not specifically limited in the embodiment of the present invention.
For example, the historical period may be one day of the year ago, i.e., the historical period is today of the last year.
For example, the historical period may be one week two years ago, i.e., the historical period is the current week of the previous year.
Optionally, the user data may include location information at each time in the history period, and operation information of each application in the terminal device.
Optionally, the location information includes a user address at each time in the history period.
Optionally, the application programs in the terminal device may include a short message application program, a game application program, a taxi-taking application program, a shopping application program, a payment application program, a health management application program, and the like.
Optionally, the running information of the application program may include a running time length of the application program and information generated during the running process of the application program. For example, the information generated by the application during the running process may include order information, payment information, etc. generated by the running process.
For example, when the application is a taxi taking application, the running information of the taxi taking application may include: the running time period of the taxi-taking application, the generated order information (including the starting position, the ending position, the payment amount, etc.). When the application is a video playing application, the running information of the video playing application may include: the running time period of the video application, the name of the video played, etc.
Alternatively, the user may input the history period and the query instruction in the terminal device, so that the terminal device executes the embodiment shown in fig. 2 according to the history period and the query instruction input by the user to generate the user behavior.
Optionally, a history period may be preset in the terminal device, and the terminal device periodically executes the embodiment shown in fig. 2 according to the preset history period to generate the user behavior. Alternatively, the execution period may be one day. For example, the embodiment shown in FIG. 2 is performed at zero on each day.
Of course, in an actual application process, the terminal device may also execute the embodiment shown in fig. 2 under other trigger conditions to generate the user behavior, and the embodiment of the present invention does not specifically limit the trigger conditions for executing the embodiment shown in fig. 2.
Optionally, the user data according to the embodiment of the present invention may be data acquired by a terminal device, and after the user data is acquired by the terminal device, the acquired user data is sent to a server when the terminal device is connected to a Wireless Fidelity (WiFi) network. Therefore, the storage space of the terminal equipment can be saved, and the flow of the terminal equipment can be saved.
Alternatively, the terminal device may request the server to acquire the user data in the history period.
S202, determining main events and detail events occurring in the historical time period according to the user data.
In the embodiment of the present invention, the main event refers to a main event occurring within a history period.
For example, the primary events may include work, home rest, business trips, travel, shopping, and the like. Of course, in an actual application process, the main event may be set according to actual needs, and this is not specifically limited in the embodiment of the present invention.
Alternatively, the main events occurring within the history period may be determined by the following feasible implementation: the method comprises the steps of obtaining event conditions of a plurality of preset events, determining a main event in the preset events according to location information and the event conditions of the preset events, wherein the location information meets the event conditions of the main event. Optionally, a ratio of the duration corresponding to the main event to the total duration corresponding to the historical time period is greater than a first preset threshold, for example, the first preset threshold may be 0.6, 0.8, and the like, and of course, in an actual application process, the first preset threshold may be set according to actual needs.
Alternatively, the predetermined event may include work, home rest, going out, traveling, shopping, etc. Of course, in an actual application process, a preset event may be set according to actual needs, and this is not specifically limited in the embodiment of the present invention.
For example, an event condition for "working" is: the time period during which the user location in the location information is within the first location range (office area) is longer than 6 hours. The event conditions for "rest at home" are: the time of the user place in the place information in the second place range (the place where the house is located) is longer than 8 hours. The event conditions for "going out of the door" are: city switching occurs at the user location within the historical period. Of course, in the actual application process, the event condition of the preset event may be set according to actual needs, and this is not specifically limited in the embodiment of the present invention.
For example, assuming that it is determined from the location information that the time duration of the user in the office area is 8 hours, it may be determined that the main event is working. Assuming that it is determined from the location information that the time duration of the user at home is 10 hours, it can be determined that the main event is a rest at home. Assuming that the duration of the user at the tourist attraction is determined to be 3 hours according to the location information, it can be determined that the main event is tourism.
In the embodiment of the present invention, the detail event refers to a non-main event occurring within the history period.
Optionally, the number of detail events occurring in the history period may be 1, or may be multiple.
For example, the detail events may include taking a takeout, shopping a skirt, watching movie 1, playing a game, listening to music, staying in a hotel, sitting in a plane, sitting in a train, etc. Of course, in an actual application process, the detail event may be set according to actual needs, and this is not specifically limited in the embodiment of the present invention.
Optionally, the detailed events occurring in the historical period may be determined according to the operation information of each application in the terminal device. Optionally, a ratio of the duration corresponding to the detail event to the total duration corresponding to the historical time period is smaller than a second preset threshold, for example, the second preset threshold may be 0.2, 0.1, and the like, and of course, in an actual application process, the second preset threshold may be set according to actual needs.
For example, assuming that the running information records that a video application in the terminal device runs for 2 hours and plays movie 1, the detail event may be determined to be watching movie 1 according to the running information. Assuming that the taxi taking software in the terminal device generates a taxi taking order, the detail event can be determined to be taxi taking. Assuming that shopping software in the terminal device generates a shopping order and the purchase object is a skirt, the detail event can be determined to be buying the skirt on the internet.
S203, determining the associated information between the main event and the detail event.
Optionally, the event type, the occurrence time, and the occurrence location of the detail event may be acquired, the main time range and the main location range of the main event may be acquired, and the association information between the main event and the detail event may be determined according to the event type, the occurrence time, the occurrence location, the main time range, and the main location range of the detail event.
Optionally, the event types of the detail event at least include a travel type, an entertainment type, a consumption type, and the like. Of course, in an actual application process, the event type of the detail event may be determined according to actual needs, and this is not specifically limited in the embodiment of the present invention.
Optionally, the association information between the main event and the detail event may be determined by the following feasible implementation manners:
when the event type of the detail event is a trip type, if the ending position in the occurrence place of the detail event is within the main place range and the ending time in the occurrence time of the detail event is within the main time range, determining that the associated information between the main event and the detail event is: the travel mode of the main event is the travel mode corresponding to the detail event.
For example, the travel-type detail events may include getting on a car, sitting on a plane, sitting on a train, sitting on a high-speed car, walking, etc.
For example, assuming that the main event is work, the detail event is taxi taking, the terminal position of taxi taking is within the office area range, and the terminal time of taxi taking is within the work time range, the association information between the main event (work) and the detail event (taxi taking) may be determined as follows: the trip mode of working is taxi taking.
For example, assuming that the main event is an outbound, the detail event is an airplane, the ending position of the flight is in a target city (a city after city switching), and the ending time of the flight is after the time when the city is switched to the target city, it may be determined that the association information between the main event (outbound) and the detail event (airplane sitting) is: the outgoing mode of going out of the door is to sit on an airplane.
When the event type of the detail event is the entertainment type and the consumption type, if the occurrence time of the detail event is within the main event range and the occurrence location of the detail event is within the main location range, determining the associated information between the main event and the detail event as follows: a detail event occurs within the master event.
For example, entertainment-type detail events may include playing games, listening to music, watching movies, walking, and the like.
For example, the consumption type of detail event may include call out, online shopping, lodging, dining, and the like.
For example, assuming that the main event is work, the detail event is play, and the time of play is within the work time range and the place of play is within the office area, the association information between the main event (work) and the detail event (play) is determined as follows: play the game while at work.
When the event type of the detail event is an entertainment type and a consumption type, if the occurrence time of the detail event is out of the range of the main event or the occurrence location of the detail event is out of the range of the main location, determining the associated information between the main event and the detail event as follows: a detail event occurs outside the main event.
For example, assuming that the main event is work, the detail event is movie watching, and the time of movie watching is after work time and the place of playing is outside the office area, the association information between the main event (work) and the detail event (movie watching) is determined as follows: watch the movie after work.
And S204, generating user behavior information according to the main event, the detail event and the associated information between the main event and the detail event.
Optionally, the position information of the main event, the detail event, and the associated information in the preset template may be determined, and the main event, the detail event, and the associated information are filled into the preset template according to the position information to form the user behavior information.
For example, assuming that the main event is work, the detail events include: taxi, play game, watch movie 1. Assume again that the association information between the main event and the detail event is shown in table 1:
TABLE 1
Figure BDA0001695943720000101
Then, according to the main event, the detail event, and the associated information shown in table 1, the user behavior information is determined as follows: you take a car to go to work, play a game during work, and watch movie 1 after work.
For example, assume that the primary event is outbound (the target city is Qingdao), and the detail events include taking a first flight, lodging a first hotel, and eating seafood at the first restaurant. Further assume that the association information between the main event and each detail event is shown in table 2:
TABLE 2
Figure BDA0001695943720000111
Then, according to the main event, the detail event, and the associated information shown in table 1, the user behavior information is determined as follows: you take a first flight to go to Qingdao and get rid of it, live a first hotel in Qingdao and eat seafood in a first restaurant in Qingdao.
According to the user behavior determining method provided by the embodiment of the invention, the terminal equipment can acquire the user data in the historical time period, determine the main event, the detail event and the associated information between the main event and the detail event which occur in the historical time period according to the user data, and generate the user behavior information according to the main event, the detail event and the associated information between the main event and the detail event which occur in the historical time period, wherein the user behavior information represents the user behavior of the user in the historical time period. In the process, when the user needs to recall the things happening in the historical time period, the terminal device can quickly generate user behavior information according to the user data in the historical time period, so that the user can quickly know the things happening in the historical time period, the user operation is simplified, and the efficiency of determining the user behavior is improved.
In addition to the embodiment shown in fig. 2, the embodiment shown in fig. 2 will be described in detail below with reference to the embodiment shown in fig. 3.
Fig. 3 is a schematic flowchart of a user behavior determination method according to an embodiment of the present invention. Referring to fig. 3, the method may include:
s301, user data in a history period is obtained from a server, and the user data comprises location information and running information of each application program in the terminal equipment.
It should be noted that the execution process of S301 may refer to S201, and is not described herein again.
S302, event conditions of a plurality of preset events are obtained.
S303, determining a main event in the plurality of preset events according to the location information and the event conditions of the plurality of preset events, wherein the location information meets the event conditions of the main event.
Through S302-S303, it may be determined that the primary event sent within the history period is obtained.
It should be noted that the execution process of S302-S303 may refer to S202, and is not described herein again.
S304, determining the detail events occurring in the historical time period according to the operation information of each application program in the terminal equipment.
It should be noted that the execution process of S304 may refer to S202, and is not described herein again.
It should also be noted that S302-S303 and S304 may be executed in parallel.
S305, acquiring the event type, the occurrence time and the occurrence place of the detail event.
S306, acquiring a main time range and a main place range of the main event.
S307, determining the association information between the main event and the detail event according to the event type of the detail event, the occurrence time of the detail event, the occurrence place of the detail event, the main time range and the main place range.
Through S305-S307, it may be determined to obtain association information between the main event and the detail event.
It should be noted that the execution process of S305-S307 may refer to S203, and is not described herein again.
And S308, generating user behavior information according to the main event, the detail event and the associated information between the main event and the detail event.
It should be noted that the execution process of S308 may refer to S204, and is not described herein again.
In the embodiment shown in fig. 3, when the user needs to recall the things that occur in the history period before the current time, the terminal device may quickly generate the user behavior information according to the user data in the history period, so that the user may quickly know the things that occur in the history period, which not only simplifies the user operation, but also improves the efficiency of determining the user behavior.
On the basis of any of the above embodiments, after the terminal device generates the user behavior information, the user behavior information may be displayed in the terminal device. Optionally, in order to enhance the interest of the terminal device and enhance the convenience of the user for viewing the user behavior information, a history period may be preset, and the user behavior information may be displayed in one page on the main screen of the terminal device.
For example, assuming that the terminal device includes three pages on the home screen, the user behavior information may be displayed on the leftmost page.
For example, suppose that the historical period is today of the last year, the leftmost page of the home screen of the terminal device is used for displaying user information, and then suppose that the determined user behavior information is: today in the last year you take a first flight to go to Qingdao cheer, live a first hotel in Qingdao, and eat seafood in the first restaurant in Qingdao, the page displaying the user behavior information may be as shown in FIG. 4.
Fig. 4 is a schematic diagram of a user interface provided in the embodiment of the present invention. Referring to fig. 4, user behavior information is displayed in a page of the terminal device: in the last year, you take a first flight to go to Qingdao and live in Qingdao and eat seafood in Qingdao and restaurant.
In the embodiment shown in fig. 4, as long as the user slides the page on the home screen of the terminal device to the leftmost page, the user can check what the user done today in the last year in the leftmost page, the user operation is simple and convenient, and the user experience is further improved.
Fig. 5 is a first schematic structural diagram of a user behavior determination apparatus according to an embodiment of the present invention. Referring to fig. 5, the apparatus may include a first obtaining module 11, a first determining module 12, a second determining module 13, and a generating module 14, wherein,
the first obtaining module 11 is configured to obtain user data in a historical time period, where the historical time period is a time period before a current time;
the first determining module 12 is configured to determine, according to the user data, a main event and a detail event occurring in the historical time period;
the second determining module 13 is configured to determine association information between the main event and the detail event;
the generating module 14 is configured to generate user behavior information according to the main event, the detail event, and the association information between the main event and the detail event.
The user behavior determination apparatus provided in the embodiment of the present invention may implement the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects thereof are similar, and are not described herein again.
In a possible implementation, the first determining module 12 is specifically configured to:
determining the main event occurring in the historical time period according to location information in the user data, wherein the user data at least comprises the location information and operation information of each application program in the terminal equipment;
and determining the detail events occurring in the historical time period according to the running information of each application program in the terminal equipment.
In another possible implementation, the first determining module 12 is specifically configured to:
acquiring event conditions of a plurality of preset events;
and determining the main event in the plurality of preset events according to the place information and the event conditions of the plurality of preset events, wherein the place information meets the event conditions of the main event.
In another possible implementation manner, the second determining module 13 is specifically configured to:
acquiring the event type, the occurrence time and the occurrence place of the detail event;
acquiring a main time range and a main place range of the main event;
and determining the associated information between the main event and the detail event according to the event type of the detail event, the occurrence time of the detail event, the occurrence place of the detail event, the main time range and the main place range.
In another possible implementation manner, the second determining module 13 is specifically configured to:
the event type of the detail event is a trip type, and if an end position in an occurrence place of the detail event is within the main place range and an end time in an occurrence time of the detail event is within the main time range, determining that the associated information between the main event and the detail event is: the travel mode of the main event is the travel mode corresponding to the detail event;
the event types of the detail event are an entertainment type and a consumption type, and if the occurrence time of the detail event is within the range of the main event and the occurrence place of the detail event is within the range of the main place, determining the associated information between the main event and the detail event as follows: the detail event occurs within the primary event;
the event types of the detail events are entertainment types and consumption types, and if the occurrence time of the detail events is out of the range of the main events or the occurrence place of the detail events is out of the range of the main places, the association information between the main events and the detail events is determined as follows: the detail event occurs outside of the primary event.
Fig. 6 is a schematic structural diagram of a user behavior determination apparatus according to an embodiment of the present invention. On the basis of the embodiment shown in fig. 5, please refer to fig. 6, the apparatus further includes a second obtaining module 15 and a sending module 16, wherein,
the second obtaining module 15 is configured to obtain the acquired user data;
the sending module 16 is configured to send the acquired user data to a server when the terminal device is connected to the WiFi network.
In another possible implementation, the first obtaining module 11 is specifically configured to:
and requesting a server to acquire the user data in the historical period.
The user behavior determination apparatus provided in the embodiment of the present invention may implement the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects thereof are similar, and are not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the embodiments of the present invention, and are not limited thereto; although embodiments of the present invention have been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the embodiments of the present invention.

Claims (5)

1. A user behavior determination method is applied to a terminal device, and comprises the following steps:
acquiring user data in a historical time period, wherein the historical time period is a time period before the current time, the user data at least comprises location information and operation information of each application program in the terminal equipment, and the operation information of each application program in the terminal equipment comprises the operation duration of the application program and information generated in the operation process of the application program;
determining a main event occurring in the historical time period according to the location information;
determining detail events occurring in the historical time period according to the running information of each application program in the terminal equipment; the ratio of the time length corresponding to the detail event to the total time length corresponding to the historical time period is smaller than a preset threshold value;
determining association information between the main event and the detail event;
generating user behavior information according to the main event, the detail event and the associated information between the main event and the detail event;
the determining the association information between the main event and the detail event comprises:
acquiring the event type, the occurrence time and the occurrence place of the detail event;
acquiring a main time range and a main place range of the main event;
determining the association information between the main event and the detail event according to the event type of the detail event, the occurrence time of the detail event, the occurrence place of the detail event, the main time range and the main place range; the associated information comprises that a detail event occurs in the main event or a detail event occurs outside the main event;
the determining the main event occurring in the historical period according to the location information includes:
acquiring event conditions of a plurality of preset events;
and determining the main event in the plurality of preset events according to the place information and the event conditions of the plurality of preset events, wherein the place information meets the event conditions of the main event.
2. The method according to claim 1, wherein the determining the association information between the main event and the detail event according to the event type of the detail event, the occurrence time of the detail event, the occurrence location of the detail event, the main time range and the main location range comprises:
the event type of the detail event is a trip type, and if an end position in an occurrence place of the detail event is within the main place range and an end time in an occurrence time of the detail event is within the main time range, determining that the associated information between the main event and the detail event is: the travel mode of the main event is the travel mode corresponding to the detail event;
the event types of the detail event are an entertainment type and a consumption type, and if the occurrence time of the detail event is within the range of the main event and the occurrence place of the detail event is within the range of the main place, determining the associated information between the main event and the detail event as follows: the detail event occurs within the primary event;
the event types of the detail events are entertainment types and consumption types, and if the occurrence time of the detail events is out of the range of the main events or the occurrence place of the detail events is out of the range of the main places, the association information between the main events and the detail events is determined as follows: the detail event occurs outside of the primary event.
3. The method of claim 1, further comprising:
acquiring user data obtained by collection;
and when the terminal equipment is connected with a wireless fidelity WiFi network, sending the acquired user data to a server.
4. The method of claim 1, wherein obtaining user data over a historical period comprises:
and requesting a server to acquire the user data in the historical period.
5. A user behavior determination device is characterized by comprising a first acquisition module, a first determination module, a second determination module and a generation module, wherein,
the first acquisition module is used for acquiring user data in a historical time period, wherein the historical time period is a time period before the current time, the user data at least comprises location information and operation information of each application program in the terminal equipment, and the operation information of each application program in the terminal equipment comprises the operation duration of the application program and information generated in the operation process of the application program;
the first determining module is used for determining a main event occurring in the historical time period according to the location information; determining detail events occurring in the historical time period according to the running information of each application program in the terminal equipment, wherein the ratio of the time length corresponding to the detail events to the total time length corresponding to the historical time period is less than a preset threshold value;
the second determining module is used for determining the associated information between the main event and the detail event;
the generation module is used for generating user behavior information according to the main event, the detail event and the associated information between the main event and the detail event;
the second determining module is specifically configured to:
acquiring the event type, the occurrence time and the occurrence place of the detail event;
acquiring a main time range and a main place range of the main event;
determining association information between the main event and the detail event according to the event type of the detail event, the occurrence time of the detail event, the occurrence place of the detail event, the main time range and the main place range, wherein the association information comprises that the detail event occurs in the main event or the detail event occurs out of the main event;
the first determining module is specifically configured to:
acquiring event conditions of a plurality of preset events;
and determining the main event in the plurality of preset events according to the place information and the event conditions of the plurality of preset events, wherein the place information meets the event conditions of the main event.
CN201810612918.XA 2018-06-14 2018-06-14 User behavior determination method and device Active CN108897801B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810612918.XA CN108897801B (en) 2018-06-14 2018-06-14 User behavior determination method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810612918.XA CN108897801B (en) 2018-06-14 2018-06-14 User behavior determination method and device

Publications (2)

Publication Number Publication Date
CN108897801A CN108897801A (en) 2018-11-27
CN108897801B true CN108897801B (en) 2021-03-02

Family

ID=64344932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810612918.XA Active CN108897801B (en) 2018-06-14 2018-06-14 User behavior determination method and device

Country Status (1)

Country Link
CN (1) CN108897801B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110719360B (en) * 2019-09-04 2021-04-20 奇酷互联网络科技(深圳)有限公司 Automatic generation method and device of memo event and storage device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870550A (en) * 2014-03-03 2014-06-18 同济大学 User behavior pattern acquisition method based on Android system and system thereof
CN104239466A (en) * 2014-09-02 2014-12-24 百度在线网络技术(北京)有限公司 Method and device for recommending user item and equipment
CN107807997A (en) * 2017-11-08 2018-03-16 北京奇虎科技有限公司 User's portrait building method, device and computing device based on big data

Also Published As

Publication number Publication date
CN108897801A (en) 2018-11-27

Similar Documents

Publication Publication Date Title
CN104967607B (en) A kind of information processing method, terminal and server
US8935261B2 (en) Social discovery and ranking of pages
US10380774B2 (en) Rendering contiguous image elements
WO2017181613A1 (en) Search response method, device and system
WO2017177630A1 (en) Method and device for recommending personalized information
US20170264973A1 (en) Video playing method and electronic device
CN109379639B (en) Method and device for pushing video content object and electronic equipment
US20220318306A1 (en) Video-based interaction implementation method and apparatus, device and medium
US8949238B2 (en) Information processing device, method, and computer program product
KR101282292B1 (en) System and method for servicing advertisement using augmented reality
US10674183B2 (en) System and method for perspective switching during video access
US20170168660A1 (en) Voice bullet screen generation method and electronic device
CN114398554B (en) Content searching method, device, equipment and medium
CN112714329A (en) Display control method and device for live broadcast room, storage medium and electronic equipment
CN109191213B (en) Promotion information delivery method and device based on interest points, terminal and storage medium
CN105744338B (en) A kind of method for processing video frequency and its equipment
JP2021005768A (en) Computer program, information processing method and video distribution system
CN108897801B (en) User behavior determination method and device
CN112422592B (en) Information recommendation method and device, electronic equipment and storage medium
CN109241303B (en) Video creation method and related product
WO2018168998A1 (en) Bot control management program, method, device, and system
KR102328287B1 (en) Server device, and computer programs used therein
CN108156529B (en) Data display method, device and system
CN110020111B (en) Travel recommendation method and device, computer equipment and storage medium
JP6920996B2 (en) Devices, methods, and programs for generating behavioral information for foreign tourists

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.