WO2021169741A1 - Information recommendation method and apparatus, terminal and storage medium - Google Patents

Information recommendation method and apparatus, terminal and storage medium Download PDF

Info

Publication number
WO2021169741A1
WO2021169741A1 PCT/CN2021/074714 CN2021074714W WO2021169741A1 WO 2021169741 A1 WO2021169741 A1 WO 2021169741A1 CN 2021074714 W CN2021074714 W CN 2021074714W WO 2021169741 A1 WO2021169741 A1 WO 2021169741A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
site
terminal
target site
base station
Prior art date
Application number
PCT/CN2021/074714
Other languages
French (fr)
Chinese (zh)
Inventor
刘善朴
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2021169741A1 publication Critical patent/WO2021169741A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/535Tracking the activity of the user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services

Definitions

  • This application relates to the field of computer technology, and in particular to an information recommendation method, device, terminal and storage medium.
  • the recommendation system can filter out information that may be of interest to users from a large amount of information, and recommend information that may be of interest to users.
  • the embodiments of the present application provide an information recommendation method, device, terminal, and storage medium.
  • the technical solution is as follows:
  • an information recommendation method includes:
  • an information recommendation device in another aspect, and the device includes:
  • the obtaining module is used to obtain the site information of the target site to which the current terminal is going, and obtain the surrounding profile information of the target site according to the site information of the target site, the target site being the transportation on the forward route of the terminal Site; obtain the user portrait of the user corresponding to the terminal; obtain recommendation information matching the user portrait according to the surrounding profile information of the target site;
  • the display module is used to display the recommended information.
  • a terminal in another aspect, includes a processor and a memory; the memory stores at least one instruction, and the at least one instruction is used to be executed by the processor to implement the information described in the foregoing aspect Recommended method.
  • a computer-readable storage medium stores at least one instruction, and the at least one instruction is used to be executed by a processor to implement the information recommendation method as described in the foregoing aspect.
  • a computer program product in another aspect, includes at least one computer program, and when the at least one computer program is executed by a processor, it is used to implement the information recommendation method as described in the foregoing aspect.
  • Fig. 1 shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application
  • Fig. 2 shows a flowchart of an information recommendation method shown in an exemplary embodiment of the present application
  • Fig. 3 shows a schematic diagram of a context-aware service provided by an exemplary embodiment of the present application
  • Fig. 4 shows a schematic diagram of acceleration changes provided by an exemplary embodiment of the present application
  • Fig. 5 shows a schematic diagram of a traffic line interface provided by an exemplary embodiment of the present application
  • Fig. 6 shows an interaction flowchart of an information recommendation method shown in an exemplary embodiment of the present application
  • Fig. 7 shows a flow chart of obtaining site information of a target site according to an exemplary embodiment of the present application
  • FIG. 8 shows a schematic diagram of constructing a user portrait provided by an exemplary embodiment of the present application.
  • Fig. 9 shows a structural block diagram of an information recommendation device provided by an exemplary embodiment of the present application.
  • Fig. 10 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
  • Fig. 11 shows a structural block diagram of a server provided by an exemplary embodiment of the present application.
  • An information recommendation method includes:
  • the acquiring site information of the target site to which the current terminal goes includes:
  • the base station Acquiring base station information of a base station currently registered by the terminal, the base station provides mobile communication services for the terminal, and the coverage area of the base station includes at least one transportation station;
  • the site information of the target site to which the terminal is headed is acquired.
  • the acquiring the site information of the target site to which the terminal goes according to the base station information and the correspondence between the base station information and the site information of the transportation sites covered by the base station includes:
  • intersection is determined as the site information of the target site to which the terminal goes.
  • the acquiring the site information of the target site to which the terminal goes according to the base station information and the correspondence between the base station information and the site information of the transportation sites covered by the base station includes:
  • the obtaining recommendation information matching the user portrait according to the surrounding profile information of the target site includes:
  • determining the surrounding profile information as recommendation information matching the user portrait In response to the first degree of matching being greater than a first threshold, determining the surrounding profile information as recommendation information matching the user portrait.
  • the determining the first degree of matching between the surrounding profile information and the user portrait according to the surrounding profile information of the target site and the user portrait includes:
  • the number of keywords matching the user tags in the user portrait is determined as the first matching degree.
  • the obtaining recommendation information matching the user portrait according to the surrounding profile information of the target site includes:
  • determining the location information as recommendation information matching the user portrait In response to the second degree of matching being greater than a second threshold, determining the location information as recommendation information matching the user portrait.
  • the obtaining recommendation information matching the user portrait according to the surrounding profile information of the target site includes:
  • the recommended information corresponding to the information category is extracted from the surrounding profile information.
  • the method further includes:
  • displaying a traffic line interface In response to an operation for instructing to view site information of other transportation sites, displaying a traffic line interface, the traffic line interface including the traffic line to which the target site belongs and a third station on the traffic line;
  • the displaying the traffic route interface includes:
  • Determining a fourth station from the transportation route, and surrounding profile information of the fourth station matches the user portrait
  • the traffic route interface is displayed, and the fourth station in the traffic route interface is highlighted.
  • the method further includes:
  • the step of acquiring the surrounding profile information of the target site according to the site information of the target site is performed.
  • the method further includes:
  • the target site to which the current terminal is headed is determined, the target site is a transportation site on the forward route of the terminal; the surrounding profile information of the target site is obtained, and the user portrait of the corresponding user of the terminal is obtained; Surrounding profile information, obtain recommended information that matches the user's portrait, and display the recommended information.
  • the current target site in the scenario where the user travels by means of transportation, the current target site can be determined, and recommended information matching the user portrait can be recommended to the user based on the profile information around the target site.
  • Personalized information recommendation based on the surrounding profile information of the target site through which the user takes the transportation means, combined with the user portrait, can improve the accuracy of the information recommendation.
  • FIG. 1 shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application.
  • the implementation environment includes a terminal 101 and a server 102.
  • the terminal 101 may be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, a computer, or other electronic devices.
  • the server 102 may be a server, or a server cluster composed of several servers, or a cloud computing service center.
  • the terminal 101 and the server 102 may be connected through a wireless network.
  • the terminal 101 may be installed with a client provided by the server 102, and the user corresponding to the terminal 101 may implement functions such as data transmission and message interaction through the client.
  • the client may be any client installed on the terminal 101; and, the client may be a client in the operating system of the terminal 101, or a client provided by a third party.
  • the client has the function of determining the target site that the terminal 101 goes to, and recommending relevant information of the target site to the user corresponding to the terminal 101.
  • the client is a map client, a navigation client, a bus track client, or a subway track client.
  • the terminal 101 can perceive the subway travel scene, and make personalized information recommendations based on the subway stations routed by the user .
  • the terminal 101 can determine the current target site; obtain the surrounding profile information of the target site and the user portrait of the user corresponding to the terminal 101; determine the recommended information matching the user portrait according to the surrounding profile information of the target site and the user portrait of the user corresponding to the terminal 101 ; Display the recommended information.
  • information recommendation is mainly based on user data, obtaining information that has a certain relevance to user data from massive data, and recommending it to users. It does not perceive the specific scene the user is currently in, and recommends to the user that it matches the current scene.
  • the accuracy of information recommendation is limited.
  • the current travel scene of the user can be sensed according to the target site currently visited by the terminal. Based on the profile information around the target site, combined with the user portrait, the Personalized information recommendation improves the accuracy of information recommendation, enriches users' amateur life, and enhances user experience.
  • FIG. 2 shows a flowchart of an information recommendation method shown in an exemplary embodiment of the present application.
  • the execution subject in the embodiment of the present application may be a terminal, a processor in the terminal, or an operating system in the terminal.
  • the execution subject is the terminal as an example for description. This embodiment includes:
  • the terminal obtains site information of the target site to which the current terminal goes.
  • the target station is a transportation station located on the forward route of the terminal.
  • the target station may be a stop station of public transportation in a public transportation line.
  • the target station may be a subway station, a bus station, or a light rail station.
  • the target site may also be a parking spot for other vehicles.
  • the target site may be a parking lot or a parking spot for non-motorized vehicles.
  • the target site can also be any location based on the division of urban areas. For example, a town can be divided into multiple mutually exclusive areas, each area is set with a representative location point to identify the area, and the target site can be a representative location point in any area.
  • the site information of the target site is used to identify the target site.
  • the site information of the target site includes at least the name of the target site; the site information of the target site may also include one or more of the traffic route to which the target site belongs and the city name of the city where the target site is located.
  • the terminal may obtain the site information of the target site to which the terminal is currently visiting according to the base station information of the base station to which the terminal is currently registered.
  • the terminal can obtain the site information of the target site to which the terminal is currently going through the following steps (1) to (2):
  • the terminal obtains the base station information of the currently registered base station.
  • the base station provides mobile communication services for the terminal, and the coverage area of the base station includes at least one transportation station.
  • Different base stations provide mobile communication services for terminals in different location areas.
  • a terminal moves to a location area served by any base station, it will register with the base station, and the base station will provide mobile communication services for the terminal.
  • more base stations are usually deployed to ensure the quality of calls and Internet access in the subway and subway stations.
  • the terminals are registered to different base stations at different subway stations. Therefore, the site information of the target site to which the terminal is headed can be determined according to the base station information of the base station currently registered by the terminal and the corresponding relationship between the base station information and the site information of the subway station.
  • the terminal can obtain the base station information of the currently registered base station when the base station registered by the terminal changes.
  • the terminal can also obtain the base station information of the currently registered base station at any time between the two changes of the registered base station. For example, if the terminal switches from the first base station to the second base station at the first time, and from the second base station to the third base station at the second time, the terminal can obtain the base station information of the currently registered second base station at the first time, or , The base station information of the currently registered third base station is obtained at the second time; the terminal may also obtain the base station information of the currently registered second base station at any time between the first time and the second time.
  • the terminal obtains the site information of the target site that the terminal goes to according to the base station information and the corresponding relationship between the base station information and the site information of the transportation sites covered by the terminal.
  • the base station information corresponds to the site information of a transportation site.
  • the site information of the transportation site corresponding to the base station information can be determined as the target site to which the terminal goes.
  • Site information can be determined as the target site to which the terminal goes.
  • the step of obtaining the site information of the target site that the terminal goes to may be: the terminal responds to the base station information to obtain from the corresponding relationship To the site information of a transportation site corresponding to the base station information, the terminal determines the site information of a transportation site corresponding to the base station information as the site information of the target site to which the terminal goes.
  • the station information of the transportation station corresponding to the base station information "mcc-460-mnc-00-ci-25935874-pci-435-tac-6270" is "Shanghai Metro Line 12 _Longhua Middle Road”.
  • Base station information Station information of subway stations mcc-460-mnc-00-ci-25935874-pci-435-tac-6270 (Shanghai Metro_Line 12_Longhua Middle Road) mcc-460-mnc-00-ci-142503585-pci-477-tac-6237 (Shanghai Metro_Pujiang Line_Dongcheng First Road) mcc-460-mnc-00-ci-142503585-pci-477-tac-6237 (Shanghai Metro_Pujiang Line_Huizhen Road)
  • the coverage area of a base station includes at least two transportation stations, and at least two transportation stations corresponding to the second station adjacent to the first station reached by the terminal and the base station currently registered by the terminal can be transmitted.
  • the intersection of transportation sites is used to determine the destination site the terminal is currently heading to.
  • the terminal may obtain the site information of the target site to which the terminal goes: in response to the base station information, the terminal obtains the corresponding relationship with The site information of at least two transportation sites corresponding to the base station information is to obtain the site information of the first site that the terminal arrives at; determine the traffic route to which the first site belongs according to the site information of the first site; Traffic line, determine the site information of the second site adjacent to the first site; determine the intersection of the site information of the second site and the site information of at least two transportation sites; determine the intersection as the site of the target site to which the terminal goes information.
  • the station information of the transportation station corresponding to the base station information "mcc-460-mnc-00-ci-142503585-pci-477-tac-6237" includes "Shanghai Metro_Pujiang Line_Dongcheng One Road” and "Shanghai Metro_Pujiang Line_Huizhen Road”; the station information of the first station reached on the terminal is "Shanghai Metro_Pujiang Line_Puhang Road”; the transportation line of the first station is Pujiang Line, and the first station
  • the station information of the adjacent second station includes "Shanghai Metro_Pujiang Line_Minrui Road” and “Shanghai Metro_Pujiang Line_Dongcheng One Road”; the intersection of the station information of the second station and at least two transportation stations is "Shanghai Metro _Pujiang Line_Dongcheng First Road”; determine "Shanghai Metro_Pujiang
  • the destination of the terminal can also be determined based on the intersection of the neighboring station of a station reached by the terminal and the at least two transportation stations.
  • the site can improve the accuracy of determining the site information of the target site, and the accuracy of determining the target site based on the above method can reach at least 95%.
  • the terminal may pre-store the corresponding relationship between the base station information and the site information of the transportation site; and, the corresponding relationship between the base station information and the site information of the transportation site may be provided by the server, and the terminal according to the base station information, And the correspondence between the pre-stored base station information and the site information of the transportation site, before determining the site information of the target site to which the terminal goes, the terminal also receives the correspondence between the base station information and the site information of the transportation site sent by the server.
  • the corresponding relationship between the base station information provided by the server and the site information of the transportation site may be the corresponding relationship between the base station information on a certain road and the site information of the transportation site. For example, for a user who commutes on the same route every day, the server may deliver the corresponding relationship between the base station information on the route and the site information of the transportation station to the user's terminal.
  • the corresponding relationship between the base station information provided by the server and the site information of the transportation site may be the corresponding relationship between the base station information of a certain city and the site information of the transportation site. For example, for a user who needs to take the subway on a business trip or travel, when the user arrives in the target city, the server can also send the corresponding relationship between the base station information of the target city and the site information of the transportation station to the user’s terminal to ensure When the network status is poor, the target site that the terminal goes to can still be determined.
  • the terminal may not store the corresponding relationship between the base station information and the site information of the transportation site, but based on the base station information request the server to obtain the site information of the target site that the terminal is currently going to, then the terminal can send the terminal to the server Based on the base station information of the currently registered base station, the server determines the site information of the target site to which the terminal goes according to the base station information and the corresponding relationship between the base station information and the site information of the transportation site.
  • the terminal may obtain the site information of the target site that the terminal goes to: the terminal sends a first obtaining request to the server, and the first obtaining request Carrying the base station information of the base station currently registered by the terminal, the first acquisition request is used to request the acquisition of the site information of the target site, the server receives the first acquisition request sent by the terminal, and according to the base station information carried in the first acquisition request, and the base station information
  • the corresponding relationship of the site information of the transportation site determines the site information of the target site that the terminal goes to, and returns the site information of the target site to the terminal; the terminal receives the site information of the target site returned by the server.
  • the server determines the site information of the target site that the terminal goes to and the terminal based on the base station information, and the base station information and the site of the transportation site The corresponding relationship of the information, the steps of determining the site information of the target site to which the terminal goes are similar.
  • the terminal may also determine the site information of the target site that the terminal goes to according to the current location information of the terminal.
  • the step for the terminal to obtain the site information of the target site to which the current terminal is headed may be: the terminal obtains the location where the current terminal is located; determines the nearest transportation station to the location according to the location where the current terminal is located; The nearest transportation site is determined as the target site; the site information of the target site is obtained.
  • the current location information of the terminal may be the longitude and latitude of the current location of the terminal.
  • the terminal can also obtain the forwarding direction of the terminal according to the location change information of the terminal, and based on the forwarding direction of the terminal, obtain the transportation station that matches the current forwarding direction of the terminal and is closest to the current location of the terminal.
  • the step for the terminal to obtain site information of the target site to which the current terminal is going may be: the terminal obtains location change information of the terminal in a first time period, where the first time period is a historical time period with a preset duration based on the current time; According to the location change information of the terminal in the first time period, determine the forwarding direction of the terminal; determine the transportation station that matches the forwarding direction and is closest to the current location of the terminal as the target site; obtain site information of the target site.
  • the location change information of the terminal may include location information of the terminal at multiple time points in the first time period.
  • the terminal may also obtain the heading direction of the terminal, and determine the transportation station that matches the heading direction and is closest to the current location of the terminal as the target station, which can improve the accuracy of determining the target station.
  • the terminal may also determine the vehicle where the terminal is located, and determine the transportation line where the terminal is located based on the transportation route information corresponding to the transportation tool and the historical movement trajectory of the terminal, and determine from the transportation stations of the transportation line The target site the terminal is currently heading to.
  • the step for the terminal to obtain the site information of the target site to which the terminal is currently going may be: obtaining acceleration data and position change information of the terminal in the first time period; and determining the vehicle where the current terminal is located according to the acceleration data of the terminal; Determine the transportation route information corresponding to the transportation vehicle according to the current terminal in which the terminal is located; determine the terminal's movement trajectory according to the terminal's location change information; determine the transportation route where the terminal is located based on the transportation route information and the movement trajectory; obtain The current location of the terminal is determined from the transportation route that matches the movement trajectory of the terminal and is closest to the current location of the terminal; determines the transportation site as a target site; and obtains site information of the target site.
  • the terminal may also first determine the vehicle where the terminal is located according to the acceleration data of the terminal, and then determine the target site the terminal is currently heading to from the transportation line where the terminal is located according to the corresponding transportation route information of the vehicle , Can improve the efficiency of determining the target site.
  • the terminal's acquisition of the site information of the target site to which the terminal currently goes may be based on context-aware services.
  • the context-aware service includes application display Interface module, context mode awareness module, cross-process access service (AIDL service, Android Interface Definition Language), event management bus (EventBus), sensor data upload interface (Sensorhub API, Sensorhub Application Programming Interface), low-power chip interface and embedded Point service interface (NeuronSystenService); access point service through the point point service interface, based on point point service, obtain the base station information registered by the terminal from the application framework layer (Framework), point point service of the application framework layer includes the point point for Bluetooth services , Burying point for WiFi (Wireless-Fidelity, a wireless communication technology) service, burying point for location acquisition (Location) service, burying point for application switching, and burying point for telephone communication (Telephony) service
  • the sensor data of the terminal can be obtained through the communication interface, and the subway arrival scene can be recognized through the subway start-stop recognition algorithm and the pedometer algorithm; the low-power chip can be used to recognize the subway driving or closing sound when the terminal is on the screen; The low-power chip displays notification messages, subway lines, or outbound maps when the terminal is on the screen.
  • the context awareness service also includes a data upload mechanism, a base station-metro query mechanism and a database (base station/latitude and longitude).
  • the data upload mechanism represents the upload of terminal sensor data.
  • the database includes a database storing base station information, a database storing base station latitude and longitude or storage There is a database of the latitude and longitude of the target site, etc.
  • the base station-metro query mechanism means that according to the base station information, the subway station corresponding to the base station information is inquired from the database.
  • the terminal obtains the surrounding profile information of the target site according to the site information of the target site.
  • the surrounding profile information of the target site is used to briefly describe the target site and surrounding places of the target site.
  • the surrounding profile information of the target site includes one or more of a brief introduction to the target site, a brief description of the surrounding places of the target site, anecdotes related to the target site, and history related to the target site.
  • the surrounding places of the target site can also be divided into different categories. For example, the surrounding places of the target site can also be divided into accommodation, food, play, and others.
  • the target station is "Xujiahui" station
  • the surrounding profile information of the target station includes a brief introduction to the target station:
  • Xujiahui Station is located on Caoxi North Road, Xujiahui, Xuhui District, Shanghai. It is Shanghai Rail Transit Line 1, Line 9, The underground island-style transfer station of Line 11.
  • the site is located in the center of the Xujiahui area, the sub-center of Shanghai; the surrounding profile information of the target site can also include a brief description of the surrounding places of the target site: Amusement: There are many shopping malls and office buildings in the surrounding area, such as Pacific Digital Plaza, Pacific Department Store, Huijin Department Store, Xujiahui Park, Xuhui Campus of Shanghai Jiaotong University.
  • the terminal may obtain the surrounding profile information of the target site from the server according to the site information of the target site.
  • the step for the terminal to obtain the surrounding profile information of the target site according to the site information of the target site may be: the terminal sends a second obtaining request to the server according to the site information of the target site, and the second obtaining request carries the site information of the target site , The second obtaining request is used to request to obtain the surrounding profile information of the target site; receiving the surrounding profile information returned by the server.
  • the step of the server returning the surrounding profile information of the target site to the terminal may be as follows: the server receives the second acquisition request sent by the terminal; The surrounding profile information that matches the site information of the target site is obtained from the surrounding profile information; the surrounding profile information is returned to the terminal.
  • the terminal may also pre-store the surrounding profile information of the target site.
  • the terminal can obtain the surrounding profile information of the target site according to the site information of the target site.
  • the terminal may obtain the surrounding profile information of the target site according to the site information of the target site.
  • From the stored surrounding profile information of the transportation station obtain the surrounding profile information that matches the site information of the target site.
  • the terminal Before obtaining the surrounding profile information of the target site according to the site information of the target site, the terminal also receives the surrounding profile information of the transportation station sent by the server.
  • the server can deliver the surrounding profile information of the transportation station on the route to the user’s terminal; for another example, for a user who needs to take the subway on a business trip or travel, when When the user arrives at the target city, the server may also deliver the profile information of the surrounding area of the transportation site of the target city to the user's terminal to ensure that the profile information of the surrounding area of the target site can still be obtained when the network status is poor.
  • the terminal obtains a user portrait of the user corresponding to the terminal.
  • the user portrait is the virtual representative of the user, and the user portrait can express the user's preference or the user's information demand direction.
  • the user portrait includes a user tag, and the user tag can indicate a user's preference or a direction of information demand.
  • a user portrait of a certain user may include a user tag used to indicate that the user likes food, a user tag used to indicate that the user likes traveling, and a user tag used to indicate that the user likes researching electronic products.
  • the terminal may obtain a user portrait of the user corresponding to the terminal from the server.
  • the step for the terminal to obtain the user portrait of the user corresponding to the terminal may be: the terminal sends a third obtaining request to the server, the third obtaining request carries the user identification of the user corresponding to the terminal; and receiving the user portrait returned by the server.
  • the step of the server returning the user portrait to the terminal may be: the server receives the third acquisition request sent by the terminal; according to the user identification carried in the third acquisition request, the user portrait corresponding to the user identification is acquired from the stored user portraits; Return the user portrait to the terminal.
  • the terminal pre-stores a user portrait of the user corresponding to the terminal, and the terminal can obtain the stored user portrait. Before obtaining the stored user portrait, the terminal also receives the user portrait issued by the server, and stores the user portrait.
  • step 202 and step 203 there is no strict chronological sequence between step 202 and step 203. You can perform step 202 first, and then step 203; you can also perform step 203 first, then step 202; you can also perform step 202 and step 203 at the same time. In the embodiment of the present application, the order of performing step 203 and step 203 is not limited.
  • the terminal can perform step 202 or step 203 after performing step 201; the terminal can also perform step 201 without performing step 202 or step 203 first, and the terminal can perform only when the terminal arrives at the target site Step 202 or step 203, correspondingly, before the terminal obtains the surrounding profile information of the target site according to the site information of the target site, it also performs the following steps: the terminal obtains the acceleration data of the terminal; in response to the acceleration data, it is used to instruct the terminal to reach the target site, Perform the steps of obtaining profile information around the target site based on the site information of the target site.
  • the acceleration data changes in different rules. Therefore, the acceleration data of the terminal can be analyzed and processed to determine that the vehicle in which the terminal is located is in a running state or a stopped state. When the tool is in the stopped state, it can be determined that the terminal has reached the target site.
  • the acceleration data acquired by the terminal may be acceleration data in the second time period based on the current time.
  • FIG. 4 shows a schematic diagram of acceleration changes provided by an exemplary embodiment of the present application.
  • the terminal is in a subway driving scene within 800 seconds, and the acceleration data of the terminal within 800 seconds is collected.
  • the sampling frequency is 100HZ, and a total of 80,000 data points are collected. It can be seen that the acceleration data when the terminal is in the subway driving scene has obvious changes. When the subway is running, the acceleration gradually increases and then decreases; when the subway is stationary When the acceleration data is small and stable.
  • the terminal may locally analyze the acceleration data in the second time period, and in response to the acceleration data being used to instruct the terminal to arrive at the target site, it performs the step of obtaining the surrounding profile information of the target site according to the site information of the target site.
  • the terminal can also upload acceleration data to the server; the server analyzes and processes the acceleration data, and when the server determines that the terminal has reached the target site, it can return to the terminal the return data indicating the arrival of the target site; the terminal receives the return data from the server, and responds
  • the acceleration data is used to instruct the terminal to reach the target site before performing the step of obtaining the surrounding profile information of the target site according to the site information of the target site.
  • the terminal can obtain the user portrait of the user corresponding to the terminal when the user arrives at the target site, and obtain the surrounding profile information of the target site according to the site information of the target site, and then obtain the surrounding profile information of the target site according to the user portrait and the surrounding profile of the target site Information, obtain the recommended information matching the user portrait, and display the recommended information.
  • the user arrives at the target site, he can view the relevant information of the target site of interest.
  • This kind of personalized recommendation based on the site scene and the user portrait can not only Improving the accuracy of information recommendation can also enrich users' amateur life and enhance user experience.
  • the terminal may also perform step 201, and only perform step 202 or step 203 when the terminal arrives at the target site and the terminal is not traveling in a vehicle within the target time period.
  • the terminal also performs the following steps before acquiring the surrounding profile information of the target site according to the site information of the target site: the terminal acquires the acceleration data of the terminal; in response to the acceleration data, it is used to indicate that the terminal has reached the first site and the terminal is If you are not traveling in a vehicle during the time period, perform the steps of obtaining profile information around the target site based on the site information of the target site.
  • the terminal can determine that the user's destination is near the target site when the user arrives at the target site and does not continue to travel by means of transportation, and recommend the relevant information of the target site to the user.
  • the acceleration data of the terminal can also be analyzed. Only when the target site is determined to be a transportation site near the user’s destination, the user portrait of the terminal corresponding to the user is obtained, and the site information of the target site , Obtain the surrounding profile information of the target site, and then obtain the recommended information matching the user portrait according to the user portrait and the surrounding profile information of the target site, and display the recommended information, so that the user can view the recommended information on the terminal and obtain it from the recommended information Therefore, based on the above technical solutions, the terminal can not only improve the accuracy of information recommendation, but also improve the effectiveness of information recommendation.
  • the terminal obtains recommendation information matching the user portrait according to the surrounding profile information of the target site.
  • the terminal may determine the surrounding profile information matching the user portrait as the recommendation information.
  • the step for the terminal to obtain recommendation information matching the user portrait according to the surrounding profile information of the target site may be: the terminal determines the first degree of matching between the surrounding profile information and the user portrait according to the surrounding profile information of the target site and the user portrait; In response to the first matching degree being greater than the first threshold, the terminal determines the surrounding profile information as recommended information matching the user portrait; in response to the first matching degree being not greater than the first threshold, it determines that the surrounding profile information of the target site is different from the user portrait. Match, no longer perform the steps of displaying recommended information.
  • the terminal may determine the first degree of matching between the surrounding profile information and the user portrait according to the degree of matching between the keywords extracted from the surrounding profile information and the user tag in the user portrait.
  • the step for the terminal to determine the first degree of matching between the surrounding profile information and the user portrait according to the surrounding profile information of the target site and the user portrait may be: the terminal obtains the keyword of the target site from the surrounding profile information, and the keywords include the target site’s keywords. A condensed description of the site's surrounding profile information; the number of keywords matching the user tags in the user portrait is determined as the first matching degree.
  • the terminal may extract the keywords of the target site from the surrounding profile information; the terminal may also obtain the keywords of the target site from the server; the terminal may also obtain the stored keywords of the target site.
  • the target site may be Xujiahui Station.
  • the keywords of the target site include universities, parks, shopping malls, office buildings, digital plazas, express hotels, and food, etc.
  • the user tags in the user portrait include electronic product lovers, food lovers, Like shopping, high consumption level, etc., keywords that match the user tag of the user portrait include shopping malls, digital plazas, and food; the first match between the profile information of the target site and the user portrait is 3; the first threshold is OK It is any numerical value.
  • the first threshold may be 2, and the first matching degree between the surrounding profile information and the user portrait is greater than the first threshold, and the surrounding profile information may be determined as recommended information.
  • the surrounding profile information of the target site matching the user portrait can be determined as the recommended information recommended to the user. Based on the scenario of the target site, the accuracy of the information recommendation can be improved, and it is possible to recommend the user to the user.
  • the surrounding profile information of the interested target site is convenient for users to understand the information around the traffic and transportation sites that they pass through, and the user experience is improved.
  • the terminal may also obtain location information of the target location near the target site, and determine the location information of the target location that matches the user portrait as recommended information.
  • the step for the terminal to obtain recommended information matching the user profile according to the surrounding profile information of the target site may be as follows: the terminal determines the target location around the target site from the surrounding profile information of the target site, and the target location is located at the center of the target site.
  • the terminal determines the second matching degree between the location information and the user portrait according to the location information of the target location and the user portrait; in response to the second matching degree being greater than the second threshold, the terminal determines the location information as a recommendation matching the user portrait Information; in response to the second degree of matching is not greater than the second threshold, it is determined that the location information does not match the user portrait.
  • the target site can be a place around the target site.
  • the target site is Xujiahui Station.
  • the target site includes restaurants, shopping malls, scenic spots, hotels, and landmark buildings around the target site; the location information of the target site can be a profile of the target site.
  • the target location is a restaurant, and location information of the target location includes the theme style of the restaurant, the main cuisine, signature dishes, dishes, tastes, per capita consumption, etc.
  • User portraits can include higher-dimensional user tags.
  • user portraits include user tags that indicate the user's favorite taste, user tags that indicate the user's consumption level, user tags that indicate the user's favorite style, and user tags that indicate the user's favorite style. Like user tags of the attraction category, etc. It is possible to more accurately determine the location information matching the user portrait based on the user portrait including higher-dimensional user tags.
  • the location information matching the user portrait is determined as the recommendation information recommended to the user, which can provide the user with more specific and accurate recommendations and improve the information
  • the accuracy of the recommendation reduces the user's choice cost and enhances the user's experience.
  • the terminal may also determine the type of information that the user is interested in based on the portrait of the user, and recommend the information of the information type to the user.
  • the steps for the terminal to obtain recommended information matching the user portrait according to the surrounding profile information of the target site may be: the terminal determines the information category matching the user portrait according to the user portrait; The recommended information corresponding to the information category is extracted from the information.
  • a user portrait indicates that the user likes food. According to the user portrait, it can be determined that the information category that matches the user portrait includes food; the food information can be extracted from the profile information around the target site, and the food information can be determined as a recommendation information.
  • the information category that matches the user profile can be determined, and the recommended information corresponding to the information category can be extracted from the surrounding profile information of the target site, which can improve the accuracy of information recommendation and provide users with more accurate and clear information. Recommend information to improve user experience.
  • the terminal displays recommendation information.
  • the terminal may display recommendation information based on the application program that provides the information recommendation service, and the terminal may display the recommendation information on the recommendation interface of the application program; the desktop application of the terminal may include a plug-in of the application program, and the terminal may display the recommendation information in the plug-in.
  • the terminal can also perform information recommendation based on the operating system, and the terminal can display the recommended information in the interface for quickly obtaining information of the desktop application.
  • the interface for quickly obtaining information of the desktop application may be a negative screen of the desktop application.
  • the terminal may display the recommended information in response to the operation for instructing to display the recommended information.
  • the terminal may display the recommendation information in the recommendation interface in response to the operation of opening the recommendation interface.
  • the terminal can also pop up a prompt message before displaying the recommended information.
  • the prompt information is used to briefly summarize the recommended information and prompt the user that the recommended information may be interested in.
  • the prompt information can be "There is something you are interested in near Xuhui Station Digital Plaza, come and take a look.”
  • the prompt information can be displayed on the interface currently displayed on the terminal, and when the terminal is in the off-screen state, the prompt information can also be displayed on the on-screen interface.
  • the terminal may display the recommendation information in response to the triggering operation on the prompt information.
  • the terminal also provides a service of displaying the surrounding profile information of other transportation stations.
  • the user can open the traffic line interface and view the surrounding profile information of other transportation stations in the traffic line interface.
  • the step for the terminal to display the profile information of the surroundings of other transportation stations may be: the terminal responds to the operation for instructing to view the site information of other transportation stations, displaying the traffic line interface, the traffic line interface includes the traffic line to which the target station belongs And the third station on the traffic line; in response to the trigger operation on the third station, the terminal obtains the keywords of the third station and displays the keywords of the third station; responds to the instruction to view the surrounding profile information of the third station Operate to display the profile information around the third site.
  • the interface for the terminal to display the recommended information may include the surrounding profile information of the target site and a button for viewing the surrounding profile information of other transportation stations.
  • the terminal may display the traffic route interface in response to the trigger operation of the button; the interface for the terminal to display the recommended information also It may only include the surrounding profile information of the target site, and the terminal may display the traffic route interface in response to the sliding operation in the interface; the terminal may also display the traffic route interface in response to the zoom out operation in the interface displaying the recommended information, for example,
  • the interface for displaying the recommended information includes a circular frame, and the circular frame includes the recommended information, and the terminal can hide the recommended information and display the traffic route interface in response to the zooming operation of the circular frame.
  • the terminal can also respond to the zoom-in operation on any site of the traffic route in the traffic route interface to display the surrounding profile information of the site.
  • FIG. 5 shows a schematic diagram of a traffic line interface provided by an exemplary embodiment of the present application.
  • the third station is Longhua Middle Road Station.
  • the keywords of the third site are displayed.
  • the keywords of the third site include basketball park, riverside green space and art gallery.
  • the display box displaying the keywords of the third site also includes a detailed button, and the terminal can display the surrounding profile information of the third site in response to a trigger operation of the button.
  • the terminal can also provide the surrounding profile information of other transportation stations, which can improve the richness of the information display, so that the user can view the surrounding profile information of other transportation stations according to their own needs, which can improve the user experience. .
  • the terminal can also highlight transportation sites that match the user's portrait in the transportation route interface.
  • the step of displaying the traffic route interface on the terminal can also be: the terminal determines the fourth station from the traffic route, and the surrounding profile information of the fourth site matches the user portrait; displaying the traffic route interface, the fourth station in the traffic route interface is highlight.
  • the terminal may highlight the fourth station in the traffic line interface, and the terminal may also display the fourth station in the form of flashing on the traffic line interface.
  • the traffic route interface can also highlight other traffic and transportation sites that match the user's portrait, which can expand the scope of information recommendation.
  • the user can quickly obtain information about the traffic and transportation site of interest. Surrounding profile information can improve user experience by highlighting transportation sites that match the user's portrait.
  • the target site to which the current terminal is headed is determined, the target site is a transportation site on the forward route of the terminal; the surrounding profile information of the target site is obtained, and the user portrait of the corresponding user of the terminal is obtained; Surrounding profile information, obtain recommended information that matches the user's portrait, and display the recommended information.
  • the current target site in the scenario where the user travels by means of transportation, the current target site can be determined, and recommended information matching the user portrait can be recommended to the user based on the profile information around the target site.
  • Personalized information recommendation based on the surrounding profile information of the target site through which the user takes the transportation means, combined with the user portrait, can improve the accuracy of the information recommendation.
  • FIG. 6 shows an interaction flowchart of an information recommendation method according to an exemplary embodiment of the present application.
  • a method for performing information recommendation through interaction between a terminal and a server is taken as an example for description, and this embodiment includes:
  • the terminal obtains base station information of a currently registered base station.
  • the terminal can obtain the base station information of the base station currently registered by the terminal when the base station registered by the terminal changes based on the buried point service of the application framework layer.
  • the terminal sends a recommendation request to the server, where the recommendation request includes at least base station information.
  • the terminal sends a recommendation request to the server.
  • the recommendation request includes at least base station information of the base station currently registered by the terminal.
  • the recommendation request is used to request the server to return recommendation information related to the target site corresponding to the base station information.
  • the server receives the recommendation request sent by the terminal, and obtains the site information of the target site that the terminal goes to according to the base station information in the recommendation request and the corresponding relationship between the base station information and the site information of the transportation site.
  • the server stores the corresponding relationship between the base station information and the site information of the transportation site, and the server can determine the site information of the target site according to the corresponding relationship and the base station information.
  • the base station information corresponds to the site information of a transportation site.
  • the site information of the transportation site corresponding to the base station information can be determined as the target site to which the terminal goes.
  • Site information can be obtained.
  • the server may obtain the site information of the target site to which the terminal goes: in response to the base station information, obtaining the corresponding relationship with the base station.
  • the information corresponds to the site information of a transportation site, and the server determines the site information of a transportation site corresponding to the base station information as the site information of the target site to which the terminal goes.
  • the coverage area of a base station includes at least two transportation stations, and at least two transportation stations corresponding to the second station adjacent to the first station reached by the terminal and the base station currently registered by the terminal can be transmitted.
  • the intersection of transportation sites is used to determine the destination site the terminal is currently heading to.
  • the server may obtain the site information of the target site to which the terminal goes: in response to the base station information, obtaining the corresponding relationship with the base station
  • the site information of at least two transportation stations corresponding to the information is obtained, and the site information of the first station that is reached on the terminal is obtained; according to the site information of the first station, the traffic line to which the first station belongs is determined; according to the traffic to which the first station belongs Route, determine the site information of the second site adjacent to the first site; determine the intersection of the site information of the second site and the site information of at least two transportation sites; determine the intersection as the site information of the target site to which the terminal goes .
  • the server may store the correspondence between the base station information and the site information of the transportation site in the base station database.
  • the server obtains the base station information of the base station currently registered by the terminal, that is, reads the current base station information; the server determines the target site the terminal goes to according to the base station information carried in the first obtaining request and the correspondence between the base station information and the site information of the transportation site
  • the site information is to query the base station database; the server queries the base station database, and the following three possible query results may appear:
  • the first is that the server queries the base station database, but there is no result, that is, the server does not find the target site corresponding to the base station information according to the base station information and the correspondence relationship between the base station information and the site information of the transportation site from the base station database.
  • Information the step of determining the site information of the target site to which the terminal goes by the server ends.
  • the server querying the base station database without results may be due to the incomplete collection of base station information or the addition of base stations during maintenance by the operator. If the server queries the base station database and there is no result, the server can feed back the query failure information to the corresponding terminal of the maintenance staff, prompting maintenance The personnel update the base station database in a timely manner.
  • the base station database contains the site information of the transportation site corresponding to the base station information, and the base station information corresponds to the site information of a transportation site, and the server finds the site of a transportation site according to the base station information.
  • Information, that is, the result of the query target site is unique, then the result is determined to be the site information of the target site, that is, the result is determined to be the target site.
  • the server It can obtain the site information of the neighboring station of the last site reached by the terminal, that is, the neighboring station of the previous site; determine the intersection of the site information of the neighboring station of the previous site and the site information of at least two transportation stations , That is, find the intersection; if the site information of the transportation station in the intersection is unique, the intersection is determined as the site information of the target site, that is, the intersection result is determined as the target site.
  • the server obtains the surrounding profile information of the target site according to the site information of the target site.
  • the server obtains the surrounding profile information of the target site from the stored surrounding profile information of the transportation station according to the site information of the target site.
  • the server obtains the surrounding overview information of the target site from the stored surrounding overview information of the transportation station according to the site information of the target site, it also obtains the surrounding overview information of each transportation station and stores each traffic.
  • Information about the surrounding area of the transportation station corresponds to the server obtains the surrounding profile information of the transportation site, and the steps of storing the surrounding profile information of each transportation site can be: the server obtains the relevant information of the transportation site of the target city through the crawler; the relevant information of the transportation site is streamlined , Get the surrounding profile information of the transportation station; store the surrounding profile information of the transportation station.
  • the server can also extract the keywords of the transportation site from the surrounding profile information of the transportation site, and store the keywords of the transportation site.
  • the server can send the line identification (line_id) of the traffic line, the line name of the traffic line (line_name), the station name (station_name) of the transportation station belonging to the traffic line, and the brief information about the surroundings of the transportation station (station_info) and the keyword (station_key_word) of the transportation station are correspondingly stored in the database.
  • the server may also obtain related information of the target site through a crawler according to the site information of the target site, and simplify the related information of the target site to obtain the surrounding profile information of the target site.
  • the steps for the server to obtain profile information around the target site according to the site information of the target site may be: the server uses the site information of the target site as a crawler keyword to obtain the relevant information of the target site; and condenses the relevant information of the target site To get the profile information about the target site.
  • the server obtains the user portrait of the user corresponding to the terminal.
  • the recommendation request sent by the terminal to the server also includes the user ID of the user corresponding to the terminal, and the server can obtain the user portrait of the user corresponding to the terminal according to the user ID in the recommendation request.
  • the server obtains the user portrait corresponding to the user ID according to the user ID, the server also constructs the user portrait, stores the user portrait, or updates the stored user portrait according to the currently constructed user portrait.
  • FIG. 8 shows a schematic diagram of constructing a user portrait provided by an exemplary embodiment of the present application.
  • the server first collects basic data to obtain basic data corresponding to the user; processes and analyzes the basic data corresponding to the user to perform user behavior Modeling, constructing and obtaining user portraits.
  • the user's basic data collected by the server may include one or more of network behavior data, in-service behavior data, user content preference data, and user transaction data.
  • Network behavior data may be behavior data generated when users use the Internet; in-service behavior data may be behavior data generated when users apply basic services of the terminal.
  • in-service behavior data includes location information obtained when users apply their locations to obtain services;
  • the user content preference data may be behavior preference data generated when the user browses content;
  • the user transaction data may be transaction data generated when the user conducts a transaction.
  • the server may perform behavior modeling based on one or more of text mining technology, natural language processing technology, machine learning technology, prediction algorithm, or clustering algorithm.
  • the user portrait constructed by the server may include the user's basic attributes, purchasing ability, behavioral characteristics, hobbies, psychological characteristics, and social network feature tags.
  • the server obtains recommendation information matching the user portrait according to the surrounding profile information of the target site.
  • This step is similar to step 204 and will not be repeated here.
  • the server returns recommendation information to the terminal.
  • the server determines the site information of the target site that the terminal is currently visiting according to the base station information of the base station currently registered with the terminal; determines the surrounding profile information of the target site according to the site information of the target site; according to the surrounding profile of the target site Information, determine the recommended information that matches the user's portrait, and return the recommended information to the terminal.
  • the terminal receives the recommendation information returned by the server, and displays the recommendation information.
  • This step is similar to step 205 and will not be repeated here.
  • the target site to which the current terminal is headed is determined, the target site is a transportation site on the forward route of the terminal; the surrounding profile information of the target site is obtained, and the user portrait of the corresponding user of the terminal is obtained; Surrounding profile information, obtain recommended information that matches the user's portrait, and display the recommended information.
  • the target site the user is currently visiting can be determined, and recommendation information matching the user portrait can be recommended to the user based on the profile information around the target site.
  • Personalized information recommendation based on the surrounding profile information of the target site through which the user takes the transportation means, combined with the user portrait, can improve the accuracy of the information recommendation.
  • FIG. 9 shows a structural block diagram of an information recommendation apparatus provided by an exemplary embodiment of the present application.
  • the information recommendation device can be implemented as all or a part of the processor through software, hardware or a combination of the two.
  • the device includes:
  • the obtaining module 901 is used to obtain the site information of the target site that the current terminal is going to, and obtain the surrounding profile information of the target site according to the site information of the target site.
  • the target site is a transportation station located on the forward route of the terminal; User portrait; according to the surrounding profile information of the target site, obtain recommended information that matches the user portrait;
  • the display module 902 is used to display recommended information.
  • the obtaining module 901 is used to obtain base station information of the base station currently registered with the terminal.
  • the base station provides mobile communication services for the terminal.
  • the coverage area of the base station includes at least one transportation station; Correspondence of the site information of the transportation site, and obtain the site information of the target site to which the terminal goes.
  • the obtaining module 901 is configured to obtain the station information of at least two transportation stations corresponding to the base station information from the corresponding relationship according to the base station information, and obtain the station of the first station reached by the terminal.
  • Information According to the site information of the first site, determine the traffic line to which the first site belongs; determine the site information of the second site adjacent to the first site according to the traffic line of the first site; determine the site information of the second site The intersection with the site information of at least two transportation sites; the intersection is determined as the site information of the target site to which the terminal goes.
  • the obtaining module 901 is configured to, in response to obtaining site information of a transportation station corresponding to the base station information from the corresponding relationship according to the base station information, determine the site information of a transportation station corresponding to the base station information It is the site information of the target site that the terminal goes to.
  • the acquiring module 901 is configured to determine the first matching degree between the surrounding profile information and the user portrait according to the surrounding profile information of the target site and the user portrait; in response to the first matching degree being greater than the first threshold, the surrounding profile The information is determined as recommended information matching the user portrait.
  • the obtaining module 901 is configured to obtain keywords of the target site from the surrounding profile information.
  • the keywords include a condensed description of the surrounding profile information of the target site; keywords that will match the user tags in the user portrait The number of is determined as the first degree of matching.
  • the acquisition module 901 is used to determine the target site around the target site from the profile information of the target site.
  • the target site is located within the target range centered on the target site; according to the site information and user portraits of the target site , Determining the second degree of matching between the location information and the user portrait; in response to the second matching degree being greater than the second threshold, determining the location information as recommended information matching the user portrait.
  • the acquisition module 901 is configured to determine the information category matching the user portrait according to the user portrait; and extract the recommendation information corresponding to the information category from the surrounding profile information and the information category according to the surrounding profile information.
  • the display module 902 is also used to display a traffic line interface in response to an operation for instructing to view site information of other transportation sites.
  • the traffic line interface includes the traffic line to which the target site belongs and the second line on the traffic line. Three sites; in response to the triggering operation on the third site, the keywords of the third site are obtained, and the keywords of the third site are displayed; Surrounding profile information.
  • the display module 902 is also used to determine the fourth station from the transportation route, and the surrounding profile information of the fourth station matches the user portrait; the transportation route interface is displayed, and the fourth station in the transportation route interface is highlighted .
  • the acquiring module 901 is used to acquire acceleration data of the terminal; in response to the acceleration data, it is used to instruct the terminal to reach the target site, and obtain the surrounding profile information of the target site according to the site information of the target site.
  • the acquisition module 901 is used to acquire acceleration data of the terminal; in response to the acceleration data, it is used to indicate that the terminal has arrived at the first station and the terminal is not traveling in a vehicle within the target time period. Site information, get the profile information around the target site.
  • the target site to which the current terminal is headed is determined, the target site is a transportation site on the forward route of the terminal; the surrounding profile information of the target site is obtained, and the user portrait of the corresponding user of the terminal is obtained; Surrounding profile information, obtain recommended information that matches the user's portrait, and display the recommended information.
  • the target site the user is currently visiting can be determined, and recommendation information matching the user portrait can be recommended to the user based on the profile information around the target site.
  • Personalized information recommendation based on the surrounding profile information of the target site through which the user takes the transportation means, combined with the user portrait, can improve the accuracy of the information recommendation.
  • FIG. 10 shows a structural block diagram of a terminal 1000 according to an exemplary embodiment of the present application.
  • the terminal 1000 may be a terminal such as a smart phone, a tablet computer, a notebook computer, or a wearable device.
  • the terminal 1000 in this application may include one or more of the following components: a processor 1010, a memory 1020, and a display screen 1030.
  • the processor 1010 may include one or more processing cores.
  • the processor 1010 uses various interfaces and lines to connect various parts of the entire terminal 1000, and executes various functions and functions of the terminal 1000 by running or executing at least one instruction stored in the memory 1020 and calling data stored in the memory 1020. Data processing.
  • the processor 1010 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 1010 can integrate one or more of a central processing unit (CPU), a graphics processing unit (GPU), a neural network processing unit (NPU), a modem, etc. The combination.
  • the CPU mainly processes the operating system, user interface, and application programs; the GPU is used to render and draw the content that needs to be displayed on the display screen 1030; the NPU is used to implement artificial intelligence (AI) functions; the modem is used for processing Wireless communication. It is understandable that the above-mentioned modem may not be integrated into the processor 1010, but may be implemented by a chip alone.
  • the process of obtaining the user portrait and obtaining the recommendation information matching the user portrait is realized by the NPU, the rendering of the recommendation information is realized by the GPU, and the execution operation on the user interface is realized by the CPU.
  • the memory 1020 may include random access memory (RAM) or read-only memory (ROM).
  • the memory 1020 includes a non-transitory computer-readable storage medium.
  • the memory 1020 can be used to store at least one instruction.
  • the memory 1020 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing the operating system and instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), Instructions used to implement the foregoing method embodiments, etc.; the storage data area may store data (such as audio data, phone book) created according to the use of the terminal 1000, and the like.
  • the memory 1020 stores the surrounding profile information of the target site in the terminal, user portraits and other data.
  • the display screen 1030 is a display component for displaying a user interface.
  • the display screen 1030 is a display screen with a touch function. Through the touch function, the user can use any suitable object such as a finger or a touch pen to perform touch operations on the display screen 1030.
  • recommendation information and the like are displayed through the display screen 1030.
  • the display screen 1030 is usually arranged on the front panel of the terminal 1000.
  • the display screen 1030 can be designed as a full screen, a curved screen, a special-shaped screen, a double-sided screen or a folding screen.
  • the display screen 1030 can also be designed as a combination of a full screen and a curved screen, a combination of a special-shaped screen and a curved screen, etc., which is not limited in this embodiment.
  • the terminal 1000 further includes an acceleration sensor, which is used to collect acceleration data of the terminal.
  • the structure of the terminal 1000 shown in the above drawings does not constitute a limitation on the terminal 1000, and the terminal 1000 may include more or less components than those shown in the figure, or a combination of certain components. Some components, or different component arrangements.
  • the terminal 1000 also includes components such as a microphone, a speaker, a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (Wireless Fidelity, Wi-Fi) module, a power supply, a Bluetooth module, etc., which are not repeated here.
  • the terminal may also include other components such as a distance sensor, a camera, an acceleration sensor, an angular velocity sensor, a positioning module, an infrared module, etc.
  • a distance sensor e.g., a camera
  • an acceleration sensor e.g., a Bosch Sensortec BMA150 accelerometer
  • an angular velocity sensor e.g., a Bosch Sensortec BMA150 accelerometer
  • a positioning module e.g., a positioning module
  • an infrared module e.g., a laser scanner, etc.
  • the embodiment of the present application does not limit the specific structure of the terminal.
  • FIG. 11 shows a structural block diagram of a server provided by an exemplary embodiment of the present application.
  • the server 1100 may have relatively large differences due to differences in configuration or performance, and may include one or more processors (Central Processing Units (CPU) 1101 and one or more memories 1102, where at least one instruction is stored in the memory 1102, and at least one instruction is loaded and executed by the processor 1101 to implement the information recommendation method provided by the foregoing method embodiments.
  • the server may also have components such as a wired or wireless network interface, a keyboard, an input and output interface for input and output, and the server may also include other components for implementing device functions, which will not be described in detail here.
  • An embodiment of the present application also provides a computer-readable storage medium that stores at least one instruction, and the at least one instruction is executed by a processor to complete the information recommendation method shown in the foregoing embodiment.
  • the embodiments of the present application also provide a computer program product.
  • the computer program product includes at least one computer program.
  • the at least one computer program is executed by a processor, it is used to implement the information recommendation method provided by the foregoing method embodiments.
  • the functions described in the embodiments of the present application may be implemented by hardware, software, firmware, or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on the computer-readable medium.
  • the computer-readable medium includes a computer storage medium and a communication medium, where the communication medium includes any medium that facilitates the transfer of a computer program from one place to another.
  • the storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.

Abstract

The present application provides an information recommendation method and apparatus, a terminal and a storage medium, which belong to the technical field of computers. Said method comprises: acquiring station information of a target station to which a terminal is headed at present, and acquiring, according to the station information of the target station, brief introduction information of surroundings of the target station, the target station being a transportation station located on the route of advance of the terminal; acquiring a user portrait of a user corresponding to the terminal; acquiring, according to the brief introduction information of surroundings of the target station, recommendation information matching the user portrait; and displaying the recommendation information. According to the present invention, on the basis of brief introduction information of surroundings of a target station that a user passes through by taking a vehicle, personalized information recommendation is performed in combination with a user portrait, so that the accuracy of information recommendation can be improved.

Description

信息推荐方法、装置、终端及存储介质Information recommendation method, device, terminal and storage medium
本申请要求于2020年02月26日提交的申请号为202010121114.7、发明名称为“信息推荐方法、装置、终端及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application with an application number of 202010121114.7 and an invention title of "information recommendation method, device, terminal and storage medium" filed on February 26, 2020, the entire content of which is incorporated into this application by reference .
技术领域Technical field
本申请涉及计算机技术领域,特别涉及一种信息推荐方法、装置、终端及存储介质。This application relates to the field of computer technology, and in particular to an information recommendation method, device, terminal and storage medium.
背景技术Background technique
在这个信息过载的时代,用户很难从海量信息中快速获取到自己需要的信息,并且,当用户对信息的需求不明确时,用户可能会接收到大量的无用信息,信息获取的成本较高。为降低用户获取信息的成本,各种推荐系统应运而生,通过推荐系统可以从海量信息中筛选出用户可能感兴趣的信息,向用户推荐该用户可能感兴趣的信息。In this age of information overload, it is difficult for users to quickly obtain the information they need from massive amounts of information, and when the user's demand for information is not clear, users may receive a large amount of useless information, and the cost of information acquisition is high. . In order to reduce the cost for users to obtain information, various recommendation systems have emerged. The recommendation system can filter out information that may be of interest to users from a large amount of information, and recommend information that may be of interest to users.
发明内容Summary of the invention
本申请实施例提供了一种信息推荐方法、装置、终端及存储介质。所述技术方案如下:The embodiments of the present application provide an information recommendation method, device, terminal, and storage medium. The technical solution is as follows:
一方面,提供了一种信息推荐方法,所述方法包括:In one aspect, an information recommendation method is provided, and the method includes:
获取当前终端前往的目标站点的站点信息,根据所述目标站点的站点信息,获取所述目标站点的周边简介信息,所述目标站点为位于所述终端前进线路上的交通运输站点;Acquiring site information of the target site to which the current terminal goes, and acquiring surrounding profile information of the target site according to the site information of the target site, where the target site is a transportation site located on the forward route of the terminal;
获取所述终端对应用户的用户画像;Acquiring a user portrait of the user corresponding to the terminal;
根据所述目标站点的周边简介信息,获取与所述用户画像匹配的推荐信息;Obtaining recommendation information matching the user portrait according to the surrounding profile information of the target site;
显示所述推荐信息。Display the recommended information.
另一方面,提供了一种信息推荐装置,所述装置包括:In another aspect, an information recommendation device is provided, and the device includes:
获取模块,用于获取当前终端前往的目标站点的站点信息,根据所述目标站点的站点信息,获取所述目标站点的周边简介信息,所述目标站点为位于所述终端前进线路上的交通运输站点;获取所述终端对应用户的用户画像;根据所述目标站点的周边简介信息,获取与所述用户画像匹配的推荐信息;The obtaining module is used to obtain the site information of the target site to which the current terminal is going, and obtain the surrounding profile information of the target site according to the site information of the target site, the target site being the transportation on the forward route of the terminal Site; obtain the user portrait of the user corresponding to the terminal; obtain recommendation information matching the user portrait according to the surrounding profile information of the target site;
显示模块,用于显示所述推荐信息。The display module is used to display the recommended information.
另一方面,提供了一种终端,所述终端包括处理器和存储器;所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以实现如上述方面所述的信息推荐方法。In another aspect, a terminal is provided, the terminal includes a processor and a memory; the memory stores at least one instruction, and the at least one instruction is used to be executed by the processor to implement the information described in the foregoing aspect Recommended method.
另一方面,提供了一种计算机可读存储介质,所述存储介质存储有至少一条指令,所述至少一条指令用于被处理器执行以实现如上述方面所述的信息推荐方法。In another aspect, a computer-readable storage medium is provided, and the storage medium stores at least one instruction, and the at least one instruction is used to be executed by a processor to implement the information recommendation method as described in the foregoing aspect.
另一方面,提供了一种计算机程序产品,所述计算机程序产品包括至少一个计算机程序,所述至少一个计算机程序被处理器执行时,用于实现如上述方面所述的信息推荐方法。In another aspect, a computer program product is provided, the computer program product includes at least one computer program, and when the at least one computer program is executed by a processor, it is used to implement the information recommendation method as described in the foregoing aspect.
附图说明Description of the drawings
图1示出了本申请一个示例性实施例所提供的实施环境的示意图;Fig. 1 shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application;
图2示出了本申请一个示例性实施例示出的信息推荐方法的流程图;Fig. 2 shows a flowchart of an information recommendation method shown in an exemplary embodiment of the present application;
图3示出了本申请一个示例性实施例提供的情景感知服务的示意图;Fig. 3 shows a schematic diagram of a context-aware service provided by an exemplary embodiment of the present application;
图4示出了本申请一个示例性实施例提供的加速度变化的示意图;Fig. 4 shows a schematic diagram of acceleration changes provided by an exemplary embodiment of the present application;
图5示出了本申请一个示例性实施例提供的交通线路界面的示意图;Fig. 5 shows a schematic diagram of a traffic line interface provided by an exemplary embodiment of the present application;
图6示出了本申请一个示例性实施例示出的信息推荐方法的交互流程图;Fig. 6 shows an interaction flowchart of an information recommendation method shown in an exemplary embodiment of the present application;
图7示出了本申请一个示例性实施例示出的获取目标站点的站点信息的流程图;Fig. 7 shows a flow chart of obtaining site information of a target site according to an exemplary embodiment of the present application;
图8示出了本申请一个示例性实施例提供的构建用户画像的示意图;FIG. 8 shows a schematic diagram of constructing a user portrait provided by an exemplary embodiment of the present application;
图9示出了本申请一个示例性实施例提供的信息推荐装置的结构框图;Fig. 9 shows a structural block diagram of an information recommendation device provided by an exemplary embodiment of the present application;
图10示出了本申请一个示例性实施例所提供的终端的结构框图;Fig. 10 shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application;
图11示出了本申请一个示例性实施例所提供的服务器的结构框图。Fig. 11 shows a structural block diagram of a server provided by an exemplary embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solutions, and advantages of the present application clearer, the implementation manners of the present application will be described in further detail below in conjunction with the accompanying drawings.
本申请的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们的任意变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second", "third" and "fourth" in the specification and claims of this application and the drawings are used to distinguish different objects, not to describe a specific order . In addition, the terms "including" and "having" and their arbitrary variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes unlisted steps or units, or optionally also includes Other steps or units inherent to these processes, methods, products or equipment.
本申请实施例中,提供有如下技术方案:In the embodiments of this application, the following technical solutions are provided:
一种信息推荐方法,所述方法包括:An information recommendation method, the method includes:
获取当前终端前往的目标站点的站点信息,根据所述目标站点的站点信息,获取所述目标站点的周边简介信息,所述目标站点为位于所述终端前进线路上的交通运输站点;Acquiring site information of the target site to which the current terminal goes, and acquiring surrounding profile information of the target site according to the site information of the target site, where the target site is a transportation site located on the forward route of the terminal;
获取所述终端对应用户的用户画像;Acquiring a user portrait of the user corresponding to the terminal;
根据所述目标站点的周边简介信息,获取与所述用户画像匹配的推荐信息;Obtaining recommendation information matching the user portrait according to the surrounding profile information of the target site;
显示所述推荐信息。Display the recommended information.
在一些实施例中,所述获取当前终端前往的目标站点的站点信息,包括:In some embodiments, the acquiring site information of the target site to which the current terminal goes includes:
获取所述终端当前注册的基站的基站信息,所述基站为所述终端提供移动通信的服务,所述基站的覆盖范围包括至少一个交通运输站点;Acquiring base station information of a base station currently registered by the terminal, the base station provides mobile communication services for the terminal, and the coverage area of the base station includes at least one transportation station;
根据所述基站信息,以及所述基站信息与其覆盖的交通运输站点的站点信息的对应关系,获取所述终端前往的目标站点的站点信息。According to the base station information and the corresponding relationship between the base station information and the site information of the transportation sites covered by the base station information, the site information of the target site to which the terminal is headed is acquired.
在一些实施例中,所述根据所述基站信息,以及所述基站信息与其覆盖的交通运输站点的站点信息的对应关系,获取所述终端前往的目标站点的站点信息,包括:In some embodiments, the acquiring the site information of the target site to which the terminal goes according to the base station information and the correspondence between the base station information and the site information of the transportation sites covered by the base station includes:
响应于根据所述基站信息,从所述对应关系中获取到与所述基站信息对应的至少两个交通运输站点的站点信息,获取所述终端上一个到达的第一站点的站点信息;In response to acquiring site information of at least two transportation sites corresponding to the base station information from the corresponding relationship according to the base station information, acquiring site information of a first site that is reached on the terminal;
根据所述第一站点的站点信息,确定所述第一站点所属的交通线路;Determine the traffic line to which the first site belongs according to the site information of the first site;
根据所述第一站点所属的交通线路,确定与所述第一站点相邻的第二站点的站点信息;Determine the site information of the second site adjacent to the first site according to the traffic line to which the first site belongs;
确定所述第二站点的站点信息和所述至少两个交通运输站点的站点信息的交集;Determining the intersection of the site information of the second site and the site information of the at least two transportation sites;
将所述交集确定为所述终端前往的目标站点的站点信息。The intersection is determined as the site information of the target site to which the terminal goes.
在一些实施例中,所述根据所述基站信息,以及所述基站信息与其覆盖的交通运输站点的站点信息的对应关系,获取所述终端前往的目标站点的站点信息,包括:In some embodiments, the acquiring the site information of the target site to which the terminal goes according to the base station information and the correspondence between the base station information and the site information of the transportation sites covered by the base station includes:
响应于根据所述基站信息,从所述对应关系中获取到与所述基站信息对应的一个交通运输站点的站点信息,将所述基站信息对应的一个交通运输站点的站点信息确定为所述终端前往的目标站点的站点信息。In response to obtaining site information of a transportation site corresponding to the base station information from the corresponding relationship according to the base station information, determine the site information of a transportation site corresponding to the base station information as the terminal The site information of the destination site to go to.
在一些实施例中,所述根据所述目标站点的周边简介信息,获取与所述用户画像匹配的推荐信息,包括:In some embodiments, the obtaining recommendation information matching the user portrait according to the surrounding profile information of the target site includes:
根据所述目标站点的周边简介信息和所述用户画像,确定所述周边简介信息与所述用户画像的第一匹配度;Determine the first degree of matching between the peripheral profile information and the user portrait according to the peripheral profile information of the target site and the user portrait;
响应于所述第一匹配度大于第一阈值,将所述周边简介信息确定为与所述用户画像匹配的推荐信息。In response to the first degree of matching being greater than a first threshold, determining the surrounding profile information as recommendation information matching the user portrait.
在一些实施例中,所述根据所述目标站点的周边简介信息和所述用户画像,确定所述周 边简介信息与所述用户画像的第一匹配度,包括:In some embodiments, the determining the first degree of matching between the surrounding profile information and the user portrait according to the surrounding profile information of the target site and the user portrait includes:
从所述周边简介信息中获取所述目标站点的关键字,所述关键字包括对所述目标站点的周边简介信息的精简描述;Acquiring keywords of the target site from the surrounding profile information, where the keywords include a condensed description of the surrounding profile information of the target site;
将与所述用户画像中的用户标签匹配的关键字的数量确定为所述第一匹配度。The number of keywords matching the user tags in the user portrait is determined as the first matching degree.
在一些实施例中,所述根据所述目标站点的周边简介信息,获取与所述用户画像匹配的推荐信息,包括:In some embodiments, the obtaining recommendation information matching the user portrait according to the surrounding profile information of the target site includes:
从所述目标站点的周边简介信息中确定所述目标站点周边的目标场所,所述目标场所位于以所述目标站点为中心的目标范围内;Determining a target location around the target site from the surrounding profile information of the target site, where the target location is located within a target range centered on the target site;
根据所述目标场所的场所信息和所述用户画像,确定所述场所信息与所述用户画像的第二匹配度;Determining a second degree of matching between the location information and the user portrait according to the location information of the target location and the user portrait;
响应于所述第二匹配度大于第二阈值,将所述场所信息确定为与所述用户画像匹配的推荐信息。In response to the second degree of matching being greater than a second threshold, determining the location information as recommendation information matching the user portrait.
在一些实施例中,所述根据所述目标站点的周边简介信息,获取与所述用户画像匹配的推荐信息,包括:In some embodiments, the obtaining recommendation information matching the user portrait according to the surrounding profile information of the target site includes:
根据所述用户画像,确定与所述用户画像匹配的信息类别;According to the user portrait, determine the information category that matches the user portrait;
根据所述周边简介信息和所述信息类别,从所述周边简介信息中提取出所述信息类别对应的推荐信息。According to the surrounding profile information and the information category, the recommended information corresponding to the information category is extracted from the surrounding profile information.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
响应于用于指示查看其他交通运输站点的站点信息的操作,显示交通线路界面,所述交通线路界面包括所述目标站点所属的交通线路和所述交通线路上的第三站点;In response to an operation for instructing to view site information of other transportation sites, displaying a traffic line interface, the traffic line interface including the traffic line to which the target site belongs and a third station on the traffic line;
响应于对所述第三站点的触发操作,获取所述第三站点的关键字,显示所述第三站点的关键字;In response to the triggering operation on the third site, acquiring keywords of the third site, and displaying the keywords of the third site;
响应于用于指示查看所述第三站点的周边简介信息的操作,显示所述第三站点的周边简介信息。In response to the operation for instructing to view the surrounding profile information of the third site, display the surrounding profile information of the third site.
在一些实施例中,所述显示交通线路界面,包括:In some embodiments, the displaying the traffic route interface includes:
从所述交通线路中确定第四站点,所述第四站点的周边简介信息与所述用户画像匹配;Determining a fourth station from the transportation route, and surrounding profile information of the fourth station matches the user portrait;
显示所述交通线路界面,所述交通线路界面中的第四站点被突出显示。The traffic route interface is displayed, and the fourth station in the traffic route interface is highlighted.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
获取所述终端的加速度数据;Acquiring acceleration data of the terminal;
响应于所述加速度数据用于指示所述终端到达所述目标站点,执行所述根据所述目标站点的站点信息,获取所述目标站点的周边简介信息的步骤。In response to the acceleration data being used to instruct the terminal to arrive at the target site, the step of acquiring the surrounding profile information of the target site according to the site information of the target site is performed.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
获取所述终端的加速度数据;Acquiring acceleration data of the terminal;
响应于所述加速度数据用于指示所述终端已到达所述第一站点,且所述终端在目标时间段内未处于交通工具中行进,执行所述根据所述目标站点的站点信息,获取所述目标站点的周边简介信息的步骤。In response to the acceleration data being used to indicate that the terminal has arrived at the first station, and the terminal is not traveling in a vehicle within the target time period, execute the station information according to the target station to obtain all Describe the steps of profile information around the target site.
在本申请实施例中,确定当前终端前往的目标站点,该目标站点为位于终端前进线路上的交通运输站点;获取目标站点的周边简介信息,以及获取终端对应用户的用户画像;根据目标站点的周边简介信息,获取与用户画像匹配的推荐信息,显示该推荐信息。上述技术方案中,在用户乘坐交通工具出行的场景下,能够确定当前前往的目标站点,根据目标站点的周边简介信息,向用户推荐与用户画像匹配的推荐信息。基于用户乘坐交通工具途径的目标站点的周边简介信息,结合用户画像进行个性化的信息推荐,能够提高信息推荐的准确性。In the embodiment of this application, the target site to which the current terminal is headed is determined, the target site is a transportation site on the forward route of the terminal; the surrounding profile information of the target site is obtained, and the user portrait of the corresponding user of the terminal is obtained; Surrounding profile information, obtain recommended information that matches the user's portrait, and display the recommended information. In the above technical solution, in the scenario where the user travels by means of transportation, the current target site can be determined, and recommended information matching the user portrait can be recommended to the user based on the profile information around the target site. Personalized information recommendation based on the surrounding profile information of the target site through which the user takes the transportation means, combined with the user portrait, can improve the accuracy of the information recommendation.
请参考图1,其示出了本申请一个示例性实施例提供的实施环境的示意图,该实施环境中包括终端101和服务器102。Please refer to FIG. 1, which shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application. The implementation environment includes a terminal 101 and a server 102.
终端101可以为手机、平板电脑、可穿戴设备、车载设备、电脑或者其他电子设备。服务器102可以是一台服务器,或者若干台服务器组成的服务器集群,或者一个云计算服务中心。终端101与服务器102之间可以通过无线网络连接。The terminal 101 may be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, a computer, or other electronic devices. The server 102 may be a server, or a server cluster composed of several servers, or a cloud computing service center. The terminal 101 and the server 102 may be connected through a wireless network.
终端101上可以安装有服务器102提供服务的客户端,终端101对应的用户可以通过该客户端实现例如数据传输、消息交互等功能。客户端可以为终端101上安装的任一客户端;并且,客户端可以为终端101的操作系统中的客户端,还可以为第三方提供的客户端。客户端具有确定终端101前往的目标站点,向终端101对应的用户推荐目标站点的相关信息的功能。例如,该客户端为地图客户端、导航客户端、公交轨道客户端或者地铁轨道客户端等。The terminal 101 may be installed with a client provided by the server 102, and the user corresponding to the terminal 101 may implement functions such as data transmission and message interaction through the client. The client may be any client installed on the terminal 101; and, the client may be a client in the operating system of the terminal 101, or a client provided by a third party. The client has the function of determining the target site that the terminal 101 goes to, and recommending relevant information of the target site to the user corresponding to the terminal 101. For example, the client is a map client, a navigation client, a bus track client, or a subway track client.
例如,对于用户乘坐地铁出行的场景,随着城市的发展和地铁线路的扩建,用户对自己乘坐地铁时经过的地铁站点的相关信息并不了解,如地铁站点的历史信息、地铁站点的趣闻、地铁站点的周边景点信息、地铁站点的周边餐饮信息和地铁站点的周边住宿信息等;在本申请实施例中,终端101可以感知出地铁出行场景,基于用户途径的地铁站点进行个性化的信息推荐。终端101可以确定当前前往的目标站点;获取目标站点的周边简介信息和终端101对应用户的用户画像;根据目标站点的周边简介信息和终端101对应用户的用户画像,确定与用户画像匹配的推荐信息;显示该推荐信息。For example, for the scene where a user travels by subway, with the development of the city and the expansion of subway lines, the user does not know the relevant information of the subway stations that he passes when he takes the subway, such as historical information of subway stations, interesting facts about subway stations, Information about the surrounding scenic spots of the subway station, the surrounding dining information of the subway station, and the surrounding accommodation information of the subway station, etc.; in this embodiment of the application, the terminal 101 can perceive the subway travel scene, and make personalized information recommendations based on the subway stations routed by the user . The terminal 101 can determine the current target site; obtain the surrounding profile information of the target site and the user portrait of the user corresponding to the terminal 101; determine the recommended information matching the user portrait according to the surrounding profile information of the target site and the user portrait of the user corresponding to the terminal 101 ; Display the recommended information.
相关技术中,信息的推荐主要是根据用户数据,从海量数据中获取与用户数据具有一定相关性的信息,推荐给用户,并不能感知用户当前所处的具体场景,向用户推荐与当前场景相符的信息,信息推荐的精准度有限,而在本申请实施例中,能够根据终端当前前往的目标站点,感知出用户当前的出行场景,基于目标站点的周边简介信息,结合用户画像,向用户进行个性化的信息推荐,提高信息推荐的准确性,丰富用户的业余生活,提升用户的体验度。In related technologies, information recommendation is mainly based on user data, obtaining information that has a certain relevance to user data from massive data, and recommending it to users. It does not perceive the specific scene the user is currently in, and recommends to the user that it matches the current scene. The accuracy of information recommendation is limited. In the embodiment of this application, the current travel scene of the user can be sensed according to the target site currently visited by the terminal. Based on the profile information around the target site, combined with the user portrait, the Personalized information recommendation improves the accuracy of information recommendation, enriches users' amateur life, and enhances user experience.
请参考图2,其示出了本申请一个示例性实施例示出的信息推荐方法的流程图。本申请实施例中的执行主体可以为终端,也可以为终端中的处理器或终端中的操作系统,本实施例以执行主体为终端为例进行说明。该实施例包括:Please refer to FIG. 2, which shows a flowchart of an information recommendation method shown in an exemplary embodiment of the present application. The execution subject in the embodiment of the present application may be a terminal, a processor in the terminal, or an operating system in the terminal. In this embodiment, the execution subject is the terminal as an example for description. This embodiment includes:
201、终端获取当前终端前往的目标站点的站点信息。201. The terminal obtains site information of the target site to which the current terminal goes.
目标站点为位于终端前进线路上的交通运输站点。目标站点可以为公共交通线路中公共交通工具的停靠站点,例如,目标站点可以为地铁站、公交车站或者轻轨车站等。目标站点还可以为其他交通工具的停放点,例如,目标站点可以为停车场或者非机动车停放点等。目标站点还可以为以城镇区域划分为基础的任一位置点。例如,城镇可以被划分为多个互斥的区域,每个区域中设置有一个代表位置点来标识该区域,目标站点可以为任一区域的代表位置点。The target station is a transportation station located on the forward route of the terminal. The target station may be a stop station of public transportation in a public transportation line. For example, the target station may be a subway station, a bus station, or a light rail station. The target site may also be a parking spot for other vehicles. For example, the target site may be a parking lot or a parking spot for non-motorized vehicles. The target site can also be any location based on the division of urban areas. For example, a town can be divided into multiple mutually exclusive areas, each area is set with a representative location point to identify the area, and the target site can be a representative location point in any area.
目标站点的站点信息用于标识目标站点。目标站点的站点信息至少包括目标站点的名称;目标站点的站点信息还可以包括目标站点所属的交通线路和目标站点所在城市的城市名称中的一个或多个。The site information of the target site is used to identify the target site. The site information of the target site includes at least the name of the target site; the site information of the target site may also include one or more of the traffic route to which the target site belongs and the city name of the city where the target site is located.
在一些实施例中,终端可以根据终端当前注册到的基站的基站信息,获取终端当前前往的目标站点的站点信息。相应的,终端获取当前终端前往的目标站点的站点信息可以通过以下步骤(1)至(2)实现:In some embodiments, the terminal may obtain the site information of the target site to which the terminal is currently visiting according to the base station information of the base station to which the terminal is currently registered. Correspondingly, the terminal can obtain the site information of the target site to which the terminal is currently going through the following steps (1) to (2):
(1)终端获取当前注册的基站的基站信息。(1) The terminal obtains the base station information of the currently registered base station.
基站为终端提供移动通信的服务,基站的覆盖范围包括至少一个交通运输站点。不同的基站分别为不同位置区内的终端提供移动通信服务,当终端移动到任一基站提供服务的位置区时,会注册到该基站中,由该基站为终端提供移动通信服务。例如,在地铁交通网络中,通常会部署较多的基站,以保证地铁以及地铁站中的通话和上网质量,终端在不同的地铁站,会注册到不同的基站上。因此,可以根据终端当前注册的基站的基站信息,以及基站信息与地铁站点的站点信息的对应关系,确定终端前往的目标站点的站点信息。The base station provides mobile communication services for the terminal, and the coverage area of the base station includes at least one transportation station. Different base stations provide mobile communication services for terminals in different location areas. When a terminal moves to a location area served by any base station, it will register with the base station, and the base station will provide mobile communication services for the terminal. For example, in a subway transportation network, more base stations are usually deployed to ensure the quality of calls and Internet access in the subway and subway stations. The terminals are registered to different base stations at different subway stations. Therefore, the site information of the target site to which the terminal is headed can be determined according to the base station information of the base station currently registered by the terminal and the corresponding relationship between the base station information and the site information of the subway station.
需要说明的一点是,终端可以在终端注册的基站发生变化时,就获取当前注册的基站的 基站信息。终端也可以在注册的基站两次变化之间的任一时间,获取当前注册的基站的基站信息。例如,终端在第一时间从第一基站切换到第二基站,在第二时间从第二基站切换到第三基站,终端可以在第一时间就获取当前注册的第二基站的基站信息,或者,在第二时间就获取当前注册的第三基站的基站信息;终端也可以在第一时间和第二时间之间的任一时间,获取当前注册的第二基站的基站信息。It should be noted that the terminal can obtain the base station information of the currently registered base station when the base station registered by the terminal changes. The terminal can also obtain the base station information of the currently registered base station at any time between the two changes of the registered base station. For example, if the terminal switches from the first base station to the second base station at the first time, and from the second base station to the third base station at the second time, the terminal can obtain the base station information of the currently registered second base station at the first time, or , The base station information of the currently registered third base station is obtained at the second time; the terminal may also obtain the base station information of the currently registered second base station at any time between the first time and the second time.
(2)终端根据基站信息,以及基站信息与其覆盖的交通运输站点的站点信息的对应关系,获取终端前往的目标站点的站点信息。(2) The terminal obtains the site information of the target site that the terminal goes to according to the base station information and the corresponding relationship between the base station information and the site information of the transportation sites covered by the terminal.
在一些实施例中,一个基站的覆盖范围内只有一个交通运输站点,基站信息对应于一个交通运输站点的站点信息,可以将该基站信息对应的交通运输站点的站点信息确定为终端前往的目标站点的站点信息。相应的,终端根据基站信息,以及基站信息与其覆盖的交通运输站点的站点信息的对应关系,获取终端前往的目标站点的站点信息的步骤可以为:终端响应于根据基站信息,从对应关系中获取到与基站信息对应的一个交通运输站点的站点信息,终端将基站信息对应的一个交通运输站点的站点信息确定为终端前往的目标站点的站点信息。In some embodiments, there is only one transportation site in the coverage of a base station, and the base station information corresponds to the site information of a transportation site. The site information of the transportation site corresponding to the base station information can be determined as the target site to which the terminal goes. Site information. Correspondingly, according to the base station information and the corresponding relationship between the base station information and the site information of the transportation sites covered by the terminal, the step of obtaining the site information of the target site that the terminal goes to may be: the terminal responds to the base station information to obtain from the corresponding relationship To the site information of a transportation site corresponding to the base station information, the terminal determines the site information of a transportation site corresponding to the base station information as the site information of the target site to which the terminal goes.
例如,参见表1,对于地铁出行场景,基站信息“mcc-460-mnc-00-ci-25935874-pci-435-tac-6270”对应的交通运输站点的站点信息为“上海地铁_12号线_龙华中路”。For example, referring to Table 1, for the subway travel scenario, the station information of the transportation station corresponding to the base station information "mcc-460-mnc-00-ci-25935874-pci-435-tac-6270" is "Shanghai Metro Line 12 _Longhua Middle Road".
表1Table 1
基站信息Base station information 地铁站的站点信息Station information of subway stations
mcc-460-mnc-00-ci-25935874-pci-435-tac-6270mcc-460-mnc-00-ci-25935874-pci-435-tac-6270 (上海地铁_12号线_龙华中路)(Shanghai Metro_Line 12_Longhua Middle Road)
mcc-460-mnc-00-ci-142503585-pci-477-tac-6237mcc-460-mnc-00-ci-142503585-pci-477-tac-6237 (上海地铁_浦江线_东城一路)(Shanghai Metro_Pujiang Line_Dongcheng First Road)
mcc-460-mnc-00-ci-142503585-pci-477-tac-6237mcc-460-mnc-00-ci-142503585-pci-477-tac-6237 (上海地铁_浦江线_汇臻路)(Shanghai Metro_Pujiang Line_Huizhen Road)
在一些实施例中,一个基站的覆盖范围内包括至少两个交通运输站点,可以对与终端上一个到达的第一站点的相邻的第二站点和终端当前注册的基站对应的至少两个交通运输站点取交集,确定终端当前前往的目标站点。相应的,终端根据基站信息,以及基站信息与交通运输站点的站点信息的对应关系,获取终端前往的目标站点的站点信息的步骤可以为:终端响应于根据基站信息,从对应关系中获取到与基站信息对应的至少两个交通运输站点的站点信息,获取终端上一个到达的第一站点的站点信息;根据第一站点的站点信息,确定第一站点所属的交通线路;根据第一站点所属的交通线路,确定与第一站点相邻的第二站点的站点信息;确定第二站点的站点信息和至少两个交通运输站点的站点信息的交集;将该交集确定为终端前往的目标站点的站点信息。In some embodiments, the coverage area of a base station includes at least two transportation stations, and at least two transportation stations corresponding to the second station adjacent to the first station reached by the terminal and the base station currently registered by the terminal can be transmitted. The intersection of transportation sites is used to determine the destination site the terminal is currently heading to. Correspondingly, according to the base station information and the corresponding relationship between the base station information and the site information of the transportation site, the terminal may obtain the site information of the target site to which the terminal goes: in response to the base station information, the terminal obtains the corresponding relationship with The site information of at least two transportation sites corresponding to the base station information is to obtain the site information of the first site that the terminal arrives at; determine the traffic route to which the first site belongs according to the site information of the first site; Traffic line, determine the site information of the second site adjacent to the first site; determine the intersection of the site information of the second site and the site information of at least two transportation sites; determine the intersection as the site of the target site to which the terminal goes information.
例如,继续参见表1,基站信息“mcc-460-mnc-00-ci-142503585-pci-477-tac-6237”对应的交通运输站点的站点信息包括“上海地铁_浦江线_东城一路”和“上海地铁_浦江线_汇臻路”;终端上一个到达的第一站点的站点信息为“上海地铁_浦江线_浦航路”;第一站点所属的交通线路为浦江线,与第一站点相邻的第二站点的站点信息包括“上海地铁_浦江线_闵瑞路”和“上海地铁_浦江线_东城一路”;第二站点的站点信息与至少两个交通运输站点的交集为“上海地铁_浦江线_东城一路”;确定“上海地铁_浦江线_东城一路”为目标站点的站点信息。For example, continuing to refer to Table 1, the station information of the transportation station corresponding to the base station information "mcc-460-mnc-00-ci-142503585-pci-477-tac-6237" includes "Shanghai Metro_Pujiang Line_Dongcheng One Road" and "Shanghai Metro_Pujiang Line_Huizhen Road"; the station information of the first station reached on the terminal is "Shanghai Metro_Pujiang Line_Puhang Road"; the transportation line of the first station is Pujiang Line, and the first station The station information of the adjacent second station includes "Shanghai Metro_Pujiang Line_Minrui Road" and "Shanghai Metro_Pujiang Line_Dongcheng One Road"; the intersection of the station information of the second station and at least two transportation stations is "Shanghai Metro _Pujiang Line_Dongcheng First Road"; determine "Shanghai Metro_Pujiang Line_Dongcheng First Road" as the site information of the target station.
在本申请实施例中,如果一个基站的覆盖范围内包括至少两个交通运输站点,还可以根据终端上一个到达的站点的相邻站点与至少两个交通运输站点的交集,确定终端前往的目标站点,能够提高确定目标站点的站点信息的准确率,并且,基于上述方法确定目标站点的准确率至少能达到95%。In the embodiment of the present application, if the coverage area of a base station includes at least two transportation stations, the destination of the terminal can also be determined based on the intersection of the neighboring station of a station reached by the terminal and the at least two transportation stations. The site can improve the accuracy of determining the site information of the target site, and the accuracy of determining the target site based on the above method can reach at least 95%.
需要说明的一点是,终端可以预先存储有基站信息与交通运输站点的站点信息的对应关系;并且,基站信息与交通运输站点的站点信息的对应关系可以是服务器提供的,则终端根据基站信息,以及预先存储的基站信息与交通运输站点的站点信息的对应关系,确定终端前往的目标站点的站点信息之前,终端还接收服务器发送的基站信息与交通运输站点的站点信 息的对应关系。It should be noted that the terminal may pre-store the corresponding relationship between the base station information and the site information of the transportation site; and, the corresponding relationship between the base station information and the site information of the transportation site may be provided by the server, and the terminal according to the base station information, And the correspondence between the pre-stored base station information and the site information of the transportation site, before determining the site information of the target site to which the terminal goes, the terminal also receives the correspondence between the base station information and the site information of the transportation site sent by the server.
其中,服务器提供的基站信息与交通运输站点的站点信息的对应关系可以是某个条路上的基站信息与交通运输站点的站点信息的对应关系。例如,对于每天都基于同一条路线上下班的用户,服务器可以将该条路线上的基站信息与交通运输站点的站点信息的对应关系下发至该用户的终端。The corresponding relationship between the base station information provided by the server and the site information of the transportation site may be the corresponding relationship between the base station information on a certain road and the site information of the transportation site. For example, for a user who commutes on the same route every day, the server may deliver the corresponding relationship between the base station information on the route and the site information of the transportation station to the user's terminal.
服务器提供的基站信息与交通运输站点的站点信息的对应关系可以是某个城市的基站信息与交通运输站点的站点信息的对应关系。例如,对于出差或旅游需要乘坐地铁的用户,当该用户到达目标城市时,服务器也可以将该目标城市的基站信息与交通运输站点的站点信息的对应关系下发至该用户的终端,以确保网络状态较差时,仍能确定终端前往的目标站点。The corresponding relationship between the base station information provided by the server and the site information of the transportation site may be the corresponding relationship between the base station information of a certain city and the site information of the transportation site. For example, for a user who needs to take the subway on a business trip or travel, when the user arrives in the target city, the server can also send the corresponding relationship between the base station information of the target city and the site information of the transportation station to the user’s terminal to ensure When the network status is poor, the target site that the terminal goes to can still be determined.
需要说明的另一点是,终端中可以不存储基站信息与交通运输站点的站点信息的对应关系,而是基于基站信息请求服务器获取当前终端前往的目标站点的站点信息,则终端可以向服务器发送终端当前注册的基站的基站信息,由服务器根据基站信息,以及基站信息与交通运输站点的站点信息的对应关系,确定终端前往的目标站点的站点信息。相应的,终端根据基站信息,以及基站信息与交通运输站点的站点信息的对应关系,获取终端前往的目标站点的站点信息的步骤可以为:终端向服务器发送第一获取请求,该第一获取请求携带终端当前注册的基站的基站信息,该第一获取请求用于请求获取目标站点的站点信息,该服务器接收终端发送的第一获取请求,根据第一获取请求携带的基站信息,以及基站信息与交通运输站点的站点信息的对应关系,确定终端前往的目标站点的站点信息,向终端返回该目标站点的站点信息;终端接收服务器返回的目标站点的站点信息。该服务器根据第一获取请求携带的基站信息,以及基站信息与交通运输站点的站点信息的对应关系,确定终端前往的目标站点的站点信息与终端根据基站信息,以及基站信息与交通运输站点的站点信息的对应关系,确定终端前往的目标站点的站点信息的步骤相似。Another point that needs to be explained is that the terminal may not store the corresponding relationship between the base station information and the site information of the transportation site, but based on the base station information request the server to obtain the site information of the target site that the terminal is currently going to, then the terminal can send the terminal to the server Based on the base station information of the currently registered base station, the server determines the site information of the target site to which the terminal goes according to the base station information and the corresponding relationship between the base station information and the site information of the transportation site. Correspondingly, according to the base station information and the corresponding relationship between the base station information and the site information of the transportation station, the terminal may obtain the site information of the target site that the terminal goes to: the terminal sends a first obtaining request to the server, and the first obtaining request Carrying the base station information of the base station currently registered by the terminal, the first acquisition request is used to request the acquisition of the site information of the target site, the server receives the first acquisition request sent by the terminal, and according to the base station information carried in the first acquisition request, and the base station information The corresponding relationship of the site information of the transportation site determines the site information of the target site that the terminal goes to, and returns the site information of the target site to the terminal; the terminal receives the site information of the target site returned by the server. According to the base station information carried in the first acquisition request and the corresponding relationship between the base station information and the site information of the transportation site, the server determines the site information of the target site that the terminal goes to and the terminal based on the base station information, and the base station information and the site of the transportation site The corresponding relationship of the information, the steps of determining the site information of the target site to which the terminal goes are similar.
在一些实施例中,终端还可以根据当前终端所在的位置信息,确定终端前往的目标站点的站点信息。相应的,终端获取当前终端前往的目标站点的站点信息的步骤可以为:终端获取当前终端所在的位置;根据当前终端所在的位置,确定与该位置距离最近的交通运输站点;将与该位置距离最近的交通运输站点确定为目标站点;获取目标站点的站点信息。其中,终端当前所在的位置信息可以为终端当前所在位置的经纬度表示。In some embodiments, the terminal may also determine the site information of the target site that the terminal goes to according to the current location information of the terminal. Correspondingly, the step for the terminal to obtain the site information of the target site to which the current terminal is headed may be: the terminal obtains the location where the current terminal is located; determines the nearest transportation station to the location according to the location where the current terminal is located; The nearest transportation site is determined as the target site; the site information of the target site is obtained. Wherein, the current location information of the terminal may be the longitude and latitude of the current location of the terminal.
终端还可以根据终端的位置变化信息,获取终端的前进方向,基于终端的前进方向,获取与终端当前的前进方向相匹配,并且与终端当前所在的位置距离最近的交通运输站点。相应的,终端获取当前终端前往的目标站点的站点信息步骤可以为:终端获取第一时间段内终端的位置变化信息,第一时间段为以当前时间为基准的预设时长的历史时间段;根据第一时间段内终端的位置变化信息,确定终端的前进方向;将与该前进方向匹配,且与终端当前所在的位置距离最近的交通运输站点确定为目标站点;获取目标站点的站点信息。其中,终端的位置变化信息可以包括第一时间段内多个时间点的终端的位置信息。The terminal can also obtain the forwarding direction of the terminal according to the location change information of the terminal, and based on the forwarding direction of the terminal, obtain the transportation station that matches the current forwarding direction of the terminal and is closest to the current location of the terminal. Correspondingly, the step for the terminal to obtain site information of the target site to which the current terminal is going may be: the terminal obtains location change information of the terminal in a first time period, where the first time period is a historical time period with a preset duration based on the current time; According to the location change information of the terminal in the first time period, determine the forwarding direction of the terminal; determine the transportation station that matches the forwarding direction and is closest to the current location of the terminal as the target site; obtain site information of the target site. Wherein, the location change information of the terminal may include location information of the terminal at multiple time points in the first time period.
在本申请实施例中,终端还可以获取终端的前进方向,将与该前进方向匹配,且与终端当前所在的位置距离最近的交通运输站点确定为目标站点,能够提高确定目标站点的准确性。In the embodiment of the present application, the terminal may also obtain the heading direction of the terminal, and determine the transportation station that matches the heading direction and is closest to the current location of the terminal as the target station, which can improve the accuracy of determining the target station.
在一些实施例中,终端还可以确定终端所处的交通工具,根据该交通工具对应的交通线路信息和终端的历史移动轨迹,确定终端所在的交通线路,从该交通线路的交通运输站点中确定终端当前前往的目标站点。相应的,终端获取当前终端前往的目标站点的站点信息的步骤可以为:获取终端在第一时间段内的加速度数据和位置变化信息;根据终端的加速度数据,确定当前终端所处的交通工具;根据当前终端所处的交通工具,确定该交通工具对应的交通线路信息;根据终端的位置变化信息,确定终端的移动轨迹;根据该交通线路信息和该移动轨迹,确定终端所在的交通线路;获取终端当前所在的位置,从该交通线路中确定与终端的移动轨迹匹配、且与终端当前所在的位置距离最近的交通运输站点;将该交通运输站点确定为目标站点;获取目标站点的站点信息。In some embodiments, the terminal may also determine the vehicle where the terminal is located, and determine the transportation line where the terminal is located based on the transportation route information corresponding to the transportation tool and the historical movement trajectory of the terminal, and determine from the transportation stations of the transportation line The target site the terminal is currently heading to. Correspondingly, the step for the terminal to obtain the site information of the target site to which the terminal is currently going may be: obtaining acceleration data and position change information of the terminal in the first time period; and determining the vehicle where the current terminal is located according to the acceleration data of the terminal; Determine the transportation route information corresponding to the transportation vehicle according to the current terminal in which the terminal is located; determine the terminal's movement trajectory according to the terminal's location change information; determine the transportation route where the terminal is located based on the transportation route information and the movement trajectory; obtain The current location of the terminal is determined from the transportation route that matches the movement trajectory of the terminal and is closest to the current location of the terminal; determines the transportation site as a target site; and obtains site information of the target site.
在本申请实施例中,终端还可以先根据终端的加速度数据,确定终端所处的交通工具,进而根据该交通工具对应的交通线路信息,从终端所在的交通线路中确定终端当前前往的目标站点,能够提高确定目标站点的效率。In the embodiment of the present application, the terminal may also first determine the vehicle where the terminal is located according to the acceleration data of the terminal, and then determine the target site the terminal is currently heading to from the transportation line where the terminal is located according to the corresponding transportation route information of the vehicle , Can improve the efficiency of determining the target site.
终端获取当前终端前往的目标站点的站点信息可以基于情景感知服务进行,请参考图3,其示出了本申请一个示例性实施例提供的情景感知服务的示意图,该情景感知服务包括应用程序显示界面模块、情景模式感知模块、跨进程访问服务(AIDL service,Android Interface Definition Language)、事件管理总线(EventBus)、传感器数据上传接口(Sensorhub API,Sensorhub Application Programming Interface)、低功耗芯片接口和埋点服务接口(NeuronSystenService);通过埋点服务接口获取埋点服务,基于埋点服务,从应用框架层(Framework)获取终端注册的基站信息,应用框架层的埋点服务包括对蓝牙服务的埋点、对WiFi(Wireless-Fidelity,一种无线通信技术)服务的埋点、对位置获取(Location)服务的埋点、对应用程序切换的埋点和对电话通讯(Telephony)服务的埋点等。可以通过通信接口获取终端的传感器数据,通过地铁启停识别算法和计步器算法识别地铁到站的场景;通过低功耗芯片在终端息屏状态下,进行地铁行驶或关门声的识别;通过低功耗芯片在终端息屏状态下,进行通知消息、地铁线路或出站地图的显示。情景感知服务还包括数据上传机制、基站-地铁查询机制和数据库(基站/经纬度),数据上传机制表示终端的传感器数据的上传,数据库包括存储有基站信息的数据库、存储有基站经纬度的数据库或存储有目标站点的经纬度的数据库等,基站-地铁查询机制表示根据基站信息,从数据库中查询基站信息对应的地铁站点。The terminal's acquisition of the site information of the target site to which the terminal currently goes may be based on context-aware services. Please refer to FIG. 3, which shows a schematic diagram of a context-aware service provided by an exemplary embodiment of the present application. The context-aware service includes application display Interface module, context mode awareness module, cross-process access service (AIDL service, Android Interface Definition Language), event management bus (EventBus), sensor data upload interface (Sensorhub API, Sensorhub Application Programming Interface), low-power chip interface and embedded Point service interface (NeuronSystenService); access point service through the point point service interface, based on point point service, obtain the base station information registered by the terminal from the application framework layer (Framework), point point service of the application framework layer includes the point point for Bluetooth services , Burying point for WiFi (Wireless-Fidelity, a wireless communication technology) service, burying point for location acquisition (Location) service, burying point for application switching, and burying point for telephone communication (Telephony) service, etc. The sensor data of the terminal can be obtained through the communication interface, and the subway arrival scene can be recognized through the subway start-stop recognition algorithm and the pedometer algorithm; the low-power chip can be used to recognize the subway driving or closing sound when the terminal is on the screen; The low-power chip displays notification messages, subway lines, or outbound maps when the terminal is on the screen. The context awareness service also includes a data upload mechanism, a base station-metro query mechanism and a database (base station/latitude and longitude). The data upload mechanism represents the upload of terminal sensor data. The database includes a database storing base station information, a database storing base station latitude and longitude or storage There is a database of the latitude and longitude of the target site, etc. The base station-metro query mechanism means that according to the base station information, the subway station corresponding to the base station information is inquired from the database.
202、终端根据目标站点的站点信息,获取目标站点的周边简介信息。202. The terminal obtains the surrounding profile information of the target site according to the site information of the target site.
目标站点的周边简介信息用于简单描述目标站点以及目标站点的周边场所。目标站点的周边简介信息包括对目标站点的简单介绍、对目标站点的周边场所的简单描述、与目标站点相关的趣闻和与目标站点相关的历史中的一个或多个。其中,目标站点的周边场所还可以分为不同的类别。例如,目标站点的周边场所还可以分为住宿类、美食类、游玩类和其它等。The surrounding profile information of the target site is used to briefly describe the target site and surrounding places of the target site. The surrounding profile information of the target site includes one or more of a brief introduction to the target site, a brief description of the surrounding places of the target site, anecdotes related to the target site, and history related to the target site. Among them, the surrounding places of the target site can also be divided into different categories. For example, the surrounding places of the target site can also be divided into accommodation, food, play, and others.
例如,目标站点为“徐家汇”站,该目标站点的周边简介信息包括对目标站点的简单介绍:徐家汇站位于上海市徐汇区徐家汇漕溪北路,是上海轨道交通1号线、9号线、11号线的地下岛式换乘车站。本站地处上海副中心徐家汇地区的中心;该目标站点的周边简介信息还可以包括对目标站点的周边场所的简单描述:游玩类:周边汇集众多商场和写字楼,如太平洋数码广场、太平洋百货、汇金百货、徐家汇公园、上海交通大学徐汇校区。住宿类:周边有汉庭、如家、锦江之星等快捷酒店。美食类:桂满陇、苏浙汇、港丽餐厅、小南国日式烧烤、孔雀川菜,大学周边有各种小吃店。其它:国际和平妇幼保健院。For example, the target station is "Xujiahui" station, and the surrounding profile information of the target station includes a brief introduction to the target station: Xujiahui Station is located on Caoxi North Road, Xujiahui, Xuhui District, Shanghai. It is Shanghai Rail Transit Line 1, Line 9, The underground island-style transfer station of Line 11. The site is located in the center of the Xujiahui area, the sub-center of Shanghai; the surrounding profile information of the target site can also include a brief description of the surrounding places of the target site: Amusement: There are many shopping malls and office buildings in the surrounding area, such as Pacific Digital Plaza, Pacific Department Store, Huijin Department Store, Xujiahui Park, Xuhui Campus of Shanghai Jiaotong University. Accommodation: Hanting, Home Inn, Jinjiang Inn and other express hotels are nearby. Food: Guimanlong, Suzhehui, Kongli Restaurant, Xiaonanguo Japanese BBQ, Peacock Sichuan Cuisine, and various snack bars around the university. Others: International Peace Maternity and Child Health Hospital.
在一些实施例中,终端可以根据目标站点的站点信息,从服务器获取目标站点的周边简介信息。相应的,终端根据目标站点的站点信息,获取目标站点的周边简介信息的步骤可以为:终端根据目标站点的站点信息,向服务器发送第二获取请求,该第二获取请求携带目标站点的站点信息,该第二获取请求用于请求获取目标站点的周边简介信息;接收服务器返回的周边简介信息。相应的,服务器向终端返回目标站点的周边简介信息的步骤可以为:服务器接收终端发送的第二获取请求;根据该第二获取请求携带的目标站点的站点信息,从已存储的交通运输站点的周边简介信息中获取与该目标站点的站点信息匹配的周边简介信息;向终端返回该周边简介信息。In some embodiments, the terminal may obtain the surrounding profile information of the target site from the server according to the site information of the target site. Correspondingly, the step for the terminal to obtain the surrounding profile information of the target site according to the site information of the target site may be: the terminal sends a second obtaining request to the server according to the site information of the target site, and the second obtaining request carries the site information of the target site , The second obtaining request is used to request to obtain the surrounding profile information of the target site; receiving the surrounding profile information returned by the server. Correspondingly, the step of the server returning the surrounding profile information of the target site to the terminal may be as follows: the server receives the second acquisition request sent by the terminal; The surrounding profile information that matches the site information of the target site is obtained from the surrounding profile information; the surrounding profile information is returned to the terminal.
在一些实施例中,终端还可以预先存储有目标站点的周边简介信息。终端可以根据目标站点的站点信息,获取目标站点的周边简介信息,相应的,终端根据目标站点的站点信息,获取目标站点的周边简介信息的步骤可以为:终端根据目标站点的站点信息,从已存储的交通运输站点的周边简介信息中获取与目标站点的站点信息匹配的周边简介信息。终端根据目标站点的站点信息,获取目标站点的周边简介信息之前,还接收服务器发送的交通运输站点的周边简介信息。例如,对于每天都基于同一条线路上下班的用户,服务器可以将该路线上的交通运输站点的周边简介信息下发至该用户的终端;再如,对于出差或旅游需要乘坐地铁 的用户,当用户到达目标城市时,服务器也可以将该目标城市的交通运输站点的周边简介信息下发至该用户的终端,以确保网络状态较差时,仍能获取到目标站点的周边简介信息。In some embodiments, the terminal may also pre-store the surrounding profile information of the target site. The terminal can obtain the surrounding profile information of the target site according to the site information of the target site. Correspondingly, the terminal may obtain the surrounding profile information of the target site according to the site information of the target site. From the stored surrounding profile information of the transportation station, obtain the surrounding profile information that matches the site information of the target site. Before obtaining the surrounding profile information of the target site according to the site information of the target site, the terminal also receives the surrounding profile information of the transportation station sent by the server. For example, for a user who commutes to and from get off work on the same route every day, the server can deliver the surrounding profile information of the transportation station on the route to the user’s terminal; for another example, for a user who needs to take the subway on a business trip or travel, when When the user arrives at the target city, the server may also deliver the profile information of the surrounding area of the transportation site of the target city to the user's terminal to ensure that the profile information of the surrounding area of the target site can still be obtained when the network status is poor.
203、终端获取终端对应用户的用户画像。203. The terminal obtains a user portrait of the user corresponding to the terminal.
用户画像是用户的虚拟代表,用户画像能够表示用户的偏好或者用户的信息需求方向。用户画像包括用户标签,用户标签可以表示用户的一种偏好或者一种信息需求方向。例如,某用户的用户画像可以包括用于表示该用户爱好美食的用户标签、用于表示该用户喜欢旅游的用户标签和用于表示该用户喜欢研究电子产品的用户标签等。The user portrait is the virtual representative of the user, and the user portrait can express the user's preference or the user's information demand direction. The user portrait includes a user tag, and the user tag can indicate a user's preference or a direction of information demand. For example, a user portrait of a certain user may include a user tag used to indicate that the user likes food, a user tag used to indicate that the user likes traveling, and a user tag used to indicate that the user likes researching electronic products.
在一些实施例中,终端可以从服务器获取终端对应用户的用户画像。相应的,终端获取终端对应用户的用户画像的步骤可以为:终端向服务器发送第三获取请求,该第三获取请求携带终端对应用户的用户标识;接收服务器返回的用户画像。相应的,服务器向终端返回用户画像的步骤可以为:服务器接收终端发送的第三获取请求;根据第三获取请求携带的用户标识,从已存储的用户画像中获取该用户标识对应的用户画像;向终端返回该用户画像。In some embodiments, the terminal may obtain a user portrait of the user corresponding to the terminal from the server. Correspondingly, the step for the terminal to obtain the user portrait of the user corresponding to the terminal may be: the terminal sends a third obtaining request to the server, the third obtaining request carries the user identification of the user corresponding to the terminal; and receiving the user portrait returned by the server. Correspondingly, the step of the server returning the user portrait to the terminal may be: the server receives the third acquisition request sent by the terminal; according to the user identification carried in the third acquisition request, the user portrait corresponding to the user identification is acquired from the stored user portraits; Return the user portrait to the terminal.
在一些实施例中,终端预先存储有该终端对应用户的用户画像,终端可以获取已存储的用户画像。终端获取已存储的用户画像之前,还接收服务器下发的用户画像,存储该用户画像。In some embodiments, the terminal pre-stores a user portrait of the user corresponding to the terminal, and the terminal can obtain the stored user portrait. Before obtaining the stored user portrait, the terminal also receives the user portrait issued by the server, and stores the user portrait.
需要说明的一点是,步骤202和步骤203没有严格的时间先后顺序,可以先执行步骤202,再执行步骤203;也可以先执行步骤203,再执行步骤202;还可以同时执行步骤202和步骤203,在本申请实施例中,对步骤203和步骤203执行的先后顺序,不做限定。It should be noted that there is no strict chronological sequence between step 202 and step 203. You can perform step 202 first, and then step 203; you can also perform step 203 first, then step 202; you can also perform step 202 and step 203 at the same time. In the embodiment of the present application, the order of performing step 203 and step 203 is not limited.
需要说明的另一点是,终端可以执行完步骤201,就执行步骤202或步骤203;终端也可以执行完步骤201,先不执行步骤202或步骤203,终端可以在终端到达目标站点时,才执行步骤202或步骤203,相应的,终端根据目标站点的站点信息,获取目标站点的周边简介信息之前,还执行以下步骤:终端获取终端的加速度数据;响应于加速度数据用于指示终端到达目标站点,执行根据目标站点的站点信息,获取目标站点的周边简介信息的步骤。Another point that needs to be explained is that the terminal can perform step 202 or step 203 after performing step 201; the terminal can also perform step 201 without performing step 202 or step 203 first, and the terminal can perform only when the terminal arrives at the target site Step 202 or step 203, correspondingly, before the terminal obtains the surrounding profile information of the target site according to the site information of the target site, it also performs the following steps: the terminal obtains the acceleration data of the terminal; in response to the acceleration data, it is used to instruct the terminal to reach the target site, Perform the steps of obtaining profile information around the target site based on the site information of the target site.
终端处于不同的交通工具中行进时,加速度数据的变化规律不同,因此,可以对终端的加速度数据进行分析处理,确定终端所处的交通工具处于行驶状态或者停止状态,当确定终端所处的交通工具处于停止状态时,可以确定终端到达目标站点。终端获取的加速度数据可以为以当前时间为基准的第二时间段内的加速度数据。When the terminal is traveling in different vehicles, the acceleration data changes in different rules. Therefore, the acceleration data of the terminal can be analyzed and processed to determine that the vehicle in which the terminal is located is in a running state or a stopped state. When the tool is in the stopped state, it can be determined that the terminal has reached the target site. The acceleration data acquired by the terminal may be acceleration data in the second time period based on the current time.
例如,请参考图4,其示出了本申请一个示例性实施例提供的加速度变化的示意图,终端在800秒内处于地铁行驶的场景中,对终端在该800秒内的加速度数据进行了采集,采样频率为100HZ,共采集了80000个数据点,可以看出,终端处于地铁行驶场景时的加速度数据有明显的变化规律,在地铁行驶时,加速度逐步增大,再减小;在地铁静止时,加速度数据很小且平稳。For example, please refer to FIG. 4, which shows a schematic diagram of acceleration changes provided by an exemplary embodiment of the present application. The terminal is in a subway driving scene within 800 seconds, and the acceleration data of the terminal within 800 seconds is collected. , The sampling frequency is 100HZ, and a total of 80,000 data points are collected. It can be seen that the acceleration data when the terminal is in the subway driving scene has obvious changes. When the subway is running, the acceleration gradually increases and then decreases; when the subway is stationary When the acceleration data is small and stable.
终端可以本地分析第二时间段内的加速度数据,响应于加速度数据用于指示终端到达目标站点,才执行根据目标站点的站点信息,获取目标站点的周边简介信息的步骤。终端也可以将加速度数据上传至服务器;服务器对加速度数据进行分析处理,当服务器确定终端到达目标站点时,可以向终端返回用于指示到达目标站点的返回数据;终端接收服务器的返回数据,响应于加速度数据用于指示终端到达目标站点,才执行根据目标站点的站点信息,获取目标站点的周边简介信息的步骤。The terminal may locally analyze the acceleration data in the second time period, and in response to the acceleration data being used to instruct the terminal to arrive at the target site, it performs the step of obtaining the surrounding profile information of the target site according to the site information of the target site. The terminal can also upload acceleration data to the server; the server analyzes and processes the acceleration data, and when the server determines that the terminal has reached the target site, it can return to the terminal the return data indicating the arrival of the target site; the terminal receives the return data from the server, and responds The acceleration data is used to instruct the terminal to reach the target site before performing the step of obtaining the surrounding profile information of the target site according to the site information of the target site.
在本申请实施例中,终端可以在用户到达目标站点时,获取终端对应用户的用户画像,以及根据目标站点的站点信息,获取目标站点的周边简介信息,进而根据用户画像和目标站点的周边简介信息,获取与用户画像匹配的推荐信息,显示该推荐信息,用户可以在到达目标站点时,查看到感兴趣的目标站点的相关信息,这种基于站点场景和用户画像的个性化推荐,不仅能够提高信息推荐的准确率,还能够丰富用户的业余生活,提升用户的体验度。In the embodiment of this application, the terminal can obtain the user portrait of the user corresponding to the terminal when the user arrives at the target site, and obtain the surrounding profile information of the target site according to the site information of the target site, and then obtain the surrounding profile information of the target site according to the user portrait and the surrounding profile of the target site Information, obtain the recommended information matching the user portrait, and display the recommended information. When the user arrives at the target site, he can view the relevant information of the target site of interest. This kind of personalized recommendation based on the site scene and the user portrait can not only Improving the accuracy of information recommendation can also enrich users' amateur life and enhance user experience.
需要说明的另一点是,终端还可以执行完步骤201,在终端到达目标站点,且终端在目标时间段内未处于交通工具中行进时,才执行步骤202或步骤203。相应的,终端根据目标 站点的站点信息,获取目标站点的周边简介信息之前,还执行以下步骤:终端获取终端的加速度数据;响应于加速度数据用于指示终端已到达第一站点,且终端在目标时间段内未处于交通工具中行进,执行根据目标站点的站点信息,获取目标站点的周边简介信息的步骤。Another point that needs to be explained is that the terminal may also perform step 201, and only perform step 202 or step 203 when the terminal arrives at the target site and the terminal is not traveling in a vehicle within the target time period. Correspondingly, the terminal also performs the following steps before acquiring the surrounding profile information of the target site according to the site information of the target site: the terminal acquires the acceleration data of the terminal; in response to the acceleration data, it is used to indicate that the terminal has reached the first site and the terminal is If you are not traveling in a vehicle during the time period, perform the steps of obtaining profile information around the target site based on the site information of the target site.
当目标站点为用户需要前往的目的地附近的交通运输站点时,用户到达目标站点后,通常还需要步行或骑行前往目的地。因此,终端可以在用户到达目标站点,并且未继续乘坐交通工具前进时,确定用户的目的地在目标站点附近,向用户推荐该目标站点的相关信息。When the target site is a transportation site near the destination that the user needs to go to, the user usually needs to walk or cycle to the destination after reaching the target site. Therefore, the terminal can determine that the user's destination is near the target site when the user arrives at the target site and does not continue to travel by means of transportation, and recommend the relevant information of the target site to the user.
在本申请实施例中,还可以对终端的加速度数据进行分析,在确定目标站点为用户的目的地附近的的交通运输站点时,才获取终端对应用户的用户画像,以及根据目标站点的站点信息,获取目标站点的周边简介信息,进而根据用户画像和目标站点的周边简介信息,获取与用户画像匹配的推荐信息,显示该推荐信息,从而用户可以查看终端上的推荐信息,从推荐信息中获取到有用的信息,如美食信息或者景点信息等,因此,终端基于上述技术方案,不仅能够提高信息推荐的准确性,还能够提高信息推荐的有效性。In the embodiment of this application, the acceleration data of the terminal can also be analyzed. Only when the target site is determined to be a transportation site near the user’s destination, the user portrait of the terminal corresponding to the user is obtained, and the site information of the target site , Obtain the surrounding profile information of the target site, and then obtain the recommended information matching the user portrait according to the user portrait and the surrounding profile information of the target site, and display the recommended information, so that the user can view the recommended information on the terminal and obtain it from the recommended information Therefore, based on the above technical solutions, the terminal can not only improve the accuracy of information recommendation, but also improve the effectiveness of information recommendation.
204、终端根据目标站点的周边简介信息,获取与用户画像匹配的推荐信息。204. The terminal obtains recommendation information matching the user portrait according to the surrounding profile information of the target site.
在一些实施例中,终端可以将与用户画像匹配的周边简介信息确定为推荐信息。相应的,终端根据目标站点的周边简介信息,获取与用户画像匹配的推荐信息的步骤可以为:终端根据目标站点的周边简介信息和用户画像,确定周边简介信息与用户画像的第一匹配度;终端响应于第一匹配度大于第一阈值,将周边简介信息确定为与用户画像匹配的推荐信息;响应于第一匹配度不大于第一阈值,确定该目标站点的周边简介信息与用户画像不匹配,不再执行显示推荐信息的步骤。In some embodiments, the terminal may determine the surrounding profile information matching the user portrait as the recommendation information. Correspondingly, the step for the terminal to obtain recommendation information matching the user portrait according to the surrounding profile information of the target site may be: the terminal determines the first degree of matching between the surrounding profile information and the user portrait according to the surrounding profile information of the target site and the user portrait; In response to the first matching degree being greater than the first threshold, the terminal determines the surrounding profile information as recommended information matching the user portrait; in response to the first matching degree being not greater than the first threshold, it determines that the surrounding profile information of the target site is different from the user portrait. Match, no longer perform the steps of displaying recommended information.
终端可以根据从周边简介信息中提取的关键字,与用户画像中的用户标签的匹配程度,确定周边简介信息与用户画像的第一匹配度。相应的,终端根据目标站点的周边简介信息和用户画像,确定周边简介信息与用户画像的第一匹配度的步骤可以为:终端从周边简介信息中获取目标站点的关键字,关键字包括对目标站点的周边简介信息的精简描述;将与用户画像中的用户标签匹配的关键字的数量确定为第一匹配度。The terminal may determine the first degree of matching between the surrounding profile information and the user portrait according to the degree of matching between the keywords extracted from the surrounding profile information and the user tag in the user portrait. Correspondingly, the step for the terminal to determine the first degree of matching between the surrounding profile information and the user portrait according to the surrounding profile information of the target site and the user portrait may be: the terminal obtains the keyword of the target site from the surrounding profile information, and the keywords include the target site’s keywords. A condensed description of the site's surrounding profile information; the number of keywords matching the user tags in the user portrait is determined as the first matching degree.
终端可以从周边简介信息中提取出目标站点的关键字;终端也可以从服务器获取目标站点的关键字;终端还可以获取已存储的目标站点的关键字。例如,目标站点可以为徐家汇站,该目标站点的关键字包括大学、公园、购物商场、写字楼、数码广场、快捷酒店和美食等,用户画像中的用户标签包括电子产品爱好者、美食爱好者、喜欢购物、消费水平较高等,与该用户画像的用户标签匹配的关键字包括购物商场、数码广场和美食;该目标站点的周边简介信息与用户画像的第一匹配度为3;第一阈值可以为任一数值,例如,第一阈值可以为2,周边简介信息与用户画像的第一匹配度大于第一阈值,可以将该周边简介信息确定为推荐信息。The terminal may extract the keywords of the target site from the surrounding profile information; the terminal may also obtain the keywords of the target site from the server; the terminal may also obtain the stored keywords of the target site. For example, the target site may be Xujiahui Station. The keywords of the target site include universities, parks, shopping malls, office buildings, digital plazas, express hotels, and food, etc. The user tags in the user portrait include electronic product lovers, food lovers, Like shopping, high consumption level, etc., keywords that match the user tag of the user portrait include shopping malls, digital plazas, and food; the first match between the profile information of the target site and the user portrait is 3; the first threshold is OK It is any numerical value. For example, the first threshold may be 2, and the first matching degree between the surrounding profile information and the user portrait is greater than the first threshold, and the surrounding profile information may be determined as recommended information.
在本申请实施例中,可以将与用户画像匹配的目标站点的周边简介信息确定为向用户推荐的推荐信息,基于目标站点的场景,能够提高信息推荐的准确性,并且,向用户推荐用户可能感兴趣的目标站点的周边简介信息,便于用户了解途径的交通运输站点周边的信息,提升用户的体验度。In the embodiment of the present application, the surrounding profile information of the target site matching the user portrait can be determined as the recommended information recommended to the user. Based on the scenario of the target site, the accuracy of the information recommendation can be improved, and it is possible to recommend the user to the user. The surrounding profile information of the interested target site is convenient for users to understand the information around the traffic and transportation sites that they pass through, and the user experience is improved.
在一些实施例中,终端还可以获取目标站点附近的目标场所的场所信息,将与用户画像匹配的目标场所的场所信息确定为推荐信息。相应的,终端根据目标站点的周边简介信息,获取与用户画像匹配的推荐信息的步骤可以为:终端从目标站点的周边简介信息中确定目标站点周边的目标场所,目标场所位于以目标站点为中心的目标范围内;终端根据目标场所的场所信息和用户画像,确定场所信息与用户画像的第二匹配度;响应于第二匹配度大于第二阈值,将场所信息确定为与用户画像匹配的推荐信息;响应于第二匹配度不大于第二阈值,确定该场所信息与用户画像不匹配。In some embodiments, the terminal may also obtain location information of the target location near the target site, and determine the location information of the target location that matches the user portrait as recommended information. Correspondingly, the step for the terminal to obtain recommended information matching the user profile according to the surrounding profile information of the target site may be as follows: the terminal determines the target location around the target site from the surrounding profile information of the target site, and the target location is located at the center of the target site. The terminal determines the second matching degree between the location information and the user portrait according to the location information of the target location and the user portrait; in response to the second matching degree being greater than the second threshold, the terminal determines the location information as a recommendation matching the user portrait Information; in response to the second degree of matching is not greater than the second threshold, it is determined that the location information does not match the user portrait.
目标场所可以为目标站点周边的场所,例如,目标站点为徐家汇站,目标场所包括该目标站点周边的餐厅、商场、景点、酒店和标志建筑等;目标场所的场所信息可以为目标场所 的简介,例如,目标场所为餐厅,该目标场所的场所信息包括餐厅的主题风格、主打菜系、招牌菜、菜式、口味、人均消费等。用户画像可以包括更高维度的用户标签,例如,用户画像包括用于表示用户喜欢口味的用户标签、用于表示用户消费水平的用户标签、用于表示用户喜欢风格的用户标签和用于表示用户喜欢景点类别的用户标签等。可以基于包括更高维度用户标签的用户画像,更精准的确定与用户画像匹配的场所信息。The target site can be a place around the target site. For example, the target site is Xujiahui Station. The target site includes restaurants, shopping malls, scenic spots, hotels, and landmark buildings around the target site; the location information of the target site can be a profile of the target site. For example, the target location is a restaurant, and location information of the target location includes the theme style of the restaurant, the main cuisine, signature dishes, dishes, tastes, per capita consumption, etc. User portraits can include higher-dimensional user tags. For example, user portraits include user tags that indicate the user's favorite taste, user tags that indicate the user's consumption level, user tags that indicate the user's favorite style, and user tags that indicate the user's favorite style. Like user tags of the attraction category, etc. It is possible to more accurately determine the location information matching the user portrait based on the user portrait including higher-dimensional user tags.
在本申请实施例中,根据目标站点周边的目标场所的场所信息和用户画像,将与用户画像匹配的场所信息确定为向用户推荐的推荐信息,能够为用户提供更加具体精准的推荐,提高信息推荐的精准性,降低用户的选择成本,提升用户的体验度。In the embodiment of the present application, based on the location information of the target location around the target site and the user portrait, the location information matching the user portrait is determined as the recommendation information recommended to the user, which can provide the user with more specific and accurate recommendations and improve the information The accuracy of the recommendation reduces the user's choice cost and enhances the user's experience.
在一些实施例中,终端还可以根据用户画像,确定用户感兴趣的信息类别,向用户推荐该信息类别的信息。相应的,终端根据目标站点的周边简介信息,获取与用户画像匹配的推荐信息的步骤可以为:终端根据用户画像,确定与用户画像匹配的信息类别;根据周边简介信息和信息类别,从周边简介信息中提取出该信息类别对应的推荐信息。In some embodiments, the terminal may also determine the type of information that the user is interested in based on the portrait of the user, and recommend the information of the information type to the user. Correspondingly, the steps for the terminal to obtain recommended information matching the user portrait according to the surrounding profile information of the target site may be: the terminal determines the information category matching the user portrait according to the user portrait; The recommended information corresponding to the information category is extracted from the information.
例如,用户画像表示用户喜欢美食,根据用户画像,可以确定与用户画像匹配的信息类别包括美食类;可以从目标站点的周边简介信息中提取出美食类的信息,将美食类的信息确定为推荐信息。For example, a user portrait indicates that the user likes food. According to the user portrait, it can be determined that the information category that matches the user portrait includes food; the food information can be extracted from the profile information around the target site, and the food information can be determined as a recommendation information.
在本申请实施例中,可以确定与用户画像匹配的信息类别,从目标站点的周边简介信息中提取出该信息类别对应的推荐信息,能够提高信息推荐的精准性,为用户提供更加精准明确的推荐信息,提升用户的体验度。In the embodiment of this application, the information category that matches the user profile can be determined, and the recommended information corresponding to the information category can be extracted from the surrounding profile information of the target site, which can improve the accuracy of information recommendation and provide users with more accurate and clear information. Recommend information to improve user experience.
205、终端显示推荐信息。205. The terminal displays recommendation information.
终端可以基于提供信息推荐服务的应用程序显示推荐信息,终端可以在该应用程序的推荐界面显示推荐信息;终端的桌面应用中可以包括该应用程序的插件,终端可以在该插件中显示推荐信息。终端还可以基于操作系统进行信息推荐,终端可以在桌面应用的快捷获取信息的界面中显示推荐信息,例如,桌面应用的快捷获取信息的界面可以为桌面应用的负一屏。The terminal may display recommendation information based on the application program that provides the information recommendation service, and the terminal may display the recommendation information on the recommendation interface of the application program; the desktop application of the terminal may include a plug-in of the application program, and the terminal may display the recommendation information in the plug-in. The terminal can also perform information recommendation based on the operating system, and the terminal can display the recommended information in the interface for quickly obtaining information of the desktop application. For example, the interface for quickly obtaining information of the desktop application may be a negative screen of the desktop application.
终端可以响应于用于指示显示推荐信息的操作,显示推荐信息。例如,终端可以响应于打开推荐界面的操作,在推荐界面中显示推荐信息。终端还可以在显示推荐信息之前,弹出提示信息,该提示信息用于对推荐信息简单概括,并且提示用户可能对该推荐信息感兴趣,例如,该提示信息可以为“徐汇站附近有您感兴趣的数码广场,快来看看吧”。该提示信息可以显示在终端当前显示的界面中,当终端处于息屏状态时,该提示信息还可以显示在息屏界面。终端可以响应于对该提示信息的触发操作,显示推荐信息。The terminal may display the recommended information in response to the operation for instructing to display the recommended information. For example, the terminal may display the recommendation information in the recommendation interface in response to the operation of opening the recommendation interface. The terminal can also pop up a prompt message before displaying the recommended information. The prompt information is used to briefly summarize the recommended information and prompt the user that the recommended information may be interested in. For example, the prompt information can be "There is something you are interested in near Xuhui Station Digital Plaza, come and take a look." The prompt information can be displayed on the interface currently displayed on the terminal, and when the terminal is in the off-screen state, the prompt information can also be displayed on the on-screen interface. The terminal may display the recommendation information in response to the triggering operation on the prompt information.
需要说明的一点是,终端还提供显示其他交通运输站点的周边简介信息的服务,用户可以打开交通线路界面,在该交通线路界面中查看其他交通运输站点的周边简介信息。相应的,终端显示其他交通运输站点的周边简介信息的步骤可以为:终端响应于用于指示查看其他交通运输站点的站点信息的操作,显示交通线路界面,交通线路界面包括目标站点所属的交通线路和交通线路上的第三站点;终端响应于对第三站点的触发操作,获取第三站点的关键字,显示第三站点的关键字;响应于用于指示查看第三站点的周边简介信息的操作,显示第三站点的周边简介信息。One thing that needs to be explained is that the terminal also provides a service of displaying the surrounding profile information of other transportation stations. The user can open the traffic line interface and view the surrounding profile information of other transportation stations in the traffic line interface. Correspondingly, the step for the terminal to display the profile information of the surroundings of other transportation stations may be: the terminal responds to the operation for instructing to view the site information of other transportation stations, displaying the traffic line interface, the traffic line interface includes the traffic line to which the target station belongs And the third station on the traffic line; in response to the trigger operation on the third station, the terminal obtains the keywords of the third station and displays the keywords of the third station; responds to the instruction to view the surrounding profile information of the third station Operate to display the profile information around the third site.
终端显示推荐信息的界面可以包括目标站点的周边简介信息和查看其他交通运输站点的周边简介信息的按钮,终端可以响应于对该按钮的触发操作,显示交通线路界面;终端显示推荐信息的界面也可以只包括目标站点的周边简介信息,终端可以响应于在该界面中的滑动操作,显示交通线路界面;终端还可以响应于在显示推荐信息的界面中的缩小操作,显示交通线路界面,例如,显示推荐信息的界面中包括圆形框,该圆形框中包括推荐信息,终端可以响应于对该圆形框的缩小操作,隐藏推荐信息,显示交通线路界面。终端还可以响应于对交通线路界面中的交通线路的任一站点的放大操作,显示该站点的周边简介信息。The interface for the terminal to display the recommended information may include the surrounding profile information of the target site and a button for viewing the surrounding profile information of other transportation stations. The terminal may display the traffic route interface in response to the trigger operation of the button; the interface for the terminal to display the recommended information also It may only include the surrounding profile information of the target site, and the terminal may display the traffic route interface in response to the sliding operation in the interface; the terminal may also display the traffic route interface in response to the zoom out operation in the interface displaying the recommended information, for example, The interface for displaying the recommended information includes a circular frame, and the circular frame includes the recommended information, and the terminal can hide the recommended information and display the traffic route interface in response to the zooming operation of the circular frame. The terminal can also respond to the zoom-in operation on any site of the traffic route in the traffic route interface to display the surrounding profile information of the site.
例如,请参考图5,其示出了本申请一个示例性实施例提供的交通线路界面的示意图,第三站点为龙华中路站,终端响应于对第三站点的触发操作,在交通线路界面中显示第三站 点的关键字,第三站点的关键字包括篮球公园、滨江绿地和美术馆。显示第三站点的关键字的显示框内还包括详细按钮,终端可以响应于对该按钮的触发操作,显示第三站点的周边简介信息。For example, please refer to FIG. 5, which shows a schematic diagram of a traffic line interface provided by an exemplary embodiment of the present application. The third station is Longhua Middle Road Station. The keywords of the third site are displayed. The keywords of the third site include basketball park, riverside green space and art gallery. The display box displaying the keywords of the third site also includes a detailed button, and the terminal can display the surrounding profile information of the third site in response to a trigger operation of the button.
在本申请实施例中,终端还可以提供其他交通运输站点的周边简介信息,能够提高信息显示的丰富性,从而用户可以根据自身需要查看其他交通运输站点的周边简介信息,能够提升用户的体验度。In the embodiment of the present application, the terminal can also provide the surrounding profile information of other transportation stations, which can improve the richness of the information display, so that the user can view the surrounding profile information of other transportation stations according to their own needs, which can improve the user experience. .
需要说明的另一点,终端还可以在交通线路界面中突出显示与用户画像匹配的交通运输站点。相应的,终端显示交通线路界面的步骤还可以为:终端从交通线路中确定第四站点,第四站点的周边简介信息与用户画像匹配;显示交通线路界面,交通线路界面中的第四站点被突出显示。终端可以在交通线路界面中高亮显示第四站点,终端还可以在交通线路界面中以闪烁的形式显示第四站点。Another point that needs to be explained is that the terminal can also highlight transportation sites that match the user's portrait in the transportation route interface. Correspondingly, the step of displaying the traffic route interface on the terminal can also be: the terminal determines the fourth station from the traffic route, and the surrounding profile information of the fourth site matches the user portrait; displaying the traffic route interface, the fourth station in the traffic route interface is highlight. The terminal may highlight the fourth station in the traffic line interface, and the terminal may also display the fourth station in the form of flashing on the traffic line interface.
在本申请实施例中,交通线路界面中还可以突出显示其他与用户画像匹配的交通运输站点,能够扩大信息推荐的范围,用户通过查看交通线路界面,可以快速获取到感兴趣的交通运输站点的周边简介信息,通过突出显示与用户画像匹配的交通运输站点,能够提升用户体验度。In the embodiment of this application, the traffic route interface can also highlight other traffic and transportation sites that match the user's portrait, which can expand the scope of information recommendation. By viewing the traffic route interface, the user can quickly obtain information about the traffic and transportation site of interest. Surrounding profile information can improve user experience by highlighting transportation sites that match the user's portrait.
在本申请实施例中,确定当前终端前往的目标站点,该目标站点为位于终端前进线路上的交通运输站点;获取目标站点的周边简介信息,以及获取终端对应用户的用户画像;根据目标站点的周边简介信息,获取与用户画像匹配的推荐信息,显示该推荐信息。上述技术方案中,在用户乘坐交通工具出行的场景下,能够确定当前前往的目标站点,根据目标站点的周边简介信息,向用户推荐与用户画像匹配的推荐信息。基于用户乘坐交通工具途径的目标站点的周边简介信息,结合用户画像进行个性化的信息推荐,能够提高信息推荐的准确性。In the embodiment of this application, the target site to which the current terminal is headed is determined, the target site is a transportation site on the forward route of the terminal; the surrounding profile information of the target site is obtained, and the user portrait of the corresponding user of the terminal is obtained; Surrounding profile information, obtain recommended information that matches the user's portrait, and display the recommended information. In the above technical solution, in the scenario where the user travels by means of transportation, the current target site can be determined, and recommended information matching the user portrait can be recommended to the user based on the profile information around the target site. Personalized information recommendation based on the surrounding profile information of the target site through which the user takes the transportation means, combined with the user portrait, can improve the accuracy of the information recommendation.
请参考图6,其示出了本申请一个示例性实施例示出的信息推荐方法的交互流程图。本实施例以终端和服务器进行交互来执行信息推荐方法为例进行说明,该实施例包括:Please refer to FIG. 6, which shows an interaction flowchart of an information recommendation method according to an exemplary embodiment of the present application. In this embodiment, a method for performing information recommendation through interaction between a terminal and a server is taken as an example for description, and this embodiment includes:
601、终端获取当前注册的基站的基站信息。601. The terminal obtains base station information of a currently registered base station.
终端可以基于应用框架层的埋点服务,在终端注册的基站发生变化时,获取到终端当前注册的基站的基站信息。The terminal can obtain the base station information of the base station currently registered by the terminal when the base station registered by the terminal changes based on the buried point service of the application framework layer.
602、终端向服务器发送推荐请求,该推荐请求至少包括基站信息。602. The terminal sends a recommendation request to the server, where the recommendation request includes at least base station information.
终端向服务器发送推荐请求,该推荐请求至少包括终端当前注册的基站的基站信息,该推荐请求用于请求服务器返回与该基站信息对应的目标站点相关的推荐信息。The terminal sends a recommendation request to the server. The recommendation request includes at least base station information of the base station currently registered by the terminal. The recommendation request is used to request the server to return recommendation information related to the target site corresponding to the base station information.
603、服务器接收终端发送的推荐请求,根据该推荐请求中的基站信息,以及基站信息与交通运输站点的站点信息的对应关系,获取终端前往的目标站点的站点信息。603. The server receives the recommendation request sent by the terminal, and obtains the site information of the target site that the terminal goes to according to the base station information in the recommendation request and the corresponding relationship between the base station information and the site information of the transportation site.
服务器存储有基站信息与交通运输站点的站点信息的对应关系,服务器可以根据该对应关系和基站信息,确定目标站点的站点信息。The server stores the corresponding relationship between the base station information and the site information of the transportation site, and the server can determine the site information of the target site according to the corresponding relationship and the base station information.
在一些实施例中,一个基站的覆盖范围内只有一个交通运输站点,基站信息对应于一个交通运输站点的站点信息,可以将该基站信息对应的交通运输站点的站点信息确定为终端前往的目标站点的站点信息。相应的,服务器根据基站信息,以及基站信息与交通运输站点的站点信息的对应关系,获取终端前往的目标站点的站点信息的步骤可以为:响应于根据基站信息,从对应关系中获取到与基站信息对应的一个交通运输站点的站点信息,服务器将基站信息对应的一个交通运输站点的站点信息确定为终端前往的目标站点的站点信息。In some embodiments, there is only one transportation site in the coverage of a base station, and the base station information corresponds to the site information of a transportation site. The site information of the transportation site corresponding to the base station information can be determined as the target site to which the terminal goes. Site information. Correspondingly, according to the base station information and the corresponding relationship between the base station information and the site information of the transportation site, the server may obtain the site information of the target site to which the terminal goes: in response to the base station information, obtaining the corresponding relationship with the base station The information corresponds to the site information of a transportation site, and the server determines the site information of a transportation site corresponding to the base station information as the site information of the target site to which the terminal goes.
在一些实施例中,一个基站的覆盖范围内包括至少两个交通运输站点,可以对与终端上一个到达的第一站点的相邻的第二站点和终端当前注册的基站对应的至少两个交通运输站点取交集,确定终端当前前往的目标站点。相应的,服务器根据基站信息,以及基站信息与交通运输站点的站点信息的对应关系,获取终端前往的目标站点的站点信息的步骤可以为:响应于根据基站信息,从对应关系中获取到与基站信息对应的至少两个交通运输站点的站点信 息,获取终端上一个到达的第一站点的站点信息;根据第一站点的站点信息,确定第一站点所属的交通线路;根据第一站点所属的交通线路,确定与第一站点相邻的第二站点的站点信息;确定第二站点的站点信息和至少两个交通运输站点的站点信息的交集;将该交集确定为终端前往的目标站点的站点信息。In some embodiments, the coverage area of a base station includes at least two transportation stations, and at least two transportation stations corresponding to the second station adjacent to the first station reached by the terminal and the base station currently registered by the terminal can be transmitted. The intersection of transportation sites is used to determine the destination site the terminal is currently heading to. Correspondingly, according to the base station information and the corresponding relationship between the base station information and the site information of the transportation site, the server may obtain the site information of the target site to which the terminal goes: in response to the base station information, obtaining the corresponding relationship with the base station The site information of at least two transportation stations corresponding to the information is obtained, and the site information of the first station that is reached on the terminal is obtained; according to the site information of the first station, the traffic line to which the first station belongs is determined; according to the traffic to which the first station belongs Route, determine the site information of the second site adjacent to the first site; determine the intersection of the site information of the second site and the site information of at least two transportation sites; determine the intersection as the site information of the target site to which the terminal goes .
请参考图7,其示出了本申请一个示例性实施例示出的获取目标站点的站点信息的流程图,服务器可以将基站信息与交通运输站点的站点信息的对应关系存储在基站数据库中。服务器获取终端当前注册的基站的基站信息,也即读取当前基站信息;服务器根据第一获取请求携带的基站信息,以及基站信息与交通运输站点的站点信息的对应关系,确定终端前往的目标站点的站点信息,也即查询基站数据库;服务器查询基站数据库,可能出现以下三种可能的查询结果:Please refer to FIG. 7, which shows a flowchart of acquiring site information of a target site according to an exemplary embodiment of the present application. The server may store the correspondence between the base station information and the site information of the transportation site in the base station database. The server obtains the base station information of the base station currently registered by the terminal, that is, reads the current base station information; the server determines the target site the terminal goes to according to the base station information carried in the first obtaining request and the correspondence between the base station information and the site information of the transportation site The site information is to query the base station database; the server queries the base station database, and the following three possible query results may appear:
第一种,服务器查询基站数据库,没有结果,也即服务器从基站数据库中,根据基站信息,以及基站信息与交通运输站点的站点信息的对应关系,未查询到该基站信息对应的目标站点的站点信息,则服务器确定终端前往的目标站点的站点信息的步骤结束。服务器查询基站数据库没有结果的原因可能是基站信息采集不全或者运营商维护时新增了基站,如果服务器查询基站数据库,没有结果,则服务器可以向维护人员对应的终端反馈查询失败的信息,提示维护人员及时更新基站数据库。The first is that the server queries the base station database, but there is no result, that is, the server does not find the target site corresponding to the base station information according to the base station information and the correspondence relationship between the base station information and the site information of the transportation site from the base station database. Information, the step of determining the site information of the target site to which the terminal goes by the server ends. The server querying the base station database without results may be due to the incomplete collection of base station information or the addition of base stations during maintenance by the operator. If the server queries the base station database and there is no result, the server can feed back the query failure information to the corresponding terminal of the maintenance staff, prompting maintenance The personnel update the base station database in a timely manner.
第二种,基站数据库中存在基站信息对应的交通运输站点的站点信息,且该基站信息对应于一个交通运输站点的站点信息,服务器根据该基站信息,查询到的结果为一个交通运输站点的站点信息,也即查询的目标站点的结果是唯一的,则确定该结果为目标站点的站点信息,也即确定该结果为目标站点。In the second type, the base station database contains the site information of the transportation site corresponding to the base station information, and the base station information corresponds to the site information of a transportation site, and the server finds the site of a transportation site according to the base station information. Information, that is, the result of the query target site is unique, then the result is determined to be the site information of the target site, that is, the result is determined to be the target site.
第三种,基站数据库中存在基站信息对应的交通运输站点的站点信息,且该基站信息对应于至少两个交通运输站点的站点信息,也即服务器查询基站数据库的结果是不唯一的,则服务器可以获取终端到达的上一站点的相邻站的站点信息,也即取上一站点的相邻站;确定上一站点的相邻站的站点信息和至少两个交通运输站点的站点信息的交集,也即求交集;如果得到的交集中的交通运输站点的站点信息是唯一的,则确定该交集为目标站点的站点信息,也即确定交集结果为目标站点。In the third type, there is site information of the transportation site corresponding to the base station information in the base station database, and the base station information corresponds to the site information of at least two transportation sites, that is, the result of the server querying the base station database is not unique, then the server It can obtain the site information of the neighboring station of the last site reached by the terminal, that is, the neighboring station of the previous site; determine the intersection of the site information of the neighboring station of the previous site and the site information of at least two transportation stations , That is, find the intersection; if the site information of the transportation station in the intersection is unique, the intersection is determined as the site information of the target site, that is, the intersection result is determined as the target site.
604、服务器根据目标站点的站点信息,获取目标站点的周边简介信息。604. The server obtains the surrounding profile information of the target site according to the site information of the target site.
在一些实施例中,服务器根据目标站点的站点信息,从已存储的交通运输站点的周边简介信息中获取目标站点的周边简介信息。In some embodiments, the server obtains the surrounding profile information of the target site from the stored surrounding profile information of the transportation station according to the site information of the target site.
需要说明的一点是,服务器根据目标站点的站点信息,从已存储的交通运输站点的周边简介信息中获取该目标站点的周边简介信息之前,还获取各个交通运输站点的周边简介信息,存储各个交通运输站点的周边简介信息。相应的,服务器获取交通运输站点的周边简介信息,存储各个交通运输站点的周边简介信息的步骤可以为:服务器通过爬虫获取目标城市的交通运输站点的相关信息;对交通运输站点的相关信息进行精简,得到交通运输站点的周边简介信息;存储交通运输站点的周边简介信息。服务器还可以从交通运输站点的周边简介信息中提取出交通运输站点的关键字,存储交通运输站点的关键字。One thing that needs to be explained is that before the server obtains the surrounding overview information of the target site from the stored surrounding overview information of the transportation station according to the site information of the target site, it also obtains the surrounding overview information of each transportation station and stores each traffic. Information about the surrounding area of the transportation station. Correspondingly, the server obtains the surrounding profile information of the transportation site, and the steps of storing the surrounding profile information of each transportation site can be: the server obtains the relevant information of the transportation site of the target city through the crawler; the relevant information of the transportation site is streamlined , Get the surrounding profile information of the transportation station; store the surrounding profile information of the transportation station. The server can also extract the keywords of the transportation site from the surrounding profile information of the transportation site, and store the keywords of the transportation site.
例如,参见表2,服务器可以将交通线路的线路标识(line_id)、交通线路的线路名称(line_name)、属于该交通线路的交通运输站点的站点名称(station_name)、该交通运输站点的周边简介信息(station_info)以及该交通运输站点的关键字(station_key_word)对应存储在数据库中。For example, referring to Table 2, the server can send the line identification (line_id) of the traffic line, the line name of the traffic line (line_name), the station name (station_name) of the transportation station belonging to the traffic line, and the brief information about the surroundings of the transportation station (station_info) and the keyword (station_key_word) of the transportation station are correspondingly stored in the database.
表2Table 2
Figure PCTCN2021074714-appb-000001
Figure PCTCN2021074714-appb-000001
在一些实施例中,服务器还可以根据目标站点的站点信息,通过爬虫获取目标站点的相关信息,对目标站点的相关信息进行精简,得到目标站点的周边简介信息。相应的,服务器根据目标站点的站点信息,获取目标站点的周边简介信息的步骤可以为:服务器以目标站点的站点信息为爬虫关键字,获取目标站点的相关信息;对目标站点的相关信息进行精简,得到目标站点的周边简介信息。In some embodiments, the server may also obtain related information of the target site through a crawler according to the site information of the target site, and simplify the related information of the target site to obtain the surrounding profile information of the target site. Correspondingly, the steps for the server to obtain profile information around the target site according to the site information of the target site may be: the server uses the site information of the target site as a crawler keyword to obtain the relevant information of the target site; and condenses the relevant information of the target site To get the profile information about the target site.
605、服务器获取终端对应用户的用户画像。605. The server obtains the user portrait of the user corresponding to the terminal.
终端向服务器发送的推荐请求还包括终端对应用户的用户标识,服务器可以根据推荐请求中的用户标识,获取终端对应用户的用户画像。The recommendation request sent by the terminal to the server also includes the user ID of the user corresponding to the terminal, and the server can obtain the user portrait of the user corresponding to the terminal according to the user ID in the recommendation request.
需要说明的一点是,服务器根据用户标识,获取该用户标识对应的用户画像之前,服务器还构建用户画像,存储该用户画像,或者根据当前构建的用户画像,对已存储的用户画像进行更新。It should be noted that before the server obtains the user portrait corresponding to the user ID according to the user ID, the server also constructs the user portrait, stores the user portrait, or updates the stored user portrait according to the currently constructed user portrait.
请参考图8,其示出了本申请一个示例性实施例提供的构建用户画像的示意图,服务器先进行基础数据收集,获取用户对应的基础数据;处理分析用户对应的基础数据,进行用户的行为建模,构建得到用户画像。服务器收集的用户的基础数据可以包括网络行为数据、服务内行为数据、用户内容偏好数据和用户交易数据中的一个或多个。网络行为数据可以为用户使用互联网时产生的行为数据;服务内行为数据可以为用户应用终端的基础服务时产生的行为数据,例如,服务内行为数据包括用户应用位置获取服务时得到的位置信息;用户内容偏好数据可以为用户浏览内容时产生的行为偏好数据;用户交易数据可以为用户进行买卖时产生的交易数据。服务器可以基于文本挖掘的技术、自然语言处理的技术、机器学习的技术、预测算法或者聚类算法中的一个或多个进行行为建模。服务器构建的用户画像可以包括用户的基本属性、购买能力、行为特征、兴趣爱好、心理特征和社交网络等方面的特征标签。Please refer to FIG. 8, which shows a schematic diagram of constructing a user portrait provided by an exemplary embodiment of the present application. The server first collects basic data to obtain basic data corresponding to the user; processes and analyzes the basic data corresponding to the user to perform user behavior Modeling, constructing and obtaining user portraits. The user's basic data collected by the server may include one or more of network behavior data, in-service behavior data, user content preference data, and user transaction data. Network behavior data may be behavior data generated when users use the Internet; in-service behavior data may be behavior data generated when users apply basic services of the terminal. For example, in-service behavior data includes location information obtained when users apply their locations to obtain services; The user content preference data may be behavior preference data generated when the user browses content; the user transaction data may be transaction data generated when the user conducts a transaction. The server may perform behavior modeling based on one or more of text mining technology, natural language processing technology, machine learning technology, prediction algorithm, or clustering algorithm. The user portrait constructed by the server may include the user's basic attributes, purchasing ability, behavioral characteristics, hobbies, psychological characteristics, and social network feature tags.
606、服务器根据目标站点的周边简介信息,获取与用户画像匹配的推荐信息。606. The server obtains recommendation information matching the user portrait according to the surrounding profile information of the target site.
本步骤与步骤204相似,在此不再赘述。This step is similar to step 204 and will not be repeated here.
607、服务器向终端返回推荐信息。607. The server returns recommendation information to the terminal.
服务器基于终端发送的推荐请求,根据终端当前注册的基站的基站信息,确定终端当前前往的目标站点的站点信息;根据目标站点的站点信息,确定目标站点的周边简介信息;根据目标站点的周边简介信息,确定与用户画像匹配的推荐信息,向终端返回该推荐信息。Based on the recommendation request sent by the terminal, the server determines the site information of the target site that the terminal is currently visiting according to the base station information of the base station currently registered with the terminal; determines the surrounding profile information of the target site according to the site information of the target site; according to the surrounding profile of the target site Information, determine the recommended information that matches the user's portrait, and return the recommended information to the terminal.
608、终端接收服务器返回的推荐信息,显示该推荐信息。608. The terminal receives the recommendation information returned by the server, and displays the recommendation information.
本步骤与步骤205相似,在此不再赘述。This step is similar to step 205 and will not be repeated here.
在本申请实施例中,确定当前终端前往的目标站点,该目标站点为位于终端前进线路上的交通运输站点;获取目标站点的周边简介信息,以及获取终端对应用户的用户画像;根据目标站点的周边简介信息,获取与用户画像匹配的推荐信息,显示该推荐信息。上述技术方案中,在用户乘坐交通工具出行的场景下,能够确定用户当前前往的目标站点,根据目标站点的周边简介信息,向用户推荐与用户画像匹配的推荐信息。基于用户乘坐交通工具途径的目标站点的周边简介信息,结合用户画像进行个性化的信息推荐,能够提高信息推荐的准确性。In the embodiment of this application, the target site to which the current terminal is headed is determined, the target site is a transportation site on the forward route of the terminal; the surrounding profile information of the target site is obtained, and the user portrait of the corresponding user of the terminal is obtained; Surrounding profile information, obtain recommended information that matches the user's portrait, and display the recommended information. In the above technical solution, in the scenario where the user travels by means of transportation, the target site the user is currently visiting can be determined, and recommendation information matching the user portrait can be recommended to the user based on the profile information around the target site. Personalized information recommendation based on the surrounding profile information of the target site through which the user takes the transportation means, combined with the user portrait, can improve the accuracy of the information recommendation.
上述所有可选技术方案,可以采用任意结合形成本申请的可选实施例,在此不再一一赘述。All the above-mentioned optional technical solutions can be combined in any way to form an optional embodiment of the present application, which will not be repeated here.
请参考图9,其示出了本申请一个示例性实施例提供的信息推荐装置的结构框图。该信息推荐装置可以通过软件、硬件或者两者的结合实现成为处理器的全部或一部分。该装置包括:Please refer to FIG. 9, which shows a structural block diagram of an information recommendation apparatus provided by an exemplary embodiment of the present application. The information recommendation device can be implemented as all or a part of the processor through software, hardware or a combination of the two. The device includes:
获取模块901,用于获取当前终端前往的目标站点的站点信息,根据目标站点的站点信息,获取目标站点的周边简介信息,目标站点为位于终端前进线路上的交通运输站点;获取终端对应用户的用户画像;根据目标站点的周边简介信息,获取与用户画像匹配的推荐信息;The obtaining module 901 is used to obtain the site information of the target site that the current terminal is going to, and obtain the surrounding profile information of the target site according to the site information of the target site. The target site is a transportation station located on the forward route of the terminal; User portrait; according to the surrounding profile information of the target site, obtain recommended information that matches the user portrait;
显示模块902,用于显示推荐信息。The display module 902 is used to display recommended information.
在一些实施例中,获取模块901,用于获取终端当前注册的基站的基站信息,基站为终端提供移动通信的服务,基站的覆盖范围包括至少一个交通运输站点;根据基站信息,以及基站信息与交通运输站点的站点信息的对应关系,获取终端前往的目标站点的站点信息。In some embodiments, the obtaining module 901 is used to obtain base station information of the base station currently registered with the terminal. The base station provides mobile communication services for the terminal. The coverage area of the base station includes at least one transportation station; Correspondence of the site information of the transportation site, and obtain the site information of the target site to which the terminal goes.
在一些实施例中,获取模块901,用于响应于根据基站信息,从对应关系中获取到与基站信息对应的至少两个交通运输站点的站点信息,获取终端上一个到达的第一站点的站点信息;根据第一站点的站点信息,确定第一站点所属的交通线路;根据第一站点所属的交通线路,确定与第一站点相邻的第二站点的站点信息;确定第二站点的站点信息和至少两个交通运输站点的站点信息的交集;将交集确定为终端前往的目标站点的站点信息。In some embodiments, the obtaining module 901 is configured to obtain the station information of at least two transportation stations corresponding to the base station information from the corresponding relationship according to the base station information, and obtain the station of the first station reached by the terminal. Information; According to the site information of the first site, determine the traffic line to which the first site belongs; determine the site information of the second site adjacent to the first site according to the traffic line of the first site; determine the site information of the second site The intersection with the site information of at least two transportation sites; the intersection is determined as the site information of the target site to which the terminal goes.
在一些实施例中,获取模块901,用于响应于根据基站信息,从对应关系中获取到与基站信息对应的一个交通运输站点的站点信息,将基站信息对应的一个交通运输站点的站点信息确定为终端前往的目标站点的站点信息。In some embodiments, the obtaining module 901 is configured to, in response to obtaining site information of a transportation station corresponding to the base station information from the corresponding relationship according to the base station information, determine the site information of a transportation station corresponding to the base station information It is the site information of the target site that the terminal goes to.
在一些实施例中,获取模块901,用于根据目标站点的周边简介信息和用户画像,确定周边简介信息与用户画像的第一匹配度;响应于第一匹配度大于第一阈值,将周边简介信息确定为与用户画像匹配的推荐信息。In some embodiments, the acquiring module 901 is configured to determine the first matching degree between the surrounding profile information and the user portrait according to the surrounding profile information of the target site and the user portrait; in response to the first matching degree being greater than the first threshold, the surrounding profile The information is determined as recommended information matching the user portrait.
在一些实施例中,获取模块901,用于从周边简介信息中获取目标站点的关键字,关键字包括对目标站点的周边简介信息的精简描述;将与用户画像中的用户标签匹配的关键字的数量确定为第一匹配度。In some embodiments, the obtaining module 901 is configured to obtain keywords of the target site from the surrounding profile information. The keywords include a condensed description of the surrounding profile information of the target site; keywords that will match the user tags in the user portrait The number of is determined as the first degree of matching.
在一些实施例中,获取模块901,用于从目标站点的周边简介信息中确定目标站点周边的目标场所,目标场所位于以目标站点为中心的目标范围内;根据目标场所的场所信息和用户画像,确定场所信息与用户画像的第二匹配度;响应于第二匹配度大于第二阈值,将场所信息确定为与用户画像匹配的推荐信息。In some embodiments, the acquisition module 901 is used to determine the target site around the target site from the profile information of the target site. The target site is located within the target range centered on the target site; according to the site information and user portraits of the target site , Determining the second degree of matching between the location information and the user portrait; in response to the second matching degree being greater than the second threshold, determining the location information as recommended information matching the user portrait.
在一些实施例中,获取模块901,用于根据用户画像,确定与用户画像匹配的信息类别;根据周边简介信息和信息类别,从周边简介信息中提取出信息类别对应的推荐信息。In some embodiments, the acquisition module 901 is configured to determine the information category matching the user portrait according to the user portrait; and extract the recommendation information corresponding to the information category from the surrounding profile information and the information category according to the surrounding profile information.
在一些实施例中,显示模块902,还用于响应于用于指示查看其他交通运输站点的站点信息的操作,显示交通线路界面,交通线路界面包括目标站点所属的交通线路和交通线路上的第三站点;响应于对第三站点的触发操作,获取第三站点的关键字,显示第三站点的关键字;响应于用于指示查看第三站点的周边简介信息的操作,显示第三站点的周边简介信息。In some embodiments, the display module 902 is also used to display a traffic line interface in response to an operation for instructing to view site information of other transportation sites. The traffic line interface includes the traffic line to which the target site belongs and the second line on the traffic line. Three sites; in response to the triggering operation on the third site, the keywords of the third site are obtained, and the keywords of the third site are displayed; Surrounding profile information.
在一些实施例中,显示模块902,还用于从交通线路中确定第四站点,第四站点的周边简介信息与用户画像匹配;显示交通线路界面,交通线路界面中的第四站点被突出显示。In some embodiments, the display module 902 is also used to determine the fourth station from the transportation route, and the surrounding profile information of the fourth station matches the user portrait; the transportation route interface is displayed, and the fourth station in the transportation route interface is highlighted .
在一些实施例中,获取模块901,用于获取终端的加速度数据;响应于加速度数据用于指示终端到达目标站点,根据目标站点的站点信息,获取目标站点的周边简介信息。In some embodiments, the acquiring module 901 is used to acquire acceleration data of the terminal; in response to the acceleration data, it is used to instruct the terminal to reach the target site, and obtain the surrounding profile information of the target site according to the site information of the target site.
在一些实施例中,获取模块901,用于获取终端的加速度数据;响应于加速度数据用于指示终端已到达第一站点,且终端在目标时间段内未处于交通工具中行进,根据目标站点的站点信息,获取目标站点的周边简介信息。In some embodiments, the acquisition module 901 is used to acquire acceleration data of the terminal; in response to the acceleration data, it is used to indicate that the terminal has arrived at the first station and the terminal is not traveling in a vehicle within the target time period. Site information, get the profile information around the target site.
在本申请实施例中,确定当前终端前往的目标站点,该目标站点为位于终端前进线路上的交通运输站点;获取目标站点的周边简介信息,以及获取终端对应用户的用户画像;根据目标站点的周边简介信息,获取与用户画像匹配的推荐信息,显示该推荐信息。上述技术方案中,在用户乘坐交通工具出行的场景下,能够确定用户当前前往的目标站点,根据目标站点的周边简介信息,向用户推荐与用户画像匹配的推荐信息。基于用户乘坐交通工具途径的目标站点的周边简介信息,结合用户画像进行个性化的信息推荐,能够提高信息推荐的准确性。In the embodiment of this application, the target site to which the current terminal is headed is determined, the target site is a transportation site on the forward route of the terminal; the surrounding profile information of the target site is obtained, and the user portrait of the corresponding user of the terminal is obtained; Surrounding profile information, obtain recommended information that matches the user's portrait, and display the recommended information. In the above technical solution, in the scenario where the user travels by means of transportation, the target site the user is currently visiting can be determined, and recommendation information matching the user portrait can be recommended to the user based on the profile information around the target site. Personalized information recommendation based on the surrounding profile information of the target site through which the user takes the transportation means, combined with the user portrait, can improve the accuracy of the information recommendation.
请参考图10,其示出了本申请一个示例性实施例提供的终端1000的结构框图。终端1000可以是智能手机、平板电脑、笔记本电脑或可穿戴设备等终端。本申请中的终端1000可以包括一个或多个如下部件:处理器1010、存储器1020、显示屏1030。Please refer to FIG. 10, which shows a structural block diagram of a terminal 1000 according to an exemplary embodiment of the present application. The terminal 1000 may be a terminal such as a smart phone, a tablet computer, a notebook computer, or a wearable device. The terminal 1000 in this application may include one or more of the following components: a processor 1010, a memory 1020, and a display screen 1030.
处理器1010可以包括一个或者多个处理核心。处理器1010利用各种接口和线路连接整个终端1000内的各个部分,通过运行或执行存储在存储器1020内的至少一条指令,以及调用存储在存储器1020内的数据,执行终端1000的各种功能和处理数据。可选地,处理器1010可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1010可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)、神经网络处理器(Neural-network Processing Unit,NPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏1030所需要显示的内容的渲染和绘制;NPU用于实现人工智能(Artificial Intelligence,AI)功能;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1010中,单独通过一块芯片进行实现。The processor 1010 may include one or more processing cores. The processor 1010 uses various interfaces and lines to connect various parts of the entire terminal 1000, and executes various functions and functions of the terminal 1000 by running or executing at least one instruction stored in the memory 1020 and calling data stored in the memory 1020. Data processing. Optionally, the processor 1010 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). A kind of hardware form to realize. The processor 1010 can integrate one or more of a central processing unit (CPU), a graphics processing unit (GPU), a neural network processing unit (NPU), a modem, etc. The combination. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is used to render and draw the content that needs to be displayed on the display screen 1030; the NPU is used to implement artificial intelligence (AI) functions; the modem is used for processing Wireless communication. It is understandable that the above-mentioned modem may not be integrated into the processor 1010, but may be implemented by a chip alone.
在一些实施例中,本申请实施例中,通过NPU实现获取用户画像以及获取与用户画像匹配的推荐信息的过程,通过GPU实现对推荐信息的渲染,通过CPU实现对用户界面的执行操作。In some embodiments, in the embodiments of the present application, the process of obtaining the user portrait and obtaining the recommendation information matching the user portrait is realized by the NPU, the rendering of the recommendation information is realized by the GPU, and the execution operation on the user interface is realized by the CPU.
存储器1020可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。可选地,该存储器1020包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器1020可用于存储至少一条指令。存储器1020可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储根据终端1000的使用所创建的数据(比如音频数据、电话本)等。The memory 1020 may include random access memory (RAM) or read-only memory (ROM). Optionally, the memory 1020 includes a non-transitory computer-readable storage medium. The memory 1020 can be used to store at least one instruction. The memory 1020 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing the operating system and instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), Instructions used to implement the foregoing method embodiments, etc.; the storage data area may store data (such as audio data, phone book) created according to the use of the terminal 1000, and the like.
在一些实施例中,本申请实施例中,通过存储器1020存储终端中的目标站点的周边简介信息、用户画像等数据。In some embodiments, in the embodiment of the present application, the memory 1020 stores the surrounding profile information of the target site in the terminal, user portraits and other data.
显示屏1030是用于显示用户界面的显示组件。可选的,该显示屏1030为具有触控功能的显示屏,通过触控功能,用户可以使用手指、触摸笔等任何适合的物体在显示屏1030上进行触控操作。The display screen 1030 is a display component for displaying a user interface. Optionally, the display screen 1030 is a display screen with a touch function. Through the touch function, the user can use any suitable object such as a finger or a touch pen to perform touch operations on the display screen 1030.
在一些实施例中,本申请实施例中,通过显示屏1030显示推荐信息等。In some embodiments, in the embodiment of the present application, recommendation information and the like are displayed through the display screen 1030.
显示屏1030通常设置在终端1000的前面板。显示屏1030可被设计成为全面屏、曲面屏、异型屏、双面屏或折叠屏。显示屏1030还可被设计成为全面屏与曲面屏的结合,异型屏与曲面屏的结合等,本实施例对此不加以限定。The display screen 1030 is usually arranged on the front panel of the terminal 1000. The display screen 1030 can be designed as a full screen, a curved screen, a special-shaped screen, a double-sided screen or a folding screen. The display screen 1030 can also be designed as a combination of a full screen and a curved screen, a combination of a special-shaped screen and a curved screen, etc., which is not limited in this embodiment.
在一些实施例中,终端1000还包括加速度传感器,该加速度传感器用于采集终端的加速度数据。In some embodiments, the terminal 1000 further includes an acceleration sensor, which is used to collect acceleration data of the terminal.
除此之外,本领域技术人员可以理解,上述附图所示出的终端1000的结构并不构成对终端1000的限定,终端1000可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端1000中还包括麦克风、扬声器、射频电路、输入单元、传感器、音频电路、无线保真(Wireless Fidelity,Wi-Fi)模块、电源、蓝牙模块等部件,在此不再赘述。In addition, those skilled in the art can understand that the structure of the terminal 1000 shown in the above drawings does not constitute a limitation on the terminal 1000, and the terminal 1000 may include more or less components than those shown in the figure, or a combination of certain components. Some components, or different component arrangements. For example, the terminal 1000 also includes components such as a microphone, a speaker, a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (Wireless Fidelity, Wi-Fi) module, a power supply, a Bluetooth module, etc., which are not repeated here.
当然,终端还可以包含距离传感器、摄像头、加速度传感器、角速度传感器、定位模块、红外模块等其他组件,本申请实施例并不对终端的具体结构构成限定。Of course, the terminal may also include other components such as a distance sensor, a camera, an acceleration sensor, an angular velocity sensor, a positioning module, an infrared module, etc. The embodiment of the present application does not limit the specific structure of the terminal.
请参考图11,其示出了本申请一个示例性实施例所提供的服务器的结构框图,该服务器1100可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上处理器(Central Processing Units,CPU)1101和一个或一个以上的存储器1102,其中,存储器1102中存储有至少一条指令,至少一条指令由处理器1101加载并执行以实现上述各个方法实施例提供的信息推荐方法。当然,该服务器还可以具有有线或无线网络接口、键盘以及输入输出接口等部件,以便进行输入输出,该服务器还可以包括其他用于实现设备功能的部件,在此不做赘述。Please refer to FIG. 11, which shows a structural block diagram of a server provided by an exemplary embodiment of the present application. The server 1100 may have relatively large differences due to differences in configuration or performance, and may include one or more processors (Central Processing Units (CPU) 1101 and one or more memories 1102, where at least one instruction is stored in the memory 1102, and at least one instruction is loaded and executed by the processor 1101 to implement the information recommendation method provided by the foregoing method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, an input and output interface for input and output, and the server may also include other components for implementing device functions, which will not be described in detail here.
本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有至少一条指令,该至少一条指令由处理器执行以完成上述实施例示出的信息推荐方法。An embodiment of the present application also provides a computer-readable storage medium that stores at least one instruction, and the at least one instruction is executed by a processor to complete the information recommendation method shown in the foregoing embodiment.
本申请实施例还提供了一种计算机程序产品,该计算机程序产品包括至少一个计算机程序,该至少一个计算机程序被处理器执行时,用于实现上述各个方法实施例提供的信息推荐方法。The embodiments of the present application also provide a computer program product. The computer program product includes at least one computer program. When the at least one computer program is executed by a processor, it is used to implement the information recommendation method provided by the foregoing method embodiments.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should be aware that, in one or more of the foregoing examples, the functions described in the embodiments of the present application may be implemented by hardware, software, firmware, or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on the computer-readable medium. The computer-readable medium includes a computer storage medium and a communication medium, where the communication medium includes any medium that facilitates the transfer of a computer program from one place to another. The storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only optional embodiments of this application and are not intended to limit this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included in the protection of this application. Within range.

Claims (20)

  1. 一种信息推荐方法,其中,所述方法包括:An information recommendation method, wherein the method includes:
    获取当前终端前往的目标站点的站点信息,根据所述目标站点的站点信息,获取所述目标站点的周边简介信息,所述目标站点为位于所述终端前进线路上的交通运输站点;Acquiring site information of the target site to which the current terminal goes, and acquiring surrounding profile information of the target site according to the site information of the target site, where the target site is a transportation site located on the forward route of the terminal;
    获取所述终端对应用户的用户画像;Acquiring a user portrait of the user corresponding to the terminal;
    根据所述目标站点的周边简介信息,获取与所述用户画像匹配的推荐信息;Obtaining recommendation information matching the user portrait according to the surrounding profile information of the target site;
    显示所述推荐信息。Display the recommended information.
  2. 根据权利要求1所述的方法,其中,所述获取当前终端前往的目标站点的站点信息,包括:The method according to claim 1, wherein the obtaining site information of the target site to which the current terminal goes includes:
    获取所述终端当前注册的基站的基站信息,所述基站为所述终端提供移动通信的服务,所述基站的覆盖范围包括至少一个交通运输站点;Acquiring base station information of a base station currently registered by the terminal, the base station provides mobile communication services for the terminal, and the coverage area of the base station includes at least one transportation station;
    根据所述基站信息,以及所述基站信息与其覆盖的交通运输站点的站点信息的对应关系,获取所述终端前往的目标站点的站点信息。According to the base station information and the corresponding relationship between the base station information and the site information of the transportation sites covered by the base station information, the site information of the target site to which the terminal is headed is acquired.
  3. 根据权利要求2所述的方法,其中,所述根据所述基站信息,以及所述基站信息与其覆盖的交通运输站点的站点信息的对应关系,获取所述终端前往的目标站点的站点信息,包括:The method according to claim 2, wherein the obtaining the site information of the target site to which the terminal goes according to the base station information and the correspondence between the base station information and the site information of the transportation sites covered by it includes :
    响应于根据所述基站信息,从所述对应关系中获取到与所述基站信息对应的至少两个交通运输站点的站点信息,获取所述终端上一个到达的第一站点的站点信息;In response to acquiring site information of at least two transportation sites corresponding to the base station information from the corresponding relationship according to the base station information, acquiring site information of a first site that is reached on the terminal;
    根据所述第一站点的站点信息,确定所述第一站点所属的交通线路;Determine the traffic line to which the first site belongs according to the site information of the first site;
    根据所述第一站点所属的交通线路,确定与所述第一站点相邻的第二站点的站点信息;Determine the site information of the second site adjacent to the first site according to the traffic line to which the first site belongs;
    确定所述第二站点的站点信息和所述至少两个交通运输站点的站点信息的交集;Determining the intersection of the site information of the second site and the site information of the at least two transportation sites;
    将所述交集确定为所述终端前往的目标站点的站点信息。The intersection is determined as the site information of the target site to which the terminal goes.
  4. 根据权利要求2所述的方法,其中,所述根据所述基站信息,以及所述基站信息与其覆盖的交通运输站点的站点信息的对应关系,获取所述终端前往的目标站点的站点信息,包括:The method according to claim 2, wherein the obtaining the site information of the target site to which the terminal goes according to the base station information and the correspondence between the base station information and the site information of the transportation sites covered by it includes :
    响应于根据所述基站信息,从所述对应关系中获取到与所述基站信息对应的一个交通运输站点的站点信息,将所述基站信息对应的一个交通运输站点的站点信息确定为所述终端前往的目标站点的站点信息。In response to obtaining site information of a transportation site corresponding to the base station information from the corresponding relationship according to the base station information, determine the site information of a transportation site corresponding to the base station information as the terminal The site information of the destination site to go to.
  5. 根据权利要求1所述的方法,其中,所述根据所述目标站点的周边简介信息,获取与所述用户画像匹配的推荐信息,包括:The method according to claim 1, wherein the obtaining recommendation information matching the user portrait according to the surrounding profile information of the target site comprises:
    根据所述目标站点的周边简介信息和所述用户画像,确定所述周边简介信息与所述用户画像的第一匹配度;Determine the first degree of matching between the peripheral profile information and the user portrait according to the peripheral profile information of the target site and the user portrait;
    响应于所述第一匹配度大于第一阈值,将所述周边简介信息确定为与所述用户画像匹配的推荐信息。In response to the first degree of matching being greater than a first threshold, determining the surrounding profile information as recommendation information matching the user portrait.
  6. 根据权利要求5所述的方法,其中,所述根据所述目标站点的周边简介信息和所述用户画像,确定所述周边简介信息与所述用户画像的第一匹配度,包括:The method according to claim 5, wherein the determining the first degree of matching between the peripheral profile information and the user portrait according to the peripheral profile information of the target site and the user portrait comprises:
    从所述周边简介信息中获取所述目标站点的关键字,所述关键字包括对所述目标站点的周边简介信息的精简描述;Acquiring keywords of the target site from the surrounding profile information, where the keywords include a condensed description of the surrounding profile information of the target site;
    将与所述用户画像中的用户标签匹配的关键字的数量确定为所述第一匹配度。The number of keywords matching the user tags in the user portrait is determined as the first matching degree.
  7. 根据权利要求1所述的方法,其中,所述根据所述目标站点的周边简介信息,获取与所述用户画像匹配的推荐信息,包括:The method according to claim 1, wherein the obtaining recommendation information matching the user portrait according to the surrounding profile information of the target site comprises:
    从所述目标站点的周边简介信息中确定所述目标站点周边的目标场所,所述目标场所位于以所述目标站点为中心的目标范围内;Determining a target location around the target site from the surrounding profile information of the target site, where the target location is located within a target range centered on the target site;
    根据所述目标场所的场所信息和所述用户画像,确定所述场所信息与所述用户画像的第二匹配度;Determining a second degree of matching between the location information and the user portrait according to the location information of the target location and the user portrait;
    响应于所述第二匹配度大于第二阈值,将所述场所信息确定为与所述用户画像匹配的推荐信息。In response to the second degree of matching being greater than a second threshold, determining the location information as recommendation information matching the user portrait.
  8. 根据权利要求1所述的方法,其中,所述根据所述目标站点的周边简介信息,获取与所述用户画像匹配的推荐信息,包括:The method according to claim 1, wherein the obtaining recommendation information matching the user portrait according to the surrounding profile information of the target site comprises:
    根据所述用户画像,确定与所述用户画像匹配的信息类别;According to the user portrait, determine the information category that matches the user portrait;
    根据所述周边简介信息和所述信息类别,从所述周边简介信息中提取出所述信息类别对应的推荐信息。According to the surrounding profile information and the information category, the recommended information corresponding to the information category is extracted from the surrounding profile information.
  9. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    响应于用于指示查看其他交通运输站点的站点信息的操作,显示交通线路界面,所述交通线路界面包括所述目标站点所属的交通线路和所述交通线路上的第三站点;In response to an operation for instructing to view site information of other transportation sites, displaying a traffic line interface, the traffic line interface including the traffic line to which the target site belongs and a third station on the traffic line;
    响应于对所述第三站点的触发操作,获取所述第三站点的关键字,显示所述第三站点的关键字;In response to the triggering operation on the third site, acquiring keywords of the third site, and displaying the keywords of the third site;
    响应于用于指示查看所述第三站点的周边简介信息的操作,显示所述第三站点的周边简介信息。In response to the operation for instructing to view the surrounding profile information of the third site, display the surrounding profile information of the third site.
  10. 根据权利要求9所述的方法,其中,所述显示交通线路界面,包括:The method according to claim 9, wherein said displaying the traffic route interface comprises:
    从所述交通线路中确定第四站点,所述第四站点的周边简介信息与所述用户画像匹配;Determining a fourth station from the transportation route, and surrounding profile information of the fourth station matches the user portrait;
    显示所述交通线路界面,所述交通线路界面中的第四站点被突出显示。The traffic route interface is displayed, and the fourth station in the traffic route interface is highlighted.
  11. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    获取所述终端的加速度数据;Acquiring acceleration data of the terminal;
    响应于所述加速度数据用于指示所述终端到达所述目标站点,执行所述根据所述目标站点的站点信息,获取所述目标站点的周边简介信息的步骤。In response to the acceleration data being used to instruct the terminal to arrive at the target site, the step of acquiring the surrounding profile information of the target site according to the site information of the target site is performed.
  12. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    获取所述终端的加速度数据;Acquiring acceleration data of the terminal;
    响应于所述加速度数据用于指示所述终端已到达所述第一站点,且所述终端在目标时间段内未处于交通工具中行进,执行所述根据所述目标站点的站点信息,获取所述目标站点的周边简介信息的步骤。In response to the acceleration data being used to indicate that the terminal has arrived at the first station, and the terminal is not traveling in a vehicle within the target time period, execute the station information according to the target station to obtain all Describe the steps of profile information around the target site.
  13. 一种信息推荐装置,其中,所述装置包括:An information recommendation device, wherein the device includes:
    获取模块,用于获取当前终端前往的目标站点的站点信息,根据所述目标站点的站点信息,获取所述目标站点的周边简介信息,所述目标站点为位于所述终端前进线路上的交通运输站点;获取所述终端对应用户的用户画像;根据所述目标站点的周边简介信息,获取与所述用户画像匹配的推荐信息;The obtaining module is used to obtain the site information of the target site to which the current terminal is going, and obtain the surrounding profile information of the target site according to the site information of the target site, the target site being the transportation on the forward route of the terminal Site; obtain the user portrait of the user corresponding to the terminal; obtain recommendation information matching the user portrait according to the surrounding profile information of the target site;
    显示模块,用于显示所述推荐信息。The display module is used to display the recommended information.
  14. 根据权利要求13所述的装置,其中,所述获取模块,用于获取所述终端当前注册的基站的基站信息,所述基站为所述终端提供移动通信的服务,所述基站的覆盖范围包括至少 一个交通运输站点;根据所述基站信息,以及所述基站信息与其覆盖的交通运输站点的站点信息的对应关系,获取所述终端前往的目标站点的站点信息。The apparatus according to claim 13, wherein the acquisition module is configured to acquire base station information of a base station currently registered by the terminal, the base station provides mobile communication services for the terminal, and the coverage of the base station includes At least one transportation station; according to the base station information and the corresponding relationship between the base station information and the station information of the transportation stations covered by the base station information, the station information of the target station to which the terminal goes.
  15. 根据权利要求14所述的装置,其中,所述获取模块,用于响应于根据所述基站信息,从所述对应关系中获取到与所述基站信息对应的至少两个交通运输站点的站点信息,获取所述终端上一个到达的第一站点的站点信息;根据所述第一站点的站点信息,确定所述第一站点所属的交通线路;根据所述第一站点所属的交通线路,确定与所述第一站点相邻的第二站点的站点信息;确定所述第二站点的站点信息和所述至少两个交通运输站点的站点信息的交集;将所述交集确定为所述终端前往的目标站点的站点信息;或者,The apparatus according to claim 14, wherein the obtaining module is configured to obtain, in response to the base station information, the station information of at least two transportation stations corresponding to the base station information from the correspondence relationship , Obtain the site information of the first site that is reached on the terminal; determine the traffic line to which the first site belongs according to the site information of the first site; determine the traffic line to which the first site belongs; Site information of a second site adjacent to the first site; determine the intersection of the site information of the second site and the site information of the at least two transportation sites; determine the intersection as the destination of the terminal Site information of the target site; or,
    所述获取模块,用于响应于根据所述基站信息,从所述对应关系中获取到与所述基站信息对应的一个交通运输站点的站点信息,将所述基站信息对应的一个交通运输站点的站点信息确定为所述终端前往的目标站点的站点信息。The acquiring module is configured to respond to acquiring the site information of a transportation site corresponding to the base station information from the corresponding relationship according to the base station information, and compare the site information of a transportation site corresponding to the base station information The site information is determined as the site information of the target site to which the terminal goes.
  16. 根据权利要求13所述的装置,其中,所述获取模块,用于根据所述目标站点的周边简介信息和所述用户画像,确定所述周边简介信息与所述用户画像的第一匹配度;响应于所述第一匹配度大于第一阈值,将所述周边简介信息确定为与所述用户画像匹配的推荐信息;或者,The apparatus according to claim 13, wherein the acquisition module is configured to determine the first degree of matching between the surrounding profile information and the user portrait based on the surrounding profile information of the target site and the user portrait; In response to the first degree of matching being greater than a first threshold, determining the surrounding profile information as recommended information matching the user portrait; or,
    所述获取模块,用于从所述目标站点的周边简介信息中确定所述目标站点周边的目标场所,所述目标场所位于以所述目标站点为中心的目标范围内;根据所述目标场所的场所信息和所述用户画像,确定所述场所信息与所述用户画像的第二匹配度;响应于所述第二匹配度大于第二阈值,将所述场所信息确定为与所述用户画像匹配的推荐信息;或者,The acquisition module is configured to determine a target location around the target site from the surrounding profile information of the target site, where the target location is located within a target range centered on the target site; Location information and the user portrait, determining a second matching degree between the location information and the user portrait; in response to the second matching degree being greater than a second threshold, determining the location information to match the user portrait Recommended information; or,
    所述获取模块,用于根据所述用户画像,确定与所述用户画像匹配的信息类别;根据所述周边简介信息和所述信息类别,从所述周边简介信息中提取出所述信息类别对应的推荐信息。The acquisition module is configured to determine the information category matching the user portrait according to the user portrait; and extract the information category corresponding to the surrounding profile information from the surrounding profile information according to the surrounding profile information and the information category Recommended information.
  17. 根据权利要求16所述的装置,其中,所述获取模块,用于从所述周边简介信息中获取所述目标站点的关键字,所述关键字包括对所述目标站点的周边简介信息的精简描述;将与所述用户画像中的用户标签匹配的关键字的数量确定为所述第一匹配度。The device according to claim 16, wherein the acquiring module is configured to acquire keywords of the target site from the surrounding profile information, and the keywords include condensing the surrounding profile information of the target site Description; determining the number of keywords matching the user tags in the user portrait as the first matching degree.
  18. 根据权利要求13所述的装置,其中,所述显示模块,用于响应于用于指示查看其他交通运输站点的站点信息的操作,显示交通线路界面,所述交通线路界面包括所述目标站点所属的交通线路和所述交通线路上的第三站点;响应于对所述第三站点的触发操作,获取所述第三站点的关键字,显示所述第三站点的关键字;响应于用于指示查看所述第三站点的周边简介信息的操作,显示所述第三站点的周边简介信息。The device according to claim 13, wherein the display module is configured to display a traffic line interface in response to an operation for instructing to view the site information of other traffic and transportation sites, the traffic line interface including the target site to which the target site belongs. And a third station on the transportation line; in response to the triggering operation on the third station, the keyword of the third station is acquired, and the keyword of the third station is displayed; in response to Instruct the operation of viewing the surrounding profile information of the third site, and display the surrounding profile information of the third site.
  19. 一种终端,其中,所述终端包括处理器和存储器;所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以实现如权利要求1至12任一所述的信息推荐方法。A terminal, wherein the terminal includes a processor and a memory; and the memory stores at least one instruction, and the at least one instruction is used to be executed by the processor to implement any one of claims 1 to 12 Information recommendation method.
  20. 一种计算机可读存储介质,其中,所述存储介质中存储有至少一条指令,所述至少一条指令用于被处理器执行以实现如权利要求1至12任一所述的信息推荐方法。A computer-readable storage medium, wherein at least one instruction is stored in the storage medium, and the at least one instruction is used to be executed by a processor to implement the information recommendation method according to any one of claims 1-12.
PCT/CN2021/074714 2020-02-26 2021-02-01 Information recommendation method and apparatus, terminal and storage medium WO2021169741A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010121114.7A CN111372192B (en) 2020-02-26 2020-02-26 Information recommendation method and device, terminal and storage medium
CN202010121114.7 2020-02-26

Publications (1)

Publication Number Publication Date
WO2021169741A1 true WO2021169741A1 (en) 2021-09-02

Family

ID=71211564

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/074714 WO2021169741A1 (en) 2020-02-26 2021-02-01 Information recommendation method and apparatus, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN111372192B (en)
WO (1) WO2021169741A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111372192B (en) * 2020-02-26 2021-09-03 Oppo广东移动通信有限公司 Information recommendation method and device, terminal and storage medium
CN112100309A (en) * 2020-11-06 2020-12-18 北京妙医佳健康科技集团有限公司 Electronic map system with reminding function
CN112596846A (en) * 2020-12-29 2021-04-02 深圳价值在线信息科技股份有限公司 Method and device for determining interface display content, terminal equipment and storage medium
CN113037822B (en) * 2021-03-01 2022-05-03 杨皓淳 Media data platform based on wireless network and cloud computing

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615788A (en) * 2015-03-09 2015-05-13 徐婷 Information notifying method, equipment and system
CN107391603A (en) * 2017-06-30 2017-11-24 北京奇虎科技有限公司 User's portrait method for building up and device for mobile terminal
CN107801153A (en) * 2017-11-09 2018-03-13 广东欧珀移动通信有限公司 Subway trip based reminding method, subway trip alarm set and mobile terminal
US20190130448A1 (en) * 2017-10-27 2019-05-02 Dinabite Limited System and method for generating offer and recommendation information using machine learning
CN111372192A (en) * 2020-02-26 2020-07-03 Oppo广东移动通信有限公司 Information recommendation method and device, terminal and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6049711A (en) * 1995-08-23 2000-04-11 Teletrac, Inc. Method and apparatus for providing location-based information services
JP3841401B2 (en) * 2001-09-26 2006-11-01 株式会社東芝 Campus guidance device, server device, and program
CN104217608B (en) * 2013-05-29 2018-02-23 星贝瑞有限公司 Information service method and system based on bus tool
CN106296281B (en) * 2016-08-05 2018-08-17 中卓信(北京)科技有限公司 A kind of user individual travel information method for pushing, device and system
CN109299403A (en) * 2018-08-29 2019-02-01 西安艾润物联网技术服务有限责任公司 Information-pushing method and relevant apparatus
CN109120719B (en) * 2018-09-28 2021-06-04 Oppo广东移动通信有限公司 Information pushing method, information display method, computer equipment and storage medium
CN109376313B (en) * 2018-09-28 2021-05-25 Oppo广东移动通信有限公司 Information recommendation method and device, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615788A (en) * 2015-03-09 2015-05-13 徐婷 Information notifying method, equipment and system
CN107391603A (en) * 2017-06-30 2017-11-24 北京奇虎科技有限公司 User's portrait method for building up and device for mobile terminal
US20190130448A1 (en) * 2017-10-27 2019-05-02 Dinabite Limited System and method for generating offer and recommendation information using machine learning
CN107801153A (en) * 2017-11-09 2018-03-13 广东欧珀移动通信有限公司 Subway trip based reminding method, subway trip alarm set and mobile terminal
CN111372192A (en) * 2020-02-26 2020-07-03 Oppo广东移动通信有限公司 Information recommendation method and device, terminal and storage medium

Also Published As

Publication number Publication date
CN111372192A (en) 2020-07-03
CN111372192B (en) 2021-09-03

Similar Documents

Publication Publication Date Title
WO2021169741A1 (en) Information recommendation method and apparatus, terminal and storage medium
JP6488588B2 (en) Speech recognition method and speech recognition system
CA2915607C (en) Pushing suggested search queries to mobile devices
US8924147B2 (en) Method for constructing geo-fences for a spatial recommendation and discovery system
EP2541484A1 (en) Geo-spatial recommendation and discovery system
CN102257493A (en) Geocoding personal information
JP6827629B2 (en) Information providing device, information providing system
WO2018227823A1 (en) Method for generating user portrait, and terminal
JP5984685B2 (en) Display system, server, terminal device, display method and program
JP6045354B2 (en) Guidance system, server, terminal device, guidance method and program
US10055752B2 (en) Method and apparatus for performing real-time out home advertising performance analytics based on arbitrary data streams and out of home advertising display analysis
JP5952667B2 (en) Message management apparatus, message management method, and program
KR20200064148A (en) User situation detection in the messaging service environment and interaction with the messaging service based on the user situation
WO2015200041A1 (en) Delivering personalized information
JP2016192051A (en) Regional information sharing device, regional information sharing system, and program
US10129699B1 (en) Automated tiered event display system
JP6066824B2 (en) Post information display system, server, terminal device, post information display method and program
JP6048196B2 (en) Navigation system, navigation method, and navigation program
US20180174058A1 (en) Providing dynamic and personalized recommendations
JP2017021420A (en) Information processor, terminal device, information processing method and information processing program
CN116932930A (en) Departure place recommendation method, device, equipment, storage medium and program product
JP4978219B2 (en) Information transmission system and information server
JP2020017130A (en) Information processing apparatus, information processing system, and information processing method
JP2014135023A (en) Contribution information display system, server, terminal device, contribution information display method and program
US11828616B2 (en) Search system, search method, and recording medium for recording search program

Legal Events

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

Ref document number: 21760627

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21760627

Country of ref document: EP

Kind code of ref document: A1