Display method and electronic equipment
By determining whether preset conditions are met based on user input in the lock screen state of the electronic device, directly displaying specific application content or switching to the unlocking state, the problem of cumbersome unlocking process in the prior art is solved, and convenience and operation efficiency are improved.
Patent Information
- Application Number
- CN202510122133.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-05-13
AI Technical Summary
The steps in the unlocking process of existing electronic devices are cumbersome, affecting the convenience of users and the continuity of workflows.
In the lock screen state of the electronic device, it is determined whether the preset conditions are met based on the user's input information. If it is met, the specific application content will be displayed directly without completely unlocking. If more complex operations are required, the unlocking state will be switched to.
Simplifies the process of accessing device content by users, improves convenience and operational efficiency, while saving power and reducing interference when unnecessary.
Smart Images

Figure CN119987702A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of screen display, and in particular to a display method and an electronic device. Background Art
[0002] In the current digital age, with the popularity of various smart devices and applications, electronic devices generally adopt a lock screen unlocking mechanism. After the screen is locked, the content of the electronic device is protected, and users can unlock the device and access it through fingerprints, facial recognition, passwords, etc. However, this mechanism sacrifices convenience to a certain extent, resulting in the user needing to perform an unlocking operation before accessing the device content each time, and then click on the corresponding application or file to access the required content after entering the main page, which not only increases the number of user operation steps, but may also interrupt the user's continuous workflow. Summary of the invention
[0003] In view of the above problems, the present disclosure provides a display method and an electronic device.
[0004] According to a first aspect of the present disclosure, a display method is provided, comprising: determining that an electronic device is in a first state, responding to obtaining input information, and when determining that the input information satisfies a first preset condition, maintaining the electronic device in the first state, controlling the electronic device to display a first application content, wherein the first application content can be obtained by an electronic device in a second state by receiving multiple operation input information; wherein, if the input information satisfies a second preset condition, the electronic device can switch from the first state to the second state, wherein the number of instructions that the electronic device can respond to in the first state is less than the number of instructions that can be responded to in the second state.
[0005] According to an embodiment of the present disclosure, the method also includes: when it is determined that the input information meets a third preset condition, controlling the electronic device to display a second application content, the second application content can be obtained by the electronic device in the second state receiving multiple operation input information, and the second application content and the first application content indicate the same type of information.
[0006] According to an embodiment of the present disclosure, the method also includes: displaying a first image interface on a display unit of an electronic device in a first state, and when obtaining first input information of a user on the first image interface, determining that a first preset condition is satisfied, and when obtaining second input information of the user on the first image interface, determining that a second preset condition is satisfied, and the first input information is different from the second input information.
[0007] According to an embodiment of the present disclosure, the first state is a lock screen state, the second state is an unlock state, and the first image interface is a lock screen key input interface.
[0008] According to an embodiment of the present disclosure, the method also includes: obtaining first key input information in response to the lock screen key input interface, determining that a first preset condition is met, and controlling the electronic device to display first application content, wherein the first application content includes a first scan payment page; or obtaining third key input information in response to the lock screen key input interface, determining that a third preset condition is met, and controlling the electronic device to display second application content, wherein the second application content includes a second scan payment page.
[0009] According to an embodiment of the present disclosure, the method also includes: when determining that the electronic device is in the second state, controlling the electronic device to display a configuration interface, the configuration interface being used to configure first preset information of the first application content and / or third preset information of the second application content to be output in the first state, and when the input information matches the first preset information, determining that the first preset condition is met, and when the input information matches the third preset information, determining that the third preset condition is met.
[0010] According to an embodiment of the present disclosure, when it is determined that the input information satisfies the first preset condition, the electronic device is kept in the first state, and the electronic device is controlled to display the first application content, including: when the input information satisfies the first preset condition, obtaining a communication interface supported by a target application in the electronic device, the target application being an application that provides the first application content; calling the communication interface to establish a target communication connection between the electronic device and the target application; under the target communication connection, controlling the electronic device to display the first application content.
[0011] According to an embodiment of the present disclosure, obtaining a communication interface supported by a target application in an electronic device includes: querying configuration information of the target application, the configuration information being integrated in the electronic device; and obtaining the communication interface supported by the target application based on the configuration information.
[0012] According to an embodiment of the present disclosure, a communication interface is called to establish a target communication connection between an electronic device and a target application, including: determining a corresponding communication protocol based on the communication interface supported by the target application; using the communication protocol, controlling the electronic device to send a connection request to the target application; in response to the target application receiving the connection request, verifying the connection request; in response to the verification being successful, establishing a target communication connection between the electronic device and the target application.
[0013] A second aspect of the present disclosure provides an electronic device, comprising: a display screen for sensing input information; a processor, communicatively connected to the display screen, the processor being used to determine that the electronic device is in a first state, and in response to obtaining the input information, and when determining that the input information satisfies a first preset condition, maintaining the electronic device in the first state, and controlling the display screen of the electronic device to display a first application content, wherein the first application content can be obtained by the electronic device in a second state by receiving multiple operation input information; wherein, if the input information satisfies the second preset condition, the electronic device can switch from the first state to the second state, wherein the number of instructions that the electronic device can respond to in the first state is less than the number of instructions that can be responded to in the second state.
[0014] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0016] Figure 1 A diagram schematically shows an application scenario of a display method and an electronic device according to an embodiment of the present disclosure;
[0017] Figure 2 A flowchart of a display method according to an embodiment of the present disclosure is schematically shown;
[0018] Figure 3 A schematic diagram schematically shows a method of determining whether input information meets a preset condition according to an embodiment of the present disclosure;
[0019] Figure 4 A flowchart of configuring preset information according to an embodiment of the present disclosure is schematically shown;
[0020] Figure 5 Schematically shows a flow chart of inputting different information on the first image interface according to an embodiment of the present disclosure;
[0021] Figure 6 A schematic diagram of providing a scan payment page according to an embodiment of the present disclosure is schematically shown;
[0022] Figure 7 A structural block diagram of a display device according to an embodiment of the present disclosure is schematically shown; and
[0023] Figure 8 A block diagram of an electronic device suitable for implementing a display method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0024] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0025] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0026] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0027] It should be noted that the collection, storage, use, processing, transmission, provision, disclosure and application of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations, necessary confidentiality measures have been taken, and they do not violate public order and good morals. In the technical solution of this disclosure, the user's authorization or consent is obtained before obtaining or collecting user personal information.
[0028] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0029] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0030] Figure 1A diagram 100 schematically shows an application scenario of a display method and an electronic device according to an embodiment of the present disclosure.
[0031] It should be noted that Figure 1 The examples shown are merely scenarios in which the embodiments of the present disclosure can be applied, to help those skilled in the art understand the technical content of the present disclosure, but do not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.
[0032] like Figure 1 As shown, it shows a schematic diagram of an application runtime environment 100 provided by an embodiment of the present disclosure. The application runtime environment may include: electronic devices 101, 102, 103, a network 104 and a server 105. Electronic devices 101, 102, 103 include but are not limited to mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle terminals, game consoles, e-book readers, multimedia playback devices, wearable devices and other electronic devices. The client of the application can be installed in the electronic devices 101, 102, 103.
[0033] In the disclosed embodiment, the above-mentioned application can be any application that can provide application content. Typically, the application can be a payment application. Of course, in addition to payment applications, other types of applications can also generate and provide rich application content. For example, music and video playback software, e-book reading platforms, map navigation applications, health management software, and shopping mall applications, etc., which are not specifically limited in the disclosed embodiment. Optionally, the client of the above-mentioned application is running in the electronic devices 101, 102, and 103, which is used to generate, update and display a variety of application content in real time to meet the various needs of users.
[0034] In actual applications, before a user accesses the application content of an application, he or she can directly input different information, such as different shortcut commands or password combinations, in the lock screen key input interface of the electronic device 101, 102, 103 to control the electronic device to display different content or unlock specific application functions. For example, entering a specific sequence of numbers can directly display the schedule, while another set of passwords can enter the music playback interface, so as to improve the convenience and personalization of the use of the electronic device and allow the user to quickly access frequently used content or services according to personal needs.
[0035] The server 105 is used to provide background services for the clients of the applications in the electronic devices 101, 102, and 103. For example, the server 105 can be the background server of the above-mentioned application. The server 105 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. Optionally, the server 105 provides background services for the applications in multiple electronic devices 101, 102, and 103 at the same time.
[0036] Optionally, the electronic devices 101, 102, 103 and the server 105 can communicate with each other via the network 104. The electronic devices 101, 102, 103 and the server 105 can be directly or indirectly connected via wired or wireless communication, which is not limited in the present disclosure.
[0037] It should be noted that the display method provided in the embodiment of the present disclosure can generally be applied to electronic devices 101, 102, and 103. The display method provided in the embodiment of the present disclosure can also be integrated or deployed in other smart devices or systems that are different from the electronic devices 101, 102, and 103 and are compatible with or capable of communicating with the electronic devices 101, 102, and 103.
[0038] It should be understood that Figure 1 The number of electronic devices, networks and servers in the embodiment is only for illustration. Any number of electronic devices, networks and servers may be provided as required.
[0039] The following will be based on Figure 1 The scene described by Figure 2~Figure 6 The display method of the embodiment of the present disclosure is described in detail.
[0040] like Figure 2 As shown, it shows a flow chart of a display method provided by an embodiment of the present disclosure. The method can be applied to an electronic device, and the electronic device refers to an electronic device with data calculation and processing capabilities. The method includes S210~S220.
[0041] In S210, it is determined that the electronic device is in the first state, and in response to obtaining input information, when it is determined that the input information satisfies a first preset condition, the electronic device is maintained in the first state, and the electronic device is controlled to display first application content, and the first application content can be obtained by the electronic device in the second state receiving multiple operation input information.
[0042] The current state of the electronic device, that is, whether it is in the first state, can be detected by a built-in sensor or a user interaction interface. The first state can be a low power mode, a locked screen state, or a simplified interface mode designed for a specific application scenario. Then, the input information from the user or the external environment can be continuously monitored, such as a digital password, a pattern lock, a fingerprint unlocking, and facial recognition. Once the input information is obtained, a conditional judgment can be made immediately, that is, whether the input information meets the first preset condition or the second preset condition. When the input information meets the first preset condition, the user can quickly display certain application content without completely unlocking or switching to a fully functional state (i.e., the "second state"). At this time, the system keeps the electronic device in the first state and controls the display of specific first application content. The correlation between the first application content and the input information that meets the first preset condition can be customized by the user, and can be information that the user frequently accesses or is relatively important to the current situation, such as a payment page, a ride code, etc.
[0043] It should be noted that in the conventional operation process, the first application content can be accessed and used by the user by performing a series of specific operation inputs when the device is in its second state of full operability and full functionality. Among them, the "full operable second state" may refer to a state where the device has been unlocked, applications and functions have been activated, and the user can freely perform various operations.
[0044] Exemplarily, when the user has entered the main page of the smart electronic device by unlocking it, that is, the device is in a fully operational state (second state), the user can obtain the first application content, such as payment application content, by clicking on a series of application icons, widgets and notification information displayed on the main page.
[0045] In S220, if the input information satisfies the second preset condition, the electronic device can switch from the first state to the second state, wherein the number of instructions that the electronic device can respond to in the first state is less than the number of instructions that can be responded to in the second state.
[0046] If the input information meets the second preset condition, which means that the user wants to perform more complex operations or access more functions, the system will trigger a switch from the first state to the second state. The second state can be a fully unlocked state of the device, supporting responses to more commands, such as opening any application, adjusting system settings, or performing complex text input. Among them, the number of commands responded to by the electronic device in the first state is less than that in the second state, which can reduce power consumption, improve security, or simplify the user interface. For example, only limited shortcut operations may be allowed in the first state, while the second state unlocks all applications and functions.
[0047] In order to meet the needs of different users, the system can also provide optional operations, allowing users to switch to a fully operational state (i.e., the second state) or return to the standby state through simple operations (such as entering a specific gesture or voice command again) after displaying the first application content.
[0048] For example, when the smart electronic device is in the lock screen state (i.e., the first state), if the unlock password entered by the user is 0000, the first preset condition is met, and the electronic device can directly jump to the boarding code interface without going through the conventional unlocking process, so that the user can quickly scan the code to board the bus. In addition, if the unlock password entered by the user is 1111, which meets the second preset condition, the electronic device will perform the conventional unlocking process, switching from the lock screen state to the unlocked state, and the user can freely access all applications and functions on the device.
[0049] It should be noted that in order to ensure the security and privacy of user data, the operating system can provide a variety of security measures to prevent unauthorized access. For example, when a user tries to enter an incorrect unlock gesture or password multiple times, the system can automatically lock the device and enable a more complex alternative unlock method (such as fingerprint recognition or facial recognition). At the same time, the system can also regularly prompt the user to update the unlock method to prevent security risks caused by using the same unlock method for a long time.
[0050] It can be understood that, through the display method provided by the embodiment of the present disclosure, the electronic device can directly display the required application content according to the user's specific input information in the first state that is not fully operable, thereby greatly simplifying the access process and improving convenience. At the same time, since the system will not switch the device to the fully operable state (i.e., the second state) when it is not necessary, it can also save power and reduce interference.
[0051] Based on the above embodiments, in this embodiment, the method may further include: when it is determined that the input information meets the third preset condition, controlling the electronic device to display the second application content, the second application content can be obtained by the electronic device in the second state receiving multiple operation input information, and the second application content and the first application content indicate the same type of information.
[0052] Figure 3 The diagram schematically shows a method for determining whether input information meets a preset condition according to an embodiment of the present disclosure.
[0053] like Figure 3As shown, after obtaining the input information, it can be determined whether the input information meets the first preset condition, the second preset condition and the third preset condition. When the information input by the user meets the third preset condition, the electronic device can be controlled to display the second application content. Among them, the third preset condition is another condition parallel to the aforementioned first preset condition and the second preset condition, and can also be triggered based on specific information input by the user. The second application content can also be obtained by receiving and processing multiple operation input information when the electronic device is in the second state. These operation input information may include user interactive actions such as clicking, sliding, and entering text, which can work together on the electronic device to generate or display the second application content.
[0054] It should be noted that the second application content is the same or similar in type to the first application content (such as the ride code or payment page) mentioned above. In other words, they can belong to the same category of information or functions, so that users can quickly access different application contents of the same type by entering different information in different scenarios. For example, in a payment scenario, a user may want to quickly access different payment platforms, then the first preset condition may correspond to the payment interface of a payment application, and the third preset condition may correspond to the payment interface of another payment application, so that users can flexibly choose which payment tool to use for transactions based on personal preferences or current circumstances.
[0055] In the process of setting the number of preset conditions, you can customize them according to the diverse needs of users. That is, users are allowed to set multiple preset conditions according to actual needs. These conditions are independent of each other and can correspond to different application content. At the same time, the type of application content can also be completely different to meet the needs of users in different life and work scenarios. For example, a preset condition can be set to directly open the payment page, so that users can quickly complete the payment process for online shopping or offline consumption, while another preset condition can trigger the content display of the video playback application, thereby avoiding the tedious unlocking of the device and opening the applications one by one.
[0056] For example, in one payment scenario, the merchant only supports payment with the first payment application. At this time, the user can enter the preset quick password "1234" in the first state of the electronic device, and the password is recognized by the electronic device as meeting the first preset condition. Therefore, the electronic device can directly jump to the payment QR code interface of the first payment application to complete the payment without unlocking the main screen. In another payment scenario, the merchant only supports payment with the second payment application, so the user can enter another quick password "4567" corresponding to the third preset condition in the lock screen state, thereby opening the payment code interface of the second payment application to quickly complete the payment.
[0057] It can be understood that by introducing the third preset condition and the second application content, the electronic device can display different interfaces or functions according to different input information, thereby meeting the diverse needs of users and improving flexibility.
[0058] In an embodiment of the present disclosure, the method may further include: when determining that the electronic device is in the second state, controlling the electronic device to display a configuration interface, the configuration interface being used to configure first preset information of the first application content and / or third preset information of the second application content to be output in the first state, and when the input information matches the first preset information, determining that the first preset condition is met, and when the input information matches the third preset information, determining that the third preset condition is met.
[0059] Figure 4 The flowchart of configuring preset information according to an embodiment of the present disclosure is schematically shown.
[0060] like Figure 4 As shown, when it is determined that the electronic device is currently in the second state (for example, a specific unlocked interface, a security verification interface, or a specific in-application interface), the electronic device can be controlled to display a configuration interface. In the configuration interface, the user can configure or adjust the matching rules in the first state according to their needs, that is, configure the first preset information and / or the third preset information.
[0061] The configuration interface provides a setting option for the first preset information required to output the first application content in the first state. The user can set a specific input information (i.e., the first preset information) in the configuration interface as the first preset condition to trigger the display of the first application content. When the electronic device detects that the information input by the user matches the preset first preset information, it can be considered that the first preset condition is met, and then the first application content is displayed. Similarly, the configuration interface also supports the configuration of the third preset information, so that the second application content is displayed in the first state. The user can set a unique input information as the third preset information for the third preset condition in the configuration interface. When the information matches the information actually input by the user, it can be judged that the third preset condition is met, and the corresponding second application content is displayed.
[0062] The configuration interface may also configure second preset information that satisfies a second preset condition in the first state. The second preset information is similar to the first preset information and the third preset information, and may also include various forms of input, such as passwords, gestures, and biometric recognition. When the input information matches the second preset information, it is determined that the second preset condition is met, and at this time, the electronic device may switch from the first state to the second state.
[0063] Taking gesture passwords as an example, in the configuration interface, users can create unique gesture passwords for the first application content and the third application content as the first preset information and the third preset information, respectively. For example, in order to quickly access the weather forecast application content, the user can draw a gesture pattern, such as a "T" shape as the first preset information. Similarly, in order to obtain the navigation application content, the user can set another different gesture pattern, such as an "M" shape as the third preset information. When creating a gesture password, the user can select or specify the application or function associated with the gesture password, that is, the system can provide a list of applications for the user to choose from, and the user can find and click the "Weather Forecast" and "Navigation" applications to complete the association setting between the preset information and the application content.
[0064] It is understandable that by introducing a configuration interface to set and manage preset information, users can customize the configuration interface according to their preferences and needs, thereby achieving a personalized device usage experience, meeting the diverse needs of users, and providing users with more choices and control.
[0065] In an embodiment of the present disclosure, the method may further include: displaying a first image interface on a display unit of an electronic device in a first state, determining that a first preset condition is satisfied when first input information of a user is obtained on the first image interface, and determining that a second preset condition is satisfied when second input information of a user is obtained on the first image interface, and the first input information is different from the second input information.
[0066] When the electronic device is in the first state, the display unit (such as a touch screen) of the electronic device can display a first image interface. On the first image interface, the user can input information in various ways, such as touching a specific area on the screen, entering text or passwords, using gestures, or performing biometric recognition. The system can determine whether the preset conditions are met based on the type and content of the information entered by the user. When the user enters the first input information that matches the first preset information on the first image interface, the system can immediately recognize that the first input information meets the first preset condition. In response, the electronic device will quickly switch to the first application content pre-configured by the user, such as displaying a payment QR code, starting a specific application, or executing a preset operation process. Similarly, if the user enters the second input information that matches the second preset information on the first image interface, the system can determine that the second input information meets the second preset condition. Subsequently, the electronic device can display the second application content or perform an operation associated with the second preset condition according to the user's configuration.
[0067] The first image interface can also provide intuitive prompts and feedback mechanisms. For example, when the user hovers his finger over a triggerable area, the interface can prompt the user by highlighting or slightly vibrating. When the user successfully enters information that meets the preset conditions, the interface can display a short confirmation animation or sound effect to enhance the user's sense of operation and achievement.
[0068] Figure 5 A flowchart for inputting different information on the first image interface according to an embodiment of the present disclosure is schematically shown.
[0069] For example, Figure 5 As shown, in an application scenario of a smartphone, the user wants to quickly access the payment function according to his needs. In order to achieve this goal, the smartphone system provides a configuration interface that allows the user to set different input information to trigger different functions. First, the user enters the setting menu of the smartphone, finds and clicks to enter the "Quick Operation Configuration Interface". In this interface, the user can see two configuration options for preset conditions, namely the first preset condition and the second preset condition. For the first preset condition, the user can configure it to trigger the first payment function. The user clicks the configuration option of the first preset condition, and then draws a gesture pattern, such as an "L" shape, in the pop-up input box. The pattern is the first input information that the user needs to enter on the first image interface to trigger the first payment function. Then, for the second preset condition, the user can configure it to unlock the main page. The user clicks the configuration option of the second preset condition and draws another gesture pattern, such as a "Z" shape, which is the second input information that the user needs to enter on the first image interface to quickly unlock the main page. After the configuration is completed, when the user clicks the lock screen page, the pattern drawing interface will be displayed on the display unit of the smartphone. If the user wants to trigger the first payment function, the "L" shape can be drawn on the first image interface. Furthermore, the smartphone system can immediately identify the input information as the first input information, satisfying the first preset condition, and thus display the corresponding payment QR code. On the other hand, if the user wants to unlock and enter the main page, he only needs to draw the previously set "Z" shape in the input box of the first image interface. The smartphone system can also quickly identify the input information as the second input information that satisfies the second preset condition, and immediately display the main page.
[0070] It should be noted that the first input information and the second input information are different to ensure that the system can accurately distinguish the function that the user wants to trigger.
[0071] It can be understood that by displaying the first image interface in the first state and triggering different preset conditions according to different information input by the user, not only the practicality and convenience of the device can be improved, but also a more flexible and personalized operating experience can be brought to the user.
[0072] According to an embodiment of the present disclosure, the first state is a lock screen state, the second state is an unlock state, and the first image interface is a lock screen key input interface.
[0073] In some exemplary embodiments, the first state may specifically refer to the lock screen state of the electronic device, that is, the initial state of the device before it is unlocked by the user, in order to protect the privacy and security of the device. In the lock screen state, the electronic device can display some basic information, such as time, notifications, etc., but will not display the user's personal data or application content. The second state is the unlocked state, that is, the state after the user has successfully unlocked the electronic device through verification (such as entering a password, using biometric recognition, etc.). In the unlocked state, the user can freely access various applications, data and services on the electronic device. The first image interface may specifically refer to the lock screen key input interface, that is, the interface that the user needs to interact with in the lock screen state, for entering the unlock password or performing other forms of identity authentication. The lock screen key input interface may only contain necessary input boxes, prompt information and possible identity authentication options (such as fingerprint recognition, facial recognition, etc.).
[0074] When the electronic device is in the lock screen state (first state), the user can see the input box on the lock screen key input interface (first image interface). If the user wants to unlock the phone (enter the second state), he needs to enter the correct unlock password in the input box or perform other forms of identity authentication. However, if the user wants to trigger a specific quick operation (such as quick payment or launching an application), he can enter different input information that matches the preset conditions in the same input box.
[0075] For example, the user can set a specific passphrase as the first input information to directly trigger the first payment function in the lock screen state. Similarly, the user can set another specific passphrase as the second input information to directly trigger the second payment function in the lock screen state. When the user enters these specific passphrases on the lock screen key input interface, the electronic device can recognize them and perform corresponding shortcut operations according to the user's configuration.
[0076] It can be understood that the first state, the second state and the lock screen key input interface are limited so that the electronic device can not only provide basic security protection functions, but also enable users to quickly access commonly used functions and services according to their needs.
[0077] In an embodiment of the present disclosure, the method may further include: obtaining first key input information in response to the lock screen key input interface, determining that a first preset condition is met, and controlling the electronic device to display first application content, wherein the first application content includes a first scan payment page; or obtaining third key input information in response to the lock screen key input interface, determining that a third preset condition is met, and controlling the electronic device to display second application content, wherein the second application content includes a second scan payment page.
[0078] When the lock screen key input interface of the electronic device is activated, the system can start to listen to and respond to the user's input operations. In this process, first, the user can enter information on the lock screen key input interface. The input information can be a digital password, graphic password, fingerprint recognition, facial recognition and other forms of identity authentication methods, depending on the configuration of the electronic device and the user's choice. After the system receives the input information, it will immediately verify whether it is the first key input information or the third key input information, and determine whether it meets the first preset condition or the third preset condition. If the input information is verified to be the first key input information and it is confirmed that the first preset condition is met, the system can control the electronic device to directly display the first application content. If the user enters the third key information on the lock screen key input interface and it is determined that the third preset condition is met, the system can control the electronic device to directly display the second application content. Among them, the first application content can specifically refer to those application interfaces related to the user's daily payment, such as the first scan payment page, which can be used to display such as Figure 6 The second application content can also be related to payment, but can come from another payment application different from the application that provides the first scan payment page, and the payment application can provide the second scan payment page.
[0079] For example, the first scan-to-pay page may be provided by a payment application that the user frequently uses for daily consumer payments, while the second scan-to-pay page may be provided by another payment application that may be selected by the user due to merchant offers, user social relationships, or other specific reasons.
[0080] Under the trigger mechanism of the lock screen key input interface of the electronic device, the first application content and the second application content are not limited to displaying the scan payment page, but can also display other functions closely related to daily life, such as boarding codes, access cards and coupon displays. For example, for the first application content, it can be configured to display the bus card code. That is to say, when the user needs to pay on the public transportation system, there is no need to unlock the device and enter a specific payment or transportation application. The bus card code can be quickly displayed by simply entering the specific key information associated with the bus card in the lock screen state. The second application content can be specially configured to display the subway code. Similar to the bus card code, the subway code allows users to quickly complete payment on the subway system. The user only needs to enter the specific key information associated with the subway code on the lock screen key input interface, and the system can immediately recognize and display the subway code.
[0081] It is understandable that by directly triggering the display of application content through the lock screen key input interface, users can quickly access the required payment page without unlocking the device and entering the application list or searching for a specific application, which simplifies the operation process, improves usage efficiency, and avoids delays caused by finding and opening applications.
[0082] On the basis of the above embodiments, in this embodiment, when it is determined that the input information satisfies the first preset condition, the electronic device is kept in the first state, and the electronic device is controlled to display the first application content, which may include: when the input information satisfies the first preset condition, obtaining a communication interface supported by a target application in the electronic device, the target application being an application that provides the first application content; calling the communication interface to establish a target communication connection between the electronic device and the target application; under the target communication connection, controlling the electronic device to display the first application content.
[0083] When the user's input information matches the first preset condition, while keeping the electronic device in the first state, that is, the screen remains on but the device is not completely unlocked, it can be determined which application is the target application that provides the first application content. After identifying the target application, the system can query the communication interface supported by the application, such as a communication interface based on a network protocol, or a communication interface based on a local communication mechanism. After obtaining the communication interface information, the system can call these interfaces to establish a communication connection with the target application. Once the communication connection is successfully established, the system can send instructions to the target application through the connection to generate the first application content. After receiving the instructions, the target application can render and display the corresponding content according to its own logic and interface design.
[0084] In the process of displaying the first application content, first, the target application can receive instructions from the electronic device in various formats, such as JSON, XML or custom protocols, through its communication interface (such as network interface and message queue, etc.). Then, these instructions can be identified and parsed to extract key information, such as operation type and data parameters. Then, the target application can call the corresponding business logic module according to the parsed instruction information to perform data verification, permission check and business rule processing. For example, if the instruction is to request to view the payment code, the target application will first verify the identity of the user who initiated the request to ensure that it is a legitimate user. Then, the system will check whether the user has the right to view or generate the payment code. Finally, under the premise of ensuring that all security and permission conditions are met, the target application can generate or retrieve the corresponding payment code according to the preset business logic and algorithm, and display it. Finally, the interface rendering can be performed to present the processed data to the user in a visual way, that is, according to its interface design (such as layout, color and font, etc.), and the user's preference settings (such as theme and language, etc.), select the appropriate view component and layout method to display the data.
[0085] Exemplarily, when a user needs to use the quick payment function, a preset unlocking instruction can be entered on the lock screen interface of the electronic device or through a specific shortcut. If the instruction meets the first preset condition, that is, the verification is successful, the electronic device can trigger the built-in payment application or the third-party payment service associated with it. After the payment application receives the trigger signal, it can configure the payment code according to the user's account information and payment preferences. At the same time, a secure and encrypted communication channel can be established between the electronic device and the payment application. After the payment code is generated, the target application can transmit it to the electronic device through the communication channel, and then the electronic device can display it to the user on its screen.
[0086] It should be noted that for details not included in this embodiment, please refer to the implementation details of the aforementioned embodiment.
[0087] It can be understood that by establishing an automated communication connection and content display with the target application, the electronic device can respond quickly when the user input meets the conditions, achieving seamless integration between systems and improving the coordination and consistency of the overall system.
[0088] Based on the above embodiments, in this embodiment, obtaining the communication interface supported by the target application in the electronic device may include: querying the configuration information of the target application, the configuration information is integrated in the electronic device; based on the configuration information, obtaining the communication interface supported by the target application.
[0089] The configuration information of the target application can be integrated into the electronic device and can exist in various forms, such as configuration files, software tool development kits, or metadata inside the application. The configuration information can record various properties and functions of the target application, including the communication interfaces it supports. The electronic device accesses and parses the configuration information through a built-in query mechanism or application program interface (API) to extract information related to the communication interface of the target application, such as the name of the interface, version number, communication protocol (such as HTTP, TCP / IP, WebSocket, etc.), port number, and authentication mechanism. Based on the parsed configuration information, the electronic device can instantiate one or more communication interface objects to obtain all the details required to communicate with the target application.
[0090] In some exemplary embodiments, you can download a software development kit (SDK) for the payment application's application platform from the official channel of the payment application. Then, follow the integration guide provided by the SDK to integrate the SDK into your own application. At the same time, you can add necessary library files, configuration parameters, and implement related callback interfaces. After the SDK is integrated, you can call the communication interface provided by the payment application to pull up the payment interface.
[0091] It is understandable that by querying the configuration information of the target application, the electronic device can quickly identify and obtain the communication interface supported by the target application, thereby avoiding communication failure or delay caused by interface mismatch during the communication process and improving communication efficiency. At the same time, the communication interface obtained based on the configuration information can ensure compatibility with the target application.
[0092] Based on the above embodiments, in this embodiment, calling a communication interface to establish a target communication connection between an electronic device and a target application may include: determining a corresponding communication protocol based on the communication interface supported by the target application; using the communication protocol to control the electronic device to send a connection request to the target application; in response to the target application receiving the connection request, verifying the connection request; in response to successful verification, establishing a target communication connection between the electronic device and the target application.
[0093] Before establishing a target communication connection between an electronic device and a target application, the electronic device may first determine the corresponding communication protocol based on the communication interface, such as HTTP, HTTPS, WebSocket, and TCP / IP. In this process, the communication protocol that best suits the current communication scenario may be selected based on communication requirements, security requirements, and network conditions. For example, for communications that require high security and data integrity, HTTPS may be selected, while for communications that require high real-time performance, WebSocket may be selected. After determining the communication protocol, the electronic device may construct a connection request that complies with the protocol specification, which may include identification information of the electronic device, identification information of the target application, communication parameters (such as port number and timeout, etc.), and authentication information that may be required. Then, the electronic device sends the constructed connection request to the target application through the selected communication interface and protocol. The target application listens to and receives the connection request from the electronic device, and verifies the received connection request, such as checking the identification information, authentication information, and communication parameters of the electronic device, as well as possible anti-fraud detection, to ensure the validity, legitimacy, and security of the request. Finally, according to the verification result, that is, if the verification is passed, the target application may prepare to establish a communication connection, and if the verification fails, the target application may reject the connection request or request re-authentication.
[0094] After establishing the connection, the electronic device and the target application can further configure the connection parameters, such as data transmission rate, timeout period, and retry strategy.
[0095] It is understandable that by determining the corresponding communication protocol based on the communication interface supported by the target application, it is possible to flexibly adapt to different communication needs and scenarios. At the same time, using an efficient communication protocol, a communication connection can be quickly established between the electronic device and the target application, reducing the delay and overhead in the connection establishment process and improving communication efficiency.
[0096] In an embodiment of the present disclosure, an electronic device is further provided. The electronic device may include a display screen and a processor.
[0097] The display screen is used to sense input information, and users can operate directly on the display screen through touch, sliding or other gestures without the need for additional physical buttons or external input devices.
[0098] The processor is communicatively connected with the display screen, and is used to determine that the electronic device is in a first state, respond to obtaining input information, and when it is determined that the input information satisfies a first preset condition, maintain the electronic device in the first state, and control the display screen of the electronic device to display a first application content, wherein the first application content can be obtained by the electronic device in a second state by receiving multiple operation input information; wherein, if the input information satisfies a second preset condition, the electronic device can switch from the first state to the second state, wherein the number of instructions that the electronic device can respond to in the first state is less than the number of instructions that can be responded to in the second state.
[0099] The processor can process various data and instructions, that is, when the processor detects that the electronic device is in a preset first state, it can start to listen to and respond to input information from the display screen. In the first state, the processor can determine the validity of the input information according to the first preset condition. If the input information meets the first preset condition, such as a specific gesture sequence or touch mode, the processor can keep the electronic device in the current state and control the display screen to display a specific first application content. Among them, the first application content can be obtained through a series of operation input information when the electronic device is in a more complex second state. In addition, the processor can also determine whether the electronic device should switch to the second state according to the second preset condition. The second state can be a full-function mode of the electronic device, that is, it can respond to more instructions and operations. When the input information meets the conditions for switching to the second state, such as the user performs a specific unlocking action or enters the correct identity authentication information, the electronic device can smoothly transition to the second state and unlock more functions and services.
[0100] It should be understood that the electronic device part in the embodiment of the present disclosure corresponds to the display method part in the embodiment of the present disclosure, and the specific implementation details are also the same, which will not be repeated here.
[0101] Figure 7 A block diagram of a display device according to an embodiment of the present disclosure is schematically shown.
[0102] like Figure 7 As shown, the display device 700 includes a display module 710 and a switching module 720 .
[0103] According to some embodiments of the present disclosure, the display device 700 can be used to implement reference Figure 1 to Figure 6 The display method according to the embodiment of the present disclosure is described.
[0104] The display module 710 can execute, for example, operation S210, which is used to determine that the electronic device is in a first state, respond to obtaining input information, and when it is determined that the input information satisfies a first preset condition, maintain the electronic device in the first state, and control the electronic device to display first application content. The first application content can be obtained by the electronic device in the second state by receiving multiple operation input information.
[0105] The switching module 720 can perform, for example, operation S220, which is used to enable the electronic device to switch from a first state to a second state if the input information meets a second preset condition, wherein the number of instructions that the electronic device can respond to in the first state is less than the number of instructions that can be responded to in the second state.
[0106] For example, any multiple of the display module 710 and the switching module 720 can be combined in one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the display module 710 and the switching module 720 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in any appropriate combination of any of them. Alternatively, at least one of the display module 710 and the switching module 720 can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be executed.
[0107] It should be noted that the collection, storage, use, processing, transmission, provision, disclosure and application of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations, necessary confidentiality measures have been taken, and they do not violate public order and good morals. In the technical solution of this disclosure, the user's authorization or consent is obtained before obtaining or collecting user personal information.
[0108] Figure 8 A block diagram of an electronic device suitable for implementing a display method according to an embodiment of the present disclosure is schematically shown.
[0109] like Figure 8As shown, the electronic device 800 according to an embodiment of the present disclosure includes a processor 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage part 808 to a random access memory (RAM) 803. The processor 801 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a dedicated microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 801 may also include an onboard memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0110] In RAM 803, various programs and data required for the operation of electronic device 800 are stored. Processor 801, ROM 802 and RAM 803 are connected to each other via bus 804. Processor 801 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 802 and / or RAM 803. It should be noted that the program can also be stored in one or more memories other than ROM 802 and RAM 803. Processor 801 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0111] According to an embodiment of the present disclosure, the electronic device 800 may further include an input / output (I / O) interface 805, which is also connected to the bus 804. The electronic device 800 may further include one or more of the following components connected to the I / O interface 805: an input portion 806 including a keyboard, a mouse, etc.; an output portion 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 808 including a hard disk, etc.; and a communication portion 809 including a network interface card such as a LAN card, a modem, etc. The communication portion 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed, so that a computer program read therefrom is installed into the storage portion 808 as needed.
[0112] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0113] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus, or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 802 and / or the RAM 803 described above and / or one or more memories other than the ROM 802 and the RAM 803.
[0114] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the display method provided by the embodiment of the present disclosure.
[0115] The above functions defined in the system / device of the embodiment of the present disclosure are executed when the computer program is executed by the processor 801. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0116] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 809, and / or installed from a removable medium 811. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0117] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 809, and / or installed from the removable medium 811. When the computer program is executed by the processor 801, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.
[0118] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0119] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0120] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0121] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A display method, comprising: determining that the electronic device is in a first state, In response to obtaining input information, when it is determined that the input information satisfies a first preset condition, the electronic device is kept in a first state, and the electronic device is controlled to display a first application content, where the first application content can be obtained by receiving a plurality of operation input information by the electronic device in a second state; Among them, if the input information meets the second preset condition, the electronic device can switch from the first state to the second state, wherein the number of instructions that the electronic device can respond to in the first state is less than the number of instructions that can be responded to in the second state.
2. The method according to claim 1, further comprising: When it is determined that the input information meets the third preset condition, the electronic device is controlled to display second application content, the second application content can be obtained by the electronic device in the second state receiving multiple operation input information, and the second application content and the first application content indicate the same type of information.
3. The method according to claim 1, further comprising: In the first state, a first image interface is displayed on the display unit of the electronic device. When the user's first input information is obtained on the first image interface, it is determined that the first preset condition is met. When the user's second input information is obtained on the first image interface, it is determined that the second preset condition is met, and the first input information is different from the second input information.
4. The method according to claim 3, wherein: The first state is a lock screen state, the second state is an unlock state, and the first image interface is a lock screen key input interface.
5. The method according to claim 4, further comprising: In response to the lock screen key input interface, first key input information is obtained, and it is determined that the first preset condition is met, and the electronic device is controlled to display first application content, wherein the first application content includes a first scan payment page; or, in response to the lock screen key input interface, third key input information is obtained, and it is determined that the third preset condition is met, and the electronic device is controlled to display second application content, wherein the second application content includes a second scan payment page.
6. The method according to claim 2, further comprising: When it is determined that the electronic device is in the second state, the electronic device is controlled to display a configuration interface, wherein the configuration interface is used to configure the first preset information of the first application content and / or the third preset information of the second application content to be output in the first state, and when the input information matches the first preset information, it is determined that the first preset condition is met, and when the input information matches the third preset information, it is determined that the third preset condition is met.
7. The method according to claim 1, wherein when determining that the input information satisfies a first preset condition, maintaining the electronic device in a first state and controlling the electronic device to display a first application content comprises: When the input information satisfies a first preset condition, obtaining a communication interface supported by a target application in the electronic device, the target application being an application that provides the first application content; Calling the communication interface to establish a target communication connection between the electronic device and the target application; Under the target communication connection, the electronic device is controlled to display a first application content.
8. The method according to claim 7, wherein obtaining the communication interface supported by the target application in the electronic device comprises: querying configuration information of the target application, wherein the configuration information is integrated in the electronic device; Based on the configuration information, a communication interface supported by the target application is obtained.
9. The method according to claim 7, wherein calling the communication interface to establish a target communication connection between the electronic device and the target application comprises: Determining a corresponding communication protocol based on a communication interface supported by the target application; Using the communication protocol, controlling the electronic device to send a connection request to the target application; In response to the target application receiving the connection request, verifying the connection request; In response to the verification being successful, a target communication connection is established between the electronic device and the target application.
10. An electronic device comprising: A display screen for sensing input information; A processor is communicatively connected to the display screen, the processor is used to determine that the electronic device is in a first state, respond to obtaining the input information, and when it is determined that the input information satisfies a first preset condition, maintain the electronic device in the first state, and control the display screen of the electronic device to display a first application content, wherein the first application content can be obtained by an electronic device in a second state receiving multiple operation input information; wherein, if the input information satisfies a second preset condition, the electronic device can switch from the first state to the second state, wherein the number of instructions that the electronic device can respond to in the first state is less than the number of instructions that can be responded to in the second state.