Interface display method and device, electronic equipment and storage medium
By recognizing the voucher information in the interface and displaying it in a real-time reminder control after switching interfaces, the problem of inconvenience for users who frequently switch interfaces is solved, and the implementation difficulty and cost are reduced.
Patent Information
- Application Number
- CN202511080680.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-01
- Publication Date
- 2025-11-21
AI Technical Summary
Users need to frequently switch interfaces when viewing voucher information on electronic devices, which is inconvenient. Furthermore, existing technologies struggle to efficiently display this voucher information in real-time notification controls, resulting in high implementation costs.
By recognizing the credential information in the interface and displaying it in a real-time reminder control after the interface switches, the implementation difficulty and cost are reduced.
This allows users to easily view voucher information after switching interfaces, reducing the difficulty and cost of displaying voucher information in real-time reminder controls.
Smart Images

Figure CN120994289A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of electronic devices, and more particularly, to an interface display method and device, an electronic device, and a storage medium. BACKGROUND
[0002] With the rapid progress of science and technology and living standards, electronic devices (such as smart phones, tablet computers, etc.) have become one of the commonly used electronic products in people's lives. In some service scenarios, there are voucher information such as pick-up codes, meal pick-up codes, pick-up codes, queue numbers, and handling codes in the related interfaces of electronic devices. However, when users view these voucher information, they need to frequently switch interfaces, resulting in inconvenience for users when viewing the voucher information. SUMMARY
[0003] The present application provides an interface display method, device, electronic device, and storage medium, which can facilitate users to view voucher information.
[0004] In a first aspect, an interface display method is provided, which includes: displaying a first interface of a first application, the first interface including voucher information; and in a case where a first operation is received, switching the displayed interface to a second interface, the second interface including a real-time reminder control, the real-time reminder control including the voucher information identified from the first interface.
[0005] In a second aspect, an interface display device is provided, which includes: a first interface display and a second interface display module, wherein the first interface display module is configured to display a first interface of a first application, the first interface including voucher information; and the second interface display module is configured to, in a case where a first operation is received, switch the displayed interface to a second interface, the second interface including a real-time reminder control, the real-time reminder control including the voucher information identified from the first interface.
[0006] In a third aspect, an electronic device is provided, which includes: one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more application programs are configured to execute the interface display method provided in the first aspect.
[0007] In a fourth aspect, a computer-readable storage medium is provided, which stores program code that can be called by a processor to execute the interface display method provided in the first aspect.
[0008] In a fifth aspect, an embodiment of the present application provides a computer program product, which comprises a computer program. When the computer program is executed by a processor, the interface display method provided in the first aspect is implemented.
[0009] The scheme provided in the present application displays a first interface of a first application, the first interface comprising credential information. If a first operation is received, the displayed interface is switched to a second interface, the second interface comprising a real-time reminding control, and the real-time reminding control comprising the credential information identified from the first interface. Thus, the credential information in the interface can be identified for the interface displaying the credential information, and the real-time reminding control comprising the identified credential information is displayed in the interface after the interface switching, thereby facilitating the user to view the credential information. BRIEF DESCRIPTION OF DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort on the basis of these drawings.
[0011] Figure 1 A flowchart of an interface display method according to an embodiment of the present application is shown.
[0012] Figure 2 An interface diagram provided in an embodiment of the present application is shown.
[0013] Figure 3 An interface diagram provided in an embodiment of the present application is shown.
[0014] Figure 4 An interface diagram provided in an embodiment of the present application is shown.
[0015] Figure 5 A flowchart of an interface display method according to another embodiment of the present application is shown.
[0016] Figure 6 A flowchart of an interface display method according to still another embodiment of the present application is shown.
[0017] Figure 7 A configuration diagram of an AI Unit provided in an embodiment of the present application is shown.
[0018] Figure 8 A flowchart of an interface display method according to still another embodiment of the present application is shown.
[0019] Figure 9A flowchart of an interface display method according to yet another embodiment of the present application is shown.
[0020] Figure 10 A flowchart of displaying recognized credential information in a real-time reminding component according to an embodiment of the present application is shown.
[0021] Figure 11 A flowchart of recognized credential information in a cache interface according to an embodiment of the present application is shown.
[0022] Figure 12 A flowchart of an interface display method according to yet another embodiment of the present application is shown.
[0023] Figure 13 A schematic diagram of a system framework involved in an interface display method according to an embodiment of the present application is shown.
[0024] Figure 14 A block diagram of an interface display apparatus according to an embodiment of the present application is shown.
[0025] Figure 15 A block diagram of an electronic device for executing an interface display method according to an embodiment of the present application is shown.
[0026] Figure 16 A storage unit for storing or carrying program code for implementing an interface display method according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present application.
[0028] Currently, electronic devices are often used in online ordering, express query, online queuing, online service handling and other service scenarios. In these service scenarios, service processes are usually involved, and there are credential information such as order code, meal code, pick-up code, queue number, handling code, etc. in the service processes. Users need to use these credential information offline in the service scenarios to achieve their service needs. However, when users actually use electronic devices, they usually do not keep the electronic devices to display the interfaces where the credential information is located in the above service scenarios all the time. When the credential information needs to be viewed and used in the service processes, the user needs to switch to the interface where the credential information is located through operation, which leads to complicated operation and inconvenience in use.
[0029] In addition, in a case where the application is in real-time activity during use of the application by the user, the user usually wants to view the related information of the real-time activity in real time. Therefore, some electronic devices currently support displaying a real-time reminder control in a status bar, and the related information of the real-time activity can be displayed in the real-time reminder control, for example, the real-time activity of a ride-hailing application or a take-out application. Although the electronic device can display the real-time reminder control in the interface, to display the above credential information in the real-time reminder control, since there are many manufacturers of the electronic device, and the implementation manner and presentation of the real-time reminder control are not completely consistent, it is required that the third-party application accesses the real-time reminder control of the electronic device of each manufacturer, and the manufacturers of the electronic device also need to be adapted with the third-party application, which leads to a high difficulty and high cost in implementing the display of the above credential information in the real-time reminder control.
[0030] To solve the above problems, the inventors provide an interface display method, an interface display device, an electronic device, and a storage medium, which can recognize credential information in an interface in which the credential information is displayed, and display a real-time reminder control including the recognized credential information in the interface after switching the interface, thereby facilitating the user to view the credential information. Since the information required to be displayed in the real-time reminder control is obtained by recognizing the credential information in the interface, for any interface in which the credential information is displayed, the credential information can be displayed in the real-time reminder control after switching the interface, which reduces the difficulty and cost of implementing the display of the above credential information in the real-time reminder control. The specific interface display method is described in detail in subsequent embodiments.
[0031] The interface display method provided in the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0032] Please refer to Figure 1 , Figure 1 Fig. 1 shows a flowchart of an interface display method provided in an embodiment of the present application. In specific embodiments, the interface display method is applied to an interface display device 700 as shown in Figure 14 Fig. 1 and an electronic device 100 configured with the interface display device 700 (not shown in the figure). Figure 15 In the following, the specific process of the embodiment will be described taking the electronic device as an example. It can be understood that the electronic device to which the embodiment is applied can be a smart phone, a tablet computer, a smart watch, an e-book, etc., which is not limited herein. The following will be described in detail with reference to the flowchart shown in Figure 1 Fig. 1. The interface display method can specifically include the following steps: Step S110: display a first interface of a first application, the first interface including credential information.
[0033] The credential information can be digital credential used for identity verification, process control, and benefit confirmation, and the like. Alternatively, the credential information in the first interface can be credential information located at a corresponding process node in a service process when the electronic device is in a corresponding service scenario. The service scenario refers to a scenario in which the electronic device is used to complete a service required by a user by using an application program. The service scenario can include scenarios such as ordering, express query, queuing, and business handling by using the electronic device. In these service scenarios, there is a service process, which is a structured sequence for implementing a service required by a user, that is, a series of ordered activities for implementing a service. For example, a user orders a beverage online in a self-pickup manner offline by using the electronic device. In this service scenario, there is a service process, which can be “user ordering”, “merchant receiving order”, “merchant preparing meal”, and “user picking up meal”. In the service process of the above service scenario, there is corresponding credential information, which can be embedded in a key control node in the service process. The credential information serves as an identity verification tool or a step identifier in the service scenario, and is used to ensure the standardization and security of the process. For example, in the above example, the credential information can be a meal pickup code, which can be used by the user to complete meal pickup at the merchant.
[0034] In the embodiments of the present application, the electronic device can display an interface including the above credential information. The first interface is an application interface displayed when the first application is running. Alternatively, the first interface can be an interface including credential information displayed after a corresponding node in a service process is completed in a service scenario, so that the user can complete a subsequent node in the service process according to the credential information in the interface and enter a service that implements a user requirement.
[0035] In some embodiments, the first application can be an application for directly implementing the above service scenario. For example, in the above service scenario in which a beverage is ordered online in a self-pickup manner offline, the first application can be an application program (APP) for ordering a beverage. In this manner, the first interface can be an interface including a meal pickup code displayed after ordering in the APP.
[0036] In some embodiments, the first application can also be a small program run in an application for implementing the above service scenario. That is, the first application indirectly implements the above service scenario by running the small program. In this manner, the above first interface can be an interface including a meal pickup code displayed after ordering by using the small program when the first application runs the small program.
[0037] In some embodiments, the credential information can include at least one of a take order code, a take meal code, a take package code, a queue number, a handling code in a service process. The take order code can be a voucher code provided after ordering through the electronic device, for a user to take the goods at the merchant, and the take order code can be used to ensure that the goods are safely taken by the designated recipient; the take meal code can be a voucher code provided after ordering food through the electronic device, for a user to take the food at the merchant; the take package code can be a voucher code used by the recipient to take the express delivery after the express delivery is delivered to the destination; the queue number can be a queue voucher generated after queuing online through the electronic device; and the handling code can be a voucher for handling the business generated after online operation through the electronic device when handling the business. Of course, the type of credential information is not limited to this, and can also be a voucher in a service process for other service scenarios.
[0038] Step S120: In the case of receiving the first operation, the displayed interface is switched to a second interface, and the second interface includes a real-time reminder control, and the real-time reminder control includes the credential information identified from the first interface.
[0039] In the embodiments of the present application, the electronic device can detect the input operation when displaying the above first interface, and in the case of receiving the first operation, the displayed interface can be switched to the second interface. After switching the interface, in order to facilitate the user to view the credential information in the displayed interface, and avoid the user to frequently switch the interface when viewing and using the above credential information, the real-time reminder control including the above credential information can be displayed in the second interface. Moreover, in order to enable the credential information in each application to be displayed in the real-time reminder control, the above credential information in the first interface can be identified by identifying the content in the above first interface, and the credential information can be displayed in the above real-time reminder control.
[0040] The real-time reminder control is a control displayed in the interface by the electronic device in the case of existing real-time activity of the application, to display the related information of the real-time activity. The real-time activity can exist in three stages of initiation, continuation and termination, and the content displayed in the real-time reminder control can be different in different stages. The real-time reminder control is usually displayed in the status bar in the case of initiation of the real-time activity, and is continuously displayed in the status bar during the duration of the real-time activity, and is stopped in the case of termination of the real-time activity.
[0041] Taking a real-time activity existing in a flight application as an example, before a flight takes off, a real-time reminding control displayed by the electronic device can be used to remind information such as a boarding time and an airport location; in a case where a user arrives at an airport, the real-time reminding control can be used to remind information such as a security check port; in a case where the user completes the security check, the real-time reminding control can be used to remind information such as a boarding gate; and after a certain period of time elapses after boarding ends, the electronic device stops displaying the real-time reminding control.
[0042] Taking a real-time activity existing in a take-out application as an example, before a rider picks up an order, a real-time reminding control displayed by the electronic device can be used to show a distance between the rider and a merchant; in a case where the rider arrives at the merchant, the real-time reminding control can be used to prompt that the rider is picking up the order; in a case where the rider completes picking up the order, the real-time reminding control can be used to remind a distance between the rider and a delivery address; and after the take-out order is delivered, the electronic device stops displaying the real-time reminding control.
[0043] In some scenarios, the real-time reminding control can have various display forms. For example, a capsule display form can be used to display brief information of a real-time activity; the real-time reminding control in the capsule display form can be displayed in a status bar; the real-time reminding control in the capsule display form can display key information extracted from the real-time activity, thereby facilitating a user to quickly obtain key information in various situations. For another example, a card display form can be used to display in an interface; compared with the real-time reminding control in the capsule display form, the real-time reminding control in the card display form has a larger display size and can display more information related to the real-time activity. For another example, a floating window display form can be used to display in an interface; compared with the real-time reminding control in the capsule display form, the real-time reminding control in the floating window display form also has a larger display size and can display more information related to the real-time activity. The floating window is a window displayed in a screen of the electronic device, and is used to display relevant information in an application, for example, can include all interface information or core interface information in an application interface.
[0044] In some embodiments, the above first operation can trigger an operation of switching from the first interface to another interface, for example, an operation of switching to a home desktop, an operation of switching to another application, an operation of switching to another interface of the first application, and the like. After receiving the first operation, the other interface (i.e., the above second interface) that needs to be displayed can be switched to, and the real-time reminding control including the above credential information is displayed in the second interface after the switching.
[0045] In some embodiments, the electronic device can continuously display the real-time reminding control in the interface displayed by the electronic device in the screen-on state, that is, the real-time reminding control can be displayed in the first interface when the electronic device displays the first interface, but the credential information is not the content in the real-time reminding control; after the displayed interface is switched from the first interface to the second interface, the real-time reminding control is also displayed in the second interface, and the credential information is displayed in the real-time reminding control in the second interface.
[0046] In a possible implementation, when the electronic device displays the first interface and displays the real-time reminding control, if there is no content that needs to be displayed in the real-time reminding control at present, the real-time reminding control in this case can be in a first display state; after the first operation is received and the displayed interface is switched from the first interface to the second interface, the real-time reminding control displayed in the second interface can be in a second display state. The display size of the real-time reminding control in the second display state can be greater than the display size of the real-time reminding control in the first display state. For example, the real-time reminding control in the first display state can be in a circle form after being folded up, and the real-time reminding control in the second display state can be in a capsule display form after the circle is extended to both sides.
[0047] In addition, when the electronic device displays the first interface and displays the real-time reminding control, if there is content that needs to be displayed in the real-time reminding control at present, after the first operation is received and the displayed interface is switched from the first interface to the second interface, the content displayed in the real-time reminding control can be switched to the credential information.
[0048] In some embodiments, when the electronic device displays the first interface, if there is no content that needs to be displayed in the real-time reminding control at present, the first interface can not display the real-time reminding control. That is, the real-time reminding control is not continuously displayed in the interface. After the first operation is received and the displayed interface is switched from the first interface to the second interface, since the credential information needs to be displayed in the real-time reminding control at present, the real-time reminding control can be displayed in the second interface, and the credential information can be displayed in the real-time reminding control.
[0049] In some embodiments, when the electronic device displays the credential information in the real-time reminding control, the electronic device can perform image recognition on the interface image of the first interface to identify the credential information in the first interface. For example, the electronic device can obtain an interface screenshot of the first interface and perform image recognition on the interface screenshot.
[0050] In a possible implementation, after obtaining the interface image of the first interface above, the electronic device can input the interface image into a pre-trained credential recognition model to obtain credential information output by the credential recognition model. The credential recognition model can be a model based on deep learning, which automatically learns the features of the credential information in the image through end-to-end training, and can ensure the recognition accuracy in a complex scene. The specific model type of the credential recognition model can not be limited, for example, it can be a convolutional neural network, and for another example, a large language model can also be used to recognize the credential information in the interface image above.
[0051] In a possible implementation, after obtaining the interface image above, the electronic device can also upload the interface image to a server where the credential recognition model is deployed; correspondingly, the server can receive the interface image and identify the credential information existing in the interface image through the deployed credential recognition model; after identifying the credential information, the server can issue the credential information to the electronic device; correspondingly, the electronic device can receive the credential information above.
[0052] In some embodiments, in addition to identifying the credential information in the first interface above, the electronic device can also identify service information such as a service name, a product name, and a predicted service time existing in the first interface, and can display the identified service information in the real-time reminder control above. When the electronic device displays the predicted service time in the real-time reminder control, it can start timing at the moment when the predicted service time is identified, and update the identified predicted service time according to the timing time, so that the user can view the more accurate predicted service time through the displayed real-time reminder control.
[0053] For example, as shown in Figure 2 After ordering food through the applet running in the electronic device, the pickup code A2 can be displayed in the applet interface A1; as shown in Figure 3 After switching the interface to the desktop A3, the real-time reminder control A4 can be displayed in the desktop A3, and the pickup code A2 identified from the applet interface can be displayed in the real-time reminder control; in addition, as shown in Figure 4 After detecting the click operation on the real-time reminder control A4, the real-time reminder control A4 can be controlled to be in a card display state, and in the displayed card, in addition to the pickup code, the waiting time and the food name can also be displayed; in addition, the confirmation control A5 can also be displayed in the displayed card, and in the case of detecting the click operation on the confirmation control A5, the display of the real-time reminder control A4 can be canceled.
[0054] The interface display method provided in the embodiments of the present application can identify the credential information in the interface in which the credential information is displayed, and display a real-time reminding control including the identified credential information in the interface after the interface is switched, so as to facilitate the user to view the credential information. In addition, since the information to be displayed in the real-time reminding control is obtained by identifying the credential information in the interface, the credential information can be displayed in the real-time reminding control after the interface is switched for any interface in which the credential information is displayed, which reduces the implementation difficulty of displaying the above credential information in the real-time reminding control and also reduces the implementation cost.
[0055] Please refer to Figure 5 , Figure 5 A flowchart of an interface display method provided in another embodiment of the present application is shown. The interface display method is applied to the above electronic device, and the following will be described in detail with reference to the flowchart shown in Figure 5 The interface display method specifically can include the following steps: Step S210: display a first interface of a first application, the first interface including credential information.
[0056] In the embodiments of the present application, step S210 can refer to the content of the foregoing embodiments, which will not be described herein again.
[0057] Step S220: in the case that an application switching operation is received, switch the displayed interface to an interface of a second application, the interface of the second application including a real-time reminding control in which the credential information is displayed.
[0058] In the embodiments of the present application, considering that in the case that the above credential information is displayed in the first interface of the first application, if the subsequent operation of the user is still an operation in the first application, the user can still view the above credential information through a small amount of operation even after other interfaces of the first application are switched, or the credential information is still displayed in other interfaces of the first application, therefore, the electronic device can switch the displayed interface to the interface of the second application in the case that the application switching operation is received, and the interface of the second application includes the real-time reminding control in which the above credential information is displayed, that is, the real-time reminding control including the above credential information is displayed in the switched interface in the case that the displayed interface is switched to other applications. In addition, the credential information displayed in the real-time reminding control is identified from the above first interface. Exemplarily, the AppSwitch in the operating system can listen to the scene in which the above interface needs to be switched to other applications according to the application switching operation.
[0059] In some embodiments, when the electronic device displays the above first interface, the electronic device can switch the first interface to a task management interface in response to detecting an operation for invoking the task management interface. In the task management interface, an application identifier corresponding to a background running application can be displayed, and the application identifier can be an application icon, a thumbnail of an application interface, or the like. The electronic device can switch the displayed interface to an interface of a second application in response to an operation on an application identifier corresponding to the second application.
[0060] In some embodiments, when the electronic device displays the above first interface, the electronic device can also switch the displayed interface from the first interface of the first application to an interface of a second application in response to a shortcut instruction for switching to the second application, such as a captured voice instruction, a detected shortcut gesture, or the like.
[0061] Step S230: Switch the displayed interface to a desktop in response to receiving a desktop switching operation, and the desktop includes a real-time reminder control that displays the credential information.
[0062] The desktop (launcher) refers to a core operation interface entered by the electronic device after being unlocked. The desktop usually arranges interface elements such as icons, widgets, and personalized wallpapers in a grid or list form, and supports a user to directly start an application, switch a task, and customize a layout.
[0063] In the embodiments of the present application, the electronic device can also switch the displayed interface to a desktop in response to receiving a desktop switching operation, and the desktop includes a real-time reminder control that displays the above credential information. In addition, the credential information displayed in the real-time reminder control is identified from the above first interface. Exemplarily, the AppSwitch in the operating system can listen to a scenario in which the desktop needs to be switched to in response to a desktop switching operation.
[0064] In some embodiments, the electronic device can switch the displayed interface from the above first interface to a desktop in response to an operation on a physical key or a virtual key displayed in an interface of the electronic device. For example, the electronic device can switch the displayed interface to a desktop in response to detecting an operation on a HOME key.
[0065] In some embodiments, the electronic device displays the above credential information in the first interface of the first application, or in the interface of a widget running in the first application. In the case that the user performs a switching operation on the interface of the widget, the user can still view the above credential information through a small number of operations, or the credential information is still displayed in other interfaces of the widget. However, after the user exits the widget in the first application, the user cannot conveniently view the above credential information. Therefore, if the first interface is an interface of a widget running in the first application, in the case that an exit operation of the widget is received, the displayed interface can be switched to the main interface of the first application, and the main interface includes a real-time reminder control that displays the above credential information. That is, after the user exits the widget and returns to the main interface of the first application, the credential information identified from the first interface is displayed in the real-time reminder control in the interface.
[0066] In some embodiments, after the electronic device displays the above first interface, the user may have a need to view the above credential information in a locked state. Therefore, in the case that the electronic device is in a locked state, the electronic device can also display a lock screen interface, and the lock screen interface includes a real-time reminder control that displays the credential information. That is, after the electronic device is locked, the electronic device can display the lock screen interface, and the real-time reminder control that includes the above credential information is displayed in the lock screen interface. The credential information displayed in the real-time reminder control is identified from the above first interface.
[0067] In a possible implementation, the electronic device can display the above first interface, listen to a screen-off broadcast, control the electronic device to be in a locked state, and identify the above credential information from the first interface. In the case that the electronic device is in a locked state, when the screen is turned on, a real-time reminder control that includes the above credential information can be displayed in the lock screen interface.
[0068] In a possible implementation, in the case that the electronic device displays the above first interface and switches to another interface, a real-time reminder control that includes the above credential information is displayed in the other interface, for example, a real-time reminder control that includes the above credential information is displayed in the above second interface. The electronic device can cache the above credential information identified from the first interface. In the case that the electronic device displays the other interface, a screen-off broadcast is listened to, and the electronic device can be controlled to be in a locked state. In the case that the electronic device is in a locked state, when the screen is turned on, a real-time reminder control that includes the above credential information can be displayed in the lock screen interface according to the cached above credential information.
[0069] The interface display method provided in the embodiments of the present application, in the case of displaying an interface including credential information, displays a real-time reminding control including the recognized credential information in the switched interface after switching to the interface of other application or switching to the desktop, thereby facilitating the user to view the credential information. In addition, since the information required to be displayed in the real-time reminding control is obtained by recognizing the credential information in the interface, for any interface displaying credential information, the credential information can be displayed in the real-time reminding control after switching the interface, which reduces the implementation difficulty of displaying the above credential information in the real-time reminding control and also reduces the implementation cost.
[0070] Please refer to Figure 6 , Figure 6 A flowchart of an interface display method provided in another embodiment of the present application is shown. The interface display method is applied to the above electronic device, and the following will be described in detail with respect to the flowchart shown in Figure 6 The interface display method specifically can include the following steps: Step S310: display a first interface of a first application, the first interface including credential information.
[0071] In the embodiments of the present application, step S310 can refer to the content of other embodiments, which will not be described here again.
[0072] Step S320: in the case of receiving a first operation, recognize the credential information from the first interface.
[0073] In the embodiments of the present application, when the electronic device displays the first interface including the above credential information, after receiving the first operation, the above credential information can be recognized from the first interface, so as to display the recognized credential information in the switched interface through the real-time reminding control after switching the interface.
[0074] In some embodiments, when the electronic device recognizes the above credential information from the above first interface, the text information existing in the first interface can be obtained; then the credential information is recognized from the text information.
[0075] In a possible implementation, the text information in the first interface can be obtained through a picture-text extraction framework in the electronic device; after obtaining the text information, the above credential information can be recognized from the text information through an information recognition model in an artificial intelligence unit (AI Unit) in the electronic device. Exemplarily, a ViewExtractSDK can be deployed in the operating system of the electronic device, the view in the first interface can be extracted through the ViewExtractSDK, and the text information in the view can be obtained, thereby obtaining the text information existing in the first interface.
[0076] In a possible implementation, the above information recognition model can be trained by a large number of sample text information labeled with the credential information. It can be understood that the text information extracted from the first interface includes all the text information in the first interface, and the credential information has a certain format in the first interface, for example, the take-out code: 533664. In order to accurately extract the credential information from the text information, the initial recognition model can be trained by using the above sample text information labeled with the credential information, so as to obtain the above information recognition model. The information recognition model can be a Hidden Markov Model (HMM), a conditional random field (CRF), a deep learning model, and the like. Of course, the specific type of the information recognition model is not limited in the embodiments of the present application.
[0077] In a possible implementation, referring to Figure 7 For calling the above information recognition model, an interface for calling the model by a business can be defined in an interface adaptation layer. The interface adaptation layer complies with an AI Unit specification and is located in the AI Unit. The above information recognition model can include a rule method and an AI model method for recognizing the credential information, and also complies with the AI Unit specification and can be an AI Unit plug-in. In addition, when identifying whether the service process in the first interface is completed, a state recognition model can be used. The state recognition model can include a rule method and an AI model method for identifying whether the service process in the interface is in a "completed state", and also complies with the AI Unit specification and can be an AI Unit plug-in.
[0078] In a possible implementation, when a new application interface needs to be added to recognize the credential information, sample text information of the information can be constructed according to the text information in the interface of the application, and the above information recognition model can be updated and trained according to the sample text information.
[0079] Step S330: switching the displayed interface to the second interface, and the second interface includes a real-time reminder control displaying the credential information.
[0080] In the embodiments of the present application, after the above credential information is recognized from the above first interface, a real-time reminder control including the credential information can be displayed in the second interface after switching based on the recognized credential information.
[0081] The interface display method provided in the embodiments of the present application can identify the credential information in the interface, and display the real-time reminding control including the identified credential information in the interface after the interface is switched, so as to facilitate the user to view the credential information. In addition, the credential information in the interface is identified from the extracted text information by using the information identification model, so that the credential information can be displayed in the real-time reminding control after the interface is switched for any interface displaying the credential information, which reduces the implementation difficulty of displaying the above credential information in the real-time reminding control and reduces the implementation cost.
[0082] Please refer to Figure 8 , Figure 8 The flowchart of the interface display method provided in another embodiment of the present application is shown. The interface display method is applied to the electronic device described above, and the following will be described in detail with respect to the flowchart shown in Figure 8 The interface display method can specifically include the following steps: Step S410: display a first interface of a first application, the first interface including credential information.
[0083] In the embodiments of the present application, step S410 can refer to the content of other embodiments, which will not be described here.
[0084] Step S420: identify the credential information from the first interface in the case that a second operation is received.
[0085] In the embodiments of the present application, the electronic device can identify the above credential information from the first interface in the case that a second operation is received when the first interface including the above credential information is displayed, so as to cache the identified credential information, thereby displaying the cached credential information in the real-time reminding control when the interface needing to display the real-time reminding control including the credential information is switched subsequently.
[0086] In some embodiments, the first interface is switched to a second interface of the first application upon receiving an interface switching operation in the first application, and the credential information is identified from the first interface. That is, the above second operation can be an operation triggering switching to another interface in the first application. Understandably, when the interface switching occurs in the first application, the switched interface can no longer display the above credential information, but the user can still view the above credential information through a small number of operations. Therefore, the real-time reminder control including the above credential information can not be displayed in the switched interface at present, but the above credential information is identified first, so that the cached credential information can be directly used when switching to an interface that needs to display the credential information in the real-time reminder control. For example, when the first interface is displayed, if a back operation is received, since the back operation triggers the interface switching in the application or the applet, the credential information in the first interface can be identified.
[0087] In a possible implementation, when the above first interface is an interface of an applet running in the first application, the credential information in the first interface can be identified upon receiving an operation for switching to another interface of the applet.
[0088] In some embodiments, when the above credential information is identified from the above first interface, the electronic device can obtain text information existing in the first interface, and then identify the credential information from the text information by using a pre-trained information identification model. The specific manner in which the electronic device identifies the above credential information can refer to the content of the preceding embodiment, which will not be repeated here.
[0089] In some embodiments, when the above credential information is identified from the above first interface, the electronic device can also perform image recognition on the interface image of the above first interface to identify the above credential information in the first interface. The specific manner in which the electronic device identifies the above credential information can refer to the content of the preceding embodiment, which will not be repeated here.
[0090] Step S430: cache the credential information.
[0091] In the embodiments of the present application, after the above credential information is identified from the first interface, the above credential information can be cached.
[0092] Step S440: upon receiving a first operation, read the cached credential information, and switch the displayed interface to a second interface, wherein the second interface includes a real-time reminder control displaying the credential information.
[0093] In the embodiments of the present application, when the electronic device receives the first operation, if the interface needs to be switched to a second interface in which the credential information needs to be displayed in the real-time reminding control, the electronic device can read the cached credential information, switch the displayed interface to the second interface, and display the real-time reminding control including the credential information in the second interface according to the read cached credential information.
[0094] In some embodiments, the electronic device can switch the displayed interface to the interface of the second application and display the real-time reminding control including the credential information in the interface of the second application according to the read cached credential information when the electronic device receives the application switching operation. The electronic device can also switch the displayed interface to the desktop and display the real-time reminding control including the credential information in the desktop according to the read cached credential information when the electronic device receives the desktop switching operation. In addition, if the above first interface and the second interface are interfaces of a mini-program running in the first application, the electronic device can also switch the displayed interface to the main interface of the first application and display the real-time reminding control including the credential information in the main interface of the first application according to the read cached credential information when the electronic device receives the exit operation for the mini-program.
[0095] In some embodiments, for the cached credential information, the cached credential information can be deleted when the real-time reminding control cancels the display (i.e., automatically disappears) according to the display rule thereof. The cached credential information can also be deleted when the display of the real-time reminding control is canceled according to the user input operation. The cached credential information can also be deleted when it is identified that the first interface including the above credential information is displayed again.
[0096] The interface display method provided by the embodiments of the present application can identify the credential information in the interface in which the credential information is displayed, identify the credential information in the interface after the interface is switched, cache the identified credential information, and display the real-time reminding control including the credential information in the switched interface based on the cached credential information when the interface is switched to the interface in which the credential information needs to be displayed in the real-time reminding control. Therefore, the user can conveniently view the credential information, the difficulty of displaying the above credential information in the real-time reminding control and the implementation cost can be reduced, in addition, the efficiency of displaying the above credential information in the real-time reminding control can be improved, and the display delay can be reduced.
[0097] Please refer to Figure 9 , Figure 9 The flowchart of the interface display method provided by another embodiment of the present application is shown. The interface display method is applied to the above electronic device, and the following will be described in detail with respect to the flowchart shown in Figure 9 The interface display method can specifically include the following steps: Step S510: display a first interface of the first application, the first interface including the credential information.
[0098] In the embodiments of the present application, step S510 can refer to the content of the foregoing embodiments, which will not be described here again.
[0099] Step S520: in the case where the first operation is received and the first interface is the target interface, switch the displayed interface to a second interface, and display a real-time reminder control including the credential information in the second interface.
[0100] In the embodiments of the present application, the electronic device can switch the displayed interface to the second interface and display the real-time reminder control including the credential information in the second interface in the case where the first operation is received and the first interface is the target interface. That is, in the case where the first interface is the target interface, the real-time reminder control including the credential information is displayed in the switched interface in response to the received first operation. The target interface can be a preconfigured interface in which the credential information needs to be displayed in the switched interface, and the target interface can be an interface of an APP or an interface of a mini program.
[0101] In some embodiments, when the first interface is displayed, the electronic device can determine whether the first interface is the target interface, monitor the case where the user inputs the first operation if the first interface is the target interface, and display the real-time reminder control including the credential information in the second interface after the displayed interface is switched to the second interface. If the first interface is not the target interface, even if the first operation is obtained, the displayed interface is switched to the corresponding interface in response to the first operation, but the real-time reminder control including the credential information is not displayed in the switched interface.
[0102] In some embodiments, the activity name, path information, lab information, etc. of the target interface can be preconfigured in the electronic device. If the target interface is an interface of an APP, the activity name can be preconfigured for the target interface. If the target interface is an interface of a mini program, the activity name cannot be used to determine whether the interface of the running mini program in the application is the target interface, so the activity name, path information, lab information, etc. can be configured for the target interface to accurately identify the target interface of the mini program.
[0103] For example, refer to Figure 10After displaying the interface of the applet or APP, the interface information (for example, activity component and lab information) of the displayed interface can be obtained through activityEnter or AppEnter in the operating system and recorded; according to the activity component, the monitor_activities in the configuration file can be matched; in the case of matching, it can be determined whether the current interface is the interface of the applet; if yes, it is determined whether the current lab information matches the configured lab information; if not, the above recorded interface information is cleared; if yes, after detecting the first operation, the text information in the interface is extracted; then it is judged whether the path information of the applet matches the configured path information; if not, the above recorded interface information is cleared; if yes, the text information in the interface is obtained, and then the AI Unit is used to obtain the credential information from the text information; in the case of obtaining the credential information, the real-time reminder control including the credential information can be displayed in the interface after switching. In addition, if the current interface is not the interface of the applet, after detecting the first operation, the text information in the interface is obtained, and then the AI Unit is used to obtain the credential information from the text information; in the case of obtaining the credential information, the real-time reminder control including the credential information can be displayed in the interface after switching.
[0104] In a possible implementation, in the case of receiving the second operation in the foregoing embodiments, performing interface switching in the application of the first application, identifying the credential information from the first interface, and caching the credential information, the credential information in the first interface can also be identified in the case of determining that the above first interface is the target interface.
[0105] Exemplarily, refer to Figure 11After displaying the interface of the applet or APP, the interface information (for example, activity component and lab information) of the displayed interface can be obtained through activityEnter or AppEnter in the operating system and recorded; according to the activity component, the monitor_activities in the configuration file can be matched; in the case of matching, it can be determined whether the current interface is the interface of the applet; if yes, it is determined whether the current lab information matches the configured lab information; if not, the above recorded interface information is cleared; if yes, after detecting the second operation, the text information in the interface is extracted; then it is judged whether the path information of the applet matches the configured path information; if not, the above recorded interface information is cleared; if yes, the text information in the interface is obtained, and then the credential information is obtained from the text information through the AI Unit; in the case of obtaining the credential information, the credential information can be cached. In addition, if the current interface is not the interface of the applet, after detecting the second operation, the text information in the interface is obtained, and then the credential information is obtained from the text information through the AI Unit; in the case of obtaining the credential information, the credential information can be cached.
[0106] The interface display method provided in the embodiments of the present application can recognize the credential information in the target interface which displays the credential information, and display the real-time reminder control including the recognized credential information in the interface after the target interface is switched to other interface, so as to facilitate the user to view the credential information, and reduce the implementation difficulty and cost of displaying the above credential information in the real-time reminder control.
[0107] Please refer to Figure 12 , Figure 12 A flowchart of an interface display method provided in another embodiment of the present application is shown. The interface display method is applied to the above-mentioned electronic device, and the following will be described in detail with respect to the flowchart shown in Figure 12 The interface display method can specifically include the following steps: Step S610: display a first interface of a first application, the first interface including credential information.
[0108] In the embodiments of the present application, step S610 can refer to the content of the foregoing embodiments, which will not be described here.
[0109] Step S620: In the case that the first operation is received, the real-time reminding control including the target activity information is displayed in the first interface, and the priority of the first application is higher than the priority of the third application corresponding to the target activity information, the displayed interface is switched to a second interface, and the real-time reminding control including the credential information is displayed in the second interface.
[0110] In the embodiments of the present application, when the electronic device displays the first interface, the real-time reminding control originally displayed in the first interface may include the content of the related real-time activity. After receiving the first operation, when the real-time reminding control including the credential information is displayed in the switched interface, the content in the real-time reminding control needs to be switched. In the case that the real-time reminding control originally displays the content, it may affect the normal use of the user. Therefore, in the case that the real-time reminding control including the target activity information is displayed in the first interface, the priority of the first application and the priority of the third application corresponding to the target activity information are determined. If the priority of the first application is higher than the priority of the third application corresponding to the target activity information, the real-time reminding control including the credential information can be displayed in the second interface.
[0111] In some embodiments, when the priority of the first application and the priority of the third application are determined, the priority of the first application can be determined according to a predetermined correspondence between application names and priorities, and according to the name of the first application. The priority of the third application can be determined according to the correspondence and the name of the third application. The above correspondence can be divided according to the importance of different application programs in advance.
[0112] In some embodiments, the process priority corresponding to the process to which the first interface belongs can also be obtained, and the process priority is taken as the priority of the first application. In addition, the process priority corresponding to the process to which the target activity information of the third application belongs is obtained, and the process priority is taken as the priority of the third application.
[0113] The interface display method provided in the embodiments of the present application can be used for the interface including the credential information. When the interface is switched to another interface, in the case that the real-time reminding control including the activity information is originally displayed in the interface, and the priority of the application to which the interface belongs is higher than the priority of the application to which the activity information belongs, the above credential information is displayed in the real-time reminding control of the switched interface, so that the user can conveniently view the credential information, and the normal use of the user is not affected.
[0114] The following will be described Figure 13 The interface display method related to the foregoing embodiments will be described.
[0115] AsFigure 13 As shown, Figure 13 The system framework involved in the interface display method provided by the foregoing embodiments is shown. The system framework includes an interface detection module, a credential information extraction module, a template customization module of a real-time reminding control, and a display module of the real-time reminding control. The interface detection module can be used to determine whether a displayed interface is a configured target interface according to path information, activity information, and the like of an applet in a configuration list; in a case where it is determined that the displayed interface is the configured target interface, the AppSwitch can be used to listen to switching of an application to which the target interface belongs to background running (switching to an interface of another application, switching to a desktop, and the like), and the AppSwitch can also be used to listen to a back event of the target interface (that is, interface switching within an application occurs). In these cases, the ViewExtractSDK can be used to obtain content text information in the interface. In addition, the interface detection module can also detect, recognize, and register an auxiliary service, listen to clicking and focusing of a view, determine path information of an applet, and the like through auxiliary service detection. The credential information extraction module can extract credential information from the text information through an AI Unit, and recognize a status of a service process. The template customization module of the real-time reminding control can customize a template of the real-time reminding control. For example, different templates of the real-time reminding control can be determined according to a category of a target interface, interface resources, and the like. The display module of the real-time reminding control can be used to display the extracted credential information to the real-time reminding control.
[0116] Please refer to Figure 14 which shows a structural block diagram of an interface display apparatus 700 provided by an embodiment of the present application. The interface display apparatus 700 applies the electronic device described above, and the interface display apparatus 700 includes a first interface display module 710 and a second interface display module 720. The first interface display module 710 is configured to display a first interface of a first application, and the first interface includes credential information. The second interface display module 720 is configured to switch a displayed interface to a second interface in a case where a first operation is received, and the second interface includes a real-time reminding control. The real-time reminding control includes the credential information recognized from the first interface.
[0117] In some embodiments, the second interface display module 720 can be specifically configured to switch the displayed interface to an interface of a second application in a case where an application switching operation is received, and the interface of the second application includes a real-time reminding control in which the credential information is displayed. The second interface display module 720 can also be specifically configured to switch the displayed interface to a desktop in a case where a desktop switching operation is received, and the desktop includes the real-time reminding control in which the credential information is displayed.
[0118] In a possible implementation, if the first interface is an interface of an applet running in the first application, the second interface display module 720 can further be configured to, in response to receiving an exit operation for the applet, switch the displayed interface to a main interface of the first application, the main interface including the real-time reminding control displaying the credential information.
[0119] In some embodiments, the interface display apparatus 700 can further include a lock screen interface display module. The lock screen interface display module can be configured to, after displaying the first interface of the first application, display a lock screen interface in a case where the electronic device is in a lock screen state, the lock screen interface including the real-time reminding control displaying the credential information.
[0120] In some embodiments, the second interface display module 720 can be specifically configured to: in response to receiving the first operation, identify the credential information from the first interface; and switch the displayed interface to the second interface, the second interface including the real-time reminding control displaying the credential information.
[0121] In a possible implementation, the second interface display module 720 can be further configured to, in response to receiving the first operation, acquire text information existing in the first interface; and identify the credential information from the text information.
[0122] In some embodiments, the interface display apparatus 700 can further include a credential identification module and a credential cache module. The credential identification module can be configured to, in response to receiving a second operation, identify the credential information from the first interface; and the credential cache module can be configured to cache the credential information.
[0123] In the above embodiments, the second interface display module 720 can be specifically configured to: in response to receiving the first operation, read the cached credential information, and switch the displayed interface to the second interface, the second interface including the real-time reminding control displaying the credential information.
[0124] In a possible implementation, the credential identification module can be specifically configured to, in response to receiving an interface switching operation in the first application, switch the first interface to a second interface of the first application, and identify the credential information from the first interface.
[0125] In some embodiments, the credential information includes at least one of a pick-up code, a meal pick-up code, a pick-up code, a queue number, and a handling code in a service process.
[0126] In some embodiments, the second interface display module 720 can be specifically configured to: in the case that the first interface is a target interface, and the first operation is received, switch the displayed interface to a second interface, and display a real-time reminder control including the credential information in the second interface.
[0127] In some embodiments, the second interface display module 720 can be specifically configured to: in the case that the first operation is received, the first interface includes a real-time reminder control on which target activity information is displayed, and the priority of the first application is higher than the priority of a third application corresponding to the target activity information, switch the displayed interface to a second interface, and display a real-time reminder control including the credential information in the second interface.
[0128] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described devices and modules can refer to the corresponding process in the foregoing method embodiments, which will not be described here.
[0129] In several embodiments provided in the present application, the coupling between the modules can be electrical, mechanical or other forms of coupling.
[0130] In addition, each functional module in each embodiment of the present application can be integrated in one processing module, or each module can exist physically independently, or two or more modules can be integrated in one module. The integrated module can be realized in the form of hardware or in the form of a software functional module.
[0131] To sum up, the scheme provided in the present application displays a first interface of a first application, the first interface includes credential information, if a first operation is received, the displayed interface is switched to a second interface, the second interface includes a real-time reminder control, and the real-time reminder control includes the credential information identified from the first interface. The credential information in the interface displaying the credential information can be identified, and after the interface is switched, the real-time reminder control including the identified credential information is displayed in the interface, thereby facilitating the user to view the credential information.
[0132] For reference Figure 15 , which shows a structural block diagram of an electronic device provided in an embodiment of the present application. The electronic device 100 can be a smart phone, a tablet computer, a smart watch, an electronic book, or the like, which can run an application program. The electronic device 100 in the present application can include one or more of the following components: a processor 110, a memory 120, and one or more application programs, wherein the one or more application programs can be stored in the memory 120 and configured to be executed by the one or more processors 110, and the one or more application programs are configured to perform the method as described in the foregoing method embodiments.
[0133] The processor 110 can include one or more processing cores. The processor 110 connects various parts within the entire electronic device 100 with various interfaces and lines, performs various functions of the electronic device 100 and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Alternatively, the processor 110 can be implemented in at least one of a hardware form of a digital signal processing (DSP), a field-programmable gate array (FPGA), a programmable logic array (PLA). The processor 110 can integrate a combination of one or several of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes an operating system, a user interface, and an application program, etc.; the GPU is responsible for rendering and drawing display content; and the modem is used for processing wireless communication. It can be understood that the above-mentioned modem can also not be integrated into the processor 110, but be implemented by a separate communication chip.
[0134] The memory 120 can include a random access memory (RAM) and can also include a read-only memory (ROM). The memory 120 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 can include a program storage area and a data storage area, wherein the program storage area can store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing each of the method embodiments described below, etc. The data storage area can also store data created by the electronic device 100 in use (such as a phone book, audio and video data, chat record data, etc.).
[0135] Please refer to Figure 16 which shows a structural block diagram of a computer readable storage medium provided by the embodiments of the present application. The computer readable medium 800 stores program codes therein, and the program codes can be called and executed by a processor to perform the methods described in the above method embodiments.
[0136] The computer-readable storage medium 800 can be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk or a ROM. Optionally, the computer-readable storage medium 800 comprises a non-transitory computer-readable medium. The computer-readable storage medium 800 has storage space for program code 810 to perform any of the method steps of the above-described methods. The program code can be read from or written to one or more computer program products. The program code 810 can be compressed, for example, in a suitable form.
[0137] The embodiments of the present application further provide a computer program product, which comprises a computer program. When the computer program is executed by a processor, the interface display method provided by the above-mentioned embodiments is realized.
[0138] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for displaying an interface, characterized in that, The method includes: Display the first interface of the first application, the first interface including credential information; Upon receiving the first operation, the displayed interface will be switched to a second interface, which includes a real-time reminder control. The real-time reminder control includes the credential information identified from the first interface.
2. The method according to claim 1, characterized in that, Upon receiving the first operation, switching the displayed interface to the second interface includes: Upon receiving an application switching operation, the displayed interface will be switched to the interface of the second application, which includes a real-time reminder control displaying the credential information. Upon receiving a desktop switching operation, the displayed interface will be switched to the desktop, which includes a real-time reminder control displaying the voucher information.
3. The method according to claim 2, characterized in that, If the first interface is the interface of a mini-program running in the first application, the step of switching the displayed interface to the second interface upon receiving the first operation further includes: Upon receiving an exit operation for the mini-program, the displayed interface will be switched to the main interface of the first application, which includes a real-time reminder control displaying the voucher information.
4. The method according to claim 1, characterized in that, After displaying the first interface of the first application, the method further includes: When the electronic device is in a locked state, a lock screen interface is displayed, which includes a real-time reminder control that displays the voucher information.
5. The method according to claim 1, characterized in that, Upon receiving the first operation, switching the displayed interface to the second interface includes: Upon receiving the first operation, the credential information is identified from the first interface; The displayed interface will be switched to the second interface, which includes a real-time reminder control that displays the voucher information.
6. The method according to claim 5, characterized in that, Upon receiving the first operation, identifying the credential information from the first interface includes: Upon receiving the first operation, retrieve the existing text information from the first interface; Identify the credential information from the text information.
7. The method according to claim 1, characterized in that, Before switching the displayed interface to the second interface upon receiving the first operation, the method further includes: Upon receiving the second operation, the credential information is identified from the first interface; Cache the credential information; Upon receiving the first operation, switching the displayed interface to the second interface includes: Upon receiving the first operation, the cached credential information is read, and the displayed interface is switched to a second interface, which includes a real-time reminder control displaying the credential information.
8. The method according to claim 7, characterized in that, Upon receiving the second operation, identifying the credential information from the first interface includes: Upon receiving an interface switching operation within the first application, the first interface is switched to the second interface of the first application, and the credential information is identified from the first interface.
9. The method according to claim 1, characterized in that, The voucher information includes at least one of the following: order code, food pickup code, package pickup code, queue number, and processing code in the service process.
10. The method according to any one of claims 1-9, characterized in that, Upon receiving the first operation, switching the displayed interface to the second interface includes: Upon receiving the first operation, if the first interface includes a real-time reminder control displaying target activity information, and the priority of the first application is higher than the priority of the third application corresponding to the target activity information, the displayed interface will be switched to the second interface, and a real-time reminder control including the voucher information will be displayed on the second interface.
11. An interface display device, characterized in that, The device includes: a first interface display and a second interface display module, wherein... The first interface display module is used to display the first interface of the first application, the first interface including credential information; The second interface display module is used to switch the displayed interface to a second interface when a first operation is received. The second interface includes a real-time reminder control, which includes the credential information identified from the first interface.
12. An electronic device, characterized in that, include: One or more processors; Memory; One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs being configured to perform the method as described in any one of claims 1-10.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium contains program code that can be invoked by a processor to execute the method as described in any one of claims 1-10.
14. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the method as described in any one of claims 1-10.