Method for recommending travel service and related device

By collecting user data and geofencing technology to detect travel sites, and combining user operations, travel services are accurately recommended, which solves the problem of misrecommendation in the existing technology and improves the user experience and service accuracy.

CN119128289APending Publication Date: 2024-12-13HONOR DEVICE CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202310693691.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-12
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

The existing geofencing technology is not accurate enough when recommending travel services, which may lead to misrecommendation, disturbing users, and affecting the terminal user experience.

Method used

By collecting user data, we can determine whether the user is the target user, use geofencing technology to detect entering the travel site, and display the corresponding travel services after the user operates, reducing false recommendations and improving the accuracy of recommendations.

Benefits of technology

It realizes accurate recommendations to users with travel needs, reduces false recommendations, improves user experience, and provides more convenient travel services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119128289A_ABST
    Figure CN119128289A_ABST
Patent Text Reader

Abstract

The invention discloses a travel service recommending method and a related device. The electronic equipment can collect data in the process that a user uses the equipment, and whether the user is a target user of a certain travel mode or not is judged according to the data. And if the target user enters the travel station, the electronic equipment recommends the travel service corresponding to the travel mode to the target user, so that the target user can conveniently and quickly travel through the travel service. According to the method, the target user with the travel demand can be accurately recommended, so that the condition of wrong recommendation is reduced or avoided, the user is prevented from being disturbed, and better terminal use experience is provided for the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to methods and related devices for recommending travel services. Background Art

[0002] Smart electronic devices such as mobile phones detect when a user enters a subway station through geo-fencing technology, and when they recognize the user's wrist flipping action, they believe that the user intends to take the subway, and then recommend a shortcut to the subway QR code for the user, allowing the user to quickly scan the code and enter the subway station.

[0003] However, the current geo-fencing accuracy is not high enough, and users may only shop near the subway station, or take a bus at a bus stop near the subway station, rather than taking the subway station. Therefore, the above-mentioned method of recommending the boarding code is likely to make wrong recommendations and disturb the user. Summary of the invention

[0004] The present application provides a method and related device for recommending travel services, which can accurately make recommendations to target users with travel needs, reduce or avoid erroneous recommendations, avoid disturbing users, and provide users with a better terminal usage experience.

[0005] In a first aspect, a method for recommending travel services is provided, which may include: determining, based on first data, a current user as a target user, the target users including users who have historically traveled via a first travel mode; detecting entry into a transportation station corresponding to the first travel mode; displaying a first interface, wherein a first element is displayed in the first interface; detecting user operations acting on the first element; and displaying a station entry credential corresponding to the first travel mode.

[0006] Implementing the method in the first aspect and recommending travel services to target users can accurately make recommendations to users with travel needs, reduce or avoid erroneous recommendations, avoid disturbing users, and provide users with a better terminal usage experience.

[0007] In combination with the first aspect, in some embodiments, the first data includes any one or more of sensor data and positioning data.

[0008] In conjunction with the first aspect, in some implementations, the target users specifically include users whose historical travel frequency by the first travel mode is higher than the first threshold. In this way, travel services can be specifically recommended to users who travel frequently, facilitating travel for these users.

[0009] In conjunction with the first aspect, in some embodiments, if the first data includes data matching the first travel feature, or if the first data includes data whose matching degree with the first travel feature reaches a second threshold, the current user has traveled via the first travel mode in history. The first travel feature includes user features and vehicle features, the user features include the motion state and / or position change of the user when traveling via the first travel mode, and the vehicle features include any one or more of the following: the vehicle's travel speed, travel acceleration, travel time between traffic stops, and parking time at stops.

[0010] In conjunction with the first aspect, in some embodiments, before displaying the first element, the method further includes: detecting a wrist flip operation. The wrist flip operation can reflect the user's intention, and thus displaying the first element after detecting the wrist flip operation can achieve more accurate travel recommendations.

[0011] In combination with the first aspect, in some embodiments, the first interface is a lock screen interface, and the first element is a notification message in the lock screen interface; or, the first interface is a desktop, the first element is a notification card in the desktop, and the first element is a first control displayed in the notification card; or, the first interface includes an interface provided by a first application, and the first element is a floating capsule displayed above the interface provided by the first application.

[0012] In combination with the first aspect, in some implementations, any one or more of the following items are displayed in the first interface: the name of the current transportation station, and navigation information from the current location to the waiting platform.

[0013] In combination with the first aspect, in some embodiments, after detecting entry into a transportation station corresponding to the first travel mode, the method also includes: detecting the start of boarding; displaying any one or more of the following in the first interface: the name of the current transportation station, the name of the current transportation route, the number of transportation stations from the terminal, and the time required to reach the terminal.

[0014] In conjunction with the first aspect, in some embodiments, after detecting the entry into the transportation station corresponding to the first travel mode, the method further includes: detecting the arrival at the terminal station; detecting the user operation acting on the first element; and displaying the exit credential corresponding to the first travel mode. This makes it convenient for the user to exit the station after arriving at the station.

[0015] In combination with the first aspect, in some embodiments, after detecting arrival at the terminal station, the method further includes: displaying any one or more of the following in the first interface: the name of the current transportation station, prompt information for prompting the user to get off, and navigation information from the current location to the exit.

[0016] In combination with the first aspect, in some embodiments, the method further includes: detecting leaving the transportation station corresponding to the first travel mode; and stopping displaying the first element in the first interface.

[0017] In combination with the first aspect, in some implementations, if the frequency of the current user's history of using the first travel mode is greater than the third threshold, the number of first interfaces is multiple; if the frequency of the current user's history of using the first travel mode is less than the third threshold, the number of first interfaces is one. This is equivalent to recommending travel services through multiple routes for users with high frequency of travel, and recommending travel services through only one route for users with low frequency of travel.

[0018] In combination with the first aspect, in some embodiments, the station entry credential corresponding to the first travel mode is provided by a second application, which is learned by the second application based on big data, or is set by the user.

[0019] In combination with the first aspect, in some embodiments, the first travel mode includes subway travel, and the entry credential corresponding to the first travel mode includes a subway boarding code.

[0020] In a second aspect, an electronic device is provided, comprising: a memory and one or more processors; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute a method as in the first aspect or any one of the embodiments of the first aspect.

[0021] In a third aspect, a computer-readable storage medium is provided, comprising instructions, which, when executed on an electronic device, cause the electronic device to execute a method executed by a vehicle in the first aspect or any one of the embodiments of the first aspect, or to execute a method executed by an electronic device in the second aspect or any one of the embodiments of the second aspect.

[0022] In a fourth aspect, a computer program product is provided. When the computer program product is run on a computer, it enables the computer to execute a method executed by a vehicle in the first aspect or any one of the embodiments of the first aspect, or to execute a method executed by an electronic device in the first aspect or any one of the embodiments of the first aspect.

[0023] In a fifth aspect, a chip system is provided, the chip system comprising at least one processor for implementing the method executed by the electronic device in the first aspect or any one embodiment of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A flowchart of a method for recommending travel services provided in an embodiment of the present application;

[0025] Figure 2 A flow chart of a subway trip provided in an embodiment of the present application;

[0026] Figure 3A-3H A set of user interfaces provided for embodiments of the present application;

[0027] Figure 4 A hardware structure block diagram of an electronic device provided in an embodiment of the present application;

[0028] Figure 5 The software architecture of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0029] The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0030] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0031] The term "user interface (UI)" in the following embodiments of the present application refers to a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device, and finally presented as content that can be recognized by the user. The commonly used form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.

[0032] The present application provides a method and related device for recommending travel services.

[0033] The method can be applied to an electronic device, which is a smart terminal device, which can be of various types, and the embodiments of the present application do not limit its specific type. For example, the electronic device can be a mobile phone, and can also include a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, a smart screen, a wearable device, an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a car machine, a smart headset, a game console, and can also be an Internet of Things (IOT) device or a smart home device such as a smart TV, etc.

[0034] In this method, the electronic device can collect data from the user during the use of the device, and determine whether the user is a target user of a certain type of travel mode based on the data. For the target user, the electronic device uses the geo-fencing technology to determine whether the target user has entered the travel site. If the target user has entered the travel site, the travel service corresponding to the travel mode can be recommended to the target user, so that the target user can travel conveniently and quickly through the travel service. For non-target users, the electronic device will not recommend travel services.

[0035] This method only recommends travel services to target users, and can accurately recommend users with travel needs, thereby reducing or avoiding the situation of wrong recommendations, avoiding disturbing users, and giving users a better terminal usage experience. For the definition of target users, please refer to the detailed description of the subsequent method embodiments.

[0036] Below, several concepts involved in this application are first introduced:

[0037] Travel options

[0038] The travel mode of this application refers to a mode of transportation in which a person takes a vehicle at a transportation station (hereinafter referred to as a station), leaves the vehicle at another station, and needs to pay a certain transportation fee. The stations are all preset, and the locations of each station are fixed.

[0039] Examples of travel modes may include: subway travel, train / train / high-speed rail travel, bus travel, coach travel, airplane travel, ferry travel, etc. Users can pay for transportation fees in advance or after the trip. The starting point and the end point are usually preset fixed stations, such as subway stations, railway stations, passenger stations, etc. The stations for different travel modes can be different, and of course there may be some overlapping stations.

[0040] Travel Services

[0041] Travel service refers to a service that can directly lead to the entry or exit credentials, which can be understood as a shortcut to the interface where the entry or exit credentials are located.

[0042] Different travel modes can correspond to different travel services. For example, subway travel can correspond to subway boarding code service, bus travel can correspond to bus boarding code service, train / motor vehicle / high-speed rail travel can correspond to train / motor vehicle / high-speed rail electronic ticket service, airplane travel can correspond to electronic ticket service, and so on. Any travel mode in this application can be referred to as the first travel mode. The first travel mode can be subway travel, bus travel, train / motor vehicle / high-speed rail travel, airplane travel, ferry travel, and so on.

[0043] The entry and exit vouchers for the subway can be subway boarding codes or NFC card swiping interfaces, which can also be used to settle subway fares. The entry vouchers for buses are bus boarding codes, which can also be used to settle bus fares. The entry and exit vouchers for airplanes / trains / high-speed trains / ferries are electronic tickets, which must be purchased by paying transportation fees in advance.

[0044] The following describes the method for recommending travel services provided by this application.

[0045] refer to Figure 1 , Figure 1 The flow of the method for recommending travel services is exemplified.

[0046] Figure 1 Take subway travel as an example. Figure 1 As shown, the method may include the following steps:

[0047] S101, the electronic device collects data.

[0048] Electronic devices collect data in any of the following ways:

[0049] 1. When an electronic device leaves the factory and the user starts using the electronic device, the electronic device starts collecting data.

[0050] 2. The electronic device collects data at a fixed time period. The fixed time period can be preset and is not limited in this application. The fixed time period can be, for example, the travel time period of the user learned by the electronic device, such as 8:00-9:00 in the morning and 18:00-19:00 in the afternoon on every weekday.

[0051] 3. After entering the site, the electronic device starts collecting data; after leaving the site, it stops collecting data. Among them, since the site is fixed, the electronic device can collect the current location characteristics and determine whether the current location characteristics meet the preset location characteristics of each site. If they are consistent, it is considered that the electronic device has currently entered the site. Location characteristics may include any one or more of the following: the location, the cellular cell, the wireless fidelity (Wi-Fi) network connected, the searched geomagnetic signal, etc.

[0052] The data collected by electronic devices may include any one or more of the following: 1. Data collected by various sensors, such as data collected by gyroscope sensors, data collected by acceleration sensors, data collected by geomagnetic sensors, etc. 2. Positioning data, such as positioning data collected through the global positioning system (GPS), Beidou navigation satellite system (BDS), Wi-Fi, Bluetooth, etc., connected cellular cell signals, Wi-Fi network signals, geomagnetic signals, etc.

[0053] The electronic device is not limited to collecting data using its own devices. In some embodiments, the electronic device can also obtain data collected by other devices connected to it (such as wearable devices such as smart watches and smart bracelets). The data types collected by other devices are similar to the data types collected by the electronic device. In this way, the data obtained by the electronic device can be enriched, making the subsequent judgment operation in S102 more accurate.

[0054] It can be seen that the data collected by electronic devices can reflect the user's movement status and location.

[0055] S102: The electronic device determines whether the current user is a target user based on the collected data.

[0056] The electronic device may determine whether the current user is the target user based on data collected over a period of time (eg, one week or one month). Alternatively, the electronic device may determine whether the current user is the target user based on a certain amount of data collected.

[0057] In the embodiment of the present application, the data collected by the electronic device for determining whether the current user is a target user may be referred to as first data.

[0058] Target users may include the following:

[0059] 1. Users who travel by subway during weekdays.

[0060] For example, for users whose frequency of traveling by subway during work and after get off work is greater than or equal to a first value, the first value may be, for example, 10 times / week, 35 times / month, etc.

[0061] For another example, a user whose frequency of traveling by subway during work is greater than or equal to a second value, the second value may be, for example, 5 times / week, 20 times / month, etc.

[0062] For another example, a user whose frequency of traveling by subway during off-get off work hours is greater than or equal to a third value, the third value may be, for example, 5 times / week, 20 times / month, etc.

[0063] For another example, for users whose frequency of traveling by subway on weekdays is greater than or equal to a fourth value, the fourth value may be, for example, 2 times per week.

[0064] In a specific implementation, the electronic device can learn the working days, working hours, and off-get off work hours of the user, and determine the user's subway travel during working days, before work, or after get off work based on the collected data, and then determine whether the user belongs to the first category of target users.

[0065] 2. Users who travel by subway on holidays (such as weekends).

[0066] For example, users who travel between two places by subway during holidays and whose subway travel frequency is greater than or equal to the fifth value, such as students, users working in other places, etc. The fifth value can be, for example, 2 times / week, 8 times / month, etc.

[0067] For another example, users who take the subway to a fixed activity point during holidays and whose subway travel frequency is greater than or equal to the sixth value, such as users who take training courses or go to the gym to exercise, etc. The sixth value can be, for example, 2 times / week, 8 times / month, etc.

[0068] In a specific implementation, the electronic device can collect some information when the user uses the electronic device, and then identify the user's identity or behavior.

[0069] 3. Users who travel frequently via subway.

[0070] For example, users whose subway travel frequency is greater than or equal to the seventh value. For example, due to work needs, they take the subway more than or equal to 7 times / week for takeout, errand running or designated driver service personnel; due to life preferences (such as buying vegetables at the market, morning exercise in the park), they take the subway more than or equal to 2 times / week.

[0071] 4. Users who travel by subway to other places.

[0072] For example, a user who travels by subway in a different place due to business trip or tourism is greater than or equal to the eighth value. The eighth value may be, for example, 2 times / week. In a specific implementation, the electronic device may learn the user's permanent location, and then be able to determine whether the user is traveling to a different place.

[0073] In the above examples of target users, the values ​​from the first value to the eighth value are only examples, and their specific values ​​can be adjusted according to actual conditions.

[0074] Without being limited to the above-mentioned examples of target users, in some other implementations, the target users may not distinguish between the time period, location, etc. of traveling by subway, and may be simply defined as users who have historically traveled by subway, or users who have historically traveled by subway a certain number of times (e.g., users whose historical frequency of traveling by subway is higher than a first threshold).

[0075] The same user's life or work situation may change at different stages, and the frequency of subway travel may also change. For example, the user may take the subway less frequently in the early stage, and then take the subway more frequently in the later stage; or conversely, the user may change from low-frequency subway travel to high-frequency subway travel; or the user did not take the subway when he initially used the electronic device, and took the subway after a period of time. Therefore, in this application, the electronic device can continuously execute S101 and S102, continuously update or learn the user's status, and determine whether the user is the target user in the current state.

[0076] The following describes a method for determining whether a user travels by subway.

[0077] refer to Figure 2 , Figure 2 The flow of a subway trip is shown as an example.

[0078] like Figure 2 As shown, the user first enters the starting subway station, then walks to the platform to wait for the train, enters the car, and starts riding the subway; the subway starts to move, and then the subway passes through one or more stations; after the subway arrives at the destination subway station, the user gets off and leaves the subway station.

[0079] based on Figure 2 From the process of taking a subway, it can be seen that a subway trip can include two characteristics: user characteristics and subway characteristics. Therefore, the electronic device in this application can determine whether the user travels by subway based on these two characteristics. Among them:

[0080] User characteristics

[0081] The user characteristics of a subway ride may include any one or more of the following two parts:

[0082] 1. Motion state time series characteristics: first walking state -> then subway state -> then walking state. The electronic device can determine whether the user characteristics meet the above-described motion state time series characteristics when riding the subway based on the data collected by the gyroscope sensor, acceleration sensor, etc. The speed when walking is lower than the speed when riding the subway.

[0083] 2. Location timing characteristics: starting station -> intermediate station -> destination station. The location of the electronic device can be determined through positioning data. For example, it can be judged based on the geographic fences of each subway line station, and then judged based on the location of the electronic device whether it meets the above-mentioned location timing characteristics. During a subway ride, you will pass through at least two stations in succession. Sometimes the total number of stations may be 2, that is, directly from the starting station to the destination station without intermediate stations.

[0084] Subway Features

[0085] The subway characteristics of a subway ride may include any one or more of the following:

[0086] 1. Travel speed: During the ride, the detected speed reaches the average travel speed of the subway, such as 80km / h.

[0087] 2. Driving acceleration: During the ride, the acceleration detected reaches the average driving acceleration of the subway, such as 1.5m / s 2 ~2.5m / s 2 .

[0088] 3. Travel time between sites: The travel time between two adjacent sites is within a preset range, such as 2-3 minutes.

[0089] 4. Parking time at a certain station: The parking time at a certain station is within a preset range, such as 30s.

[0090] In some embodiments of the present application, the electronic device can determine whether there is a set of data that meets all of the above user characteristics and subway characteristics in the collected data. If so, it is considered that there is a subway trip behavior; if there are multiple sets of data that meet the conditions, it is considered that there are multiple subway trip behaviors. A set of data here can refer to data collected by the electronic device within a time period (such as the commuting time period, the commuting time period, etc.).

[0091] In other embodiments, if the collected data has a feature matching degree that reaches a certain degree (such as a second threshold), it can be considered that there is a behavior of taking the subway. The matching degree refers to the degree to which the data collected by the electronic device can match the characteristics of the user's subway ride. The feature matching degree here can be set as needed. For example, if the matching degree of the user's characteristics reaches 90%, then the matching degree of the subway characteristics reaches 30%, which can be considered as a behavior of taking the subway.

[0092] Through S101-S102, the electronic device can collect data by itself and judge whether the user is the target user based on the collected data, without relying on the third-party APP providing travel services to provide information, and can learn whether the user is the target user. This method is convenient and fast, and has low implementation cost.

[0093] If the determination result of S102 is yes, that is, if the current user is the target user, the electronic device continues to execute subsequent steps.

[0094] S103, after the electronic device detects entering a subway station, it recommends travel services.

[0095] The electronic device can determine the current location through the collected positioning data. The electronic device is pre-set with the location data of each station on each subway line in the city. By comparing the current location with the pre-set location data, it can be determined whether the current location has entered the subway station, and the specific subway station entered. In other words, the electronic device can detect whether the current location has entered the subway station through geo-fencing technology.

[0096] In some implementations, upon detecting entry into a subway station, the electronic device recommends travel services.

[0097] In some embodiments, the electronic device can recommend travel services after detecting the user entering a subway station and performing a wrist flip operation. The user's wrist flip operation can be performed by the electronic device, or it can be detected by other devices connected to the electronic device (such as wearable devices such as smart watches and smart bracelets) and then notified to the electronic device. The wrist flip operation expresses the user's intention to use the mobile phone, and the recommended travel services can meet the user's actual needs.

[0098] The following are specific ways to recommend travel services.

[0099] Depend on Figure 2 It can be seen that during a subway trip, the user goes through multiple stages. In order to provide the user with a better user experience, the electronic device can recommend travel services in these multiple stages. The following is an example of recommendation.

[0100] Pit Stop

[0101] The entry stage may refer to the period from when the user enters the subway station to when he passes through the subway gate or takes the subway. After detecting that the user has entered the subway station, the electronic device may display a shortcut to the interface where the entry certificate or exit certificate is located. In this way, the user can directly trigger the electronic device to display the entry certificate (such as the subway boarding code or NFC card swiping interface) through the shortcut, and use the entry certificate to enter the subway gate to take the subway. This method is convenient and fast for users.

[0102] In some embodiments, the electronic device may also display the name of the current subway station and navigation information from the current location to the waiting platform. Usually, a subway station may include multiple waiting platforms, such as waiting platforms for different subway lines, waiting platforms for the same line in different directions, etc. The electronic device may collect the user's usage data to learn the user's frequently used waiting platforms and then provide guidance to the user.

[0103] While traveling

[0104] The ride refers to the period from when the user starts riding to when the user gets off at the terminal. After the electronic device detects that the user has started riding (for example, it can be determined by the state of riding the subway in the user characteristics, the driving speed and driving acceleration in the subway characteristics), it can display a shortcut to the interface where the entry or exit certificate is located.

[0105] In some embodiments, during the ride, the electronic device may also display any one or more of the following information: the name of the current subway station, the name of the current subway line, the number of stations from the terminal station, the estimated time required to reach the terminal station, etc. The terminal station may be learned by the electronic device from the user's usage data, and this application does not limit the specific learning method.

[0106] Arrival

[0107] The arrival stage may refer to the period from when the user arrives at the terminal to when he passes through the subway gate or leaves the station. After detecting the entry into the terminal, the electronic device may display a shortcut to the interface where the entry or exit credentials are located. In this way, the user can directly trigger the electronic device to display the exit credential (such as the subway boarding code) through the shortcut, and use the exit credential to enter the subway gate and leave the subway station. This method is convenient and fast for users.

[0108] In some embodiments, the electronic device may also display any one or more of the following: the name of the terminal station, prompt information for prompting the user to get off the train, and navigation information from the current platform to the exit. Usually, a subway station may include multiple exits, and the electronic device may collect the user's usage data to learn the exits that the user often uses, and then provide guidance to the user.

[0109] Departure

[0110] After the user leaves the subway station, the subway trip ends and the user does not need the entry or exit credentials. Therefore, after the electronic device detects that the user has left the subway station, the shortcut to the interface where the entry or exit credentials are located may no longer be displayed.

[0111] From the introduction of the above stages, it can be seen that during a target user's subway trip, the specific content of the travel service recommended by the electronic device can be refreshed at different stages, providing the user with the information required at different stages, thereby giving the user a better terminal usage experience.

[0112] The following is a UI example of an electronic device recommending travel services.

[0113] Figure 3A A UI for recommending travel services on the lock screen interface is shown.

[0114] like Figure 3A As shown, after the electronic device detects that it has entered a subway station, if it is in a locked screen state, it can display a user interface 31. The user interface 31 is a lock screen interface. A notification message 301 is displayed in the user interface 31, and the notification message 301 includes: the name 301A of the provider of the notification message 301, the identifier 301B of the function of providing entry or exit credentials, and prompt information 301C. The name 301A indicates that the current notification message 301 is provided by the system of the electronic device, such as provided by the system application "YOYO Suggestion". The identifier 301B can be implemented in the form of a function name, icon, etc. Figure 3A The mark 301B in the figure indicates that the electronic device recommends the subway boarding code function for providing entry or exit credentials. The prompt information 301C is used to prompt the user how to use the travel service.

[0115] Figure 3B A UI for recommending travel services on the main interface is shown.

[0116] like Figure 3B As shown, after the electronic device detects entering a subway station, it can display a user interface 32, which is a main interface (also called a desktop). The user interface 32 displays a notification card 302, which includes: an identifier 302A for providing a station entry or exit credential, the name 302B of the current station, and a control 302C. The identifier 302A can be implemented in the form of a function name, icon, etc. Figure 3B The mark 302A in the figure indicates that the electronic device recommends providing the entry or exit credentials as the subway boarding code function. The control 302C can be used to start the subway boarding code function. Figure 3BAs shown, the name of the provider of the notification card 302 and the logo of the function of providing entry credentials or exit credentials may also be displayed below the notification card 302.

[0117] like Figure 3B As shown, a suspended capsule 303 may also be displayed in the user interface 32. The suspended capsule 303 may be displayed suspended above other interface elements, and may be dragged to other locations in the display screen as the user's finger slides. The suspended capsule 303 displays an icon 303A of a travel mode, an identifier 303B of a function for providing an entry or exit credential, and the name 303C of the current station. In some embodiments, after the suspended capsule 303 is displayed for a period of time, if no user operation is received, part of the content therein may be hidden to the side of the display screen to avoid blocking other interface elements. The suspended capsule 303 may be provided by the system of the electronic device.

[0118] In some other implementations, when the electronic device displays the main interface, only the notification card 302 may be displayed without simultaneously displaying the suspended capsule 303 .

[0119] Figure 3C A UI for recommending travel services in application interfaces other than the desktop is shown.

[0120] like Figure 3C As described above, after the electronic device detects entering a subway station, when displaying the user interface 33 provided by other applications (which may be referred to as the first application) other than the desktop, the suspended capsule 303 may be displayed on the user interface 33. For the content and provider of the suspended capsule 303, please refer to Figure 3B Other applications outside the desktop can be system applications or third-party application functions.

[0121] Figure 3D The user interface displayed after the electronic device starts the function of providing entry credentials or exit credentials is shown.

[0122] like Figure 3D As shown, a boarding code 304 is displayed in the user interface 34. The boarding code 304 can be provided by the mini program. The boarding code 304 can be a subway boarding code for the user to scan the code to pass the subway gate, that is, the entry certificate.

[0123] Figure 3D The user interface 34 shown may be a Figure 3A The user operation after the notification message 301 in the unlocked interface, or the electronic device may detect the action on Figure 3B The interface displayed after the user operates the middle control 302C or the suspended capsule 303, or the electronic device detects the action on Figure 3CThe interface displayed after the user operates the suspended capsule 303.

[0124] Not limited to Figure 3D The subway boarding code shown, in some other implementations, the electronic device can also display an NFC card swiping interface.

[0125] Figure 3E The figure shows the UI provided by the electronic device while riding in a car.

[0126] like Figure 3E As shown in the user interface 35, during the ride, the electronic device can update the information in the notification card 302 and the suspension capsule 303, such as updating the current subway station, so that the user can know the current station at any time.

[0127] Figure 3F The UI provided by the electronic device after arriving at the station is shown.

[0128] like Figure 3F In the user interface 36 shown, after the electronic device detects that it has reached the terminal station, it can update the information in the notification card 302 and the suspension capsule 303, for example, updating the current station to the terminal station and prompting the user to exit the station. The terminal station can be set by the user, or it can be collected and learned by the electronic device during the user's use of the device.

[0129] Electronic devices detect the action on Figure 3F After the user operates on the control 302C in , the user interface where the outbound credentials are located can be displayed, such as similar Figure 3D The user interface shown allows users to quickly scan codes to pass through subway gates.

[0130] After the electronic device detects leaving the station, the notification message 301, the notification card 302 and the suspended capsule 303 may no longer be displayed.

[0131] Figure 3G-3H The diagram shows a UI provided by a wearable device connected to an electronic device.

[0132] like Figure 3G In the user interface 37 shown, after an electronic device (such as a mobile phone) detects that the user has entered a subway station, a wearable device (such as a smart watch) connected to the electronic device can also recommend travel services. For example, the wearable device can also display and Figure 3B An interface element similar to the notification card 302 in FIG.

[0133] like Figure 3G As shown, after the wearable device detects the user operation on the "View Ride Code" control in the figure, it can start the application that provides the entry or exit credentials and jump to the display Figure 3HThe subway boarding code in the user interface 38.

[0134] From the above Figure 3A-3G It can be seen from the exemplary UI that during a subway trip of the target user, the content of the travel services recommended by the electronic device can be refreshed at different stages to provide the user with the information required at different stages, thereby giving the user a better terminal usage experience.

[0135] From the above Figure 3A-3G As can be seen from the exemplary UI, the electronic device can have multiple ways of recommending travel services. Figure 3A The lock screen interface shown in the figure recommends travel services. Figure 3B Recommend travel services in the notification card on the main interface shown in Figure 3C The interface provided in the application shown recommends travel services. Figure 3G The wearable device connected through the electronic device shown recommends travel services, etc. Without limitation, the electronic device may also display a notification message recommending travel services at the top of the display screen, and the notification message may automatically disappear after being displayed for a period of time, etc.

[0136] In this application, the user interface for recommending travel services may be referred to as the first interface. The first interface may include, for example, Figure 3A-3C , Figure 3E-Figure 3F The control used to trigger the display of the entry / exit credential may be referred to as the first element. The first element may include, for example, a notification message 301, a control 302C, a suspended capsule 303, and the like.

[0137] In the present application, the electronic device can continuously update or learn the user's status and determine whether the user is a target user in the current status.

[0138] In some embodiments of the present application, if the user is a core target population, the electronic device can recommend travel services in a variety of ways, such as recommending travel services on the lock screen interface, in the notification card of the main interface, through a suspended capsule, or through a wearable device connected to the electronic device. In one embodiment, for the core target population, the electronic device can recommend travel services in a full-path manner, and the full path includes all recommendation methods supported by the electronic device, and can also include all recommendation methods supported by the wearable device connected to the electronic device. The core target population may include users who travel frequently by subway, such as users whose subway travel frequency is greater than a third threshold (for example, 5 times / week or 20 times / month). For users who travel frequently, recommending travel services in a variety of ways allows users to learn about travel services through a variety of paths, and then travel conveniently through travel services.

[0139] In other embodiments of the present application, if the user is a non-core target group, the electronic device may only provide one or a few ways to recommend travel services. For example, the electronic device may only recommend travel services in the notification card of the main interface. This can not only meet the user's possible travel needs, but also minimize the processing complexity and power consumption of the electronic device.

[0140] The application mentioned in this application that provides inbound credentials or outbound credentials can be called a second application.

[0141] The application that provides entry or exit credentials mentioned in this application may be a system application, a third-party application, a mini-program, etc. installed in an electronic device. The application has the function of providing exit or exit credentials. Exemplarily, the application may include WeChat, Alipay, Cloud QuickPass, Honor Wallet, etc. For different regions, the same application can provide entry or exit credentials corresponding to different cities. For example, Shenzhen City corresponds to the Shenzhen Metro Ride Code, and Wuhan City corresponds to the Wuhan Metro Ride Code.

[0142] In some embodiments, the cloud-side server can collect big data, recommend applications that match the current region and functions in the application functions, and send the recommendation results to each electronic device. The big data here may include information about applications that are activated when users use each electronic device to provide entry or exit credentials, as well as information about functions activated in the application to provide entry or exit credentials. For example, the cloud-side server analyzes the collected data. If it is learned that most users in Shenzhen use the mini program "Shenzhen Tong Bus Code", the cloud-side server can send the indication information of the "Shenzhen Tong Bus Code" to each electronic device, so that each electronic device can provide entry or exit credentials through the mini program "Shenzhen Tong Bus Code".

[0143] In some other embodiments, the application that provides entry or exit credentials corresponding to the travel service recommended by the electronic device can be set by the user independently, or obtained by the electronic device by learning the user's usage habits.

[0144] Not limited to Figure 1As well as the recommendation of travel services when traveling by subway as introduced in the previous UI embodiment, the method provided by the present application can also be used in scenarios of traveling by other modes. For example, the method of recommending travel services provided by the present application can also be used in scenarios such as traveling by train / EMU / high-speed rail, bus, coach, airplane, ferry, etc. When the present application is applied to scenarios such as traveling by train / EMU / high-speed rail, bus, coach, airplane, ferry, etc., the electronic device can also collect data from the user during the use of the device, determine whether the user is a target user based on the collected data, and recommend travel services corresponding to the travel mode to the target user. Unlike the subway travel scenario, the target users include users who travel by the corresponding travel mode, and the user characteristics and vehicle characteristics can also be adjusted according to the travel mode, for example, the speed in the vehicle characteristics can change.

[0145] The electronic device provided by the embodiments of the present application is introduced below.

[0146] Figure 4 The hardware structure diagram of the electronic device 100 provided in the embodiment of the present application is shown. The electronic device 100 is used to execute the image recommendation method provided in the above method embodiment.

[0147] The electronic device 100 may include a processor 101, a memory 102, a wireless communication module 103, a mobile communication module 104, an antenna 103A, an antenna 104A, a power switch 105, a sensor module 106, a focus motor 107, a camera 108, a display screen 109, etc. Among them, the sensor module 106 may include a gyroscope sensor 106A, an acceleration sensor 106B, an ambient light sensor 106C, an image sensor 106D, a distance sensor 106E, etc. Among them, the wireless communication module 103 may include a WLAN communication module, a Bluetooth communication module, etc. The above multiple parts can transmit data through a bus.

[0148] The processor 101 may include one or more processing units, for example, the processor 101 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0149] The memory 102 may be used to store computer executable program codes, and the executable program codes may include instructions. The processor 101 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the memory 102. The memory 102 may include a program storage area and a data storage area. In a specific implementation, the memory 102 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.

[0150] The wireless communication function of the electronic device 100 can be implemented through the antenna 103A, the antenna 104A, the mobile communication module 104, the wireless communication module 103, the modem processor and the baseband processor.

[0151] Antenna 103A and antenna 104A can be used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas.

[0152] The mobile communication module 104 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 104 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 104 can receive electromagnetic waves through the antenna 104A, and filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 104 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 104A.

[0153] The modulation and demodulation processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is transmitted to the application processor. The application processor outputs a sound signal through an audio device, or displays an image or video through the display screen 109.

[0154] The wireless communication module 103 can provide wireless communication solutions including wireless local area networks (WLAN), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 103 can be one or more devices integrating at least one communication processing module. The wireless communication module 103 receives electromagnetic waves via the antenna 103A, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 101. The wireless communication module 103 can also receive the signal to be sent from the processor 101, modulate the frequency of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna 103A.

[0155] The power switch 105 may be used to control the supply of power to the electronic device 100 .

[0156] The gyro sensor 106A can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 106A. The gyro sensor 106A can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 106A detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 106A can also be used for navigation and somatosensory game scenes.

[0157] The acceleration sensor 106B can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device. For example, the acceleration sensor 106B can be applied to applications such as horizontal and vertical screen switching, pedometers, etc.

[0158] The ambient light sensor 106C is used to sense the brightness of the ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 109 according to the sensed brightness of the ambient light. The ambient light sensor 106C can also be used to automatically adjust the white balance when taking pictures.

[0159] The image sensor 106D, also known as a photosensitive element, can utilize the photoelectric conversion function of the photoelectric device to convert the light image on the photosensitive surface into an electrical signal that is proportional to the light image. The image sensor can be a charge coupled device (CCD) sensor or a complementary metal-oxide-semiconductor (CMOS) sensor.

[0160] The distance sensor 106E can be used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. In some shooting scenarios, the electronic device 100 can use the distance sensor 106E to measure the distance to achieve fast focusing.

[0161] The focus motor 107 can be used for fast focusing. The electronic device 100 can control the movement of the lens through the focus motor 107 to achieve automatic focusing.

[0162] The electronic device 100 can realize the shooting function through the ISP, the camera 108, the video codec, the GPU, the display screen 109 and the application processor.

[0163] The ISP is used to process the data fed back by the camera 108. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 108.

[0164] The camera 108 can be used to capture still images or videos. The object generates an optical image through the lens and projects it onto the image sensor. The image sensor can convert the optical signal into an electrical signal, and then transmit the electrical signal to the ISP to convert it into a digital image signal. The ISP can output the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0165] The video codec is used to compress or decompress digital images. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can open or save pictures or videos in multiple coding formats.

[0166] The electronic device 100 can realize the display function through a GPU, a display screen 109, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 109 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 101 may include one or more GPUs, which execute program instructions to generate or change display information.

[0167] The display screen 109 is used to display images, videos, etc. The display screen 109 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 109, where N is a positive integer greater than 1.

[0168] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0169] In the embodiment of the present application, each sensor in the sensor module 106 and the wireless communication module 103 in the electronic device 100 can be used to collect data during the user's use of the electronic device. The processor 101 can be used to determine whether the current user is a target user based on the collected data. The various sensors in the sensor module 106 and the wireless communication module 103 of the processor 101 can be used to collect data in real time. The processor 101 can determine whether the user is currently traveling by subway or other means of transportation, and the current travel stage based on the data. If so, the scheduling related modules provide the user with travel services corresponding to the corresponding travel mode. The display screen 109 can be used to display information about travel services recommended by the processor 101, such as the above Figure 3A-Figure 3F The user interface shown.

[0170] The operations performed by the various components in the electronic device 100 may be specifically referred to the relevant description of the above method embodiment, which will not be elaborated here.

[0171] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. The present application embodiment takes a mobile operating system with a layered architecture as an example to exemplify the software structure of the electronic device 100.

[0172] Figure 5 It is a software structure block diagram of the electronic device 100 according to an embodiment of the present application.

[0173] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the mobile operating system is divided into four layers, from top to bottom: application layer, application framework layer / core service layer, system library and runtime, and kernel layer.

[0174] The application layer can include a series of application packages.

[0175] like Figure 5 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc. The application package also includes an application that provides inbound credentials or outbound credentials, which may be a system application, a third-party application, a mini-program, etc. installed in the electronic device. The application has the function of providing outbound credentials or outbound credentials. Exemplarily, the application may include WeChat, Alipay, Cloud QuickPass, Honor Wallet, etc.

[0176] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0177] like Figure 5 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0178] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0179] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0180] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0181] The phone manager is used to provide communication functions for electronic devices, such as the management of call status (including answering, hanging up, etc.).

[0182] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0183] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0184] The runtime can refer to all code libraries, frameworks, etc. required for the program to run. For example, for the C language, the runtime includes a series of function libraries required for the C program to run. For the Java language, in addition to the core library, the runtime also includes the virtual machine required for the Java program to run. The above core library may include the function functions that the Java language needs to call.

[0185] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0186] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0187] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0188] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0189] A 2D graphics engine is a drawing engine for 2D drawings.

[0190] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0191] It should be understood that each step in the above method embodiment can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.

[0192] The present application also provides an electronic device, which may include: a memory and a processor. The memory may be used to store a computer program; the processor may be used to call the computer program in the memory so that the electronic device executes the method executed by the electronic device side in any of the above embodiments.

[0193] The present application also provides an electronic device, which may include: a memory and a processor. The memory may be used to store a computer program; the processor may be used to call the computer program in the memory so that the electronic device executes the method executed by the electronic device side in any of the above embodiments.

[0194] The present application also provides a chip system, which includes at least one processor for implementing the functions involved in the electronic device side in any of the above embodiments.

[0195] In one possible design, the chip system also includes a memory, which is used to store program instructions and data, and the memory is located inside or outside the processor.

[0196] The chip system may be composed of the chip, or may include the chip and other discrete devices.

[0197] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.

[0198] Optionally, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be separately arranged with the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be arranged on different chips respectively. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.

[0199] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.

[0200] The present application also provides a computer program product, which includes: a computer program (also referred to as code, or instruction), which, when executed, enables a computer to execute the method executed by the electronic device side in any of the above embodiments.

[0201] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program (also referred to as code or instruction). When the computer program is executed, the computer executes the method executed by the electronic device side in any of the above embodiments.

[0202] The various implementation modes of the present application can be combined arbitrarily to achieve different technical effects.

[0203] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)), etc.

[0204] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0205] In short, the above is only an embodiment of the technical solution of this application, and is not intended to limit the protection scope of this application. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of this application shall be included in the protection scope of this application.

Claims

1. A method for recommending travel services, characterized in that: The method comprises: collecting first data; According to the first data, determining the current user as a target user, wherein the target user includes users who have historically traveled by the first travel mode; Detecting that the user has entered a transportation station corresponding to the first travel mode; Displaying a first interface, wherein a first element is displayed in the first interface; detecting a user operation acting on the first element; The station entry credential corresponding to the first travel mode is displayed.

2. The method according to claim 1, characterized in that The first data includes any one or more of sensor data and positioning data.

3. The method according to claim 1 or 2, characterized in that: The target users specifically include users whose historical travel frequency using the first travel mode is higher than a first threshold.

4. The method according to any one of claims 1 to 3, characterized in that: If the first data includes data matching the first travel feature, or if the first data includes data whose matching degree with the first travel feature reaches a second threshold, the current user has historically traveled via the first travel mode; Among them, the first travel characteristics include user characteristics and vehicle characteristics. The user characteristics include the movement status and / or position change of the user when traveling by the first travel mode. The vehicle characteristics include any one or more of the following: the driving speed, driving acceleration, driving time between transportation stations, and parking time at the station of the vehicle.

5. The method according to any one of claims 1 to 4, characterized in that: Before displaying the first element, the method further includes: Wrist flick detected.

6. The method according to any one of claims 1 to 5, characterized in that: The first interface is a lock screen interface, and the first element is a notification message in the lock screen interface; Alternatively, the first interface is a desktop, the first element is a notification card in the desktop, and the first element is a first control displayed in the notification card; Alternatively, the first interface includes an interface provided by a first application, and the first element is a floating capsule displayed on the interface provided by the first application.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: In the first interface, any one or more of the following items are displayed: the name of the current transportation station, and navigation information from the current location to the waiting platform.

8. The method according to any one of claims 1 to 7, characterized in that: After detecting that the user has entered a traffic stop corresponding to the first travel mode, the method further includes: The start of the ride is detected; Any one or more of the following items are displayed in the first interface: the name of the current transportation station, the name of the current transportation route, the number of transportation stations from the terminal, and the time required to reach the terminal.

9. The method according to any one of claims 1 to 8, characterized in that: After detecting that the user has entered a traffic stop corresponding to the first travel mode, the method further includes: Arrival at the terminal is detected; detecting a user operation acting on the first element; The exit credential corresponding to the first travel mode is displayed.

10. The method according to claim 9, characterized in that After detecting arrival at the terminal, the method further includes: Any one or more of the following items are displayed in the first interface: the name of the current transportation station, prompt information for prompting the user to get off the bus, and navigation information from the current location to the exit.

11. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: Detecting departure from the transportation station corresponding to the first travel mode; Stop displaying the first element in the first interface.

12. The method according to any one of claims 1 to 11, characterized in that: If the frequency of the current user's historical use of the first travel mode is greater than a third threshold, then the number of the first interfaces is multiple; If the frequency of the current user's historical use of the first travel mode is less than a third threshold, the number of the first interfaces is one.

13. The method according to any one of claims 1 to 12, characterized in that: The station entry credential corresponding to the first travel mode is provided by a second application, which is learned based on big data or set by the user.

14. The method according to any one of claims 1 to 13, characterized in that: The first travel mode includes traveling by subway, and the entry credential corresponding to the first travel mode includes a subway boarding code.

15. An electronic device, characterized in that: include: A memory and one or more processors; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute the method as described in any one of claims 1-14.

16. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on an electronic device, the electronic device executes the method as claimed in any one of claims 1 to 14.

17. A chip system, the chip system is applied to electronic equipment, the chip system comprises one or more processors, characterized in that: The processor is configured to call computer instructions so as to execute the method according to any one of claims 1 to 14.

Citation Information

Patent Citations

  • Intelligent equipment awakening method and device and electronic equipment

    CN111968644A

  • Traffic information recommendation method and device, electronic equipment and computer storage medium

    CN114154711A

  • Software purchase mode recommendation method and device, terminal equipment and medium

    CN114186197A

  • Subway travel detection method and electronic equipment

    CN114489868A

  • Travel mode recommendation method and device, storage medium and computer program product

    CN115221422A