CN111046288B - Content recommendation method, device, terminal and storage medium - Google Patents

Content recommendation method, device, terminal and storage medium Download PDF

Info

Publication number
CN111046288B
CN111046288B CN201911277857.7A CN201911277857A CN111046288B CN 111046288 B CN111046288 B CN 111046288B CN 201911277857 A CN201911277857 A CN 201911277857A CN 111046288 B CN111046288 B CN 111046288B
Authority
CN
China
Prior art keywords
station
determining
information
user
arrival
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
CN201911277857.7A
Other languages
Chinese (zh)
Other versions
CN111046288A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201911277857.7A priority Critical patent/CN111046288B/en
Publication of CN111046288A publication Critical patent/CN111046288A/en
Application granted granted Critical
Publication of CN111046288B publication Critical patent/CN111046288B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Educational Administration (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application provides a content recommendation method, a content recommendation device, a content recommendation terminal and a content recommendation storage medium, and relates to the technical field of Internet. The method comprises the following steps: acquiring journey information of a user, wherein the journey information comprises an initial station and a destination station of the user traveling by taking a vehicle; determining a travel time from a start station to a destination station; and acquiring internet content matched with the travel time for recommendation. The embodiment of the application realizes that the content conforming to the scene is recommended according to the specific actual scene, improves the accuracy of content recommendation, ensures that a recommendation algorithm is more effective and conforms to the actual requirement of a user, and improves the content reading experience of the user.

Description

Content recommendation method, device, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of Internet, in particular to a content recommendation method, a content recommendation device, a content recommendation terminal and a storage medium.
Background
The terminal may recommend information of interest to the user using a recommendation algorithm.
In the related art, information recommendation mainly performs content recommendation according to some mainstream recommendation algorithms, and the recommendation refers to that a system guesses content interested by a user from mass data according to acquired user data and recommends the content to the user. The core idea of the recommendation algorithm is to mine similar users or similar information to be recommended, and to recommend the similar information to be recommended to the users through the similar users. It can be seen that the related information recommendation method is mostly based on optimizing recommendation algorithm, and mainly based on recommended content.
Disclosure of Invention
The embodiment of the application provides a content recommendation method, a content recommendation device, a terminal and a storage medium. The technical scheme is as follows:
In one aspect, an embodiment of the present application provides a content recommendation method, including:
Acquiring journey information of a user, wherein the journey information comprises an initial station and a destination station of the user traveling by taking a vehicle;
Determining a travel time from the start station to the destination station;
and acquiring the internet content matched with the travel time for recommendation.
In another aspect, an embodiment of the present application provides a content recommendation apparatus, including:
the information acquisition module is used for acquiring journey information of a user, wherein the journey information comprises a starting station and a destination station of the user traveling by taking a vehicle;
a time determining module for determining a travel time from the start station to the destination station;
And the content recommendation module is used for acquiring the internet content matched with the travel time to recommend.
In another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores a computer program that is loaded and executed by the processor to implement the content recommendation method according to the above aspect.
In yet another aspect, embodiments of the present application provide a computer-readable storage medium having a computer program stored therein, the computer program being loaded and executed by a processor to implement the content recommendation method as described in the above aspects.
The technical scheme provided by the embodiment of the application can bring the following beneficial effects:
The starting site and the destination site of the travel of the user taking the transportation means are obtained, and the travel time from the starting site to the destination site is determined, so that the internet content matched with the travel time is obtained for recommendation, the internet content which can be effectively input in the travel time is recommended, the content which accords with the scene according to the specific actual scene recommendation is realized, the accuracy of the content recommendation is improved, the recommendation algorithm is more effective and accords with the actual requirement of the user, and the content reading experience of the user is improved.
Drawings
FIG. 1 is a flow chart of a content recommendation method provided by one embodiment of the present application;
FIG. 2 is a flow chart of a method for acquiring trip information provided by an embodiment of the present application;
FIG. 3 is a flow chart of a content recommendation method provided by another embodiment of the present application;
FIG. 4 is a schematic diagram of a collaborative filtering algorithm provided by one embodiment of the present application;
FIG. 5 is a block diagram of a content recommendation device provided by one embodiment of the present application;
FIG. 6 is a block diagram of a content recommendation device provided by another embodiment of the present application;
Fig. 7 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
In real life, a user takes a vehicle (e.g., a subway) to work and out of work every day, and during taking a subway, the user generally uses a terminal. The recommendation result of the recommendation algorithm in the related technology does not make special treatment under the subway riding scene of the user, the recommendation information obtained by the user can be some information which is interested in the user normally, but the information content can be long, the user can not read completely in the subway riding travel time, but reads half of the information, the user can not read continuously after arriving at the company, and the user experience is not good; if the recommended information content is less, the complete travel time cannot be utilized, so that the user can only acquire some fragmented information.
The current society is rapidly rhythmized, so that a user needs to fully utilize a complete and effective time to acquire information input with effective depth for self promotion, and how to utilize the recommendation result of the current mainstream recommendation algorithm to combine with the actual scene of the user, so that the information content which can be effectively acquired by the user in the actual scene is a problem to be solved urgently.
According to the technical scheme provided by the embodiment of the application, the starting site and the destination site of the travel of the user taking the transportation means are obtained, and the travel time from the starting site to the destination site is determined, so that the Internet content matched with the travel time is obtained for recommendation, the Internet content which can be effectively input in the travel time is recommended, the content which accords with the scene is recommended according to the specific actual scene, the accuracy of content recommendation is improved, the recommendation algorithm is more effective and accords with the actual requirement of the user, and the content reading experience of the user is improved.
Referring to fig. 1, a flowchart of a content recommendation method according to an embodiment of the application is shown. The method may be performed by a terminal, for example, the terminal may be an electronic device such as a mobile phone, a tablet, a wearable electronic device, a multimedia device, etc., and the method may include the following steps.
Step 101, acquiring journey information of a user, wherein the journey information comprises an initial station and a destination station of the user traveling by taking a vehicle.
Optionally, before acquiring the trip information of the user, the terminal may first determine whether the user is currently in the trip mode. In one example, when the terminal acquires a specified sound emitted by the vehicle, it is determined that the user is in a travel mode, at which time the terminal performs from the step of acquiring travel information of the user, the specified sound is used to characterize the vehicle. For example, describing a subway as a vehicle, when the terminal acquires the alarm sound of opening and closing a door of the subway, it may be determined that the user is currently in a travel mode, and the terminal may start to execute from the step of acquiring the travel information of the user. In another example, when the terminal determines that the user swipes the code out, it is determined that the user is in the travel mode, at which time the terminal starts to perform from the step of acquiring the travel information of the user. For example, when the terminal acquires the user's swipe code interface, the user may be determined to swipe the code, and at this time, the terminal may start to execute from the step of acquiring the user's journey information.
The vehicles can be subways, buses, taxis, high-speed rails, motor cars or other transportation vehicles, etc.
Step 102, determining a travel time from the origin site to the destination site.
In one example, the terminal determines a single site average time based on the total time of the line and the number of line sites. And determining the travel time according to the number of the travel stations and the single-station average time.
In the embodiment of the application, the total time of the line refers to the running time of the whole line corresponding to the travel information, the number of the line stations refers to the number of stations included in the whole line, the number of the travel stations refers to the number of stations that the vehicle passes from the starting station to the destination station, and the number of the travel stations can be calculated according to the station index. The whole course line passes through the starting station and the destination station. For example, if the start station and the destination station included in the trip information are station 2 and station 4, the whole-course line corresponding to the trip information is from station 1 to station 11, the number of line stations is 10, and the number of trip stations is 2.
Alternatively, the quotient of the total line time and the number of line stations is determined as the single station average time. The product of the number of journey stations and the average time of a single station is determined as journey time. For example, the total line time is 30 minutes, the number of line stations is 10, and the average single station time is 30/10=3 minutes, that is, the average time for the vehicle to pass through two adjacent stations is 3 minutes. The number of journey stations is 2, and the journey time is 3*2 =6 minutes, that is, the vehicle needs to travel for 6 minutes from the start station to the destination station.
In another example, the terminal determines an average of historical travel times of at least one piece of historical travel information corresponding to an initial site to a destination site in the database as the travel time. The travel time is determined simply and quickly.
The technician may build a database for the traffic lines of the main city, for example, a database for the subway lines of the main city, and the terminal determines an average value of the historical travel time of at least one of the historical travel information corresponding to the start site to the destination site in the database as the travel time. For example, there are 3 pieces of history travel information in the database, and the history travel times of the 3 pieces of history travel information are 10 minutes, 20 minutes, and 15 minutes, respectively, and the travel time may be (10+20+15)/3=15 minutes.
And step 103, acquiring internet content matched with the travel time for recommendation.
The recommended internet content is content of interest to the user. In the embodiment of the application, the internet content matched with the travel time means that the browsing duration of the internet content is matched with the travel time, that is, the browsing duration of the internet content is consistent with the travel time, or the difference value between the browsing duration of the internet content and the travel time is within a preset value.
In summary, in the technical scheme provided by the embodiment of the application, by acquiring the starting station and the destination station of the travel of the user taking the transportation means and determining the travel time from the starting station to the destination station, the internet content matched with the travel time is acquired to recommend the internet content which can be effectively input in the travel time, the content which accords with the scene is recommended according to the specific actual scene, the accuracy of content recommendation is improved, the recommendation algorithm is more effective and accords with the actual requirement of the user, and the content reading experience of the user is improved.
In one possible implementation manner, the terminal may obtain the trip information of the user by:
firstly, acquiring reference information for determining a starting site;
Secondly, determining an initial site according to the reference information;
In one example, if the reference information includes a travel order interface after the payment of the swipe code, a first site name included in the travel order interface is identified, and the starting site is determined according to the first site name.
The travel order interface may be a payment success interface after the brush code payment is successful. In practical application, a user can travel by taking a vehicle through a code brushing, a successful payment interface is displayed after the user successful payment through the code brushing, and the terminal can determine the first site name as a starting site by identifying the first site name contained in the successful payment interface. Of course, in other possible implementation manners, the travel order interface may also be an order interface after the payment is successful in the ticket purchasing application program, and the type of the travel order interface is not limited in the embodiment of the present application.
In another example, if the reference information includes voice broadcast information of the vehicle, a second site name included in the voice broadcast information is identified, and the start site is determined according to the second site name.
In practical applications, the second site included in the voice playing information may be a next site to the start site, and the terminal may determine a site preceding the second site as the start site according to the site index.
In yet another example, if the reference information includes location information of the vehicle, the starting station is determined from the location information.
When the user just sits on the vehicle, positioning information of the vehicle is acquired, and the positioning information is determined as a starting station.
Thirdly, a destination station is obtained according to the initial station prediction.
Illustratively, the terminal may predict the destination station as follows: acquiring a history travel record of a user; determining arrival probability values corresponding to all stations in the historical travel record; and determining the site with the maximum arrival probability value as the predicted destination site.
In the embodiment of the application, the arrival probability value refers to a probability value that a user leaves a vehicle at a station from a station. Illustratively, the arrival probability value P (a i |b) (probability of arrival at the start station and arrival at the first station) corresponding to each station in the historical trip record can be calculated by the following formula:
wherein P (A i) represents the probability of arrival at the first site in the history, and P (B|A i) represents the probability of arrival at the first site and arrival at the start site in the history; p (a j) represents the probability of going out from the second station in the history, P (b|a j) represents the probability of going in from the second station to the station at the start station in the history, Σ jP(B|Aj)P(Aj) represents the sum of the products of the probability of going in from any station to the station in the history and the probability of going in from the start station to the station at any station, i, j, n are positive integers, and n represents the number of history strokes included in the history.
Optionally, the terminal determines the destination station according to the station with the largest arrival probability value by the following method: displaying the site with the largest arrival probability value; if a modification instruction of the station with the largest arrival probability value is received, modifying the station with the largest arrival probability value, and determining the station with the largest arrival probability value after modification as the destination station; and if a confirmation instruction of the station with the largest arrival probability value is received, determining the station with the largest arrival probability value as the destination station.
If the user finds that the station with the maximum arrival probability value does not accord with the actual situation, the user can modify the station with the maximum arrival probability value according to the actual situation, so that the terminal determines the station with the maximum arrival probability value after modification as the destination station of the current journey. If the user finds that the station with the maximum arrival probability value accords with the actual situation, the terminal can determine the station with the maximum arrival probability value as the destination station of the current journey.
Of course, in practical application, the terminal may directly determine the station with the largest arrival probability value as the destination station of the current trip.
In another possible implementation manner, the terminal may obtain the trip information of the user by:
1. Selecting candidate journey information with the largest occurrence number in a preset period in a journey information base;
The preset period may be a default period, for example, the preset period may be one month before the current time, and the terminal may select, as the candidate trip information, the historical trip information having the largest number of occurrences in one month in the trip information base.
2. Displaying candidate journey information;
after determining the candidate trip information, the terminal may display the candidate trip information in a screen so that the user may make modifications according to the actual situation.
3. If a modification instruction for the candidate journey information is received, modifying the candidate journey information, and determining the modified candidate journey information as journey information;
If the user finds that the candidate journey information does not accord with the actual situation, the user can modify the candidate journey information according to the actual situation, so that the terminal determines the modified candidate journey information as journey information.
4. And if a confirmation instruction of the candidate journey information is received, determining the candidate journey information as journey information.
If the user determines that the candidate trip information matches the actual situation, the terminal may determine the candidate trip information as the current trip information.
Optionally, before the terminal selects the candidate trip information with the largest occurrence number in the preset period in the trip information base, the terminal may execute the following procedure:
detecting whether historical journey information exists in a journey information base;
If the history journey information does not exist in the journey information base, displaying a journey input interface, and acquiring journey information input by a user from the journey input interface;
if the history journey information exists in the journey information base, judging whether journey information input by a user is acquired at the present time;
If the journey information input by the user is not acquired at this time, selecting the candidate journey information with the largest occurrence times in a preset period in the journey information base, displaying the candidate journey information, and if a modification instruction for the candidate journey information is received, modifying the candidate journey information, and determining the modified candidate journey information as journey information; and if a confirmation instruction of the candidate journey information is received, determining the candidate journey information as journey information.
And if the journey information input by the user is acquired at the present time, determining the journey information input by the user at the present time as journey information.
The starting station and the destination station of the vehicle and the travel time of the user are correspondingly stored in the terminal every time.
As shown in fig. 2, the flow of acquiring travel information will be described using a vehicle as an example of a subway.
Step 201, it is determined whether the user swipes the code into the station. If the user swipes the code for entering the station, step 202 is executed; if the user is not swiped through the stop, step 205 is performed.
Step 202, obtaining reference information for determining a start site.
Step 203, determining the initial station according to the reference information.
And 204, obtaining the destination station according to the initial station prediction.
Step 205, it is determined whether the travel information input by the user is acquired. If the input information of the user is acquired this time, executing step 206; if the input information of the user is not acquired this time, step 207 is executed.
And 206, determining the journey information input by the user at this time as journey information.
Step 207, selecting the candidate trip information with the largest occurrence number in the preset time period in the trip information base.
Step 208, displaying the candidate trip information.
Step 209, determining whether a modification instruction for the candidate trip information is received. If a modification instruction for the candidate trip information is received, step 210 is executed; if a confirmation instruction for the candidate trip information is received, step 211 is executed.
Step 210, the candidate journey information is modified, and the modified candidate journey information is determined as journey information.
Step 211, determining the candidate journey information as journey information.
In summary, in the technical solution provided in the embodiments of the present application, the reference information for determining the start station is obtained, the start station is determined according to the reference information, and finally the destination station is obtained according to the prediction of the start station, so that the determination of the trip information is more accurate.
Selecting candidate journey information with the largest occurrence number in a preset period in a journey information base, displaying the candidate journey information, modifying the candidate journey information when a modification instruction for the candidate journey information is received, and determining the modified candidate journey information as journey information; and when receiving a confirmation instruction of the candidate journey information, determining the candidate journey information as journey information. The determination of the journey information is faster.
In an exemplary embodiment, as shown in fig. 3, the terminal obtains internet content matched with the travel time to make a recommendation by:
step 301, acquiring a recommendation list.
In an embodiment of the present application, the recommendation list includes at least one internet content recommended according to the interests of the user. The recommendation list refers to a list of internet contents recommended to the user according to the user's preference and other similar user's preference.
Illustratively, the terminal may generate a recommendation list based on the CF (Collaborative Filtering, collaborative filtering algorithm) recommending internet content of interest to the user.
The basic idea of CF is to recommend items to a user based on the user's previous preferences and other users' similar interests (similar users). As shown in fig. 4, in the CF, the preference of the user for the item is represented by a matrix of mxn, and the preference of the user for the item is generally represented by a score, and a higher score indicates that the item is favored, and a 0 indicates that the item is not purchased. In fig. 4, the row represents a user, the column represents an item, and Uij represents the scoring of item j by user i. CF is divided into two processes, one being a prediction process and the other being a recommendation process. The prediction process is to predict possible scoring values of items which are not purchased by a user, and the recommendation is to recommend Top-N items which are most probably liked by the user according to the result of the prediction stage, so as to generate a recommendation list.
Step 302, determining browsing duration of each internet content in the recommendation list.
In one example, a terminal obtains a total number of words corresponding to text content in internet content; and determining the browsing duration according to the average reading speed and the total word number.
The average reading speed may refer to the average speed of current modern reading of 275 words per minute. Or the average reading speed may be an average reading speed at which the terminal counts the user's usual reading.
Alternatively, the quotient of the total number of words and the average reading speed is determined as the browsing duration. I.e. browsing duration = total number of words/average reading speed. For example, if the total number of words is 27500 and the average reading speed is 275 words per minute, the browsing duration is 27500/275=100 minutes.
In another example, the terminal determines a play duration of the internet content as a browsing duration.
For example, if the playing duration of the internet content is 20 minutes, the terminal determines that the browsing duration is 20 minutes.
Step 303, selecting a target browsing duration matched with the travel time from the browsing durations of the internet contents.
For example, the travel time is 20 minutes, and the terminal selects a target browsing duration matched with 20 minutes from the browsing durations of the internet contents.
And 304, recommending the Internet content corresponding to the target browsing duration.
Still taking the above example as an example, the internet content corresponding to 20 minutes is recommended.
In summary, in the technical solution provided in the embodiment of the present application, by acquiring the recommendation list, determining the browsing duration of each internet content in the recommendation list, selecting a target browsing duration matching with the travel time from the browsing durations of each internet content, and recommending the internet content corresponding to the target browsing duration. And carrying out secondary filtering on the recommended content to acquire the internet content matched with the travel time, so that the internet content recommended to the user can be more in line with the actual scene.
The following are examples of the apparatus of the present application that may be used to perform the method embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method of the present application.
Referring to fig. 5, a block diagram of a content recommendation apparatus according to an embodiment of the present application is shown, where the apparatus has a function of implementing the foregoing method example, and the function may be implemented by hardware or implemented by executing corresponding software by hardware. The apparatus 500 may include: an information acquisition module 510, a time determination module 520, and a content recommendation module 530.
The information obtaining module 510 is configured to obtain trip information of a user, where the trip information includes an initial station and a destination station where the user travels by using a vehicle.
A time determination module 520 is configured to determine a travel time from the start station to the destination station.
And the content recommending module 530 is configured to acquire internet content matched with the travel time to recommend the internet content.
In summary, in the technical scheme provided by the embodiment of the application, by acquiring the starting station and the destination station of the travel of the user taking the transportation means and determining the travel time from the starting station to the destination station, the internet content matched with the travel time is acquired to recommend the internet content which can be effectively input in the travel time, the content which accords with the scene is recommended according to the specific actual scene, the accuracy of content recommendation is improved, the recommendation algorithm is more effective and accords with the actual requirement of the user, and the content reading experience of the user is improved.
Optionally, as shown in fig. 6, the information obtaining module 510 includes: an information acquisition unit 511, a station determination unit 512, and a station prediction unit 513.
An information acquisition unit 511 for acquiring reference information for determining the start station.
A station determining unit 512, configured to determine the starting station according to the reference information.
A station prediction unit 513, configured to predict the destination station according to the start station.
Optionally, the station determining unit 512 is configured to:
if the reference information comprises a travel order interface, identifying a first site name contained in the travel order interface, and determining the starting site according to the first site name;
Or alternatively
If the reference information comprises voice broadcasting information of the vehicle, identifying a second site name contained in the voice broadcasting information, and determining the starting site according to the second site name;
Or alternatively
If the reference information comprises positioning information of the vehicle, determining the starting station according to the positioning information;
optionally, the site prediction unit 513 includes: a record acquisition subunit, a probability value determination subunit, and a station determination subunit (not shown in the figure).
A record acquisition subunit, configured to acquire a history travel record of the user;
The probability value determining subunit is used for determining an arrival probability value corresponding to each station in the historical travel record, wherein the arrival probability value refers to a probability value that the user leaves the vehicle at the station arrival;
and the station determining subunit is used for determining the destination station according to the station with the largest arrival probability value.
Optionally, the station determining subunit is configured to:
displaying the site with the largest arrival probability value;
if a modification instruction of the station with the largest arrival probability value is received, modifying the station with the largest arrival probability value, and determining the station with the largest arrival probability value after modification as the destination station;
and if a confirmation instruction of the station with the largest arrival probability value is received, determining the station with the largest arrival probability value as the destination station.
Optionally, the information obtaining module 510 is configured to:
selecting candidate journey information with the largest occurrence number in a preset period in a journey information base;
displaying the candidate journey information;
if a modification instruction for the candidate journey information is received, modifying the candidate journey information, and determining the modified candidate journey information as the journey information;
and if a confirmation instruction for the candidate journey information is received, determining the candidate journey information as the journey information.
Optionally, the content recommendation module 530 includes: a list acquisition unit 531, a time length determination unit 532, a time length selection unit 533, and a content recommendation unit 534.
A list acquisition unit 531 for acquiring a recommendation list including at least one internet content recommended according to the interests of the user;
a duration determining unit 532, configured to determine a browsing duration of each internet content in the recommendation list;
a duration selection unit 533, configured to select a target browsing duration matched with the travel time from browsing durations of the internet contents;
and a content recommending unit 534, configured to recommend the internet content corresponding to the target browsing duration.
Optionally, the duration determining unit 532 is configured to:
Acquiring the total word number corresponding to text content in the internet content; determining the browsing duration according to the average reading speed and the total word number;
Or alternatively
And determining the playing time length of the internet content as the browsing time length.
Optionally, the time determining module 520 is configured to:
Determining single-station average time according to the total line time and the number of line stations, wherein the total line time refers to the running time of the whole line corresponding to the travel information, and the number of line stations refers to the number of stations included in the whole line;
And determining the travel time according to the number of travel stations and the average time of the single station, wherein the number of travel stations refers to the number of stations through which the vehicle travels from the starting station to the destination station.
Optionally, the time determining module 520 is configured to:
And determining an average value of the historical travel time of at least one piece of historical travel information corresponding to the starting station to the destination station in a database as the travel time.
Optionally, the information acquisition module is further configured to:
When a specified sound emitted by the vehicle is acquired, starting to execute the step of acquiring the travel information of the user;
Or alternatively
And when the user code brushing is determined to be out, starting to execute the step of acquiring the journey information of the user.
It should be noted that, when the apparatus provided in the foregoing embodiment performs the functions thereof, only the division of the foregoing functional modules is used as an example, in practical application, the foregoing functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to perform all or part of the functions described above. In addition, the apparatus and the method embodiments provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the apparatus and the method embodiments are detailed in the method embodiments and are not repeated herein.
Referring to fig. 7, a block diagram of a terminal according to an embodiment of the present application is shown.
The terminal in the embodiment of the application can comprise one or more of the following components: a processor 710 and a memory 720.
Processor 710 may include one or more processing cores. The processor 710 connects various parts within the overall terminal using various interfaces and lines, performs various functions of the terminal and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 720, and invoking data stored in the memory 720. Alternatively, the processor 710 may be implemented in hardware in at least one of digital signal processing (DIGITAL SIGNAL processing, DSP), field-programmable gate array (field-programmable GATE ARRAY, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 710 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU) and a modem, etc. Wherein, the CPU mainly processes an operating system, application programs and the like; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 710 and may be implemented by a single chip.
Optionally, the processor 710, when executing program instructions in the memory 720, implements the methods provided by the various method embodiments described above.
The memory 720 may include random access memory (Random Access Memory, RAM) or read-only memory (ROM). Optionally, the memory 720 includes a non-transitory computer-readable medium (non-transitory computer-readable storage medium). Memory 720 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 720 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function, instructions for implementing the various method embodiments described above, and the like; the storage data area may store data created according to the use of the terminal, etc.
The structure of the terminal described above is merely illustrative, and in actual implementation, the terminal may include more or fewer components, such as: a display screen, etc., which is not limited in this embodiment.
It will be appreciated by those skilled in the art that the structure shown in fig. 7 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
In an exemplary embodiment, there is also provided a computer readable storage medium having stored therein a computer program that is loaded and executed by a processor of a computer device to implement the steps in the above-described content recommendation method embodiments.
In an exemplary embodiment, a computer program product is also provided, which, when executed, is adapted to carry out the above-described content recommendation method.
The foregoing description of the exemplary embodiments of the application is not intended to limit the application to the particular embodiments disclosed, but on the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the application.

Claims (10)

1. A content recommendation method, the method comprising:
When a designated sound sent by a vehicle is obtained or when a user is determined to brush a code to go out, voice broadcasting information of the vehicle is obtained, wherein the designated sound comprises a warning bell of a subway door;
identifying a second site name contained in the voice broadcast information, and determining a starting site according to the second site name;
Acquiring a history travel record of the user;
Taking the product of the probability of arrival at a target station and the probability of arrival at the target station and departure at the start station in the history travel record as a first calculated value;
Taking the sum of products of the probability of arrival at any one of the stations and departure at the start station in the historical travel record as a second calculated value;
Determining a ratio of the first calculated value to the second calculated value as an arrival probability value of the target station, wherein the arrival probability value refers to a probability value that the user leaves the vehicle at the arrival of the target station;
determining a destination station according to the station with the maximum arrival probability value;
Determining a travel time from the start station to the destination station;
and acquiring the internet content matched with the travel time for recommendation.
2. The method of claim 1, wherein the determining the destination station from the station having the greatest arrival probability value comprises:
displaying the site with the largest arrival probability value;
if a modification instruction of the station with the largest arrival probability value is received, modifying the station with the largest arrival probability value, and determining the station with the largest arrival probability value after modification as the destination station;
and if a confirmation instruction of the station with the largest arrival probability value is received, determining the station with the largest arrival probability value as the destination station.
3. The method according to claim 1, wherein the method further comprises:
selecting candidate journey information with the largest occurrence number in a preset period in a journey information base;
displaying the candidate journey information;
if a modification instruction for the candidate journey information is received, modifying the candidate journey information, and determining the modified candidate journey information as the journey information;
and if a confirmation instruction for the candidate journey information is received, determining the candidate journey information as the journey information.
4. The method of claim 1, wherein the obtaining internet content matching the travel time for recommendation comprises:
acquiring a recommendation list, wherein the recommendation list comprises at least one internet content recommended according to the interests of the user;
Determining browsing duration of each Internet content in the recommendation list;
selecting a target browsing duration matched with the travel time from the browsing durations of the internet contents;
And recommending the Internet content corresponding to the target browsing duration.
5. The method of claim 4, wherein the determining the browsing duration of each internet content in the recommendation list comprises:
Acquiring the total word number corresponding to text content in the internet content; determining the browsing duration according to the average reading speed and the total word number;
Or alternatively
And determining the playing time length of the internet content as the browsing time length.
6. The method of any one of claims 1 to 5, wherein said determining a travel time from the originating station to the destination station comprises:
determining single-station average time according to the total line time and the number of line stations, wherein the total line time refers to the running time of a whole line corresponding to the travel information, and the number of line stations refers to the number of stations included in the whole line;
And determining the travel time according to the number of travel stations and the average time of the single station, wherein the number of travel stations refers to the number of stations through which the vehicle travels from the starting station to the destination station.
7. The method of any one of claims 1 to 5, wherein said determining a travel time from the originating station to the destination station comprises:
And determining an average value of the historical travel time of at least one piece of historical travel information corresponding to the starting station to the destination station in a database as the travel time.
8. A content recommendation device, the device comprising:
the information acquisition module comprises an information acquisition unit, a site determination unit and a site prediction unit;
the information acquisition unit is used for acquiring voice broadcasting information of the transportation means when acquiring designated sound sent by the transportation means or when determining that a user swipes a code out, wherein the designated sound comprises a warning bell of a subway door;
the site determining unit is used for identifying a second site name contained in the voice broadcasting information and determining an initial site according to the second site name;
The station prediction unit comprises a record acquisition subunit, a probability value determination subunit and a station determination subunit;
the record acquisition subunit is used for acquiring the history travel record of the user;
The probability value determining subunit is configured to take, as a first calculated value, a product of a probability of arrival at a target station and a probability of arrival at the target station and departure at the start station in the historical trip record;
The probability value determining subunit is further configured to use a sum of products of probabilities of arrival at any one of the stations and arrival at the start station in the historical trip record as a second calculated value;
The probability value determining subunit is further configured to determine a ratio of the first calculated value to the second calculated value as an arrival probability value of the target station, where the arrival probability value is a probability value that the user leaves the vehicle at the arrival of the target station;
the station determining subunit is used for determining a destination station according to the station with the largest arrival probability value;
a time determining module for determining a travel time from the start station to the destination station;
And the content recommendation module is used for acquiring the internet content matched with the travel time to recommend.
9. A terminal comprising a processor and a memory, the memory storing a computer program that is loaded and executed by the processor to implement the content recommendation method of any one of claims 1 to 7.
10. A computer readable storage medium having stored therein a computer program that is loaded and executed by a processor to implement the content recommendation method of any one of claims 1 to 7.
CN201911277857.7A 2019-12-11 2019-12-11 Content recommendation method, device, terminal and storage medium Active CN111046288B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911277857.7A CN111046288B (en) 2019-12-11 2019-12-11 Content recommendation method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911277857.7A CN111046288B (en) 2019-12-11 2019-12-11 Content recommendation method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111046288A CN111046288A (en) 2020-04-21
CN111046288B true CN111046288B (en) 2024-04-19

Family

ID=70235830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911277857.7A Active CN111046288B (en) 2019-12-11 2019-12-11 Content recommendation method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111046288B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111401328B (en) * 2020-04-23 2023-07-18 Oppo广东移动通信有限公司 Data acquisition method, device, terminal and storage medium
CN111582605B (en) * 2020-05-21 2023-09-12 Oppo广东移动通信有限公司 Method and device for predicting destination site, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103310287A (en) * 2013-07-02 2013-09-18 北京航空航天大学 Rail transit passenger flow predicting method for predicting passenger travel probability and based on support vector machine (SVM)
CN108154251A (en) * 2016-12-06 2018-06-12 广州铁路职业技术学院 Subway takes route acquisition methods, apparatus and system
CN108536789A (en) * 2018-03-29 2018-09-14 联想(北京)有限公司 Content delivery method and electronic equipment
CN109102114A (en) * 2018-08-02 2018-12-28 中南大学 A kind of bus trip get-off stop estimation method based on data fusion
CN109308546A (en) * 2018-08-31 2019-02-05 江苏智通交通科技有限公司 Passenger's bus trip get-off stop prediction technique and system
CN109635205A (en) * 2018-12-26 2019-04-16 维沃移动通信有限公司 Information-pushing method and terminal device
CN110136470A (en) * 2019-06-20 2019-08-16 四川长虹电器股份有限公司 Bus arrival time calculation method and inquiry system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103310287A (en) * 2013-07-02 2013-09-18 北京航空航天大学 Rail transit passenger flow predicting method for predicting passenger travel probability and based on support vector machine (SVM)
CN108154251A (en) * 2016-12-06 2018-06-12 广州铁路职业技术学院 Subway takes route acquisition methods, apparatus and system
CN108536789A (en) * 2018-03-29 2018-09-14 联想(北京)有限公司 Content delivery method and electronic equipment
CN109102114A (en) * 2018-08-02 2018-12-28 中南大学 A kind of bus trip get-off stop estimation method based on data fusion
CN109308546A (en) * 2018-08-31 2019-02-05 江苏智通交通科技有限公司 Passenger's bus trip get-off stop prediction technique and system
CN109635205A (en) * 2018-12-26 2019-04-16 维沃移动通信有限公司 Information-pushing method and terminal device
CN110136470A (en) * 2019-06-20 2019-08-16 四川长虹电器股份有限公司 Bus arrival time calculation method and inquiry system

Also Published As

Publication number Publication date
CN111046288A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
CN107609101B (en) Intelligent interaction method, equipment and storage medium
CN111582605B (en) Method and device for predicting destination site, electronic equipment and storage medium
CN110727868B (en) Object recommendation method, device and computer-readable storage medium
CN111046288B (en) Content recommendation method, device, terminal and storage medium
CN113383362B (en) User identification method and related product
CN111275491A (en) Data processing method and device
CN111260102A (en) User satisfaction prediction method and device, electronic equipment and storage medium
CN108512883B (en) Information pushing method and device and readable medium
CN112930669A (en) Content recommendation method and device, mobile terminal and server
CN111858873B (en) Recommended content determining method and device, electronic equipment and storage medium
CN105893532A (en) Consultation information pushing method and device and terminal equipment
CN108460651A (en) Vehicle recommends method and device
CN112992187A (en) Context-based voice emotion detection method, device, equipment and storage medium
CN112052316A (en) Model evaluation method, model evaluation device, storage medium and electronic equipment
CN114266592A (en) Distribution method, distribution device, equipment and medium of advertisement materials
CN113626638A (en) Short video recommendation processing method and device, intelligent terminal and storage medium
CN111353015B (en) Crowd-sourced question recommendation method, device, equipment and storage medium
CN111126653B (en) User position prediction method, device and storage medium
CN110933504A (en) Video recommendation method, device, server and storage medium
CN111210274A (en) Advertisement recommendation method and system
CN112541797A (en) Vehicle push information generation method and server
CN114493250A (en) Abnormal behavior detection method, computing device and readable storage medium
CN114647782A (en) Book recommendation method of bookshelf page, computing device and storage medium
CN112115300A (en) Text processing method and device, electronic equipment and readable storage medium
CN114820094A (en) Air ticket price searching method and device, electronic equipment, storage medium and product

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