WO2022199615A1 - 信息显示方法、装置和电子设备 - Google Patents

信息显示方法、装置和电子设备 Download PDF

Info

Publication number
WO2022199615A1
WO2022199615A1 PCT/CN2022/082491 CN2022082491W WO2022199615A1 WO 2022199615 A1 WO2022199615 A1 WO 2022199615A1 CN 2022082491 W CN2022082491 W CN 2022082491W WO 2022199615 A1 WO2022199615 A1 WO 2022199615A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
interface
type
event
displayed
Prior art date
Application number
PCT/CN2022/082491
Other languages
English (en)
French (fr)
Inventor
胡雪情
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022199615A1 publication Critical patent/WO2022199615A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Definitions

  • the present application belongs to the field of communication technologies, and specifically relates to an information display method, an apparatus and an electronic device.
  • the password lock method is required, but when the user enters the password on the verification interface, the password input is usually interrupted due to unexpected situations. After returning to the verification interface again, the user needs to delete the previous input first, and then restart the input; Alternatively, the user counts the digit to which they were last entered, and then continues typing where they left off.
  • the purpose of the embodiments of the present application is to provide an information display method, apparatus, and electronic device, which can solve the problem of low input efficiency of returning to the input again in the scenario where the password input is interrupted due to an unexpected situation.
  • an embodiment of the present application provides a method for displaying information.
  • the method includes: when a first interface is displayed, receiving first information input by a user on the first interface, and displaying the first information in ciphertext; When the first interface is displayed again, the first operation is performed, and the first operation includes any one of the following: displaying at least part of the content of the first information in plain text, and displaying attribute information of the first information; wherein the attribute information is used to indicate the first information.
  • the number of characters in a message is a message.
  • an embodiment of the present application provides an information display device, the device includes: a receiving module, a display module, and an execution module; the receiving module is configured to receive the user's first interface when the first interface is displayed. The inputted first information; the display module is used to display the first information received by the receiving module in ciphertext; the execution module is used to perform the first operation when the first interface is displayed again, and the first operation includes the following Any item: display in plain text at least part of the content of the first information received by the receiving module, and display attribute information of the first information received by the receiving module; wherein the attribute information is used to indicate the number of characters of the first information.
  • embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
  • the first operation includes any one of the following: displaying at least part of the content of the first information in plain text, and displaying attribute information of the first information; wherein the attribute information is used to indicate the number of characters of the first information.
  • the input efficiency can be improved.
  • FIG. 1 is a flowchart of a method for displaying information provided by an embodiment of the present application
  • Fig. 2 is one of the interface schematic diagrams of the information display method provided by the embodiment of the present application.
  • Fig. 3 is the second interface schematic diagram of the information display method provided by the embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of an information display device provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • words such as “exemplary” or “for example” are used to represent examples, illustrations or illustrations. Any embodiments or designs described in the embodiments herein as “exemplary” or “for example” should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as “exemplary” or “such as” is intended to present the related concepts in a specific manner.
  • plural refers to two or more, for example, a plurality of processing units refers to two or more processing units; a plurality of elements Refers to two or more elements, etc.
  • the information display method provided by the embodiment of the present application can be applied to a scenario where the input is interrupted during the password input process and the input is returned again. Specifically, when the first interface is displayed, the first information input by the user on the first interface is received, and the first information is displayed in ciphertext; when the first interface is displayed again, the first operation is performed. It includes any one of the following: displaying at least part of the content of the first information in plain text, and displaying attribute information of the first information; wherein the attribute information is used to indicate the number of characters of the first information.
  • the input of the password information is interrupted
  • at least part of the first information can be displayed in plain text, thereby
  • the user can quickly learn the first information according to the content displayed in plain text (that is, he can know where the input was when the input was interrupted last time), so that the user can continue to input to quickly complete the input of the password information; or, the attribute information of the first information is displayed, the The attribute information is used to indicate the number of characters of the first information, so the user can quickly know the number of characters of the first information according to the attribute information (that is, they can know where the input was when the input was interrupted last time), so that the user can continue to input to quickly complete
  • the input efficiency can be improved.
  • an embodiment of the present application provides an information display method, and the following takes the execution subject as an electronic device as an example to illustrate the information display method provided by the embodiment of the present application.
  • the method may include steps 201 to 202 described below.
  • Step 201 In the case of displaying the first interface, the electronic device receives the first information input by the user on the first interface, and displays the first information in cipher text.
  • the ciphertext display refers to the ciphertext mode display, the encrypted form display, and the mode of not displaying the specific ciphertext content;
  • the plaintext display is the plaintext mode display, and the mode of displaying the specific ciphertext content.
  • the first interface is an interface for inputting ciphertext information
  • the ciphertext information may be password information, or may be other information that needs to be displayed in ciphertext, such as user name information that needs to be displayed in ciphertext, etc. , which can be specifically determined according to actual use requirements, which is not limited in the embodiments of the present application.
  • the ciphertext information may be a character string including at least one of letters, numbers, symbols, Chinese characters, etc., which may be determined according to the actual situation, which is not limited in the embodiment of the present application.
  • the first information is a part or all of the ciphertext information, which may be determined according to the actual situation, which is not limited in this embodiment of the present application.
  • the electronic device when the first information is the entire content of the ciphertext information, before the first interface is displayed again (that is, before the display of the first interface is interrupted, and the input of the ciphertext information is interrupted), the electronic device only responds The user inputs and displays the first information, but does not perform device unlocking or account login according to the first information, that is, the ciphertext information verification operation is not performed according to the first information.
  • Step 202 The electronic device performs the first operation when the first interface is displayed again.
  • the first operation includes any one of the following: displaying at least part of the content of the first information in plain text, and displaying attribute information of the first information.
  • the attribute information is used to indicate the number of characters of the first information.
  • displaying at least part of the content of the first information in plaintext may include: displaying the entire content of the first information in plaintext, or displaying the entire content of the first information in plaintext Part.
  • displaying part of the content of the first information in plain text can be specifically understood as: part of the content of the first information is displayed in plain text, and another part of the content of the first information is still displayed in cipher text.
  • At least part of the content of the first information is displayed in plain text, and at least one character at the end of the first information may be displayed in plain text.
  • the electronic device when the first operation is to display the attribute information of the first information, the electronic device can also display the first information in cipher text, or display at least one character in the first information in plain text. It is determined according to actual usage requirements, which is not limited in the embodiments of the present application.
  • the attribute information includes any one of the following: total number of digits of the first information, and position information of the characters located at the end of the first information in the first information.
  • the attribute information may also include other content, which may be determined according to actual conditions, which is not limited in this embodiment of the present application.
  • the attribute information is the information of the total number of bits of the first information, for example, the first information has a total of 6 bits
  • the attribute information may be a total of 6 bits of the first information.
  • the attribute information is the position information of the character located at the end of the first information in the first information
  • the attribute information is at least one character located at the end of the first information in the first information. location information in a message.
  • the attribute information can be that the character at the last position in the first information is the digit in the first information, It can also be that the character at the last position in the first information is the number of the character in the first information (for example, the character at the last position in the first information is "a", and the first information includes 3 "a" character, the attribute information may be that the character at the last position in the first information is the third "a" character in the first information).
  • the second interface displays that the last character entered when the input was interrupted last time is “8” (the character located at the end in the target information is “8”, as indicated by the mark “11”. is the character "8").
  • the first operation includes any one of the following: displaying at least part of the content of the first information in plain text, and displaying attribute information of the first information; wherein the attribute information is used to indicate the number of characters of the first information.
  • the input of the password information is interrupted
  • at least part of the first information can be displayed in plain text, thereby
  • the user can quickly learn the first information according to the content displayed in plain text (that is, he can know where the input was when the input was interrupted last time), so that the user can continue to input to quickly complete the input of the password information; or, the attribute information of the first information is displayed, the The attribute information is used to indicate the number of characters of the first information, so the user can quickly know the number of characters of the first information according to the attribute information (that is, they can know where the input was when the input was interrupted last time), so that the user can continue to input to quickly complete
  • the input efficiency can be improved.
  • the information display method provided by the embodiment of the application may further include the following step 203.
  • Step 203 The electronic device performs a second operation when the target event is detected.
  • the second operation includes any one of the following: superimposing and displaying the second interface on the first interface, and canceling the display of the first interface.
  • superimposing and displaying the second interface on the first interface may include any one of the following: displaying the second interface overlaid on the first interface, and displaying the second interface floating on the first interface.
  • the electronic device receives an input for canceling the display of the second interface, the electronic device displays the first interface.
  • the second operation is on the first interface.
  • the second interface is displayed superimposed.
  • the electronic device displays the desktop of the electronic device, or the electronic device displays the interface displayed before (before displaying the first interface).
  • the target event is a touch input event in which the user triggers the electronic device to exit the first interface, an automatic shutdown event of the electronic device, or an automatic shutdown event of the application to which the first interface belongs
  • the second operation is to cancel the display. first interface.
  • touch input event may be the input of the user clicking the return button (virtual button or the physical button), or the user's fast sliding input on one border of the electronic device to the opposite border, or other feasible input.
  • the specific input can be determined according to the actual situation, which is not limited in this embodiment of the present application.
  • the electronic device after detecting the target event, interrupts the display of the first interface and the input of the ciphertext information.
  • the electronic device can prompt the user for the ciphertext through the first operation. The progress of the input of information so that the input can continue to be completed.
  • the type of the target event may not be limited, that is, no matter what type of event the target event is, when the first interface is displayed again, the electronic device performs the above-mentioned first operation; in the embodiment of the present application,
  • the type of the target event can also be limited, that is, when the type of the target event is an event of the first type (preset type), when the first interface is displayed again, the electronic device performs the above-mentioned first operation, and the type of the target event is limited.
  • the event is of the second type (different from the first type)
  • the electronic device displays the first interface that does not include the first information, that is, displays the first interface with the first information cleared.
  • the foregoing step 203 may be specifically implemented by the following step 203a, and the foregoing step 202 may be specifically implemented by the following step 202a.
  • Step 203a when the electronic device detects the target event, obtains the type of the target event, and executes the second operation.
  • Step 202a when the electronic device displays the first interface again and the type of the target event is the first type, the electronic device performs the first operation.
  • the first type of target event includes at least one of the following: a call event, a user input event to a target object, an automatic shutdown event, and an automatic shutdown event of the application to which the first interface belongs.
  • the target object is: the logo displayed in the notification bar area (hereinafter referred to as the target logo), or the control displayed on the first interface (hereinafter referred to as the target control).
  • the target object may also be other feasible objects, which may be specifically determined according to actual usage requirements, which are not limited in the embodiments of the present application.
  • the target identifier may be a chat message identifier in a social networking application, a shopping recommendation message identifier or a shopping reminder message identifier in a shopping application, or a hotspot in a browser application.
  • News signs, etc. may also be other feasible signs, which may be specifically determined according to actual usage conditions, which are not limited in the embodiments of the present application.
  • the target control may be a floating control or a pop-up window control displayed on the first interface, or may be other feasible controls, which may be specifically determined according to actual usage conditions, which are not limited in this embodiment of the present application.
  • the floating control may be a control for displaying the second interface
  • the pop-up control may be a pop-up for prompting the user whether to display the second interface
  • the specific forms of the floating control and the pop-up control may be determined according to the actual situation. The embodiment is not limited.
  • the target event of the first type may also include other events, which may be specifically determined according to actual usage requirements, which are not limited in this embodiment of the present application.
  • the target event can also be a memo reminder event, and the second interface is a memo reminder interface at this time; the target event can also be an event with a higher priority set by the user, for example, the user can set user b's message priority. If the level is high, then when the electronic device detects a message from user b, it can superimpose and display a second interface on the first interface, and the second interface is an interface for displaying user b's message.
  • the specific type of the first type may be determined according to actual usage requirements, which is not limited in the present application.
  • the first type may be set by the user, or may be factory-set by the electronic device, which is not limited in this embodiment of the present application.
  • the information display method provided by the embodiment of the application may further include the following step 204.
  • Step 204 when the electronic device displays the first interface again and the type of the target event is the second type, displays the first interface that does not include the first information.
  • the first interface that does not include the first information that is, the first interface in which the first information is cleared.
  • the target event is an event of the first type
  • the user is prompted for the input progress of the first information, so that the input can be continued
  • the target event is an event of the second type
  • the first interface is displayed again.
  • the first interface that does not include the first information is displayed, so that the privacy and security of the user can be protected.
  • the user may define an event in which the user actively exits the first interface as the second type of target event, and an event in which the user does not actively exit the first interface as the first type of target event.
  • the first type of target event includes: a call event, a user input event to a target object, an automatic shutdown event, an automatic shutdown event of an application to which the first interface belongs;
  • the second type of target event includes: a user triggers the electronic device to exit the first A touch input event for an interface.
  • the user may also define the event that triggers the electronic device to cancel the display of the first interface as the second type of target event, and the event that triggers the superimposed display of the second interface on the first interface as the first type of target event.
  • the first type of target event includes: a call event, a user input event to a target object
  • the second type of target event includes: a touch input event in which the user triggers the electronic device to exit the first interface, an automatic shutdown event, the first interface
  • the owning application auto-close event includes: a call event, a user input event to a target object
  • the second type of target event includes: a touch input event in which the user triggers the electronic device to exit the first interface, an automatic shutdown event, the first interface
  • the owning application auto-close event.
  • the information display method provided in this embodiment of the present application may further include the following step 205, and the above step 202a may be specifically implemented by the following step 202a1.
  • Step 205 The electronic device saves the first information when the type of the target event is the first type.
  • Step 202a1 when the electronic device displays the first interface again and the type of the target event is the first type, the electronic device performs the first operation according to the saved first information.
  • the information display method provided by the embodiment of the present application may further include the following step 206.
  • Step 206 when the type of the target event is the second type, the electronic device deletes the first information in the first interface.
  • deleting the first information in the first interface means clearing the first information in the first interface.
  • the electronic device before the first interface is displayed again (that is, before the above step 202), the electronic device can run the first interface in the background, or can exit the first interface from the background (that is, directly stop running the first interface).
  • the first interface (the application program to which it belongs) is not run in the background and the foreground, that is, the application program to which the first interface belongs is closed from the background), which can be determined according to actual use requirements, and is not limited in the embodiments of the present application.
  • the electronic device before the first interface is displayed again, the electronic device detects an event for triggering the electronic device to display the first interface again, and the electronic device displays the first interface again in response to the event.
  • the information display method provided by the embodiment of the application may further include the following steps 207 to 208.
  • Step 207 if the electronic device does not detect the first event within the preset time period for detecting the target event, delete the first information in the first interface.
  • Step 208 when the electronic device displays the first interface again, displays the first interface that does not include the first information.
  • the first event is an event that triggers the electronic device to display the first interface again, and the first event may be determined according to the actual situation, which is not limited in this embodiment of the present application.
  • the preset duration may be preset by an electronic device, or may be set by a user according to actual usage requirements, which is not limited in this embodiment of the present application.
  • the electronic device can delete the first information in order to ensure the privacy and security of the user.
  • the user can close the first interface from the background (close the application program to which the first interface belongs from the background).
  • the execution subject may be an information display device, or a functional module and/or functional entity in the information display device for executing the information display method.
  • the information display method performed by the information display device is taken as an example to describe the device of the information display method provided by the embodiment of the present application.
  • FIG. 4 shows a possible schematic structural diagram of the information display device involved in the embodiment of the present application.
  • the information display device 300 may include: a receiving module 301, a display module 302 and an executing module 303; the receiving module 301 is configured to receive the information input by the user on the first interface when the first interface is displayed first information; the display module 302 is used to display the first information received by the receiving module 302 in ciphertext; the execution module 303 is used to perform the first operation when the first interface is displayed again, and the first operation includes Any one of the following: displaying at least part of the content of the first information received by the receiving module 301 in plain text, and displaying attribute information of the first information received by the receiving module 301; wherein the attribute information is used to indicate the number of characters of the first information .
  • the executing module 303 is further configured to execute a second operation when a target event is detected before executing the first operation under the condition that the first interface is displayed again; wherein the second operation includes the following Any one: display the second interface superimposed on the first interface, and cancel the display of the first interface.
  • the execution module 303 is specifically used to obtain the type of the target event and perform the second operation when the target event is detected; and is also specifically used to display the first interface again and the target event When the type is the first type, perform the first operation;
  • the target event of the first type includes at least one of the following: a call event, a user input event to the target object, an automatic shutdown event, an application program to which the first interface belongs Automatic close event; the target object is: the logo displayed in the notification bar area, or the control displayed on the first interface.
  • the display module 302 is further configured to, in the case of displaying the first interface, receive the first information input by the user on the first interface, and after the ciphertext displays the first information, display the first interface again, and When the type of the target event is the second type, the first interface that does not include the first information is displayed.
  • the attribute information includes any one of the following: total number of digits of the first information, and position information of the characters located at the end of the first information in the first information.
  • An embodiment of the present application provides an information display device, in the case of displaying the first interface, receiving the first information input by the user on the first interface, and displaying the first information in ciphertext; in the case of displaying the first interface again, A first operation is performed, and the first operation includes any one of the following: displaying at least part of the content of the first information in plain text, and displaying attribute information of the first information; wherein the attribute information is used to indicate the number of characters of the first information.
  • the input of the password information is interrupted
  • at least part of the first information can be displayed in plain text, thereby
  • the user can quickly learn the first information according to the content displayed in plain text (that is, he can know where the input was when the input was interrupted last time), so that the user can continue to input to quickly complete the input of the password information; or, the attribute information of the first information is displayed, the The attribute information is used to indicate the number of characters of the first information, so the user can quickly know the number of characters of the first information according to the attribute information (that is, they can know where the input was when the input was interrupted last time), so that the user can continue to input to quickly complete
  • the input efficiency can be improved.
  • the information display device in the embodiments of the present application may be a device, or may be an electronic device or a component, an integrated circuit, or a chip in the electronic device.
  • the electronic device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the information display device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the information display device provided by the embodiments of the present application can implement the various processes implemented by the method embodiments in FIG. 1 to FIG. 3 , and can achieve the same technical effect. To avoid repetition, details are not described here.
  • an embodiment of the present application further provides an electronic device 400, including a processor 401, a memory 402, a program or instruction stored in the memory 402 and executable on the processor 401, When the program or instruction is executed by the processor 401, each process of the above-mentioned information display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, and a processor 510, etc. part.
  • the electronic device 500 may also include a power supply (such as a battery) for supplying power to various components, and the power supply may be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the user input unit 507 is used to receive the first information input by the user on the first interface when the first interface is displayed; the display unit 506 is used to display the first information in ciphertext; the processor 510 is used to display the first information in the first interface.
  • the first operation is performed, and the first operation includes any one of the following: displaying at least part of the content of the first information in plain text, and displaying attribute information of the first information; wherein the attribute information is used to indicate the first information.
  • the number of characters in a message is used to receive the first information input by the user on the first interface when the first interface is displayed; the display unit 506 is used to display the first information in ciphertext; the processor 510 is used to display the first information in the first interface.
  • the processor 510 is further configured to, in the case of displaying the first interface again, before performing the first operation and in the case of detecting the target event, perform the second operation; wherein the second operation includes any of the following Item 1: Display the second interface superimposed on the first interface, and cancel the display of the first interface.
  • the processor 510 is specifically configured to obtain the type of the target event and perform the second operation when the target event is detected; and is also specifically configured to display the first interface again and the type of the target event In the case of the first type, perform the first operation; wherein, the target event of the first type includes at least one of the following: a call event, a user input event to the target object, an automatic shutdown event, an automatic shutdown event of the application to which the first interface belongs. Close the event; the target object is: the logo displayed in the notification bar area, or the control displayed on the first interface.
  • the display unit 506 is further configured to, in the case of displaying the first interface, receive the first information input by the user on the first interface, and after displaying the first information in ciphertext, display the first interface again, and When the type of the target event is the second type, the first interface that does not include the first information is displayed.
  • the attribute information includes any one of the following: total number of digits of the first information, and position information of the characters located at the end of the first information in the first information.
  • the first operation includes any one of the following: displaying at least part of the content of the first information in plain text, and displaying attribute information of the first information; wherein the attribute information is used to indicate the number of characters of the first information.
  • the input of the password information is interrupted
  • at least part of the first information can be displayed in plain text, thereby
  • the user can quickly learn the first information according to the content displayed in plain text (that is, he can know where the input was when the input was interrupted last time), so that the user can continue to input to quickly complete the input of the password information; or, the attribute information of the first information is displayed, the The attribute information is used to indicate the number of characters of the first information, so the user can quickly know the number of characters of the first information according to the attribute information (that is, they can know where the input was when the input was interrupted last time), so that the user can continue to input to quickly complete
  • the input efficiency can be improved.
  • the radio frequency unit 501 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 510; The uplink data is sent to the base station.
  • the radio frequency unit 501 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides the user with wireless broadband Internet access through the network module 502, such as helping the user to send and receive emails, browse web pages, access streaming media, and the like.
  • the audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into audio signals and output as sound.
  • the audio output unit 503 may also provide audio output related to a specific function performed by the electronic device 500 (eg, call signal reception sound, message reception sound, etc.).
  • the input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, and the graphics processor 5041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed.
  • the display unit 506 may include a display panel 5061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 507 includes a touch panel 5071 and other input devices 5072 .
  • the touch panel 5071 is also called a touch screen.
  • the touch panel 5071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 5072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described herein again.
  • Memory 509 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 510 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 510.
  • the embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above information display method embodiment can be realized, and the same can be achieved. In order to avoid repetition, the technical effect will not be repeated here.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the information display method embodiments described above.
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is configured to run a program or an instruction to implement the information display method embodiments described above.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请公开了一种信息显示方法、装置和电子设备,该方法包括:在显示第一界面的情况下,接收用户在第一界面输入的第一信息,并密文显示第一信息;在再次显示第一界面的情况下,执行第一操作,第一操作包括以下任一项:明文显示第一信息的至少部分内容,显示第一信息的属性信息;其中,该属性信息用于指示第一信息的字符位数。

Description

信息显示方法、装置和电子设备
相关申请的交叉引用
本申请主张在2021年3月23日在中国提交的中国专利申请号No.202110310528.9的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种信息显示方法、装置和电子设备。
背景技术
随着终端技术的不断发展以及对用户的个人信息安全(例如,个人隐私安全、个人财产安全等)的越发重视,使得终端设备保护用户的个人信息安全的方式越来越多样化。
在很多场景下需要采用密码锁方式,但用户在验证界面输入密码时,通常会因突发情况导致密码输入中断,再次返回该验证界面之后,用户需要先删除之前的输入,然后重头开始输入;或者,用户数一下上次输入到第几位,然后接着上次中断的位置继续输入。
然而,无论上述重头输入的方案还是继续输入的方案,当密码位数较多时,输入效率都较低。
发明内容
本申请实施例的目的是提供一种信息显示方法、装置和电子设备,能够解决因突发情况导致密码输入中断的场景下,再次返回输入的输入效率较低的问题。
第一方面,本申请实施例提供了一种信息显示方法,该方法包括:在显示第一界面的情况下,接收用户在第一界面输入的第一信息,并密文显示第一信 息;在再次显示第一界面的情况下,执行第一操作,第一操作包括以下任一项:明文显示第一信息的至少部分内容,显示第一信息的属性信息;其中,该属性信息用于指示第一信息的字符位数。
第二方面,本申请实施例提供了一种信息显示装置,该装置包括:接收模块、显示模块和执行模块;该接收模块,用于在显示第一界面的情况下,接收用户在第一界面输入的第一信息;该显示模块,用于密文显示该接收模块接收的第一信息;该执行模块,用于在再次显示第一界面的情况下,执行第一操作,第一操作包括以下任一项:明文显示该接收模块接收的第一信息的至少部分内容,显示该接收模块接收的第一信息的属性信息;其中,该属性信息用于指示第一信息的字符位数。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
在本申请实施例中,在显示第一界面的情况下,接收用户在第一界面输入的第一信息,并密文显示第一信息;在再次显示第一界面的情况下,执行第一操作,第一操作包括以下任一项:明文显示第一信息的至少部分内容,显示第一信息的属性信息;其中,该属性信息用于指示第一信息的字符位数。通过该方案,在第一界面中输入第一信息之后,显示其他界面(此时,中断了密码信息的输入),之后再次显示第一界面时,可以明文显示第一信息的至少部分内容,从而用户可以根据明文显示的内容快速获知第一信息(即可以知道上次中断输入时输入到什么位置),从而可以继续输入以快速完成密码信息的输入; 或者,显示第一信息的属性信息,该属性信息用于指示第一信息的字符位数,因此户可以根据属性信息快速获知第一信息的字符位数(即可以知道上次中断输入时输入到什么位置),从而可以继续输入以快速完成密码信息的输入,如此,可以提高输入效率。
附图说明
图1是本申请实施例提供的一种信息显示方法的流程图;
图2是本申请实施例提供的信息显示方法的界面示意图之一;
图3是本申请实施例提供的信息显示方法的界面示意图之二;
图4是本申请实施例提供的一种信息显示装置的结构示意图;
图5是本申请实施例提供的一种电子设备的结构示意图;
图6是本申请实施例提供的一种电子设备的硬件结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方 案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元;多个元件是指两个或者两个以上的元件等。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的信息显示方法、装置和电子设备进行详细地说明。
本申请实施例提供的信息显示方法可以应用于密码输入过程中中断输入,再次返回输入的场景下。具体地可以在显示第一界面的情况下,接收用户在第一界面输入的第一信息,并密文显示第一信息;在再次显示第一界面的情况下,执行第一操作,第一操作包括以下任一项:明文显示第一信息的至少部分内容,显示第一信息的属性信息;其中,该属性信息用于指示第一信息的字符位数。通过该方案,在第一界面中输入第一信息之后,显示其他界面(此时,中断了密码信息的输入),之后再次显示第一界面时,可以明文显示第一信息的至少部分内容,从而用户可以根据明文显示的内容快速获知第一信息(即可以知道上次中断输入时输入到什么位置),从而可以继续输入以快速完成密码信息的输入;或者,显示第一信息的属性信息,该属性信息用于指示第一信息的字符位数,因此户可以根据属性信息快速获知第一信息的字符位数(即可以知道上次中断输入时输入到什么位置),从而可以继续输入以快速完成密码信息的输入,如此,可以提高输入效率。
参考图1所示,本申请实施例提供了一种信息显示方法,下面以执行主体为电子设备为例,对本申请实施例提供的信息显示方法进行示例性的说明。该方法可以包括下述的步骤201至步骤202。
步骤201、电子设备在显示第一界面的情况下,接收用户在第一界面输入的第一信息,并密文显示第一信息。
需要说明的是,本申请实施例中,密文显示即密文方式显示、加密形式显示,不显示具体密文内容的方式;明文显示即明文方式显示,显示具体密文内 容的方式。
本申请实施例中,第一界面为用于输入密文信息的界面,密文信息可以是密码信息,也可以是其他需要密文显示的信息,例如可以是需要密文显示的用户名信息等,具体可以根据实际使用需求确定,本申请实施例不做限定。
可以理解,本申请实施例中,密文信息可以为包括字母、数字、符号、汉子等中至少一项的字符串,具体可以根据实际情况确定,本申请实施例不做限定。
可以理解,本申请实施例中,第一信息为密文信息的一部分内容或全部内容,具体可以根据实际情况确定,本申请实施例不做限定。
可以理解,本申请实施例中,在第一信息是密文信息的全部内容时,在再次显示第一界面之前(即中断显示第一界面之前,中断密文信息输入之前),电子设备仅响应用户输入显示第一信息,但未根据第一信息进行设备解锁或账户登录等,也就是说,未根据第一信息进行密文信息验证操作。
步骤202、电子设备在再次显示第一界面的情况下,执行第一操作。
其中,第一操作包括以下任一项:明文显示第一信息的至少部分内容,显示第一信息的属性信息。其中,该属性信息用于指示第一信息的字符位数。
可以理解,本申请实施例中,明文显示第一信息的至少部分内容,即明文显示第一信息的至少一个字符,可以包括:明文显示第一信息的全部内容,或者,明文显示第一信息的部分内容。其中,明文显示第一信息的部分内容具体可以理解为:第一信息的一部分内容明文显示,第一信息的另一部分内容仍保持密文显示。
可选地,明文显示第一信息的至少部分内容,可以为明文显示第一信息的末尾的至少一个字符。
可以理解,本申请实施例中,在第一操作为显示第一信息的属性信息的情况下,电子设备还可以密文显示第一信息,或者明文显示第一信息中的至少一个字符,具体可以根据实际使用需求确定,本申请实施例不做限定。
可选地,该属性信息包括以下任一项:第一信息的总位数信息,位于第一 信息末尾的字符在第一信息中的位置信息。该属性信息还可以包括其他内容,具体可以根据实际情况确定,本申请实施例不做限定。
示例性地,在属性信息为第一信息的总位数信息的情况下,例如第一信息总共6位,则属性信息可以为第一信息总共6位。
可以理解,本申请实施例中,在属性信息为位于第一信息末尾的字符在第一信息中的位置信息的情况下,可以理解为,属性信息为位于第一信息末尾的至少一个字符在第一信息中的位置信息。示例性地,以属性信息为位于第一信息末位的字符在第一信息中的位置信息为例,属性信息可以为第一信息中位于末位的字符是第一信息中的第几位,也可以是第一信息中位于末位的字符是第一信息中的第几个该字符(例如,第一信息中位于末位的字符是“a”,第一信息中包括3个“a”字符,则属性信息可以为第一信息中位于末位的字符是第一信息中的第3个“a”字符)。
示例性地,如图2所示,第二界面上显示上次中断输入时输入的最后一位字符是“8”(目标信息中位于末位的字符是“8”,如标记“11”指示的为字符“8”)。
示例性地,如图3所示,在已输入的密码上方提示当前输入到第6位(目标信息中位于末位的字符是密码信息中的第6位,如标记“12”指示的为第6位)。
在本申请实施例中,在显示第一界面的情况下,接收用户在第一界面输入的第一信息,并密文显示第一信息;在再次显示第一界面的情况下,执行第一操作,第一操作包括以下任一项:明文显示第一信息的至少部分内容,显示第一信息的属性信息;其中,该属性信息用于指示第一信息的字符位数。通过该方案,在第一界面中输入第一信息之后,显示其他界面(此时,中断了密码信息的输入),之后再次显示第一界面时,可以明文显示第一信息的至少部分内容,从而用户可以根据明文显示的内容快速获知第一信息(即可以知道上次中断输入时输入到什么位置),从而可以继续输入以快速完成密码信息的输入;或者,显示第一信息的属性信息,该属性信息用于指示第一信息的字符位数, 因此户可以根据属性信息快速获知第一信息的字符位数(即可以知道上次中断输入时输入到什么位置),从而可以继续输入以快速完成密码信息的输入,如此,可以提高输入效率。
可选地,在步骤202之前,申请实施例提供的信息显示方法还可以包括下述的步骤203。
步骤203、电子设备在检测到目标事件的情况下,执行第二操作。
其中,第二操作包括以下任一项:在第一界面上叠加显示第二界面,取消显示第一界面。
可以理解,本申请实施例中,在第一界面上叠加显示第二界面,可以包括以下任一项:在第一界面上覆盖显示第二界面,在第一界面上悬浮显示第二界面。此种情况下,若电子设备接收到取消显示第二界面的输入,则电子设备显示第一界面。
示例性地,在目标事件为通话事件(电子设备检测到来电)或用户对目标对象的输入事件(具体见下述步骤202a中的相关描述)的情况下,第二操作为在第一界面上叠加显示第二界面。
可以理解,本申请实施例中,取消显示第一界面之后,电子设备显示电子设备桌面,或者,电子设备显示(在显示第一界面)之前显示的界面。
示例性地,在目标事件为用户触发电子设备退出第一界面的触控输入事件,电子设备的自动关机事件,或第一界面所属的应用程序自动关闭事件的情况下,第二操作为取消显示第一界面。
可以理解,上述触控输入事件可以为用户点击返回按键(虚拟按键或实体按键)的输入,也可以是用户在电子设备的一边界上向对侧边界的快速滑动输入,还可以是其他的可行性输入,具体可以根据实际情况确定,本申请实施例不做限定。
本申请实施例中,在检测到目标事件之后,电子设备中断了第一界面的显示,中断了密文信息的输入,在再次显示第一界面时,电子设备可以通过第一操作提示用户密文信息的输入进度,从而可以继续完成输入。
可选地,本申请实施例中,可以不限定目标事件的类型,即无论目标事件是什么类型的事件,在再次显示第一界面时,电子设备执行上述第一操作;本申请实施例中,也可以限定目标事件的类型,即限定在目标事件的类型为第一类型(预设类型)的事件时,在再次显示第一界面时,电子设备执行上述第一操作,而在目标事件的类型为第二类型(与第一类型不同的类型)的事件时,在再次显示第一界面时,电子设备显示不包括第一信息的第一界面,即显示第一信息被清空的第一界面。
示例性地,上述步骤203具体可以通过下述步骤203a实现,上述步骤202具体可以通过下述步骤202a实现。
步骤203a、电子设备在检测到目标事件的情况下,获取该目标事件的类型,并执行第二操作。
步骤202a、电子设备在再次显示第一界面、且该目标事件的类型为第一类型的情况下,执行第一操作。
其中,第一类型的目标事件包括以下至少一项:通话事件,用户对目标对象的输入事件,自动关机事件,第一界面所属的应用程序自动关闭事件。该目标对象为:通知栏区域显示的标识(以下记为目标标识),或在第一界面上显示的控件(以下记为目标控件)。
可以理解,本申请实施例中,目标对象还可以是其他的可行性对象,具体可以根据实际使用需求确定,本申请实施例不做限定。
本申请实施例中,目标标识可以为即使社交应用程序中的聊天消息标识等,也可以是购物应用程序中的购物推荐消息标识或购物提醒消息标识等,也可以是浏览器应用程序中的热点新闻标识等,还可以是其他的可行性标识,具体可以根据实际使用情况确定,本申请实施例不做限定。
本申请实施例中,目标控件可以为第一界面上显示的悬浮控件或弹窗控件,还可以是其他可行性控件,具体可以根据实际使用情况确定,本申请实施例不做限定。其中,悬浮控件可以是用于显示第二界面的控件,弹窗控件可以是用于提示用户是否显示第二界面的弹窗,悬浮控件和弹窗控件的具体形式可 以根据实际情况确定,本申请实施例不做限定。
可以理解,本申请实施例中,第一类型的目标事件还可以包括其他事件,具体可以根据实际使用需求确定,本申请实施例不做限定。
示例性地,目标事件还可以是备忘提醒事件,此时第二界面为备忘提醒界面;目标事件还可以是用户设置的优先级较高的事件,例如,用户可以设置用户b的消息优先级高,那么当电子设备检测到来自用户b的消息时,可以在第一界面上叠加显示第二界面,第二界面为显示用户b的消息的界面。
可以理解,本申请实施例中,第一类型的具体类型,可以根据实际使用需求确定,本申请不做限定。
可选地,第一类型可以是由用户设定的,也可以是电子设备出厂设置的,本申请实施例不做限定。
示例性地,在上述步骤201之后,申请实施例提供的信息显示方法还可以包括下述的步骤204。
步骤204、电子设备在再次显示第一界面、且该目标事件的类型为第二类型的情况下,显示不包括第一信息的第一界面。
可以理解,本申请实施例中,不包括第一信息的第一界面即第一信息被清空的第一界面。
本申请实施例中,根据目标事件的不同类型,可以设置在再次显示第一界面时,是否显示第一信息,以及是否显示用于提示第一信息的提示信息(第一操作),从而可以在目标事件是第一类型的事件时,在再次显示第一界面时,提示用户第一信息的输入进度,从而可以继续输入;而在目标事件是第二类型的事件时,在再次显示第一界面时,显示不包括第一信息的第一界面,从而可以保护用户的隐私安全。
可以理解,本申请实施例中,不限定第一类型目标事件和第二类型的目标事件分别是什么事件,用户可以根据实际使用需求设定。
示例性地,用户可以将用户主动退出第一界面的事件定义为第二类型的目标事件,将非用户主动退出第一界面的事件定义为第一类型的目标事件。例如, 第一类型的目标事件包括:通话事件,用户对目标对象的输入事件,自动关机事件,第一界面所属的应用程序自动关闭事件;第二类型的目标事件包括:用户触发电子设备退出第一界面的触控输入事件。
示例性地,用户也可以将触发电子设备取消显示第一界面的事件定义为第二类型的目标事件,将触发在第一界面上叠加显示第二界面的事件定义为第一类型的目标事件。例如,第一类型的目标事件包括:通话事件,用户对目标对象的输入事件;第二类型的目标事件包括:用户触发电子设备退出第一界面的触控输入事件,自动关机事件,第一界面所属的应用程序自动关闭事件。
可选地,本申请实施例中,在上述步骤202a之前,本申请实施例提供的信息显示方法还可以包括下述的步骤205,上述步骤202a具体可以通过下述步骤202a1实现。
步骤205、电子设备在目标事件的类型为第一类型的情况下,保存第一信息。
步骤202a1、电子设备在再次显示第一界面、且该目标事件的类型为第一类型的情况下,根据保存的第一信息,执行第一操作。
可选地,本申请实施例中,在上述步骤204之前,本申请实施例提供的信息显示方法还可以包括下述的步骤206。
步骤206、电子设备在目标事件的类型为第二类型的情况下,删除第一界面中的第一信息。
本申请实施例中,删除第一界面中的第一信息即清空第一界面中的第一信息。
可以理解,本申请实施例中,在再次显示第一界面之前(即上述步骤202之前),电子设备可以在后台运行第一界面,也可以从后台退出第一界面(即直接停止运行第一界面,在后台和前台均不运行第一界面(所属的应用程序),也即从后台关闭第一界面所属的应用程序),具体可以根据实际使用需求确定,本申请实施例不做限定。
可选地,本申请实施例中,在再次显示第一界面之前,电子设备检测到用 于触发电子设备再次显示第一界面的事件,电子设备响应于该事件再次显示第一界面。
可选地,本申请实施例中,在上述步骤201之后,申请实施例提供的信息显示方法还可以包括下述的步骤207至步骤208。
步骤207、电子设备若在检测到目标事件的预设时长之内未检测到第一事件的情况下,删除第一界面中的第一信息。
步骤208、电子设备在再次显示第一界面的情况下,显示不包括第一信息的第一界面。
其中,第一事件为触发电子设备再次显示第一界面的事件,第一事件可以根据实际情况确定,本申请实施例不做限定。预设时长可以是电子设备预设的,也可以是用户根据实际使用需求设定的,本申请实施例不做限定。
可以理解,本申请实施例中,在预设时长内未检测到第一事件,则可以判断用户无需继续输入,则电子设备为了保证用户隐私安全,可以删除第一信息。而且用户为了节约耗电,可以从后台关闭第一界面(从后台关闭第一界面所属的应用程序)。
需要说明的是,本申请实施例提供的信息显示方法,执行主体可以为信息显示装置,或者该信息显示装置中的用于执行信息显示方法的功能模块和/或功能实体。本申请实施例中以信息显示装置执行信息显示方法为例,说明本申请实施例提供的信息显示方法的装置。
图4示出了本申请实施例中涉及的信息显示装置的一种可能的结构示意图。如图4所示,该信息显示装置300可以包括:接收模块301、显示模块302和执行模块303;该接收模块301,用于在显示第一界面的情况下,接收用户在第一界面输入的第一信息;该显示模块302,用于密文显示该接收模块302接收的第一信息;该执行模块303,用于在再次显示第一界面的情况下,执行第一操作,第一操作包括以下任一项:明文显示该接收模块301接收的第一信息的至少部分内容,显示该接收模块301接收的第一信息的属性信息;其中,该属性信息用于指示第一信息的字符位数。
可选地,该执行模块303,还用于该在再次显示第一界面的情况下,执行第一操作之前,在检测到目标事件的情况下,执行第二操作;其中,第二操作包括以下任一项:在第一界面上叠加显示第二界面,取消显示第一界面。
可选地,该执行模块303,具体用于在检测到目标事件的情况下,获取该目标事件的类型,并执行第二操作;还具体用于在再次显示第一界面、且该目标事件的类型为第一类型的情况下,执行第一操作;其中,第一类型的目标事件包括以下至少一项:通话事件,用户对目标对象的输入事件,自动关机事件,第一界面所属的应用程序自动关闭事件;该目标对象为:通知栏区域显示的标识,或在第一界面上显示的控件。
可选地,该显示模块302,还用于该在显示第一界面的情况下,接收用户在第一界面输入的第一信息,密文显示第一信息之后,在再次显示第一界面、且该目标事件的类型为第二类型的情况下,显示不包括第一信息的第一界面。
可选地,该属性信息包括以下任一项:第一信息的总位数信息,位于第一信息末尾的字符在第一信息中的位置信息。
本申请实施例提供一种信息显示装置,在显示第一界面的情况下,接收用户在第一界面输入的第一信息,并密文显示第一信息;在再次显示第一界面的情况下,执行第一操作,第一操作包括以下任一项:明文显示第一信息的至少部分内容,显示第一信息的属性信息;其中,该属性信息用于指示第一信息的字符位数。通过该方案,在第一界面中输入第一信息之后,显示其他界面(此时,中断了密码信息的输入),之后再次显示第一界面时,可以明文显示第一信息的至少部分内容,从而用户可以根据明文显示的内容快速获知第一信息(即可以知道上次中断输入时输入到什么位置),从而可以继续输入以快速完成密码信息的输入;或者,显示第一信息的属性信息,该属性信息用于指示第一信息的字符位数,因此户可以根据属性信息快速获知第一信息的字符位数(即可以知道上次中断输入时输入到什么位置),从而可以继续输入以快速完成密码信息的输入,如此,可以提高输入效率。
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例 中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。
本申请实施例中的信息显示装置可以是装置,也可以是电子设备或电子设备中的部件、集成电路、或芯片。该电子设备可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的信息显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的信息显示装置能够实现图1至图3的方法实施例实现的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
可选的,如图5所示,本申请实施例还提供一种电子设备400,包括处理器401,存储器402,存储在存储器402上并可在所述处理器401上运行的程序或指令,该程序或指令被处理器401执行时实现上述信息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图6为实现本申请实施例的一种电子设备的硬件结构示意图。该电子设备500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、以及处理器510等部件。
本领域技术人员可以理解,电子设备500还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图6中示出的电 子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,用户输入单元507,用于在显示第一界面的情况下,接收用户在第一界面输入的第一信息;显示单元506,用于密文显示第一信息;处理器510,用于在再次显示第一界面的情况下,执行第一操作,第一操作包括以下任一项:明文显示第一信息的至少部分内容,显示第一信息的属性信息;其中,该属性信息用于指示第一信息的字符位数。
可选地,处理器510,还用于该在再次显示第一界面的情况下,执行第一操作之前,在检测到目标事件的情况下,执行第二操作;其中,第二操作包括以下任一项:在第一界面上叠加显示第二界面,取消显示第一界面。
可选地,处理器510,具体用于在检测到目标事件的情况下,获取该目标事件的类型,并执行第二操作;还具体用于在再次显示第一界面、且该目标事件的类型为第一类型的情况下,执行第一操作;其中,第一类型的目标事件包括以下至少一项:通话事件,用户对目标对象的输入事件,自动关机事件,第一界面所属的应用程序自动关闭事件;该目标对象为:通知栏区域显示的标识,或在第一界面上显示的控件。
可选地,显示单元506,还用于该在显示第一界面的情况下,接收用户在第一界面输入的第一信息,并密文显示第一信息之后,在再次显示第一界面、且该目标事件的类型为第二类型的情况下,显示不包括第一信息的第一界面。
可选地,该属性信息包括以下任一项:第一信息的总位数信息,位于第一信息末尾的字符在第一信息中的位置信息。
本申请实施例提供的电子设备,在显示第一界面的情况下,接收用户在第一界面输入的第一信息,并密文显示第一信息;在再次显示第一界面的情况下,执行第一操作,第一操作包括以下任一项:明文显示第一信息的至少部分内容,显示第一信息的属性信息;其中,该属性信息用于指示第一信息的字符位数。通过该方案,在第一界面中输入第一信息之后,显示其他界面(此时,中断了密码信息的输入),之后再次显示第一界面时,可以明文显示第一信息的至少 部分内容,从而用户可以根据明文显示的内容快速获知第一信息(即可以知道上次中断输入时输入到什么位置),从而可以继续输入以快速完成密码信息的输入;或者,显示第一信息的属性信息,该属性信息用于指示第一信息的字符位数,因此户可以根据属性信息快速获知第一信息的字符位数(即可以知道上次中断输入时输入到什么位置),从而可以继续输入以快速完成密码信息的输入,如此,可以提高输入效率。
应理解的是,本申请实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。电子设备通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。音频输出单元503可以将射频单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与电子设备500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元506可包括显示面板5061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板5061。用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器509可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述信息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述信息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬 件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (18)

  1. 一种信息显示方法,所述方法包括:
    在显示第一界面的情况下,接收用户在所述第一界面输入的第一信息,并密文显示所述第一信息;
    在再次显示所述第一界面的情况下,执行第一操作,所述第一操作包括以下任一项:明文显示所述第一信息的至少部分内容,显示所述第一信息的属性信息;
    其中,所述属性信息用于指示所述第一信息的字符位数。
  2. 根据权利要求1所述的方法,其中,所述在再次显示所述第一界面的情况下,执行第一操作之前,所述方法还包括:
    在检测到目标事件的情况下,执行第二操作;
    其中,所述第二操作包括以下任一项:在所述第一界面上叠加显示第二界面,取消显示所述第一界面。
  3. 根据权利要求2所述的方法,其中,所述在检测到目标事件的情况下,执行第二操作,包括:
    在检测到目标事件的情况下,获取所述目标事件的类型,并执行所述第二操作;
    所述在再次显示所述第一界面的情况下,执行第一操作,包括:
    在再次显示所述第一界面、且所述目标事件的类型为第一类型的情况下,执行所述第一操作;
    其中,所述第一类型的目标事件包括以下至少一项:通话事件,用户对目标对象的输入事件,自动关机事件,所述第一界面所属的应用程序自动关闭事件;
    所述目标对象为:通知栏区域显示的标识,或在所述第一界面上显示的控件。
  4. 根据权利要求3所述的方法,其中,所述在显示第一界面的情况下,接收用户在所述第一界面输入的第一信息,并密文显示所述第一信息之后,所述 方法还包括:
    在再次显示所述第一界面、且所述目标事件的类型为第二类型的情况下,显示不包括所述第一信息的所述第一界面。
  5. 根据权利要求3所述的方法,其中,所述在再次显示所述第一界面、且所述目标事件的类型为第一类型的情况下,执行所述第一操作之前,所述方法还包括:
    在所述目标事件的类型为所述第一类型的情况下,保存所述第一信息;
    所述在再次显示所述第一界面、且所述目标事件的类型为第一类型的情况下,执行所述第一操作,包括:
    在再次显示所述第一界面、且所述目标事件的类型为所述第一类型的情况下,根据所述第一信息,执行所述第一操作。
  6. 根据权利要求1所述的方法,其中,所述在显示第一界面的情况下,接收用户在所述第一界面输入的第一信息,并密文显示所述第一信息之后,所述方法还包括:
    若在检测到目标事件的预设时长之内未检测到第一事件,删除所述第一界面中的所述第一信息;
    在再次显示所述第一界面的情况下,显示不包括所述第一信息的所述第一界面;
    其中,所述第一事件为触发电子设备再次显示所述第一界面的事件。
  7. 根据权利要求1至6中任一项所述的方法,其中,所述属性信息包括以下任一项:
    所述第一信息的总位数信息,位于所述第一信息末尾的字符在所述第一信息中的位置信息。
  8. 一种信息显示装置,所述装置包括:接收模块、显示模块和执行模块;
    所述接收模块,用于在显示第一界面的情况下,接收用户在所述第一界面输入的第一信息;
    所述显示模块,用于密文显示所述接收模块接收的所述第一信息;
    所述执行模块,用于在再次显示所述第一界面的情况下,执行第一操作,所述第一操作包括以下任一项:明文显示所述接收模块接收的所述第一信息的至少部分内容,显示所述接收模块接收的所述第一信息的属性信息;
    其中,所述属性信息用于指示所述第一信息的字符位数。
  9. 根据权利要求8所述的装置,其中,所述执行模块,还用于所述在再次显示所述第一界面的情况下,执行第一操作之前,在检测到目标事件的情况下,执行第二操作;
    其中,所述第二操作包括以下任一项:在所述第一界面上叠加显示第二界面,取消显示所述第一界面。
  10. 根据权利要求9所述的装置,其中,所述执行模块,具体用于在检测到目标事件的情况下,获取所述目标事件的类型,并执行所述第二操作;还具体用于在再次显示所述第一界面、且所述目标事件的类型为第一类型的情况下,执行所述第一操作;
    其中,所述第一类型的目标事件包括以下至少一项:通话事件,用户对目标对象的输入事件,自动关机事件,所述第一界面所属的应用程序自动关闭事件;
    所述目标对象为:通知栏区域显示的标识,或在所述第一界面上显示的控件。
  11. 根据权利要求10所述的装置,其中,所述显示模块,还用于所述在显示第一界面的情况下,接收用户在所述第一界面输入的第一信息,密文显示所述第一信息之后,在再次显示所述第一界面、且所述目标事件的类型为第二类型的情况下,显示不包括所述第一信息的所述第一界面。
  12. 根据权利要求10所述的装置,其中,所述装置还包括:保存模块;
    所述保存模块,用于在再次显示所述第一界面、且所述目标事件的类型为第一类型的情况下,执行所述第一操作之前,在所述目标事件的类型为所述第一类型的情况下,保存所述第一信息;
    所述执行模块,用于在再次显示所述第一界面、且所述目标事件的类型为 所述第一类型的情况下,根据所述第一信息,执行所述第一操作。
  13. 根据权利要求8所述的装置,其中,所述装置还包括:删除模块;
    所述删除模块,用于在显示第一界面的情况下,接收用户在所述第一界面输入的第一信息,并密文显示所述第一信息之后,若在检测到目标事件的预设时长之内未检测到第一事件,删除所述第一界面中的所述第一信息;
    所述执行模块,还用于在再次显示所述第一界面的情况下,显示不包括所述第一信息的所述第一界面。
    其中,所述第一事件为触发电子设备再次显示所述第一界面的事件。
  14. 根据权利要求8至13中任一项所述的装置,其中,所述属性信息包括以下任一项:
    所述第一信息的总位数信息,位于所述第一信息末尾的字符在所述第一信息中的位置信息。
  15. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至7中任一项所述的信息显示方法的步骤。
  16. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至7中任一项所述的信息显示方法的步骤。
  17. 一种信息显示装置,所述装置用于执行如权利要求1至7中任一项所述的信息显示方法。
  18. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至7中任一项所述的信息显示方法。
PCT/CN2022/082491 2021-03-23 2022-03-23 信息显示方法、装置和电子设备 WO2022199615A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110310528.9 2021-03-23
CN202110310528.9A CN113138675B (zh) 2021-03-23 2021-03-23 信息显示方法、装置和电子设备

Publications (1)

Publication Number Publication Date
WO2022199615A1 true WO2022199615A1 (zh) 2022-09-29

Family

ID=76811524

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/082491 WO2022199615A1 (zh) 2021-03-23 2022-03-23 信息显示方法、装置和电子设备

Country Status (2)

Country Link
CN (1) CN113138675B (zh)
WO (1) WO2022199615A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113138675B (zh) * 2021-03-23 2023-07-04 维沃移动通信有限公司 信息显示方法、装置和电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070021644A (ko) * 2005-08-19 2007-02-23 노틸러스효성 주식회사 금융자동화기기의 비밀번호 재입력 방법
CN102945336A (zh) * 2012-10-24 2013-02-27 广东欧珀移动通信有限公司 一种智能通讯终端的密码输入方法
CN102981627A (zh) * 2011-09-06 2013-03-20 腾讯科技(深圳)有限公司 一种密码输入方法及设备
CN103777864A (zh) * 2014-01-17 2014-05-07 广东金宇恒科技有限公司 一种密码登录组件
CN106815517A (zh) * 2017-01-16 2017-06-09 上海卓易科技股份有限公司 一种密码验证方法及装置
CN110427239A (zh) * 2019-07-30 2019-11-08 维沃移动通信有限公司 一种事件处理方法、终端设备及计算机可读存储介质
CN113138675A (zh) * 2021-03-23 2021-07-20 维沃移动通信有限公司 信息显示方法、装置和电子设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108646928B (zh) * 2018-03-29 2020-06-30 维沃移动通信有限公司 一种字符输入方法、终端设备
CN111949192A (zh) * 2020-08-21 2020-11-17 维沃移动通信有限公司 密码输入提示方法、装置和电子设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070021644A (ko) * 2005-08-19 2007-02-23 노틸러스효성 주식회사 금융자동화기기의 비밀번호 재입력 방법
CN102981627A (zh) * 2011-09-06 2013-03-20 腾讯科技(深圳)有限公司 一种密码输入方法及设备
CN102945336A (zh) * 2012-10-24 2013-02-27 广东欧珀移动通信有限公司 一种智能通讯终端的密码输入方法
CN103777864A (zh) * 2014-01-17 2014-05-07 广东金宇恒科技有限公司 一种密码登录组件
CN106815517A (zh) * 2017-01-16 2017-06-09 上海卓易科技股份有限公司 一种密码验证方法及装置
CN110427239A (zh) * 2019-07-30 2019-11-08 维沃移动通信有限公司 一种事件处理方法、终端设备及计算机可读存储介质
CN113138675A (zh) * 2021-03-23 2021-07-20 维沃移动通信有限公司 信息显示方法、装置和电子设备

Also Published As

Publication number Publication date
CN113138675B (zh) 2023-07-04
CN113138675A (zh) 2021-07-20

Similar Documents

Publication Publication Date Title
US10127404B2 (en) Access control method and terminal device
WO2020220872A1 (zh) 未读消息管理方法及终端设备
WO2022017525A1 (zh) 页面显示方法、装置和电子设备
WO2021110053A1 (zh) 文件发送方法及终端设备
WO2022012614A1 (zh) 数据处理方法、装置和电子设备
CN111984115A (zh) 消息发送方法、装置和电子设备
CN110188524B (zh) 信息加密方法、信息解密方法及终端
WO2022247864A1 (zh) 消息提醒方法、装置及电子设备
CN113141294B (zh) 消息提示方法、装置及电子设备
US20230328018A1 (en) Sending method and apparatus, and electronic device
WO2023072150A1 (zh) 撤回消息的显示方法、装置、电子设备及存储介质
CN111865758A (zh) 一种消息显示方法、装置及电子设备
WO2023030129A1 (zh) 消息的显示方法、装置和电子设备
WO2022253182A1 (zh) 通信方法、装置、电子设备以及可读存储介质
CN111818469B (zh) 呼叫方法、呼叫装置、电子设备和网络设备
WO2023040845A1 (zh) 消息发送方法、装置及电子设备
WO2023046184A1 (zh) 消息处理方法、装置和电子设备
WO2023024970A1 (zh) 信息处理方法、相关设备及可读存储介质
WO2022161406A1 (zh) 加密方法、装置、电子设备及介质
WO2022199615A1 (zh) 信息显示方法、装置和电子设备
US20240094868A1 (en) Display Control Method and Apparatus, Electronic Device, and Medium
CN112422735A (zh) 信息提示方法、装置及电子设备
WO2022253132A1 (zh) 信息显示方法、装置和电子设备
WO2023078301A1 (zh) 聊天信息的发送方法及装置
WO2022213987A1 (zh) 信息处理方法、处理装置、电子设备和可读存储介质

Legal Events

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

Ref document number: 22774271

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22774271

Country of ref document: EP

Kind code of ref document: A1