Riding information display method, electronic equipment and medium

By detecting the user's location and usage, based on the frequency and historical data of the candidate passenger code collection, the most commonly used or recently used ride codes are displayed, which solves the problem of inaccurate ride code recommendations and simplifies taking public transportation tools The process.

CN119106180APending Publication Date: 2024-12-10HONOR DEVICE CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310688166.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-09
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

In the prior art, the automatic reading of the ride code is difficult to match the services actually used by the user, resulting in inaccurate recommendation of the ride code, especially when the user does not install relevant software or uses public transportation in different cities, it cannot be obtained correctly. and show ride codes.

Method used

By detecting the user's location and usage, obtaining the user's installed ride code application and supported ride code, and based on the usage frequency and historical data in the candidate ride code collection, determine and display the most commonly used or recently used by the user. The ride code is to match the actual needs of users.

Benefits of technology

It improves the accuracy of recommended ride codes, ensures that users can easily use the correct ride codes, avoids the problem of not installing or mismatching the software, and simplifies the process of taking public transportation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119106180A_ABST
    Figure CN119106180A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of mobile terminals, and discloses a riding information display method, electronic equipment and a medium, in the display method, riding codes frequently used by a user or the riding code used last time can be displayed on the electronic equipment based on the use condition of the riding codes by the user, and the user experience is improved. Therefore, the riding code displayed on the electronic equipment is matched with the actual demand of the user, and the accuracy of recommending the riding code to the user can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of mobile terminals, and in particular to a method for displaying riding information, an electronic device and a medium. Background Art

[0002] As urban rail transit becomes more and more complete, more and more users choose to travel by public transportation, such as subways, high-speed trains, buses, etc. In addition, with the development of mobile Internet technology and the popularization of smart mobile terminals, more and more users choose to use the boarding code to take public transportation, for example, Figure 1 As shown, the user 10 only needs to use a mobile phone 20 or other electronic device to show the boarding code 21 to the code scanner of the public transportation to take the public transportation. In the existing scheme of displaying the boarding code, it is necessary to open the boarding code service software (such as payment software, travel software, etc.), and then trigger the boarding code service in the software to obtain the boarding code and display it. However, this method is complicated to operate and is prone to congestion at public transportation stations during peak hours of taking public transportation.

[0003] In order to solve the above problems, in some schemes for displaying the boarding code, when the electronic device detects that the user needs to use the boarding code (such as detecting that the user enters the station), the electronic device can automatically display the boarding code in the boarding code service software. However, the automatically read boarding code is generally limited to the boarding code in the boarding code service software that has established recommended cooperation with the public transportation in the current city, and may not match the boarding code in the boarding code service software actually used by the user. For example, the boarding code service software recommended for cooperation with a subway in a certain place includes A, B, and C, and the boarding code service software actually used by the user is D. Therefore, the automatically read boarding code will only be the boarding code in any one of the software A, B, and C, and will not be the boarding code in the software D, resulting in a mismatch with the actual use needs of the user; or because the user has not installed the boarding code service software A, B, and C on the electronic device, the boarding code in the boarding code service software cannot be read; that is, the accurate recommendation of the boarding code cannot be achieved. Summary of the invention

[0004] In order to solve the problem that it is impossible to achieve accurate recommendation of boarding codes, the embodiments of the present application provide a method, electronic device and medium for displaying boarding information.

[0005] A first aspect of an embodiment of the present application provides a method for displaying boarding information, the method comprising:

[0006] Detecting that the first electronic device meets the display condition; obtaining a set of candidate boarding codes, wherein the set of candidate boarding codes includes: boarding codes of a boarding application installed on the first electronic device and supported by a first boarding station, and boarding codes of a boarding application installed on a second electronic device within a first driving area of ​​a vehicle at the first boarding station and supported by the first boarding station; determining a first boarding code from the set of candidate boarding codes based on usage of each boarding code in the set of candidate boarding codes by the first electronic device; and displaying the first boarding code.

[0007] Based on the above scheme, based on the user's usage of the boarding code, the boarding code frequently used by the user or the boarding code used most recently can be displayed on the first electronic device, so that the boarding code displayed on the first electronic device matches the user's actual needs, which can improve the accuracy of recommending the boarding code to the user.

[0008] It can be understood that the first electronic device may refer to an electronic device held by a user, and the second electronic device may be an electronic device held by other users. Among them, the electronic device may be any implementable electronic device such as a smart phone, a tablet computer, a smart watch or a personal digital assistant. The first driving area of ​​the means of transportation at the first boarding station may refer to a city, such as the city where the subway is located, the city where the bus is located. In the following of this application, the boarding code of the boarding application installed on the first electronic device is described as the first candidate boarding code set, the boarding code of the boarding application supported by the first boarding station is described as the second candidate boarding code set, and the first boarding code is described as the first target boarding code.

[0009] In the embodiment of the present application, the boarding code installed by the first electronic device may be referred to as the boarding code supported by the first electronic device. The boarding code of the boarding application supported by the first boarding station may refer to the boarding code of the boarding application supported by the public transportation at the first boarding station. By selecting the first boarding code to be displayed from the boarding codes of the boarding application installed by the first electronic device held by the user and supported by the first boarding station, it is possible to avoid the situation where the boarding code of the boarding application cannot be obtained to be displayed to the code scanner at the first boarding station due to the fact that the first electronic device has not installed the boarding application, thereby causing the user to be unable to take the public transportation at the first boarding station. At the same time, it is possible to avoid the situation where the public transportation at the first boarding station does not support the boarding application, resulting in the boarding code of the boarding application being obtained to be displayed to the code scanner at the first boarding station but still unable to take the public transportation at the first boarding station.

[0010] In a possible implementation of the first aspect above, the display conditions include: the current location of the first electronic device is within the first range of the first boarding station; or the current location of the first electronic device is within the first range of the first boarding station, and the first electronic device is subjected to a preset operation, and the preset operation includes at least one of touching the interface display, pressing the lock screen key, and changing the orientation of the display interface.

[0011] It is understood that the first preset range may refer to the preset range of the first boarding station. The preset range may be a range with a preset radius centered on the first boarding station, or may be the entrance and exit of a subway station, a bus station platform, an entrance and exit of a terminal building, etc.

[0012] In the embodiment of the present application, by presetting the display conditions of the first electronic device held by the user to display the boarding code, when it is detected that the first electronic device meets the display conditions, the boarding code can be recommended to the user in a timely manner to meet the user's actual needs.

[0013] In a possible implementation of the first aspect above, based on the usage of each boarding code in the candidate boarding code set by the first electronic device, a first boarding code is determined from the candidate boarding code set, including: corresponding to the boarding codes in the candidate boarding code set that have been used by the first electronic device, selecting the boarding code with the highest frequency of use by the first electronic device from the candidate boarding code set as the first boarding code.

[0014] It can be understood that the use of each boarding code in the candidate boarding code set by the first electronic device may include that there are boards in the candidate boarding code set that have been used by the first electronic device or that no boards in the candidate boarding code set have been used by the first electronic device.

[0015] In some optional examples, when a user takes a subway at a permanent location, a subway code that the user frequently uses may be recommended to the user. When a user takes a subway at a non-resident location, a subway code that the user frequently uses at a permanent location may be recommended to the user, and the subway code supports non-resident subways. Based on the user's use of the code, the most frequently used code may be recommended to the user, so that the recommended code matches the user's actual needs, and the accuracy of recommending the code to the user may be improved.

[0016] In a possible implementation of the first aspect above, it also includes: determining a second boarding code from a set of candidate boarding codes, and displaying the second boarding code, wherein the frequency of the first electronic device using the second boarding code is higher than a usage frequency threshold, and the frequency of the first electronic device using the second boarding code is lower than the frequency of using the first boarding code.

[0017] It can be understood that the first boarding code and the second boarding code can be determined from the candidate boarding code set at the same time, that is, the third candidate boarding code set described below in this application.

[0018] In an embodiment of the present application, in order to meet the actual needs of users, multiple boarding codes can be determined from a set of candidate boarding codes for users to choose from, such as a first boarding code with the highest frequency of use and a second boarding code with the second highest frequency of use, so that users can choose one of them according to their actual needs to display it to the code scanner at the first boarding station, which can improve the accuracy of recommending boarding codes to users.

[0019] In a possible implementation of the first aspect above, it also includes: determining a second boarding code from the set of candidate boarding codes, and displaying the second boarding code, wherein the second boarding code is the boarding code most recently used by the first electronic device, and the frequency of the first electronic device using the second boarding code is lower than the frequency of using the first boarding code.

[0020] In an embodiment of the present application, in order to meet the actual needs of users, multiple boarding codes can be determined from a set of candidate boarding codes for users to choose from, such as the first boarding code that is used most frequently and the second boarding code that was used most recently, so that users can choose one of them according to their actual needs to display it to the code scanner at the first boarding station, which can improve the accuracy of recommending boarding codes to users.

[0021] In a possible implementation of the first aspect described above, displaying the first boarding code includes: displaying the first boarding code in the form of a card; and displaying the second boarding code includes: displaying the second boarding code in the form of an icon.

[0022] In some optional instances, the first boarding code can be displayed in the form of a card in a first target area of ​​the display interface of the first electronic device, such as the top area, and the second boarding code can be displayed in the form of an icon in a second target area of ​​the display interface of the first electronic device, such as the middle area.

[0023] In some optional examples, the first boarding code may be displayed using a continuous learning and progressive recommendation method. For example, if only the first boarding code is selected from the candidate boarding codes to be recommended to the user, the first boarding code may be first displayed in the middle area of ​​the display interface of the first electronic device in the form of an icon, and when the user uses the first boarding code to take the public transportation at the first boarding station, that is, when the prediction is relatively accurate, the first boarding code may be displayed in the top area of ​​the display interface of the first electronic device in the form of a card.

[0024] In a possible implementation of the first aspect above, based on the usage of each boarding code in the candidate boarding code set by the first electronic device, a first boarding code is determined from the candidate boarding code set, including: corresponding to the boarding code in the candidate boarding code set that has been used by the first electronic device, selecting the boarding code of the boarding application that was most recently used by the first electronic device from the candidate boarding code set as the first boarding code.

[0025] In some optional examples, when a user takes the subway at a permanent location, the subway code used most recently may be recommended to the user. When a user takes the subway at a non-resident location, the subway code used most recently at the permanent location may be recommended to the user. The subway code used most recently may be the subway code used most recently at the permanent location, or the subway code used most recently at a non-resident location, and the subway code used most recently supports non-resident subways. By recommending the most recently used code to the user based on the user's usage of the code, the recommended code may match the user's actual needs, and the accuracy of recommending the code to the user may be improved.

[0026] In a possible implementation of the first aspect above, a first boarding code is determined from the candidate boarding code set based on usage of each boarding code in the candidate boarding code set by the first electronic device, including: the first electronic device has not used any boarding code corresponding to the boarding code in the candidate boarding code set, and a boarding code used by a second electronic device is selected from the candidate boarding code set as the first boarding code.

[0027] In a possible implementation of the first aspect above, the first boarding code is a boarding code of a boarding application most frequently used by the second electronic device.

[0028] In some optional instances, if the user has always used a subway card to take the subway and has never used a subway code, the most frequently used subway code by other users in the area can be recommended to the user.

[0029] In a second aspect, the present application provides an electronic device, comprising: a memory for storing instructions executed by one or more processors of the electronic device, and a processor, which is one of the one or more processors of the electronic device, for executing the method for displaying the riding information mentioned in the present application.

[0030] On the third aspect, the present application provides a readable storage medium, on which instructions are stored. When the instructions are executed on an electronic device, the electronic device executes the method for displaying the riding information mentioned in the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 According to some examples of the present application, a schematic diagram of an application scenario is shown;

[0032] Figure 2 According to some examples of the present application, a user takes the subway from home to the company for the entire trip;

[0033] Figure 3 According to some examples of the present application, a flow chart of a method for displaying riding information is shown;

[0034] Figure 4 According to some examples of the present application, a schematic diagram of displaying a target boarding code on a display interface of an electronic device is shown;

[0035] Figure 5 According to some examples of the present application, another schematic diagram of displaying a target boarding code on a display interface of an electronic device is shown;

[0036] Figure 6 According to some examples of the present application, a schematic diagram of a recommended subway schedule is shown;

[0037] Figure 7 According to some examples of the present application, a schematic diagram of recommended site information is shown;

[0038] Figure 8 According to some examples of the present application, a schematic diagram of a recommended getting off reminder message is shown;

[0039] Fig. 9 According to some examples of the present application, a schematic diagram of the hardware structure of a terminal electronic device is shown. DETAILED DESCRIPTION

[0040] The illustrative embodiments of the present application include but are not limited to a method, electronic device and medium based on display of ride information.

[0041] It can be understood that the method for displaying the riding information provided in the embodiment of the present application can be executed by an electronic device. In practical applications, the electronic device can be any implementable mobile terminal such as a smart phone, a tablet computer, a smart wearable device or a personal digital assistant.

[0042] In order to solve the problem that the boarding code cannot be accurately recommended, the embodiment of the present application provides a method for displaying boarding information. When the electronic device determines that the user is within a certain range of the public transportation station based on the location information of the electronic device (or determines that the electronic device is within a certain range of the public transportation station and detects the user's preset operation, such as the operation of flipping the mobile phone, etc.), the electronic device can obtain a set of candidate boarding codes supported by the electronic device and supported by the public transportation in the current city, wherein the candidate boarding codes supported by the electronic device can be the boarding codes in the application installed by the electronic device. Then, based on the user's historical usage data of each candidate boarding code in the candidate boarding code set and the historical usage data of each candidate boarding code by other users in the current city, the boarding code that meets the user's needs is selected from the candidate boarding code set for display. For example, the boarding code with the highest historical usage frequency of the user in the candidate boarding code set, or the boarding code with the highest usage frequency of other users in the current city, etc. can be recommended. In this way, the boarding code supported by the user's electronic device and meeting the user's needs can be recommended to the user, so as to achieve accurate recommendation of the boarding code.

[0043] In some embodiments, the historical usage data of each candidate boarding code in the candidate boarding code set by the user may include: the historical usage frequency, usage record, etc. of each candidate boarding code in the candidate boarding code set by the user within a preset historical time period. The historical usage data of each candidate boarding code by other users in the current city may include: the historical usage frequency, usage record, etc. of each candidate boarding code in the candidate boarding code set by other users in the current city within a preset historical time period.

[0044] In some embodiments, the method of selecting a boarding code that meets the user's needs from the candidate boarding code set for display may include:

[0045] If the current location information and historical location information of the electronic device are used (for example, the electronic device is located in the current city for a historical period greater than a preset time period based on the historical location information), it is determined that the current city where the user is located is the user's permanent city, that is, it is determined that the user is in the permanent place of residence. And if it is determined that the user has used a public transportation tool supported by the permanent city (i.e., the current city) based on the user's historical usage data of each candidate boarding code, the most frequently used boarding code can be displayed, and the boarding code used the most recently can also be displayed.

[0046] If it is determined based on the user's historical usage data of each candidate boarding code that the user has not used a boarding code supported by public transportation in the user's resident city (i.e., the current city), the boarding code that is most frequently used by other users in the resident city can be displayed from the candidate boarding code set.

[0047] For example, if the current city where the user is located is determined to be Beijing based on the current location information of the electronic device, and the user's permanent city is determined to be Beijing based on the historical location information of the electronic device. Furthermore, if it is determined based on the user's historical usage data of each candidate boarding code that the user has used the boarding code for the Beijing subway, the Beijing subway boarding code a with the highest user frequency in the candidate boarding code set can be displayed. If it is determined based on the user's historical usage data of each candidate boarding code that the user has not used the boarding code for the Beijing subway, the Beijing subway boarding code b with the highest user frequency in the candidate boarding code set can be displayed.

[0048] If the user's current city is determined to be a non-resident city based on the current location information and historical location information of the electronic device (for example, based on the historical location information, it is determined that the electronic device is located in a non-current city for a historical period greater than a preset time), the user is determined to be in a different city. And if the user is determined to have used a boarding code supported by public transportation in the resident city and has not used a boarding code supported by public transportation in a non-resident city based on the user's historical usage data of each candidate boarding code, the boarding code that the user uses most frequently in the resident city can be displayed, or the boarding code that was most recently used in the resident city can be displayed.

[0049] If it is determined based on the user's historical usage data of each candidate boarding code that the user has used a boarding code supported by public transportation in his or her permanent city and a boarding code supported by public transportation in his or her non-resident city, the boarding code that the user uses most frequently in his or her non-resident city may be displayed, or the boarding code that was most recently used in his or her non-resident city may be displayed.

[0050] If it is determined based on the user's historical usage data of each candidate boarding code that the user has not used the boarding code of the permanent city and has not used the boarding code of the non-resident city, the boarding code most frequently used by other users in the non-resident city can be displayed.

[0051] For example, if the user's current city is determined to be Shanghai based on the current location information of the electronic device, and the user's permanent city is determined to be Beijing based on the historical location information of the electronic device. Furthermore, if the user has used the Beijing subway code and has not used the Shanghai subway code based on the user's historical usage data of each candidate code, the Beijing subway code a that is most frequently used by the user in the candidate code set can be displayed.

[0052] If it is determined based on the user's historical usage data of each candidate boarding code that the user has used the Beijing subway boarding code and the Shanghai subway boarding code, the Shanghai subway boarding code c that is most frequently used by the user in the candidate boarding code set can be displayed.

[0053] If it is determined based on the user's historical usage data of each candidate boarding code that the user has never used the Beijing subway boarding code and has never used the Shanghai subway boarding code, the Shanghai subway boarding code d that is most frequently used by other users in the candidate boarding code set can be displayed.

[0054] In some specific implementations, when only one boarding code that meets the user's needs is selected from the candidate boarding code set for display, the selected boarding code can be displayed in a first form (such as a card) in a first area of ​​the display interface (such as the top area of ​​the display interface of the mobile terminal). When multiple boarding codes that meet the user's needs are selected from the candidate boarding code set for display, one selected boarding code can be displayed in a first form (such as a card) in a first area of ​​the display interface (such as the top area of ​​the display interface of the mobile terminal device), and the remaining selected boarding codes can be displayed in a second form (such as an icon) in a second area of ​​the display interface (such as the middle area of ​​the display interface of the mobile terminal device). The display form and display area of ​​the boarding code described in the embodiment of the present application are only examples, and the display form and display area of ​​the boarding code can also include other methods, which are not specifically limited here.

[0055] In some instances, the scanning component corresponding to the shared bicycle can be recommended in the manner of recommending the boarding code described above, so that the user can use the scanning component to scan the QR code on the shared bicycle to unlock the shared bicycle and ride the shared bicycle.

[0056] In the embodiment of the present application, the method for displaying riding information may further include recommending a public transportation schedule. The method for recommending a public transportation schedule may include, when it is determined based on the location information of the electronic device that the user is within a certain range of a public transportation station, the electronic device may obtain a public transportation schedule and recommend it to the user.

[0057] In the embodiment of the present application, the method for displaying riding information may also include recommending station information. The station information recommendation method includes determining that the user is within a certain range of a station of a public transportation vehicle based on the location information of the electronic device. For example, when the user is on a public transportation vehicle, the electronic device may obtain the current station information and the upcoming station information to accurately recommend the station information of the public transportation vehicle to the user, so that the user can view the current station or the upcoming station in real time.

[0058] In an embodiment of the present application, the method for displaying riding information may further include recommendation of getting-off reminder information. The method for recommending getting-off reminder information may include determining that the user is within a certain range of a public transportation station based on the location information of the electronic device. For example, when the user is on the public transportation, the electronic device may obtain the current station information and the historical getting-off information, and recommend the getting-off reminder information to the user based on the current station information and the historical getting-off information.

[0059] In an embodiment of the present application, the method for displaying riding information may further include recommending exit guidance. The method for recommending exit guidance may include determining that the user is within a certain range of a station of a public transportation vehicle based on the location information of the electronic device, the electronic device may obtain the current station information and the current getting-off information, and recommending the exit guidance information to the user based on the current station information and the current getting-off information.

[0060] The following takes the subway as an example of the public transportation that the user needs to take to introduce the recommended riding information required in the method of displaying riding information.

[0061] like Figure 2 As shown, the entire journey of a user taking the subway from home to the company can include three processes: before boarding, during boarding, and after boarding. Among them, before boarding can include starting from home, going to the subway station, arriving at the subway station, security check, going to the entrance gate, entering the station, going to the boarding platform, and waiting for the train. During the ride, it can include getting on the train, on the way, arriving at the transfer station, getting off the train, going to the transfer platform, waiting for the transfer, getting on the train, on the way, arriving at the destination station, and getting off the train. After boarding, it can include leaving the station, going to the company, and arriving at the company.

[0062] In the process of leaving home and going through security check, user behaviors may include looking for the attached shared bicycle, checking in with the shared bicycle app to scan and unlock it, looking for a shared bicycle parking space, and parking to confirm and lock it.

[0063] From security check to the boarding platform, users can put their belongings into the security check equipment, queue up to wait for boarding, watch videos, read the news, or follow TV series while waiting.

[0064] In the process of going to the boarding platform and arriving at the transfer station, user behaviors may include opening the subway QR code application, scanning to enter the station, checking the time interval between subway arrivals, queuing for the subway, and carrying personal belongings on board.

[0065] In the process from arriving at the transfer station to boarding the bus, user behaviors may include watching videos, reading news, watching TV series, reading, sleeping, checking the station they are at, checking their belongings, and getting off the bus to transfer.

[0066] In the process of getting on the bus and heading to the exit gate, user behavior may include confirming the destination station to prepare to get off the bus, checking the station you are at along the way, and checking your belongings before getting off the bus.

[0067] In the process of going to the exit gate to arriving at the company, user behavior may include opening the subway QR code application and scanning the code to exit the station.

[0068] There are many user pain points in the entire travel process. For example, when a user is going to a subway station, if the subway station is too far from home, the user needs to ride a shared bicycle to the subway station. In this process, the user needs to first find a nearby shared bicycle, and then trigger the scanning component in the shared bicycle service software. The whole operation is complicated. Therefore, the scanning component of the shared bicycle that the user has used most frequently in the past month can be shown to the user.

[0069] In the process of entering the station, it is necessary to open the subway boarding code service software, and then trigger the subway boarding code service in the software to obtain the subway boarding code, and display the subway code to the subway code scanner. The whole operation is complicated. Therefore, based on the method for displaying boarding information mentioned in the embodiment of the present application, the subway boarding code that is most frequently used in the past month can be displayed to the user.

[0070] When the subway car is crowded and noisy during driving, users will not be able to see or hear the current station. Therefore, the current station information and the upcoming station information can be displayed to users, so that users can check the current station in time to avoid missing the station, and also allow users to check the upcoming station in real time and prepare to get off in advance. When arriving at the transfer station, the current station information can also be displayed to prevent users from missing the transfer station.

[0071] When getting off the train, if the train car is crowded and noisy, the user will not be able to see or hear the current station. Therefore, it is possible to display a reminder message to the user (such as Figure 2 In the message “We have arrived at XX station. Please prepare to get off to avoid missing your stop”), users are reminded to prepare to get off.

[0072] When leaving the station, users are not familiar with the destination and do not know which exit to take, which may lead to the wrong exit. Therefore, exit instructions can be displayed to users (such as Figure 2 In the “Exit B of the nearest exit of XX location”, users can reduce the number of wrong exits caused by unfamiliarity with the destination.

[0073] The following is an introduction to an embodiment of the method for displaying the riding information mentioned in the embodiment of the present application. Figure 3The present invention is a flow chart of a method for displaying riding information, which can be executed by an electronic device. In practical applications, the electronic device can be any implementable electronic device such as a smart phone, a tablet computer, a smart watch or a personal digital assistant. Figure 3 As shown, the method for displaying the riding information may include:

[0074] 301: When a user trigger operation is detected, the current location information and the first candidate boarding code set are obtained.

[0075] It can be understood that when a user triggers an electronic device, that is, a trigger signal is detected, the current location information of the electronic device held by the user can be obtained based on the global positioning system (GPS) of the electronic device. At the same time, the boarding code in the boarding service software installed on the electronic device can be obtained to obtain the first candidate boarding code set.

[0076] It can be understood that the user's triggering operation on the electronic device can be touching the display interface of the electronic device, pressing the lock screen key of the electronic device, changing the orientation of the display interface of the electronic device, etc. For example, when the user turns on the display screen of the mobile terminal device, a trigger signal can be detected. When the user turns his wrist to change the orientation of the smart watch, a trigger signal can be detected.

[0077] In some optional examples, when a user's triggering operation is detected, the boarding code in the boarding code service software installed on the electronic device can be obtained to obtain the first candidate boarding code set. For example, the boarding code a in the payment software and the boarding code b in the travel software are obtained, and the boarding code a and the boarding code b are integrated as the first candidate boarding code set.

[0078] In an embodiment of the present application, by obtaining the boarding code in the boarding code service software installed on the electronic device, it is possible to avoid the situation where the boarding code in the software cannot be triggered to display the boarding code to the public transportation that the user needs to take because the boarding code service software is not installed on the electronic device.

[0079] 302: Based on the current location information, determine whether the electronic device is within the preset range of the site. If the determination result is yes, go to step 303; otherwise, go to step 301.

[0080] It can be understood that after obtaining the current location information of the electronic device held by the user, the current location information of the electronic device can be compared with the location information of the site recorded in the pre-stored geographic location information library to determine whether the electronic device is within the preset range of the site.

[0081] It can be understood that the preset range can be a range with a preset radius centered on the station, or it can be the entrance and exit of a subway station, a bus stop platform, the entrance and exit of a terminal, etc.

[0082] 303: Based on the current location information, obtain the second candidate boarding code set.

[0083] It can be understood that based on the current location information of the electronic device held by the user, the current city of the user can be determined. The current city can be the user's permanent city, also known as the permanent place. The current city can also be the user's non-resident place, also known as a foreign place.

[0084] It can be understood that after determining the current city where the user is located, the ride codes in the ride service software supported by the public transportation in the current city can be obtained to obtain the second candidate ride code set. For example, the ride code a in the payment software supported by the current city, the ride code b in the travel software, and the ride code c in the communication software are obtained, and the ride codes a, b, and c are integrated as the second candidate ride code set.

[0085] In an embodiment of the present application, by obtaining the boarding code in the boarding service software supported by the current city where the electronic device is located, it is possible to avoid the situation where the boarding code in the software is triggered to display the boarding code to the public transportation that the user needs to take, but the user is unable to take the public transportation because the current city does not support the boarding code service software.

[0086] 304: Determine a candidate boarding code set based on the first candidate boarding code set and the second candidate boarding code set.

[0087] It is understood that the first candidate boarding code set and the second candidate boarding code set can be integrated to obtain a candidate boarding code set. The candidate boarding code set includes boarding codes that are installed on the electronic device and supported by public transportation in the current city where the user is located. For example, based on the examples of the first candidate boarding code set and the second candidate boarding code set listed above, the candidate boarding code set may include boarding code a in the payment software and boarding code b in the appearance software.

[0088] 305: Based on the historical usage data of the boarding code, determine a third candidate boarding code set from the candidate boarding code set.

[0089] It is understood that the historical usage data of the ride code may refer to the historical usage data of the ride code of the user within a preset historical time period, and / or the historical usage data of the ride code of other users in the current city within a preset historical time period. For example, the historical usage data of the ride code of the user in the last month, the historical usage data of the ride code of the user's most recent time, and the historical usage data of the ride code of other users in the current city within a month.

[0090] It can be understood that the method of determining the third candidate boarding code set can be to use the boarding code with the highest frequency of use in a preset historical time period as the third candidate boarding code based on the historical usage data of the boarding code, or to use the boarding code used most recently as the third candidate boarding code, or to use the boarding code with a usage frequency higher than a preset frequency threshold in a preset historical time period as the third candidate boarding code to obtain the third candidate boarding code set.

[0091] In some optional examples, when it is determined that the current city where the user is located is a permanent city, for example, when the user travels by public transportation in the permanent place, it can be determined whether the user has used the bus code of the permanent city based on the user's historical bus code usage data. If the user has used the bus code of the permanent city, the bus code supported by the permanent city in the candidate bus code set and used most frequently by the user in the permanent city within a preset historical time period, or the bus code supported by the permanent city in the candidate bus code set and used by the user most recently in the permanent city, or the bus code supported by the permanent city in the candidate bus code set and used by the user in the permanent city within a preset historical time period with a frequency higher than a preset frequency threshold in the candidate bus code set can be used as the third candidate bus code to obtain the third candidate bus code set.

[0092] In some optional instances, if the user has never used the boarding code of the city where he or she resides, the boarding code in the candidate boarding code set that is supported by the city where he or she resides and is used most frequently by other users in the city where he or she resides within a preset historical time period, or the boarding code in the candidate boarding code set that is supported by the city where he or she resides and is used by other users in the city where he or she resides within a preset historical time period with a frequency higher than a preset frequency threshold can be used as the third candidate boarding code to obtain the third candidate boarding code set.

[0093] In some other optional examples, when it is determined that the current city where the user is located is a non-resident city, for example, when the user travels by public transportation in a non-resident place (on a business trip), it is possible to determine whether the user has used the boarding code of the resident city and whether the user has used the boarding code of the non-resident city based on the user's historical boarding code usage data. If the user has used the boarding code of the resident city but has not used the boarding code of the non-resident city, the boarding code in the candidate boarding code set that the user has used most frequently in the resident city within a preset historical time period and that is supported by the non-resident city, or the boarding code in the candidate boarding code set that the user has used more frequently than a preset frequency threshold in the resident city within a preset historical time period and that is supported by the non-resident city can be used as the third candidate boarding code to obtain the third candidate boarding code set.

[0094] In some optional instances, if the user has never used the boarding code in the permanent city and has never used the boarding code in the non-resident city, the boarding code that is most frequently used by other users in the candidate boarding code set in the non-resident city within a preset historical time period and supported by the non-resident city, or the boarding code that is used by other users in the candidate boarding code set in the non-resident city with a frequency higher than a preset frequency threshold within a preset historical time period can be used as the third candidate boarding code to obtain the third candidate boarding code set.

[0095] In some optional instances, if the user has used the boarding code for a permanent city and a boarding code for a non-resident city, the boarding code in the candidate boarding code set that is used most frequently by the user in the non-resident city within a preset historical time period and is supported by the non-resident city, or the boarding code in the candidate boarding code set that is used by the user in the non-resident city within a preset historical time period with a frequency higher than a preset frequency threshold and is supported by the non-resident city can be used as the third candidate boarding code to obtain the third candidate boarding code set.

[0096] In some optional instances, if the user has not used the boarding code for the permanent city but has used the boarding code for the non-resident city, the boarding code in the candidate boarding code set that is used most frequently by the user in the non-resident city within a preset historical time period and is supported by the non-resident city, or the boarding code in the candidate boarding code set that is used by the user in the non-resident city within a preset historical time period with a frequency higher than a preset frequency threshold and is supported by the non-resident city can be used as the third candidate boarding code to obtain the third candidate boarding code set.

[0097] 306: Control the candidate boarding codes in the third candidate boarding code set to be displayed in the target area.

[0098] It can be understood that, as listed above, the third candidate boarding code set may include a candidate boarding code, such as the boarding code most frequently used by the user within a preset historical time period, the boarding code most recently used by the user, and the boarding code most frequently used by other users within a preset historical time period.

[0099] In some optional examples, when the third candidate boarding code set includes a candidate boarding code, the candidate boarding code can be used as the target boarding code. Then, the target boarding code can be displayed in the first target area of ​​the electronic device in the first form. Figure 4 As shown, the target boarding code can be displayed in the form of a card in the first target area at the top of the display interface of the electronic device.

[0100] It can be understood that, as listed above, the third candidate boarding code set may include multiple candidate boarding codes, such as multiple boarding codes whose usage frequency by users is higher than a preset frequency threshold within a preset historical time period, and boarding codes whose usage frequency by other users is higher than a preset frequency threshold within a preset historical time period.

[0101] In some optional examples, when the third candidate boarding code set includes multiple candidate boarding codes, each candidate boarding code can be used as a target boarding code, such as the first target boarding code, the second target boarding code, the third target boarding code, etc. Then, the most frequently used target boarding code among the multiple target boarding codes (such as the first target boarding code) can be displayed in the first target area of ​​the electronic device in the first form, and the remaining target boarding codes among the multiple target boarding codes (such as the second target boarding code, the third target boarding code, etc.) can be displayed in the second target area of ​​the electronic device in the second form. Figure 5 As shown, the first target boarding code can be displayed in the form of a card in the first target area at the top of the display interface of the electronic device, and the second target boarding code, the third target boarding code, etc. can be displayed in the form of icons in the second target area in the middle of the display interface of the electronic device. The first target area can be larger than the second target area.

[0102] In some optional examples, a continuous learning and progressive recommendation method may be used to display the first target boarding code. For example, the first target boarding code may be first displayed in the second target area of ​​the electronic device in the form of an icon, and when the user frequently uses the recommended first target boarding code, that is, when the prediction is more accurate, the first target boarding code may be displayed in the first target area of ​​the electronic device in the form of a card.

[0103] By adopting the method for displaying boarding information provided in the embodiment of the present application, a boarding code that matches the user's actual usage needs can be displayed on an electronic device, thereby improving the accuracy of recommending boarding codes to users.

[0104] The following uses the subway boarding code as an example to introduce in detail the implementation example of the recommended boarding code mentioned above.

[0105] When it is detected that the user has turned on the display screen of the smartphone, the current location of the smartphone and the subway boarding code in the ride service software installed on the smartphone can be obtained, for example, subway boarding code a in the payment software and subway boarding code b in the travel software.

[0106] Then, based on the current location of the smartphone, it can be determined whether the smartphone is within a preset range of the subway station. The preset range of the subway station can be a preset subway fence, that is, a range with a preset radius centered on the subway station. When the distance between the smartphone and the subway station is less than or equal to the preset radius, it can be determined that the user has entered the subway fence, that is, the smartphone is within the preset range of the subway station.

[0107] If it is determined that the smartphone is within the preset range of the subway station, the current city of the user can be determined based on the current location of the smartphone. The current city can be the user's permanent city, also known as the permanent place. The current city can also be the user's non-resident place, also known as a foreign place. Then, the boarding code of the boarding code service software supported by the current city can be obtained, for example, the subway boarding code a in the payment software supported by the current city, the subway boarding code b in the travel software, and the subway boarding code c in the communication software.

[0108] Then, based on the user's historical usage data of the boarding code in the current city within a preset historical time period and the historical usage data of the boarding code of other users in the current city within a preset historical time period, a boarding code that matches the user's actual needs can be recommended to the user. The historical usage data of the boarding code can be the data obtained by crowdsourcing learning users and other users using the subway boarding code service software after entering the subway station. In this way, the accuracy of recommending subway boarding codes to users can be improved.

[0109] In actual recommendation, when the current city is the user's permanent city, that is, when the user takes the subway in the permanent place, if the user has not used the subway code to take the subway, the subway code most frequently used by other users in the current city in the past month can be recommended to the user. For example, the subway code a in the payment software most frequently used by other users is displayed in the form of a card at the top area of ​​the display interface of the smartphone. If the user has used the subway code to take the subway, the most frequently used code in the past month can be recommended to the user. For example, the subway code b in the travel software most frequently used by the user is displayed in the form of a card at the top area of ​​the display interface of the smartphone. When the current city is the user's non-resident city, that is, the user takes the subway in a non-resident place, if the most frequently used code in the permanent city in the past month also supports the current city, the most frequently used code in the permanent city in the past month can be recommended to the user. For example, the subway code a in the payment software most frequently used by the user in the permanent city is displayed in the form of a card at the top area of ​​the display interface of the smartphone. If the most frequently used boarding code of the user in the resident city in the past month does not support the current city, the boarding code most frequently used by other users in non-resident cities in the past month can be recommended to the user. For example, the subway boarding code b in the travel software most frequently used by other users in non-resident cities is displayed in the form of a card in the top area of ​​the display interface of the smartphone.

[0110] The following uses the scanning component corresponding to a shared bicycle as an example to introduce in detail the implementation example of the recommended scanning component mentioned above.

[0111] In some specific implementations, the method for recommending a scanning component corresponding to a shared bicycle includes: when it is determined based on the location information of the electronic device that the user is within a certain range of the shared bicycle, the electronic device can obtain a set of candidate scanning components supported by the electronic device and supported by the shared bicycles in the current city, wherein the candidate scanning components supported by the electronic device can be scanning components in applications installed by the electronic device. Then, based on the user's historical usage data of each candidate scanning component in the candidate scanning component set and the historical usage data of each candidate scanning component by other users in the current city, a scanning component that meets the user's needs is selected from the candidate scanning component set for display. For example, the scanning component with the highest historical usage frequency by the user in the candidate scanning component set, or the scanning component with the highest usage frequency by other users in the current city, etc. can be recommended. In this way, scanning components supported by the user's electronic device and that meet the user's needs can be recommended to the user, thereby achieving accurate recommendation of scanning components.

[0112] In some embodiments, the method of selecting a scanning component that meets the user's needs from the candidate scanning component set for display may include:

[0113] If the user is determined to be within a certain range of the shared bicycle based on the current location information of the electronic device and the current location information of the shared bicycle (for example, the current location information of the electronic device overlaps with the current location information of the shared bicycle), it is determined that there is a shared bicycle near the user. And if it is determined based on the user's historical usage data of each candidate scanning component that the user has used a scanning component supported by the shared bicycle in the current city, the scanning component with the highest frequency of use may be displayed, or the scanning component used the most recently may be displayed.

[0114] If it is determined based on the user's historical usage data of each candidate scanning component that the user has not used the scanning components supported by the shared bicycles in the current city, the scanning components that are most frequently used by other users in the candidate scanning component set can be displayed.

[0115] For example, if it is determined that there are shared bicycles A and B near the user based on the current location information of the electronic device and the current location information of the shared bicycle. And, if it is determined based on the user's historical usage data of each candidate scanning component that the user has used scanning component a corresponding to shared bicycle A and scanning component b corresponding to shared bicycle B, the scanning component a corresponding to shared bicycle A with the highest user video frequency in the candidate scanning component set can be displayed. If it is determined based on the user's historical usage data of each candidate scanning component that the user has not used scanning component a corresponding to shared bicycle A and scanning component b corresponding to shared bicycle B, the scanning component a corresponding to shared bicycle A with the highest other user video frequency in the candidate scanning component set can be displayed.

[0116] The following takes the subway timetable as an example to introduce the implementation example of the recommended timetable mentioned above.

[0117] When a user chooses to travel by subway, the following information is displayed on the display screen of the user's smartphone: Figure 6 The subway timetable shown in the figure can help users control their time in a timely and accurate manner and make good travel plans. Figure 6 As shown, the subway timetable shows that the first subway to direction XX will arrive at this station at 17:00, and the second subway to direction XX will arrive at this station at 17:05. Users can speed up their walking speed according to the subway timetable displayed on the smartphone and take the first subway that matches their travel plan, thereby reducing the possibility of missing a subway due to not being able to grasp the subway timetable and having to wait for the second subway, which will disrupt their travel plans.

[0118] In some specific application scenarios, during the taxi rush hour on rainy days, when a user is in a hurry to meet a client, if the user turns on the display screen of his or her smartphone, the subway timetable can be displayed on the display screen of the smartphone, allowing the user to promptly learn about the next subway, speed up his or her pace, and get on the train in time.

[0119] The following takes subway stations as an example to introduce the implementation example of the recommended station information mentioned above.

[0120] When a user is traveling by subway, the following information can be displayed on the display screen of the user's smartphone: Figure 7 The current station information and the upcoming station information shown can enable the user to know that the current station is station X. When the current station is not visible or audible due to factors such as crowded subway cars and noisy environments, the user can check the current station in time to avoid missing the train. In addition, the user can know in real time that the upcoming station is station Y. When the current station is not visible or audible due to factors such as crowded subway cars and noisy environments, the user can check the upcoming station in real time and prepare to get off in advance.

[0121] The following will take the subway reminder information as an example to introduce the embodiment of the recommended getting off reminder information mentioned above.

[0122] When a user shows the subway code that is most frequently used in the resident area to the subway code scanner in the resident area, a fixed travel route, such as a commuting route, can be learned. When the next stop is the user's getting off stop in the fixed travel route, the user's smartphone can be displayed as follows: Figure 8 The getting-off reminder shown, “Arrived at XX station, please be ready to get off in case you miss the stop,” reminds the user to be ready to get off.

[0123] In some specific implementations, when the user shows the most frequently used riding code to the shared bicycle, a fixed riding route, such as a sports exercise route, can be learned. When the destination is about to be reached, a destination reminder can be displayed on the user's smartphone. At the same time, the destination reminder can be broadcast based on the user's smartphone to remind the user to prepare to slow down.

[0124] In other specific implementations, when the user shows the boarding code in a travel order (such as an air ticket, train ticket, high-speed rail ticket, etc.) to a scanner of a public transportation vehicle with non-fixed routes, the transfer station, destination, etc. in the travel order can be learned. When the transfer station or destination is about to be reached, the transfer station reminder and destination reminder are displayed on the user's smartphone to remind the user to prepare to get off the vehicle.

[0125] It should be understood that the display method mentioned above can also be applied to other scenarios. For example, the reminder information in the meeting schedule and to-do list can be studied, and the reminder information can be displayed on the user's smartphone to remind the user to be prepared.

[0126] The following takes exiting a subway station as an example to introduce an embodiment of the recommended exit guidance mentioned above.

[0127] After the user shows the QR code to the subway scanner to get off the train, that is, when the user gets off at the destination station, the nearest exit of the user's itinerary can be displayed on the user's smartphone, without the user having to enter the map to search again. For example, when the user is traveling, the exit guide (nearest exit) can be displayed on the smartphone in his or her hand, reducing the number of wrong exits caused by users being unfamiliar with the destination.

[0128] The various embodiments of the mechanism disclosed in the present application can be implemented in hardware, software, firmware or a combination of these implementation methods. The embodiments of the present application can be implemented as a computer program or program code executed on a programmable system, which includes at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device and at least one output device.

[0129] Program code can be applied to input instructions to perform the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit, or a microprocessor.

[0130] Program code can be implemented with high-level programming language or object-oriented programming language to communicate with the processing system. When necessary, program code can also be implemented with assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.

[0131] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, instructions may be distributed over a network or through other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine (e.g., computer) readable form, including, but not limited to, floppy disks, optical disks, optical disks, read-only memories (CD-ROMs), magneto-optical disks, read-only memories (ROMs), random access memories (RAMs), erasable programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, flash memory, or a tangible machine-readable memory for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in electrical, optical, acoustic, or other forms of propagation signals. Therefore, machine-readable media include any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a machine (e.g., computer) readable form.

[0132] The hardware structure of the terminal electronic device mentioned in this application is introduced below. Fig. 9As shown, a schematic diagram of the hardware structure of a terminal electronic device 100 is shown. The electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, an event camera, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0133] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain 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.

[0134] The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural-network processing unit (neural-network processing unit, NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors. Among them, the controller can be the nerve center and command center of the electronic device. The controller can generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions.

[0135] The charging management module 140 is used to receive charging input from the charger. The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The wireless communication function of the electronic device can be implemented by antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modulation and demodulation processor and baseband processor. The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied in electronic devices. The wireless communication module 160 can provide solutions for wireless communications including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc. applied in electronic devices.

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

[0137] The display screen 194 is used to display images, videos, etc. The display screen 194 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 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0138] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.

[0139] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0140] The electronic device can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0141] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0142] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device can listen to music or listen to a hands-free call through the speaker 170A.

[0143] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0144] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device can be provided with at least one microphone 170C. In other embodiments, the electronic device can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device can also be provided with three, four or more microphones 170C to realize the collection of sound signals, noise reduction, identification of sound sources, and directional recording function, etc.

[0145] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0146] The above describes the hardware structure that the electronic device may have. It is understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0147] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.

[0148] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation method of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units / modules in the above-mentioned device embodiments.

[0149] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one" do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0150] Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the present application.

Claims

1. A method for displaying riding information, applied to a first electronic device, characterized in that: include: detecting that the first electronic device meets a display condition; Obtain a set of candidate boarding codes, wherein the set of candidate boarding codes includes: a boarding code of a boarding application installed on the first electronic device and supported by the first boarding station, and a boarding code of a boarding application installed on a second electronic device within a first driving area of ​​a vehicle at the first boarding station and supported by the first boarding station; Determine a first boarding code from the candidate boarding code set based on the usage of each boarding code in the candidate boarding code set by the first electronic device; The first boarding code is displayed.

2. The method according to claim 1, characterized in that The display conditions include: The current location of the first electronic device is within a first range of the first boarding station; or The current location of the first electronic device is within the first range of the first boarding station, and a preset operation is performed on the first electronic device, the preset operation including at least one of touching the interface display, pressing the lock screen key, and changing the orientation of the display interface.

3. The method according to claim 1, characterized in that: The determining of the first boarding code from the candidate boarding code set based on the usage of each boarding code in the candidate boarding code set by the first electronic device comprises: Corresponding to the presence of a boarding code used by the first electronic device in the candidate boarding code set, a boarding code most frequently used by the first electronic device is selected from the candidate boarding code set as the first boarding code.

4. The method according to claim 3, characterized in that Also includes: A second boarding code is determined from the set of candidate boarding codes and the second boarding code is displayed, wherein the frequency of using the second boarding code by the first electronic device is higher than a usage frequency threshold, and the frequency of using the second boarding code by the first electronic device is lower than the frequency of using the first boarding code.

5. The method according to claim 3, characterized in that: Also includes: A second boarding code is determined from the set of candidate boarding codes and the second boarding code is displayed, wherein the second boarding code is the boarding code most recently used by the first electronic device, and a frequency of using the second boarding code by the first electronic device is lower than a frequency of using the first boarding code.

6. The method according to claim 4 or 5, characterized in that: The displaying of the first boarding code comprises: Displaying the first boarding code in the form of a card; and The display of the second boarding code includes: The second boarding code is displayed in the form of an icon.

7. The method according to claim 1, characterized in that The determining of the first boarding code from the candidate boarding code set based on the usage of each boarding code in the candidate boarding code set by the first electronic device comprises: Corresponding to the presence of a boarding code used by the first electronic device in the candidate boarding code set, a boarding code of a boarding application most recently used by the first electronic device is selected from the candidate boarding code set as the first boarding code.

8. The method according to claim 1, characterized in that The determining of the first boarding code from the candidate boarding code set based on the usage of each boarding code in the candidate boarding code set by the first electronic device comprises: The first electronic device has not used any of the boarding codes in the candidate boarding code set, and a boarding code used by the second electronic device is selected from the candidate boarding code set as the first boarding code.

9. The method according to claim 8, characterized in that The first boarding code is the boarding code of the boarding application most frequently used by the second electronic device.

10. An electronic device, characterized in that: include: A memory for storing instructions executed by one or more processors of the electronic device, and the processor, which is one of the one or more processors of the electronic device, is used to execute the method for displaying the riding information described in any one of claims 1-9.

11. A readable storage medium, characterized in that: The readable medium stores instructions, which, when executed on an electronic device, enable the electronic device to execute the method for displaying riding information according to any one of claims 1 to 9.

Citation Information

Cited By

  • Riding code recommendation method and device, equipment, storage medium and program product

    CN120011647A