WO2016172944A1 - 终端的界面显示方法和终端 - Google Patents

终端的界面显示方法和终端 Download PDF

Info

Publication number
WO2016172944A1
WO2016172944A1 PCT/CN2015/078040 CN2015078040W WO2016172944A1 WO 2016172944 A1 WO2016172944 A1 WO 2016172944A1 CN 2015078040 W CN2015078040 W CN 2015078040W WO 2016172944 A1 WO2016172944 A1 WO 2016172944A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
terminal
operating environment
input
input component
Prior art date
Application number
PCT/CN2015/078040
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 华为技术有限公司
Priority to CN201580005941.7A priority Critical patent/CN106462713B/zh
Priority to EP15890324.5A priority patent/EP3255578B1/en
Priority to PCT/CN2015/078040 priority patent/WO2016172944A1/zh
Priority to US15/570,145 priority patent/US10891397B2/en
Publication of WO2016172944A1 publication Critical patent/WO2016172944A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/74Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information operating in dual or compartmented mode, i.e. at least one secure mode
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/83Protecting input, output or interconnection devices input devices, e.g. keyboards, mice or controllers thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting input, output or interconnection devices output devices, e.g. displays or monitors

Definitions

  • the present invention relates to communication technologies, and in particular, to an interface display method and terminal of a terminal.
  • the switching between different applications on the terminal is basically seamless switching, and the switching is only an interface (Activity), which also provides an opportunity for the malicious application to hijack the current foreground activity, that is, the malicious application detects the target application process.
  • Activity also provides an opportunity for the malicious application to hijack the current foreground activity, that is, the malicious application detects the target application process.
  • TEE Trusted Exercution Environment
  • TAI Trusted User Interface
  • TEE Trusted Exercution Environment
  • a trusted operating system is deployed on the terminal to improve the overall security of the mobile intelligent terminal.
  • the mobile intelligent terminal deployed with TEE is divided into two operating systems, one is Rich Operating System (Rich OS) and the other is Trusted OS, which corresponds to Rich Exercution Environment (REE) and TEE, respectively.
  • Rich Operating System Rich OS
  • Trusted OS which corresponds to Rich Exercution Environment (REE) and TEE, respectively.
  • a client application (Client Application, CA for short) is deployed in the Rich OS
  • TA Trusted Application corresponding to the CA is deployed in the Trusted OS.
  • the user's security-sensitive operations in the CA (such as entering payment passwords, account login passwords, etc.) will be transferred to the TA, ie when the user performs security-sensitive operations on the interface in a non-trusted environment (REE), the terminal Switching to the Trusted Environment (TEE) allows the user to perform security-sensitive operations on the TUI interface generated under the TEE. Since the security of the TA running in the TEE is higher than that of the CA running in the REE, the user can be guaranteed. The security-sensitive operation is not attacked.
  • TEE is a very streamlined operating system, it has very few software and hardware resources.
  • the terminal displays the user name, password or Chinese characters in the transaction amount on the interface under the REE, it needs to be displayed under the TEE. That is to say, TEE also needs to support the display of Chinese characters, so that it needs to have a large Chinese character library (generally around 10-20M).
  • a large Chinese character library generally around 10-20M.
  • the terminal when the terminal is running under TEE, it usually only allocates less memory to the TEE. Therefore, even if the terminal successfully draws the TUI interface in the scenario where the TEE lacks resources, it will greatly reduce the response speed of the system later, and the terminal is at the TEE. The speed of the processor.
  • the prior art loads the Chinese character library in the Rich OS into the shared memory of the TEE and the REE by sharing the memory.
  • the Chinese character library in the shared memory is called. Chinese characters can be displayed on the trusted interface.
  • the English font and data font can be stored in the memory of the TEE.
  • the Chinese font library or the English font in the TEE memory is called. You can display numbers or English on a trusted interface.
  • the prior art requires a large amount of shared memory, and the terminal needs to manage a large amount of shared memory, which complicates some processing under the TEE.
  • the trusted interface displayed under the TEE and the interface displayed under the REE The sense of the user is very uncoordinated, and the human-computer interaction is not intelligent enough.
  • the interface display method and the terminal of the terminal provided by the embodiment of the present invention are used to solve the technical problem that the prior art uses a large amount of shared memory when drawing the TUI interface, which causes complicated processing under the TEE and large processing overhead of the terminal; It can also solve the technical problem that the trusted interface displayed under the TEE and the interface displayed under the REE are very different in the sense of the user, and the human-computer interaction is not intelligent enough.
  • an embodiment of the present invention provides a method for displaying an interface of a terminal, where the first operating environment and the second operating environment are deployed, and the method includes:
  • the terminal generates a first interface in the first operating environment, where the first interface includes a first input component, and the first interface is a first application related interface running in the first operating environment;
  • the terminal acquires the first interface image according to the first interface, and determines attribute information of the first input component according to the first application;
  • the attribute information of the first input component includes: the first input The position and/or size of the component in the first interface;
  • the terminal switches from the first running environment to the second running environment, and displays a second interface in the second running environment according to the first interface picture and attribute information of the first input component;
  • the second interface includes the first interface picture and a second input component located above the first interface picture; the second input component is the terminal according to the attribute information of the first input component Generated for receiving user input in the second operating environment.
  • the terminal in the Generating a first interface in the first operating environment, including:
  • the terminal generates a first interface of the display state in the first running environment; or the terminal generates a first interface of the invisible state in the first running environment.
  • the terminal if the terminal generates a first interface that displays a state in the first operating environment, The terminal acquires the first interface image according to the first interface, and determines the attribute information of the first input component according to the first application, including:
  • the terminal acquires the first interface picture according to the first interface, and determines attribute information of the first input component according to the first application.
  • the first interface picture includes the entirety of the first interface A screenshot or a partial screenshot of the first interface.
  • the second input component does not include Chinese characters, and the user input does not include Chinese characters.
  • the terminal displays the second in the second operating environment After the interface, the method further includes:
  • the terminal switches from the second operating environment to the first operating environment, and sends the input to a server for verification;
  • the terminal receives a first verification result of the server.
  • the first interface is further A third input component is included, the third input component is configured to receive first information input by a user;
  • the method also includes:
  • the terminal After the terminal determines that the first operation is an operation of requesting input in the first input component, the terminal acquires the first information.
  • the method further includes:
  • the terminal in the second operating environment, verifies the identity of the user according to the input and the first information, and obtains a second verification result.
  • the first interface is further The transaction amount information including the visual state; the method further includes:
  • the terminal After the terminal determines that the first operation is an operation of requesting input in the first input component, the terminal acquires actual transaction amount information corresponding to the transaction amount information displayed by the first interface.
  • the terminal is switched to the second operating environment, and according to the first interface picture and the The attribute information of the first input component displays the second interface in the second running environment, and specifically includes:
  • the terminal switches from the first operating environment to the second operating environment, and according to the first interface picture, the attribute information of the first input component, and the actual transaction amount information, in the
  • the second interface is displayed in the second operating environment; the second interface includes the first interface picture, a second input component located above the first interface picture, and the actual transaction amount information.
  • an embodiment of the present invention provides a terminal, where a first operating environment and a second operating environment are deployed on the terminal, where the terminal includes:
  • a generating module configured to generate a first interface in the first operating environment, where the first interface includes a first input component, where the first interface is related to a first application running in the first operating environment Interface
  • An acquiring module configured to acquire a first interface image according to the first interface, and determine attribute information of the first input component according to the first application; the attribute information of the first input component includes: The position and/or size of an input component in the first interface;
  • a processing module configured to switch the terminal from the first operating environment to the second operating environment
  • a display module configured to display a second interface in the second running environment according to the first interface picture and attribute information of the first input component; wherein the second interface includes the first interface picture and a second input component located above the first interface picture; the second input component is generated by the terminal according to attribute information of the first input component, and is configured to receive a user in the second operating environment input of.
  • the generating module is configured to generate a first interface of a display state in the first operating environment; or A first interface for generating an invisible state in the first operating environment.
  • the acquiring module specifically includes:
  • An input unit configured to receive, in the first operating environment, a first operation of the user in the first interface
  • a determining unit configured to determine whether the first operation is an operation requesting input in the first input component
  • An obtaining unit configured to: after the determining, by the determining unit, that the first operation is an operation of inputting in the first input component, acquiring the first interface image according to the first interface, and The first application determines attribute information of the first input component.
  • the first interface picture includes the entirety of the first interface A screenshot or a partial screenshot of the first interface.
  • the second input component does not include Chinese characters, and the user input does not include Chinese characters.
  • the terminal further includes: an input module, a receiving module, and a sending module;
  • the input module is configured to receive an input of a user in the second input component in the second operating environment after the display module displays the second interface in the second operating environment;
  • the sending module is configured to send the input to the server for verification after the processing module switches the second operating environment to the first operating environment;
  • the receiving module is further configured to receive a first verification result of the server.
  • the first interface is further The third input component is configured to receive first information input by the user, and the obtaining unit is further configured to: at the determining unit, determine that the first operation is a request for the first input component After the input operation is performed, the first information is obtained.
  • the input unit is further configured to display, in the second operating environment, the display module After the second interface, receiving input of the user in the second input component in the second operating environment;
  • the obtaining unit is further configured to: in the second operating environment, verify the identity of the user according to the input and the first information, to obtain a second verification result.
  • the first interface is further Including the transaction amount information of the visual state
  • the obtaining unit is further configured to: after the determining unit determines that the first operation is an operation of requesting input in the first input component, acquiring, corresponding to the transaction amount information displayed by the first interface, The actual transaction amount information.
  • the display module is specifically configured to run the terminal from the first operation in the processing module After the environment is switched to the second operating environment, displaying the second in the second operating environment according to the first interface picture, the attribute information of the first input component, and the actual transaction amount information.
  • the second interface includes the first interface picture, a second input component located above the first interface picture, and the actual transaction amount information.
  • an embodiment of the present invention provides a terminal, where a first operating environment and a second operating environment are deployed on the terminal, where the terminal includes:
  • a processor configured to generate a first interface in the first running environment, obtain a first interface image according to the first interface, and determine attribute information of the first input component according to the first application, Switching the terminal from the first operating environment to the second operating environment; wherein the first interface includes a first input component, and the first interface is a first one running in the first operating environment An application-related interface; the attribute information of the first input component of the terminal includes: a position and/or a size of the first input component in the first interface;
  • a display configured to display a second interface in the second operating environment according to the first interface picture and attribute information of the first input component; wherein the second interface includes the first interface picture and located a second input component above the first interface picture; the second input component is generated by the processor according to attribute information of the first input component, and is configured to receive a user in the second operating environment input of.
  • the processor is configured to generate a first interface that displays a state in the first operating environment; or A first interface for generating an invisible state in the first operating environment.
  • the terminal further includes an input device
  • the input device is configured to receive the first operation of the user in the first interface in the first operating environment
  • the processor is specifically configured to determine whether the first operation is an operation for requesting input in the first input component, and if yes, acquiring the first interface image according to the first interface, and The first application determines attribute information of the first input component.
  • the first interface picture includes the entirety of the first interface A screenshot or a partial screenshot of the first interface.
  • the second input component does not include Chinese characters
  • the user input does not include Chinese characters
  • the terminal further includes: an input device, a receiver, and a transmitter ;
  • the input device is configured to receive an input of a user in the second input component in the second operating environment after the display displays the second interface in the second operating environment;
  • the transmitter is configured to send the input to the server for verification after the processor switches the terminal from the second operating environment to the first operating environment;
  • the receiver is further configured to receive a first verification result of the server.
  • the first interface is further a third input component for receiving first information input by a user; the processor, further configured to: when determining that the first operation is to request input in the first input component After the operation, the first information is obtained.
  • the input device is further configured to display the second display in the second operating environment After the interface, receiving an input of the user in the second input component in the second operating environment;
  • the processor is further configured to: in the second operating environment, verify a user identity according to the input and the first information, to obtain a second verification result.
  • the first interface further includes transaction amount information in a visual state
  • the processor is further configured to: after determining that the first operation is an operation of requesting input in the first input component, acquiring an actual transaction amount corresponding to the transaction amount information displayed by the first interface information.
  • the display is specifically configured to: at the processor, the terminal from the first operating environment After switching to the second operating environment, displaying the second interface in the second operating environment according to the first interface picture, attribute information of the first input component, and the actual transaction amount information
  • the second interface includes the first interface picture and the first interface picture The second input component and the actual transaction amount information.
  • the interface display method and the terminal of the terminal provided by the embodiment of the present invention the first interface that includes the first input component is generated by the terminal in the first running environment, and the first interface image is obtained according to the first interface, and according to the first After determining the attribute information of the first input component, switching to the second running environment, and displaying, according to the first interface image and the attribute information of the first input component, the first interface image and the first A second interface of the second input component above the interface picture.
  • the method provided by the embodiment of the present invention greatly reduces the shared memory occupied by the Chinese character library when the second interface is drawn in the second operating environment in the prior art, and because the first interface picture is the first in the first operating environment.
  • the true mapping of an interface can be 100% similar to that of the first interface. Therefore, the first interface displayed in the first operating environment in the embodiment is highly restored when displayed in the second operating environment, so that the user is The sense of perception is more consistent, improving the intelligence of human-computer interaction.
  • Embodiment 1 is a schematic flowchart of Embodiment 1 of an interface display method of a terminal provided by the present invention
  • FIG. 2 is a schematic flowchart diagram of an implementation manner of Embodiment 1 of an interface display method of a terminal provided by the present invention
  • FIG. 3 is a schematic diagram of a first interface provided by the present invention.
  • Embodiment 4 is a schematic flowchart of Embodiment 2 of an interface display method of a terminal provided by the present invention
  • Embodiment 3 is a schematic flowchart of Embodiment 3 of an interface display method of a terminal provided by the present invention.
  • FIG. 6 is a schematic flowchart diagram of Embodiment 4 of an interface display method of a terminal provided by the present invention
  • FIG. 7 is a schematic structural diagram of Embodiment 1 of a terminal provided by the present invention.
  • FIG. 8 is a schematic structural diagram of Embodiment 2 of a terminal provided by the present invention.
  • Embodiment 9 is a schematic structural diagram of Embodiment 3 of a terminal provided by the present invention.
  • Embodiment 4 of a terminal provided by the present invention.
  • Embodiment 5 of a terminal provided by the present invention.
  • FIG. 12 is a schematic structural diagram of Embodiment 6 of a terminal provided by the present invention.
  • the terminal involved in the embodiment of the present invention may be any portable mobile terminal, including but not limited to a mobile phone, a mobile computer, a tablet computer, a personal digital assistant (PDA), a media player, a smart TV, a smart watch,
  • PDA personal digital assistant
  • the smart glasses, the smart bracelets, and the like also include an automatic teller machine (ATM) and the like, which are not limited in the embodiment of the present invention.
  • ATM automatic teller machine
  • the method of the embodiment of the present invention is to solve the technical problem that the processing of the terminal is complicated and the processing overhead is increased when the TUI interface is drawn under the TEE.
  • the method according to the embodiment of the present invention can also solve the problem that the trusted interface displayed under the TEE and the interface displayed under the REE are very different in the sense of the user (that is, the interface under the REE, and redisplayed under the TEE).
  • the interface control shape, interface control display effect, brightness and other senses are inconsistent, the human-computer interaction is not intelligent enough.
  • FIG. 1 is a schematic flowchart diagram of Embodiment 1 of an interface display method of a terminal provided by the present invention.
  • the terminal generates a first interface image by using the first interface in the first operating environment, and displays the first interface image in the second running environment, and the first interface image is displayed according to the first interface image.
  • the specific process of receiving the second interface of the user input is drawn.
  • the method includes:
  • the terminal generates a first interface in the first running environment, where the first interface includes a first input component, where the first interface is related to a first application running in the first operating environment. interface.
  • the first operating environment and the second running environment are deployed on the terminal involved in the embodiment of the present invention.
  • the first running environment may be a non-trusted execution environment (REE)
  • the second running environment may be a trusted execution environment (TEE).
  • An application running under REE can be called a CA
  • an application running under a TEE can be called a TA. That is to say, the user's security-sensitive operations in the CA (such as inputting a payment password, an account login password, etc.) will be performed in the TA, that is, when the user performs a security-sensitive operation on the interface in a non-trusted environment,
  • the terminal switches to a trusted environment so that the user can perform security-sensitive operations on the TUI interface generated in the trusted environment.
  • the terminal When the terminal is running in the first running environment, if the user opens the first application on the terminal, the terminal generates a first interface according to the corresponding configuration file of the first application, where the first interface may include the first input component, Receiving some security-sensitive input of the user, such as passwords, verification codes, ID numbers and other sensitive information input by the user. For example, when the user opens the “Taobao” application, an item selection interface is displayed. After the user selects the item in the interface, the user clicks the “purchase” component, and the terminal correspondingly generates a payment interface, and the payment interface may include some of the user. The input area of the security sensitive information, so the payment interface is the first interface involved in the embodiment of the present invention.
  • the terminal acquires the first interface image according to the first interface, and determines attribute information of the first input component according to the first application; the attribute information of the first input component includes: the first input The position and/or size of the component in the first interface.
  • the first interface image is obtained according to the first interface.
  • the first interface screenshot can be directly used as the first interface image by using a corresponding screenshot operation on the terminal, and the first interface can be converted into the first interface image by using software generated on the image on the terminal.
  • the terminal since the first interface is the first application-related interface running in the first operating environment on the terminal, since the first application has a corresponding configuration file, the terminal may determine the foregoing according to the configuration file of the first application. Enter the attribute information of the component.
  • the attribute information of the first input component may be a size of the first input component, a position of the first input component in the first interface, and a size of the first input component and the first interface.
  • the position in the middle can also be the shape, color and other attributes of the first input component.
  • the terminal switches from the first running environment to the second running environment, and displays a second interface in the second running environment according to the first interface picture and the attribute information of the first input component.
  • the second interface includes the first interface picture and the first interface picture a second input component above the slice; the second input component is generated by the terminal according to attribute information of the first input component, for receiving input of a user in the second operating environment.
  • the terminal switches from the first running environment to the second running environment.
  • the switching mentioned herein may be that the processor on the terminal is currently running in the second running environment, or that the current interface display of the terminal is controlled by the second operating environment.
  • the first interface picture is equivalent to switching from the first operating environment to the second operating environment.
  • the first interface image may be located in the memory in the second running environment, or may be located in the shared memory of the first running environment and the second running environment.
  • the terminal may invoke the first interface picture from the shared memory or the memory in the second running environment, and display the first interface picture in the second running environment; at the same time, the terminal according to the first input component
  • the attribute information generates a second input component for receiving user input in the second runtime environment and displays on top of the first interface image to form a second interface. That is, the second interface includes a first interface picture located on the lower layer and a second input component located above the first interface picture.
  • the terminal after generating the first interface in the first operating environment, invokes the Chinese character library in the shared memory and the digital or English font in the second operating environment, thereby reconstructing the first interface in the second operating environment.
  • the second interface is obtained to ensure the security of the user input. Therefore, the prior art requires a large shared memory to store the Chinese character library.
  • the first interface image may be directly generated in the shared memory, or may be located in the memory in the second running environment; when the first interface image is located in the shared memory, the first interface image is a “picture” Formatted data, therefore, the size of the shared memory occupied by the first interface image is much smaller than the size of the shared memory occupied by the Chinese font library; when the first interface image is located in the memory of the second operating environment, An interface picture is data in the "picture" format, so the memory occupied by the second operating environment is not large, and it does not occupy Shared memory.
  • the first interface picture is located in the shared memory or in the memory in the second running environment, it does not occupy a large amount of shared memory or may not occupy the shared memory, so that the processing of the terminal under the TEE is changed. Simplified, the processing overhead of the terminal is reduced; on the other hand, since the second interface includes the first interface picture, the first interface picture is a true mapping of the first interface in the first operating environment, and The similarity of the first interface can The 100% of the first interface displayed in the first operating environment is highly restored when displayed in the second operating environment, so that the user is more consistent in perception and the human-computer interaction is more intelligent.
  • the interface display method of the terminal provided by the embodiment of the present invention, the first interface that includes the first input component is generated by the terminal in the first running environment, and the first interface image is obtained according to the first interface, and determined according to the first application. After the attribute information of the first input component is switched to the second running environment, and displaying the first interface image and the first interface image in the second running environment according to the first interface image and the attribute information of the first input component. A second interface of the second input component.
  • the method provided by the embodiment of the present invention greatly reduces the shared memory occupied by the Chinese character library when the second interface is drawn in the second operating environment in the prior art, and because the first interface picture is the first in the first operating environment.
  • the true mapping of an interface can be 100% similar to that of the first interface. Therefore, the first interface displayed in the first operating environment in the embodiment is highly restored when displayed in the second operating environment, so that the user is The sense of perception is more consistent, improving the intelligence of human-computer interaction.
  • the first interface generated by the terminal in the first operating environment may be a display state or an invisible state.
  • the embodiment relates to that when the first interface generated by the terminal in the first operating environment is in a display state, the terminal acquires the first interface image and the attribute information of the first input component.
  • the specific process On the basis of the foregoing embodiment, as shown in the embodiment shown in FIG. 2, the foregoing S102 specifically includes:
  • S201 The terminal receives the first operation of the user in the first interface in a first operating environment.
  • the terminal displays the first interface, and the user can perform the first operation on the first interface.
  • the first operation may be a touch operation, a sliding operation, a click operation, or the like at any position of the first interface.
  • the terminal determines whether the first operation is an operation for requesting input in the first input component; if yes, the terminal acquires the first interface image according to the first interface, and according to the The first application determines attribute information of the first input component.
  • the terminal determines whether the first operation is an operation for requesting input in the first input component; for example, when the first interface is as shown in FIG. 3
  • the terminal determines that the first operation is not Requesting an input operation in the first input component
  • the terminal determines that the first operation is an operation for requesting input in the first input component, optionally, the first interface
  • the first input component in the medium can be understood as a control that receives the user's security-sensitive information input.
  • the terminal determines that the first operation is an operation of requesting input in the first input component
  • the terminal acquires the first interface image according to the displayed first interface, and determines the displayed according to the configuration file of the first application. Attribute information of the first input component in the first interface.
  • the first interface picture may be an overall screenshot of the first interface or a partial screenshot of the first interface.
  • the terminal switches to the second running environment, which is actually the application in the first operating environment on the terminal and the application in the second operating environment.
  • the session connection, and the process of transmitting the attribute information of the first interface picture and the first input component to the application in the second running environment, but for the terminal, the information transmission inside the terminal may be regarded as the operation of the terminal.
  • the process of switching the environment is actually the application in the first operating environment on the terminal and the application in the second operating environment.
  • the embodiment relates to that when the terminal does not display after generating the first interface in the first running environment, the terminal acquires the first interface image and the attribute of the first input component.
  • the terminal acquires the first interface image and the attribute of the first input component.
  • the terminal when the terminal generates the first interface according to the configuration file of the first application on the terminal, the terminal may not display the first interface, that is, the first interface is invisible to the user.
  • the first interface exists in the bottom layer of the terminal (optional, the bottom layer may be the memory or the video memory of the terminal).
  • the terminal may directly obtain the first interface image according to the first interface.
  • the first interface picture may be an overall screenshot of the first interface or a partial screenshot of the first interface.
  • the terminal stores the first interface image in the shared memory or the memory in the second running environment, and also obtains the attribute information of the first input component in the first interface according to the first application configuration file.
  • the terminal switches to the second running environment, and generates a second interface according to the acquired first interface picture and attribute information of the first input component.
  • the terminal Assuming that the terminal currently displays a product selection interface, the user selects a piece of clothing in the interface and clicks “Purchase”.
  • the first payment environment needs to be displayed in the first operating environment.
  • the payment interface ie, the first interface
  • the payment interface ie, the first interface
  • the screenshot the first interface image
  • the payment interface is not displayed, but At the bottom of the layer will directly pay Alipay's payment interface (ie the first interface)
  • a screenshot (first interface picture) is generated, and then the terminal switches to the second running environment (ie, the screenshot is sent to the second operating environment), and the second interface is constructed in the second operating environment.
  • the embodiment of the present invention when the terminal generates the second interface according to the determined first interface picture and attribute information of the first input component, when the Chinese input is not included in the second input component, and the user's input does not include the Chinese character, the embodiment of the present invention may not need any Chinese character library when constructing the second interface (because of the first in the first operating environment) The interface needs to be displayed in the second operating environment.
  • the first interface directly generates a first interface image, and the first interface image is directly displayed in the second running environment, so whether the first interface includes Chinese characters, the display of the first interface picture does not need to load the Chinese character library, and the display of the second input component located above the first interface picture does not need the Chinese character library); however, in the prior art, even the second Chinese characters are not included in the input component, and the user's input does not include Chinese characters, but the first interface in the first operating environment requires Display in the second operating environment, and therefore it needs to load a Chinese font, the terminal must be set in the second loader operation environment, the higher the processing complexity of the terminal. Therefore, in the method provided by the embodiment of the present invention, the terminal does not need to set the program for loading the Chinese character library in the second operating environment, thereby reducing the processing complexity of the terminal in the second operating environment.
  • the interface display method of the terminal provided by the embodiment of the present invention, the first interface that includes the first input component is generated by the terminal in the first running environment, and the first interface image is obtained according to the first interface, and determined according to the first application. After the attribute information of the first input component is switched to the second running environment, and displaying the first interface image and the first interface image in the second running environment according to the first interface image and the attribute information of the first input component. A second interface of the second input component.
  • the method provided by the embodiment of the present invention greatly reduces the shared memory occupied by the Chinese character library when the second interface is drawn in the second operating environment in the prior art, and because the first interface picture is the first in the first operating environment.
  • the true mapping of an interface can be 100% similar to that of the first interface. Therefore, the first interface displayed in the first operating environment in the embodiment is highly restored when displayed in the second operating environment, so that the user is The sense of perception is more consistent, improving the intelligence of human-computer interaction.
  • FIG. 4 is a schematic flowchart diagram of Embodiment 2 of an interface display method of a terminal provided by the present invention.
  • Ben The embodiment relates to the terminal constructing the second interface in the second operating environment according to the first interface in the first operating environment, and verifying the user identity by combining the server according to the input of the user in the second input component of the second interface.
  • the specific process. As shown in FIG. 4, the method includes:
  • the terminal generates a first interface in the first running environment, where the first interface includes a first input component, where the first interface is a first application related interface running in the first running environment.
  • the first interface may be in a display state or an invisible state.
  • the specific implementation process of the S301 refer to the foregoing S101, and the corresponding description in the first possible implementation manner or the second possible implementation manner of the foregoing first embodiment, and details are not described herein again.
  • the terminal acquires the first interface image according to the first interface, and determines attribute information of the first input component according to the first application; the attribute information of the first input component includes: the first input The position and/or size of the component in the first interface.
  • the terminal switches from the first running environment to the second running environment, and displays the second interface in the second running environment according to the first interface picture and the attribute information of the first input component.
  • the second interface includes the first interface picture and a second input component located above the first interface picture; the second input component is the terminal according to the attribute information of the first input component Generated for receiving user input in the second operating environment.
  • S304 The terminal receives an input of the user in the second input component in the second operating environment.
  • the user may prompt the user that the second interface is located in the second running environment by blinking or color change of the breathing lamp on the terminal.
  • prompting the user that the current second interface is located in the second operating environment by using the vibration tempo or vibration intensity of the vibration motor provided on the terminal and may also prompt the user that the current second interface is located in the second operating environment, and the implementation of the present invention is implemented.
  • the example prompts the terminal that the user is located at the second interface.
  • the manner in the second operating environment is not limited. When the user receives the prompt from the terminal, the corresponding input is made in the second input component of the second interface.
  • S305 The terminal switches from the second running environment to the first running environment, and sends the input to the server for verification.
  • the terminal when the terminal detects the input of the user in the second input component of the second interface, the terminal switches to the first operating environment, that is, the processor on the terminal is currently switched from the second operating environment to the second operating environment. That is, the processor is currently working in the second operating environment.
  • the input of the user in the second input component is sent to the server for verification.
  • the terminal may be in the user when switching to the first operating environment.
  • the input information in the second operating environment is encrypted, that is, the information input by the user in the second operating environment is encrypted by the terminal before being transferred to the first operating environment.
  • the second interface constructed by the terminal in the second running environment is also a login interface, and the user is After the input is performed in the second input component in the second interface (for example, the password is input), the terminal switches to the first running environment, and sends a login request to the server, where the login request can carry the user's network account and the user is in the first
  • the input in the input component enables the server to perform verification of the user identity according to the login request, that is, verify whether the input of the user in the second input component matches the information such as the key or password saved by the server, and if matched, the server considers The user's input in the second input component is correct, and the server sends the first verification result to the terminal.
  • the second interface configured by the terminal in the second operating environment is also a payment interface
  • the second interface includes the first interface generated by the terminal according to the first interface.
  • S306 The terminal receives the first verification result of the server.
  • the interface display method of the terminal greatly reduces the shared memory occupied by the Chinese character library when the second interface is drawn in the second operating environment in the prior art, and
  • the interface image is a real mapping of the first interface in the first operating environment, and the similarity with the first interface may be 100%. Therefore, the first interface displayed in the first operating environment in the embodiment is in the second operating environment.
  • the lower display is highly restored, so that the user is more consistent in perception and improves the intelligence of human-computer interaction; and the user inputs the corresponding security in the second input component on the second interface in the second operating environment. Sensitive information is then verified by the server to protect the privacy of the user.
  • FIG. 5 is a schematic flowchart diagram of Embodiment 3 of an interface display method of a terminal provided by the present invention.
  • the embodiment relates to that the terminal constructs the second interface in the second operating environment according to the first interface in the first operating environment, and locally authenticates the user in the terminal according to the input of the user in the second input component of the second interface.
  • the specific process of identity As shown in FIG. 5, the method includes:
  • the terminal generates a first interface in the first running environment, where the first interface includes a first input component and a third input component, where the third input component is configured to receive first information input by the user;
  • the first interface is a first application related interface running in the first operating environment.
  • the first interface includes not only the first input component but also the third input component, and in the embodiment, the first interface is in a display state.
  • the third input component can be configured to receive first information input by the user.
  • the generated first interface is a login interface of the user's network account
  • the first input component is the password input area in the login interface
  • the third input component is the user name in the login interface, etc.
  • the network account input area that is, the first information may be information having a certain relationship with the input of the user in the second input component.
  • S402 The terminal receives the first operation of the user in the first interface in the first operating environment.
  • S403 The terminal determines whether the first operation is an operation for requesting input in the first input component; if yes, the terminal acquires the first interface image according to the first interface, and according to the first An application determines attribute information of the first input component and acquires first information.
  • the specific execution process of the foregoing S402 and S403 can be performed by referring to the foregoing embodiment shown in FIG. 2, and details are not described herein again.
  • the third interface component needs to be included in the first interface picture in this embodiment.
  • the difference from the above embodiment is also that After determining that the first operation is an operation of requesting input in the first input component, the terminal acquires first information in the third input component.
  • the terminal switches from the first running environment to the second running environment, and displays the second interface in the second running environment according to the first interface picture and the attribute information of the first input component.
  • the second interface includes the first interface picture and a second input component located above the first interface picture; the second input component is the terminal according to the attribute information of the first input component Generated for receiving user input in the second operating environment.
  • S405 The terminal receives an input of the user in the second input component in the second operating environment.
  • the user may prompt the user that the second interface is located in the second running environment by blinking or color change of the breathing lamp on the terminal. Or prompting the user that the current second interface is located in the second operating environment by using the vibration tempo or vibration intensity of the vibration motor provided on the terminal, and may also prompt the user that the current second interface is located in the second operating environment, and the implementation of the present invention is implemented.
  • the manner in which the terminal prompts the user that the second interface is located in the second running environment is not limited. When the user receives the prompt from the terminal, the corresponding input is made in the second input component of the second interface.
  • S406 The terminal, in the second operating environment, verifies the identity of the user according to the input and the first information, and obtains a second verification result.
  • the difference from the embodiment shown in FIG. 5 is that, after the terminal obtains the input of the user in the second input component, the terminal does not switch to the first running environment and performs verification through the server, but In the second operating environment, the identity of the user is verified according to the input of the user in the second input component and the first information obtained, and the second verification result is obtained, that is, in the second operating environment, by the terminal itself.
  • the verification of the user identity is completed, and the privacy of the user is ensured.
  • the interface display method of the terminal greatly reduces the shared memory occupied by the Chinese character library when the second interface is drawn in the second operating environment, and the first interface picture is the first operation
  • the true mapping of the first interface in the environment can be 100% similar to the first interface. Therefore, the first interface displayed in the first operating environment in this embodiment
  • the display is highly restored when displayed in the second operating environment, so that the user is more consistent in perception and improves the intelligence of human-computer interaction; and the second input component of the user on the second interface in the second operating environment Corresponding security sensitive information is input, and the terminal further verifies the user privacy according to the second information in the second operating environment according to the input of the user in the second input component and the first information input by the user in the third input component.
  • Safety is
  • FIG. 6 is a schematic flowchart diagram of Embodiment 4 of an interface display method of a terminal provided by the present invention.
  • the embodiment relates to that the terminal constructs the second interface in the second operating environment according to the first interface in the first operating environment, and displays the actual transaction amount information corresponding to the transaction amount information displayed in the first interface in the second On the interface, the specific process of preventing the malicious user from tampering with the actual transaction amount information and displaying the transaction amount information to the user is false information.
  • the method includes:
  • the terminal generates a first interface in the first running environment, where the first interface includes a first input component and transaction amount information in a visible state; the first interface is configured to run in the first running environment The first application related interface.
  • the first interface in the first operating environment, is in a display state, thereby presenting the user with the amount information to be traded.
  • the transaction amount information displayed by the terminal on the first interface is determined by the amount information in the corresponding configuration file of the bottom layer (for example, determined by the transaction amount information in the memory), that is, if the underlying configuration file
  • the transaction amount in the transaction is 50 yuan
  • the transaction amount displayed on the first interface is 50 yuan.
  • the specific execution process of the first interface in the step S501 can be referred to the foregoing S101, and the corresponding description of the embodiment shown in FIG. 2, and details are not described herein again.
  • S502 The terminal receives a first operation of the user in the first interface in a first operating environment.
  • the terminal determines whether the first operation is an operation for requesting input in the first input component; if yes, the terminal acquires the first interface image according to the first interface, and according to the first An application determines attribute information of the first input component, and acquires actual transaction amount information corresponding to the transaction amount information displayed by the first interface.
  • the specific execution process of the foregoing S502 and S503 can be performed by referring to the foregoing embodiment shown in FIG. 2, and details are not described herein again.
  • the terminal when the terminal acquires the first interface image, it also needs to acquire an underlying configuration file corresponding to the transaction amount information in the first interface.
  • the actual transaction amount information in .
  • the transaction amount information displayed by the first interface may be displayed in the first interface image, or may not be displayed, which is not limited by the embodiment of the present invention. .
  • the terminal switches from the first operating environment to the second running environment, and according to the first interface picture, the attribute information of the first input component, and the actual transaction amount information, in the Displaying the second interface in a second operating environment;
  • the second interface includes the first interface picture, a second input component located above the first interface picture, and the actual transaction amount information;
  • the two input component is generated by the terminal according to the attribute information of the first input component, and is configured to receive an input of the user in the second running environment.
  • the terminal switches from the first running environment to the second running environment.
  • the handover mentioned herein may be that the processor on the terminal is currently running in the second running environment, or that the current interface display of the terminal is controlled by the second operating environment.
  • the first interface picture is equivalent to switching from the first operating environment to the second operating environment.
  • the first interface image may be located in the memory in the second running environment, or may be located in the shared memory of the first running environment and the second running environment.
  • the terminal may invoke the first interface picture from the shared memory or the memory in the second running environment, and display the first interface picture in the second running environment; at the same time, the terminal according to the first input component
  • the attribute information generates a second input component for receiving user input in the second running environment, and displays the image on the first interface image, and displays the actual transaction amount information on the first interface image, thereby forming The second interface.
  • the actual transaction amount information may be displayed on a suitable interface position on the second interface; When the transaction amount information displayed on the first interface is displayed, the actual transaction amount information overwrites the transaction amount information on the first interface displayed on the first interface image on the second interface.
  • S505 The terminal receives an input of the user in the second input component in the second operating environment.
  • the user may prompt the user that the second interface is located in the second running environment by blinking or color change of the breathing lamp on the terminal. Or through the vibration rhythm or vibration intensity of the vibration motor provided on the terminal.
  • the current second interface of the user is located in the second running environment, and may also prompt the user that the current second interface is located in the second running environment.
  • the embodiment of the present invention prompts the terminal that the second interface is located in the second running environment. Not limited. When the user receives the prompt from the terminal, the corresponding input is made in the second input component of the second interface.
  • S506 The terminal switches from the second running environment to the first running environment, and sends the input to the server for verification.
  • the terminal detects the input of the user in the second input component of the second interface
  • the terminal switches to the first operating environment, that is, the processor on the terminal is currently switched from the second operating environment to the second operating environment. That is, the processor is currently working in the second operating environment.
  • the input of the user in the second input component is sent to the server for verification.
  • S507 The terminal receives the first verification result of the server.
  • the interface display method of the terminal greatly reduces the shared memory occupied by the Chinese character library when the second interface is drawn in the second operating environment, and the first interface picture is the first operation
  • the true mapping of the first interface in the environment can be 100% similar to that of the first interface. Therefore, the first interface displayed in the first operating environment in the embodiment is highly restored when displayed in the second operating environment.
  • the user is more consistent in the sense of perception, and improves the intelligence of human-computer interaction; and, by displaying the actual transaction amount information on the second interface in the second running environment, the malicious user is prevented from tampering with the actual transaction amount information.
  • the situation in which the transaction amount information displayed to the user is false information occurs, and the security of the user's property privacy is further protected.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
  • FIG. 7 is a schematic structural diagram of Embodiment 1 of a terminal provided by the present invention.
  • a first operating environment and a second operating environment are deployed on the terminal.
  • the terminal includes: a generating module 10, an obtaining module 11, a processing module 12, and a display module 13.
  • the generating module 10 is configured to generate a first interface in the first operating environment, where the first interface includes a first input component, where the first interface is a first running in the first operating environment An application related interface;
  • the obtaining module 11 is configured to obtain a first interface image according to the first interface, and determine attribute information of the first input component according to the first application; the attribute information of the first input component includes: The position and/or size of the first input component in the first interface;
  • the processing module 12 is configured to switch the terminal from the first operating environment to the second operating environment;
  • the display module 13 is configured to display the second interface in the second running environment according to the first interface picture and the attribute information of the first input component, where the second interface includes the first interface image And a second input component located above the first interface picture; the second input component is generated by the terminal according to attribute information of the first input component, and is configured to be received in the second operating environment User input.
  • the terminal provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the generating module 10 is specifically configured to generate a first interface of a display state in the first running environment; or the terminal generates a first interface in an invisible state in the first running environment.
  • FIG. 8 is a schematic structural diagram of Embodiment 2 of a terminal provided by the present invention.
  • the acquiring module 11 is as shown in FIG. Specifically, the method includes an input unit 111, a determination unit 112, and an acquisition unit 113.
  • the input unit 111 is configured to receive the first operation of the user in the first interface in the first operating environment
  • the determining unit 112 is configured to determine whether the first operation is an operation for requesting input in the first input component
  • the obtaining unit 113 is configured to: after the determining, by the determining unit 112, the first operation is an operation of requesting input in the first input component, acquiring the first interface image according to the first interface, and Determining attribute information of the first input component according to the first application.
  • the first interface picture includes an overall screenshot of the first interface or a partial screenshot of the first interface.
  • the second input component does not include Chinese characters, and the user input does not include Chinese characters are included.
  • FIG. 9 is a schematic structural diagram of Embodiment 3 of a terminal provided by the present invention.
  • the terminal further includes: an input module 14 , a receiving module 15 , and a sending module 16 .
  • the input module 14 is configured to receive an input of the user in the second input component in the second operating environment after the display module 13 displays the second interface in the second operating environment. ;
  • the sending module 16 is configured to send the input to the server for verification after the processing module 12 switches the operation from the second operating environment to the first operating environment;
  • the receiving module 15 is further configured to receive a first verification result of the server.
  • FIG. 9 the structure of the terminal shown in FIG. 9 is based on the embodiment shown in FIG. 8.
  • FIG. 9 can also be based on the embodiment shown in FIG. 7, but is not shown in the embodiment of the present invention.
  • the first interface further includes a third input component, where the third input component is configured to receive first information input by a user; 113.
  • the method further includes: after the determining unit 112 determines that the first operation is an operation of requesting input in the first input component, acquiring the first information.
  • the input unit 111 is further configured to receive an input of the user in the second input component in the second operating environment after the display module 13 displays the second interface in the second operating environment.
  • the obtaining unit 113 is further configured to: in the second running environment, verify the identity of the user according to the input and the first information, to obtain a second verification result.
  • the first interface further includes transaction amount information in a visible state; and the acquiring unit 113 is further configured to be in the determining unit 112. Determining that the first operation is an operation of requesting input in the first input component, acquiring actual transaction amount information corresponding to the transaction amount information displayed by the first interface; the display module 13 After the processing module 12 switches the terminal from the first running environment to the second running environment, according to the first interface picture, attribute information of the first input component, and the actual The transaction amount information, the second interface is displayed in the second operating environment; the second interface includes the first interface picture, a second input component located above the first interface picture, and the Actual transaction amount information.
  • the terminal provided by the embodiment of the present invention may perform the foregoing method embodiment, and the implementation principle and technology thereof The effect is similar and will not be described here.
  • FIG. 10 is a schematic structural diagram of Embodiment 4 of a terminal provided by the present invention.
  • a first operating environment and a second operating environment are deployed on the terminal.
  • the terminal may include: a processor 20, a memory 21, a display 22, and at least one communication bus 23.
  • the processor 20 which is a control center of the mobile terminal, connects various parts of the entire mobile terminal by using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 21, and calling the memory 21 in the memory. Data within to perform various functions of the mobile terminal and/or process data.
  • the processor 20 may be composed of an integrated circuit (IC), for example, may be composed of a single packaged IC, or may be composed of a plurality of packaged ICs having the same function or different functions.
  • the processor 20 may include only a central processing unit (CPU), or may be a CPU, a digital signal processor (DSP), or a graphics processing unit (GPU). And a combination of control chips (eg, baseband chips) in the communication unit.
  • the CPU may be a single operation core, and may also include multiple operation cores.
  • the memory 21 can be used to store software programs and modules, and the processor 20 executes various functional applications of the mobile terminal and implements data processing by running software programs and modules stored in the memory 21.
  • the memory 21 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, such as a sound playing program, an image playing program, and the like; and the data storage area can be stored according to the mobile terminal. Use the created data (such as audio data, phone book, etc.).
  • the memory 21 may include a volatile memory, such as a nonvolatile volatile random access memory (NVRAM) or a phase change random access memory (PRAM).
  • NVRAM nonvolatile volatile random access memory
  • PRAM phase change random access memory
  • a magnetoresistive random access memory MRAM
  • a non-volatile memory such as at least one disk storage device, electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory) , referred to as EEPROM), flash memory devices, such as NOR flash memory or NAND flash memory.
  • the non-volatile memory stores an operating system and applications executed by the processor 20.
  • the processor 20 loads the running program and data from the non-volatile memory into the memory and stores the digital content in a large In the mass storage device.
  • the communication bus 23 is used to implement a communication connection between components.
  • the processor 20 is configured to generate a first interface in the first operating environment, obtain a first interface image according to the first interface, and determine according to the first application.
  • the terminal is switched from the first operating environment to the second operating environment; wherein the first interface includes a first input component, and the first interface is a first application-related interface running in the first operating environment; the attribute information of the first input component of the terminal includes: a position and/or a size of the first input component in the first interface ;
  • a display 22 configured to display a second interface in the second operating environment according to the first interface picture and attribute information of the first input component; wherein the second interface includes the first interface picture and a second input component located above the first interface picture; the second input component is generated by the processor 20 according to attribute information of the first input component, for use in the second operating environment Receive user input.
  • the terminal provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • the processor 20 is specifically configured to generate a first interface of a display state in the first running environment; or the terminal generates a first interface in an invisible state in the first running environment.
  • FIG. 11 is a schematic structural diagram of Embodiment 5 of a terminal provided by the present invention. If the processor 20 generates the first interface of the display state in the first operating environment, the terminal may further include the input device 24 on the basis of the embodiment shown in FIG. 10 above.
  • the input device 24 is configured to implement interaction between the user and the mobile terminal, and/or the user inputs information into the mobile terminal.
  • input device 24 can receive numeric or character information input by a user to generate signal inputs related to user settings or function controls.
  • the input device 24 may be a touch panel, or may be other human-computer interaction interfaces, such as physical input keys, microphones, etc., and may also be other external information capture devices, such as cameras.
  • a touch panel also called a touch screen or a touch screen, can collect an operation action touched or approached by a user, such as a user using a finger, a stylus, or the like on the touch panel or near the touch panel.
  • the touch panel may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects a touch operation of the user, converts the detected touch operation into an electrical signal, and transmits the electrical signal to the touch controller;
  • the touch controller receives the electrical signal from the touch detection device, and It is converted into contact coordinates and sent to the processor 20.
  • the touch controller can also receive commands from the processor 20 and execute them.
  • touch panels can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the physical input keys used by the input device 24 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like. kind or more.
  • the input device 24 in the form of a microphone can collect the voice input by the user or the environment and convert it into a command in the form of an electrical signal and executable by the processor 20; the input device 24 in the form of a fingerprint sensor can capture the body surface of the user's contact with the fingerprint sensor
  • the texture information (including fingerprint information, palm print information, etc.) is converted into a command in the form of an electrical signal and executable by the processor 20, and the fingerprint sensor may include a capacitive fingerprint sensor, an ultrasonic fingerprint sensor, an optical fingerprint sensor, and a temperature fingerprint.
  • the sensor or the like may be a wiped fingerprint sensor or a push type fingerprint sensor.
  • the input device 24 is configured to receive the first operation of the user in the first interface in the first operating environment
  • the processor 20 is specifically configured to determine whether the first operation is an operation for requesting input in the first input component, and if yes, acquiring the first interface image according to the first interface, and Determining attribute information of the first input component according to the first application.
  • the first interface picture includes an overall screenshot of the first interface or a partial screenshot of the first interface.
  • the Chinese characters are not included in the second input component, and the input of the user does not include Chinese characters.
  • FIG. 12 is a schematic structural diagram of Embodiment 6 of a terminal provided by the present invention. Based on the embodiment shown in FIG. 10 or FIG. 11 above, the terminal further includes: an input device 24, a receiver 25, and a transmitter 26.
  • the input device 24 is configured to receive an input of a user in the second input component in the second operating environment after the display 22 displays the second interface in the second operating environment;
  • the transmitter 26 is configured to send the input to the server for verification after the processor 20 switches the terminal from the second operating environment to the first operating environment;
  • the receiver 25 is further configured to receive a first verification result of the server.
  • both the receiver 25 and the transmitter 26 may be located in a communication unit inside the terminal, so that the mobile terminal connects to the communication peer through the communication channel, and communicates with the communication peer through the communication channel.
  • Interactive data may be located in a communication unit inside the terminal, so that the mobile terminal connects to the communication peer through the communication channel, and communicates with the communication peer through the communication channel.
  • the first interface further includes a third input component, where the third input component is configured to receive first information input by the user, and the processor 20 is further configured to determine that the first operation is a request After the input operation is performed in the first input component, the first information is acquired; then the input device 24 is further configured to: after the display 22 displays the second interface in the second operating environment, Receiving an input of the user in the second input component in the second operating environment; the processor 20 is further configured to verify according to the input and the first information in the second operating environment User identity, get the second verification result.
  • the third input component is configured to receive first information input by the user
  • the processor 20 is further configured to determine that the first operation is a request After the input operation is performed in the first input component, the first information is acquired; then the input device 24 is further configured to: after the display 22 displays the second interface in the second operating environment, Receiving an input of the user in the second input component in the second operating environment; the processor 20 is further configured to verify according to the input and the first information in the second operating environment User identity, get the
  • the first interface further includes transaction amount information in a visible state;
  • the processor 20 is further configured to: after determining that the first operation is an operation for requesting input in the first input component Obtaining actual transaction amount information corresponding to the transaction amount information displayed by the first interface;
  • the display 22 is specifically configured to switch the terminal from the first operating environment to the processor 20 After the second operating environment, displaying the second interface in the second operating environment according to the first interface picture, the attribute information of the first input component, and the actual transaction amount information;
  • the second interface includes the first interface picture, a second input component located above the first interface picture, and the actual transaction amount information.
  • the terminal provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明提供一种终端的界面显示方法和终端,该方法包括:终端在第一运行环境中生成包括第一输入组件的第一界面,并根据第一界面获取第一界面图片以及根据第一应用确定第一输入组件的属性信息;终端切换至第二运行环境,根据第一界面图片和第一输入组件的属性信息在第二运行环境中显示第二界面,从而降低了终端的处理开销。

Description

终端的界面显示方法和终端 技术领域
本发明涉及通信技术,尤其涉及一种终端的界面显示方法和终端。
背景技术
目前,终端上不同应用程序之间的切换基本上是无缝切换,其切换的只是一个界面(Activity),这也就给恶意应用劫持当前前台Activity提供了机会,即恶意应用检测到目标应用进程开启时,切换到前台并用虚假的界面覆盖目标应用界面。为了保护用户在登录、交易等场景下的账户安全,防止Activity劫持,就需要使用可信执行环境(Trusted Exercution Environment,简称TEE)下的可信界面(Trusted User Interface,简称TUI),即通过在终端上部署一套可信操作系统(Trusted OS),来提升移动智能终端整体的安全性。部署了TEE的移动智能终端从架构上分为两个操作系统,一个是富操作系统(Rich OS),一个是Trusted OS,分别对应富执行环境(Rich Exercution Environment,简称REE)和TEE,其中,在Rich OS中部署有客户端应用(Client Application,简称CA),在Trusted OS中部署有与CA对应的可信应用(Trusted Application,简称TA)。用户在CA中的安全敏感操作(例如输入支付密码、账号登陆密码等操作)将会转到TA中执行,即当用户在非可信环境下(REE)的界面上执行安全敏感操作时,终端会切换至可信环境(TEE),使得用户可以在TEE下生成的TUI界面上执行安全敏感操作,由于在TEE中运行的TA的安全性要高于REE中运行的CA,故而能够达到保障用户的安全敏感操作不被攻击的效果。
由于TEE是一个非常精简的操作系统,其具备的软硬件资源都非常少,而终端在REE下的界面上显示的用户名、密码或交易金额中的中文字符时,在TEE下也需要显示,即TEE也需要支持中文字符的显示,这样就需要具备庞大的中文字库(一般在10-20M左右)。但是,终端在TEE下运行时,通常只会分配给TEE较少的内存。因此,即使终端在TEE缺少资源的场景下将TUI界面绘制成功,但其会大大降低系统后期的响应速度,以及终端在TEE 下的处理器速度。
为了解决上述问题,现有技术通过共享内存的方式,将Rich OS中的中文字库加载到TEE和REE的共享内存中,当TEE中的TA需要显示可信界面时,调用共享内存中的中文字库就可以在可信界面上显示中文字符。另外,由于英文字符和数字的字库并不大,因此英文字库和数据字库可以存储在TEE的内存中,当TEE中的TA需要显示可信界面时,调用TEE内存中的中文字库或英文字库,就可以在可信界面上显示数字或者英文。
但是,现有技术需要大量的共享内存,终端需要对大量的共享内存进行管理,使得TEE下的一些处理复杂化;另外,现有技术中,TEE下显示的可信界面与REE下显示的界面在用户感官上非常不统一,人机交互不够智能化。
发明内容
本发明实施例提供的终端的界面显示方法和终端,用以解决现有技术在绘制TUI界面时占用大量的共享内存,导致TEE下的处理复杂、终端处理开销大的技术问题;另一方面,也可以解决TEE下显示的可信界面与REE下显示的界面在用户感官上非常不统一,人机交互不够智能化的技术问题。
第一方面,本发明实施例提供一种终端的界面显示方法,所述终端上部署了第一运行环境和第二运行环境,所述方法包括:
所述终端在所述第一运行环境中生成第一界面,所述第一界面包括第一输入组件,所述第一界面为运行在所述第一运行环境中的第一应用相关的界面;
所述终端根据所述第一界面获取第一界面图片,以及,根据所述第一应用确定所述第一输入组件的属性信息;所述第一输入组件的属性信息包括:所述第一输入组件在所述第一界面中的位置和/或大小;
所述终端从所述第一运行环境切换至所述第二运行环境,并根据所述第一界面图片和所述第一输入组件的属性信息在所述第二运行环境中显示第二界面;其中,所述第二界面包括所述第一界面图片和位于所述第一界面图片之上的第二输入组件;所述第二输入组件为所述终端根据所述第一输入组件的属性信息生成的,用于在所述第二运行环境中接收用户的输入。
结合第一方面,在第一方面的第一种可能的实施方式中,所述终端在所 述第一运行环境中生成第一界面,包括:
所述终端在所述第一运行环境中生成显示状态的第一界面;或者,所述终端在所述第一运行环境中生成不可视状态的第一界面。
结合第一方面的第一种可能的实施方式,在第一方面的第二种可能的实施方式中,若所述终端在所述第一运行环境中生成显示状态的第一界面;则所述终端根据所述第一界面获取第一界面图片,以及,根据所述第一应用确定所述第一输入组件的属性信息,包括:
所述终端在所述第一运行环境下接收所述用户在所述第一界面的第一操作;
所述终端判断所述第一操作是否为请求在所述第一输入组件中进行输入的操作;
若是,则所述终端根据所述第一界面获取所述第一界面图片,以及,根据所述第一应用确定所述第一输入组件的属性信息。
结合第一方面至第一方面的第二种可能的实施方式中的任一项,在第一方面的第三种可能的实施方式中,所述第一界面图片包括所述第一界面的整体截图或者所述第一界面的部分截图。
结合第一方面的第三种可能的实施方式,在第一方面的第四种可能的实施方式中,所述第二输入组件中不包括中文字符,所述用户的输入不包括中文字符。
结合第一方面至第一方面的第四种可能的实施方式中的任一项,在第一方面的第五种可能的实施方式中,所述终端在所述第二运行环境中显示第二界面之后,所述方法还包括:
所述终端在所述第二运行环境下接收用户在所述第二输入组件中的输入;
所述终端从所述第二运行环境切换至所述第一运行环境,并将所述输入发送给服务器进行验证;
所述终端接收所述服务器的第一验证结果。
结合第一方面的第二种可能的实施方式至第一方面的第四种可能的实施方式中的任一项,在第一方面的第六种可能的实施方式中,所述第一界面还包括第三输入组件,所述第三输入组件用于接收用户输入的第一信息;所述 方法还包括:
所述终端判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,获取所述第一信息。
结合第一方面的第六种可能的实施方式,在第一方面的第七种可能的实施方式中,所述终端在所述第二运行环境下显示第二界面之后,所述方法还包括:
所述终端在所述第二运行环境下接收用户在所述第二输入组件中的输入;
所述终端在所述第二运行环境下,根据所述输入和所述第一信息验证用户身份,获得第二验证结果。
结合第一方面的第二种可能的实施方式至第一方面的第四种可能的实施方式中的任一项,在第一方面的第八种可能的实施方式中,所述第一界面还包括可视状态的交易金额信息;所述方法还包括:
所述终端判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,获取与所述第一界面显示的所述交易金额信息对应的实际交易金额信息。
结合第一方面的第八种可能的实施方式,在第一方面的第九种可能的实施方式中,所述终端切换至所述第二运行环境,并根据所述第一界面图片和所述第一输入组件的属性信息在所述第二运行环境中显示第二界面,具体包括:
所述终端从所述第一运行环境切换至所述第二运行环境,并根据所述第一界面图片、所述第一输入组件的属性信息和所述实际的交易金额信息,在所述第二运行环境下显示所述第二界面;所述第二界面包括所述第一界面图片、位于所述第一界面图片之上的第二输入组件以及所述实际的交易金额信息。
第二方面,本发明实施例提供一种终端,所述终端上部署了第一运行环境和第二运行环境,所述终端包括:
生成模块,用于在所述第一运行环境中生成第一界面,所述第一界面包括第一输入组件,所述第一界面为运行在所述第一运行环境中的第一应用相关的界面;
获取模块,用于根据所述第一界面获取第一界面图片,以及,根据所述第一应用确定所述第一输入组件的属性信息;所述第一输入组件的属性信息包括:所述第一输入组件在所述第一界面中的位置和/或大小;
处理模块,用于将所述终端从所述第一运行环境切换至所述第二运行环境;
显示模块,用于根据所述第一界面图片和所述第一输入组件的属性信息在所述第二运行环境中显示第二界面;其中,所述第二界面包括所述第一界面图片和位于所述第一界面图片之上的第二输入组件;所述第二输入组件为所述终端根据所述第一输入组件的属性信息生成的,用于在所述第二运行环境中接收用户的输入。
结合第二方面,在第二方面的第一种可能的实施方式中,所述生成模块,具体用于在所述第一运行环境中生成显示状态的第一界面;或者,所述终端在所述第一运行环境中生成不可视状态的第一界面。
结合第二方面的第一种可能的实施方式,在第二方面的第二种可能的实施方式中,若所述生成模块在所述第一运行环境中生成显示状态的所述第一界面,则所述获取模块,具体包括:
输入单元,用于在所述第一运行环境下接收所述用户在所述第一界面的第一操作;
判断单元,用于判断所述第一操作是否为请求在所述第一输入组件中进行输入的操作;
获取单元,用于在所述判断单元判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,根据所述第一界面获取所述第一界面图片,以及,根据所述第一应用确定所述第一输入组件的属性信息。
结合第二方面至第二方面的第二种可能的实施方式中的任一项,在第二方面的第三种可能的实施方式中,所述第一界面图片包括所述第一界面的整体截图或者所述第一界面的部分截图。
结合第二方面的第三种可能的实施方式,在第二方面的第四种可能的实施方式中,所述第二输入组件中不包括中文字符,所述用户的输入不包括中文字符。
结合第二方面至第二方面的第四种可能的实施方式中的任一项,在第二 方面的第五种可能的实施方式中,所述终端还包括:输入模块、接收模块和发送模块;
所述输入模块,用于在所述显示模块在所述第二运行环境中显示第二界面之后,在所述第二运行环境下接收用户在所述第二输入组件中的输入;
所述发送模块,用于在所述处理模块将所述从所述第二运行环境切换至所述第一运行环境后,将所述输入发送给服务器进行验证;
所述接收模块,还用于接收所述服务器的第一验证结果。
结合第二方面的第二种可能的实施方式至第二方面的第四种可能的实施方式中的任一项,在第二方面的第六种可能的实施方式中,所述第一界面还包括第三输入组件,所述第三输入组件用于接收用户输入的第一信息;所述获取单元,还用于在所述判断单元判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,获取所述第一信息。
结合第二方面的第六种可能的实施方式,在第二方面的第七种可能的实施方式中,所述输入单元,还用于在所述显示模块在所述第二运行环境下显示第二界面之后,在所述第二运行环境下接收用户在所述第二输入组件中的输入;
所述获取单元,还用于在所述第二运行环境下,根据所述输入和所述第一信息验证用户身份,获得第二验证结果。
结合第二方面的第二种可能的实施方式至第二方面的第四种可能的实施方式中的任一项,在第二方面的第八种可能的实施方式中,所述第一界面还包括可视状态的交易金额信息;
所述获取单元,还用于在所述判断单元判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,获取与所述第一界面显示的所述交易金额信息对应的实际交易金额信息。
结合第二方面的第八种可能的实施方式,在第二方面的第九种可能的实施方式中,所述显示模块,具体用于在所述处理模块将所述终端从所述第一运行环境切换至所述第二运行环境后,根据所述第一界面图片、所述第一输入组件的属性信息和所述实际的交易金额信息,在所述第二运行环境下显示所述第二界面;所述第二界面包括所述第一界面图片、位于所述第一界面图片之上的第二输入组件以及所述实际的交易金额信息。
第三方面,本发明实施例提供一种终端,所述终端上部署了第一运行环境和第二运行环境,所述终端包括:
处理器,用于在所述第一运行环境中生成第一界面,并根据所述第一界面获取第一界面图片,以及根据所述第一应用确定所述第一输入组件的属性信息后,将所述终端从所述第一运行环境切换至所述第二运行环境;其中,所述第一界面包括第一输入组件,所述第一界面为运行在所述第一运行环境中的第一应用相关的界面;所述终端所述第一输入组件的属性信息包括:所述第一输入组件在所述第一界面中的位置和/或大小;
显示器,用于根据所述第一界面图片和所述第一输入组件的属性信息在所述第二运行环境中显示第二界面;其中,所述第二界面包括所述第一界面图片和位于所述第一界面图片之上的第二输入组件;所述第二输入组件为所述处理器根据所述第一输入组件的属性信息生成的,用于在所述第二运行环境中接收用户的输入。
结合第三方面,在第三方面的第一种可能的实施方式中,所述处理器,具体用于在所述第一运行环境中生成显示状态的第一界面;或者,所述终端在所述第一运行环境中生成不可视状态的第一界面。
结合第三方面的第一种可能的实施方式,在第三方面的第二种可能的实施方式中,若所述处理器在所述第一运行环境中生成显示状态的所述第一界面,则所述终端还包括输入设备;
所述输入设备,用于在所述第一运行环境下接收所述用户在所述第一界面的第一操作;
所述处理器,具体用于判断所述第一操作是否为请求在所述第一输入组件中进行输入的操作,若是,则根据所述第一界面获取所述第一界面图片,以及,根据所述第一应用确定所述第一输入组件的属性信息。
结合第三方面至第三方面的第二种可能的实施方式中的任一项,在第三方面的第三种可能的实施方式中,所述第一界面图片包括所述第一界面的整体截图或者所述第一界面的部分截图。
结合第三方面的第三种可能的实施方式,在第三方面的第四种可能的实施方式中,所述第二输入组件中不包括中文字符,所述用户的输入不包括中文字符。
结合第三方面至第三方面的第四种可能的实施方式中的任一项,在第三方面的第五种可能的实施方式中,所述终端还包括:输入设备、接收器和发送器;
所述输入设备,用于在所述显示器在所述第二运行环境中显示第二界面之后,在所述第二运行环境下接收用户在所述第二输入组件中的输入;
所述发送器,用于在所述处理器将所述终端从所述第二运行环境切换至所述第一运行环境后,将所述输入发送给服务器进行验证;
所述接收器,还用于接收所述服务器的第一验证结果。
结合第三方面的第二种可能的实施方式至第三方面的第四种可能的实施方式中的任一项,在第三方面的第六种可能的实施方式中,所述第一界面还包括第三输入组件,所述第三输入组件用于接收用户输入的第一信息;所述处理器,还用于在判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,获取所述第一信息。
结合第三方面的第六种可能的实施方式,在第三方面的第七种可能的实施方式中,所述输入设备,还用于在所述显示器在所述第二运行环境下显示第二界面之后,在所述第二运行环境下接收用户在所述第二输入组件中的输入;
所述处理器,还用于在所述第二运行环境下,根据所述输入和所述第一信息验证用户身份,获得第二验证结果。
结合第三方面的第二种可能的实施方式至第三方面的第四种可能的实施方式中的任一项,在第三方面的第八种可能的实施方式中,其特征在于,所述第一界面还包括可视状态的交易金额信息;
所述处理器,还用于在判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,获取与所述第一界面显示的所述交易金额信息对应的实际交易金额信息。
结合第三方面的第八种可能的实施方式,在第三方面的第九种可能的实施方式中,所述显示器,具体用于在所述处理器将所述终端从所述第一运行环境切换至所述第二运行环境后,根据所述第一界面图片、所述第一输入组件的属性信息和所述实际的交易金额信息,在所述第二运行环境下显示所述第二界面;所述第二界面包括所述第一界面图片、位于所述第一界面图片之 上的第二输入组件以及所述实际的交易金额信息。
本发明实施例提供的终端的界面显示方法和终端,通过终端在第一运行环境中生成包括第一输入组件的第一界面,并在根据第一界面获取第一界面图片,以及,据第一应用确定上述第一输入组件的属性信息后,切换至第二运行环境,并根据上述第一界面图片和第一输入组件的属性信息在第二运行环境中显示包括第一界面图片和位于第一界面图片之上的第二输入组件的第二界面。本发明实施例提供的方法,大大减小了现有技术在第二运行环境下绘制第二界面时中文字库所占用的共享内存,并且由于上述第一界面图片是上述第一运行环境下的第一界面的真实映射,与第一界面的相似度可以达到百分之百,因此,本实施例中在第一运行环境下显示的第一界面在第二运行环境下显示时得到了高度还原,使得用户在感观上比较一致,提高了人机交互的智能性。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明提供的终端的界面显示方法实施例一的流程示意图;
图2为本发明提供的终端的界面显示方法实施例一的一种实施方式的流程示意图;
图3为本发明提供的第一界面的示意图;
图4为本发明提供的终端的界面显示方法实施例二的流程示意图;
图5为本发明提供的终端的界面显示方法实施例三的流程示意图;
图6为本发明提供的终端的界面显示方法实施例四的流程示意图
图7为本发明提供的终端实施例一的结构示意图;
图8为本发明提供的终端实施例二的结构示意图;
图9为本发明提供的终端实施例三的结构示意图;
图10为本发明提供的终端实施例四的结构示意图;
图11为本发明提供的终端实施例五的结构示意图;
图12为本发明提供的终端实施例六的结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例所涉及的终端,可以是任何便携式移动终端,包括但不限于移动电话、移动电脑、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、媒体播放器、智能电视、智能手表、智能眼镜、智能手环等,也包括自动柜员机(Automatic Teller Machine,ATM)等设备,本发明实施例并不限定。
本发明实施例涉及的方法,旨在解决现有技术在TEE下绘制TUI界面时占用大量的共享内存,从而导致终端在TEE下的一些处理变得复杂,处理开销增大的技术问题;另一方面,本发明实施例涉及的方法,也可以解决现有技术中TEE下显示的可信界面与REE下显示的界面在用户感官上非常不统一(即就是REE下的界面,在TEE下重新显示时,界面控件形状、界面控件显示效果、亮度等感观不一致),人机交互不够智能化的技术问题。
下面以具体地实施例对本发明的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。
图1为本发明提供的终端的界面显示方法实施例一的流程示意图。本实施例涉及的是终端通过将第一运行环境下的第一界面生成第一界面图片,并在第二运行环境中显示该第一界面图片,并根据该第一界面图片在第一界面图片之上绘制接收用户输入的第二界面的具体过程。如图1所示,该方法包括:
S101:终端在所述第一运行环境中生成第一界面,所述第一界面包括第一输入组件,所述第一界面为运行在所述第一运行环境中的第一应用相关的 界面。
具体的,本发明实施例涉及的终端上均部署了第一运行环境和第二运行环境。需要说明的是,该第一运行环境可以为非可信执行环境(REE),第二运行环境可以为可信执行环境(TEE)。在REE下运行的应用可以称之为CA,在TEE下运行的应用可以称之为TA。也就是说,用户在CA中的安全敏感操作(例如输入支付密码、账号登陆密码等操作)将会转到TA中执行,即当用户在非可信环境下的界面上执行安全敏感操作时,终端会切换至可信环境,使得用户可以在可信环境下生成的TUI界面上执行安全敏感操作。
当终端运行在第一运行环境下时,若用户打开终端上的第一应用,则终端根据该第一应用的相应配置文件生成第一界面,该第一界面中可以包括第一输入组件,用于接收用户的一些安全敏感输入,例如用户输入的密码、验证码、身份证号等敏感信息。例如,当用户打开“淘宝”应用时,会显示一商品选择界面,用户在该界面选择商品后,点击“购买”组件,终端相应的就会生成支付界面,该支付界面中可以包括用户的一些安全敏感信息的输入区域,所以该支付界面即就是本发明实施例涉及的第一界面。
S102:终端根据所述第一界面获取第一界面图片,以及,根据所述第一应用确定所述第一输入组件的属性信息;所述第一输入组件的属性信息包括:所述第一输入组件在所述第一界面中的位置和/或大小。
具体的,终端生成第一界面之后,根据该第一界面获取第一界面图片。可选的,可以采用终端上相应的截图操作直接将第一界面截图成为第一界面图片,还可以为借助终端上生成图片上的软件将第一界面转换为第一界面图片。另一方面,由于上述第一界面是终端上运行在第一运行环境中的第一应用相关的界面,由于第一应用具有相应的配置文件,因此终端可以根据第一应用的配置文件确定上述第一输入组件的属性信息。可选的,该第一输入组件的属性信息可以为第一输入组件的大小,还可以为第一输入组件在第一界面中的位置,还可以为第一输入组件的大小和在第一界面中的位置,还可以为第一输入组件的形状、颜色等属性。
S103:终端从所述第一运行环境切换至所述第二运行环境,并根据所述第一界面图片和所述第一输入组件的属性信息在所述第二运行环境中显示第二界面;其中,所述第二界面包括所述第一界面图片和位于所述第一界面图 片之上的第二输入组件;所述第二输入组件为所述终端根据所述第一输入组件的属性信息生成的,用于在所述第二运行环境中接收用户的输入。
具体的,当终端生成第一界面图片之后,终端从第一运行环境切换至第二运行环境。需要说明的是,这里所说的切换,可以为终端上的处理器当前运行在第二运行环境中,也可以为终端当前的界面显示是由第二运行环境控制的。在本步骤中,当终端从第一运行环境切换至第二运行环境时,第一界面图片就相当于从第一运行环境下切换至了第二运行环境。可选的,该第一界面图片可以位于第二运行环境下的内存中,也可以位于第一运行环境和第二运行环境的共享内存中。
之后,终端可以从上述共享内存或者第二运行环境下的内存中调用第一界面图片,并在第二运行环境中将第一界面图片进行显示;与此同时,终端根据上述第一输入组件的属性信息生成用于在第二运行环境中接收用户输入的第二输入组件,并在第一界面图片之上显示出来,从而构成第二界面。也就是说,该第二界面包括位于下层的第一界面图片和位于第一界面图片之上的第二输入组件。
现有技术中,终端在第一运行环境下生成第一界面后,调用共享内存中的中文字库以及第二运行环境下的数字或者英文字库,从而在第二运行环境下重构该第一界面得到第二界面,确保用户输入的安全性,因此,现有技术需要很大的共享内存来存储中文字库;但是,在本发明实施例中,终端在第一运行环境下生成第一界面后,直接生成第一界面图片,该第一界面图片可以位于共享内存中,也可以位于第二运行环境中的内存中;当第一界面图片位于共享内存中时,由于第一界面图片是“图片”格式的数据,因此,第一界面图片所占的共享内存的大小相较于中文字库占用的共享内存的大小会小很多;当第一界面图片位于第二运行环境下的内存中时,由于第一界面图片是“图片”格式的数据,因此其占用的第二运行环境下的内存也不大,并且,也不会占用共享内存。也就是说,无论上述第一界面图片位于共享内存中还是位于第二运行环境下的内存中,其不会占用大量的共享内存或者说可以不占用共享内存,因此使得终端在TEE下的处理变得简单化,减小了终端的处理开销;另一方面,由于第二界面中包括的是第一界面图片,该第一界面图片是上述第一运行环境下的第一界面的真实映射,与第一界面的相似度可以 达到百分之百,因此,本实施例中在第一运行环境下显示的第一界面在第二运行环境下显示时得到了高度还原,使得用户在感观上比较一致,人机交互比较智能化。
本发明实施例提供的终端的界面显示方法,通过终端在第一运行环境中生成包括第一输入组件的第一界面,并在根据第一界面获取第一界面图片,以及,据第一应用确定上述第一输入组件的属性信息后,切换至第二运行环境,并根据上述第一界面图片和第一输入组件的属性信息在第二运行环境中显示包括第一界面图片和位于第一界面图片之上的第二输入组件的第二界面。本发明实施例提供的方法,大大减小了现有技术在第二运行环境下绘制第二界面时中文字库所占用的共享内存,并且由于上述第一界面图片是上述第一运行环境下的第一界面的真实映射,与第一界面的相似度可以达到百分之百,因此,本实施例中在第一运行环境下显示的第一界面在第二运行环境下显示时得到了高度还原,使得用户在感观上比较一致,提高了人机交互的智能性。
可选的,上述终端在第一运行环境中生成的第一界面,可以是显示状态,也可以是不可视状态。
作为本发明实施例的一种可能的实施方式,本实施例涉及的是终端在第一运行环境下生成的第一界面是显示状态时,终端获取第一界面图片以及第一输入组件的属性信息的具体过程。在上述实施例的基础上,如图2所示的实施方式,上述S102具体包括:
S201:终端在第一运行环境下接收所述用户在所述第一界面的第一操作。
具体的,当终端生成第一界面后,在终端上显示出来,用户可以在第一界面上执行第一操作。可选的,该第一操作可以为第一界面的任一位置上的触摸操作、滑动操作、点击操作等。
S202:终端判断所述第一操作是否为请求在所述第一输入组件中进行输入的操作;若是,则所述终端根据所述第一界面获取所述第一界面图片,以及,根据所述第一应用确定所述第一输入组件的属性信息。
具体的,当终端检测到用户在第一界面上的第一操作时,终端会判断该第一操作是否为请求在第一输入组件中进行输入的操作;例如,当第一界面如图3所示时,当用户点击图3中的支付金额时,终端判断该第一操作不是 请求在第一输入组件中进行输入的操作,当用户点击图3中的密码输入框时,终端判断该第一操作为请求在第一输入组件中进行输入的操作,可选的,第一界面中的第一输入组件可以理解为接收用户的安全敏感信息输入的控件。
当终端判断上述第一操作为请求在第一输入组件中进行输入的操作时,则终端会根据所显示的第一界面获取第一界面图片,并且根据上述第一应用的配置文件确定所显示的第一界面中的第一输入组件的属性信息。可选的,该第一界面图片可以为第一界面的整体截图或者第一界面的部分截图。
进一步地,终端在获取到第一界面图片和第一输入组件的属性信息之后,切换至第二运行环境,实际上也就是终端上第一运行环境下的应用与第二运行环境下的应用建立会话连接,并将上述第一界面图片和第一输入组件的属性信息传送给第二运行环境下的应用的过程,只是对于终端来说,这些终端内部的信息传递,可以看作是终端的运行环境发生切换的过程。
作为本发明实施例的另一种可能的实施方式,本实施例涉及的是终端在第一运行环境下生成第一界面后不进行显示时,终端获取第一界面图片以及第一输入组件的属性信息的具体过程。
具体的,在本实施例中,终端在根据终端上第一应用的配置文件生成第一界面时,终端可以不显示该第一界面,即对于用户来说,该第一界面是不可视的。但是,实际上该第一界面存在于终端的底层(可选的,底层可以为终端的内存或者显存),终端在生成第一界面后,可以直接根据第一界面获取第一界面图片,可选的,该第一界面图片可以为第一界面的整体截图或者第一界面的部分截图。之后,终端将该第一界面图片存储在共享内存或者第二运行环境下的内存中,同时也根据第一应用配置文件获取第一界面中第一输入组件的属性信息。然后,终端切换至第二运行环境,根据所获取的第一界面图片和第一输入组件的属性信息生成第二界面。为了更好的理解本实施例,此处举一个简单的例子进行说明:
假设终端当前显示的一个商品选择界面,用户在该界面中选中一件衣服,并点击“购买”,这时,按照上述第一种可能的实施方式,需要先在第一运行环境中显示支付宝的支付界面(即第一界面),再将支付界面(即第一界面)生成截图(第一界面图片);而在本实施方式中,是点击“购买”按钮之后,不显示支付界面,而是在底层直接将支付宝的支付界面(即第一界面) 生成截图(第一界面图片),然后终端切换至第二运行环境(即将截图发送到第二运行环境下),在第二运行环境下构造第二界面。
进一步地,在上述所有实施例的基础上,作为本发明实施例的第三种可能的实施方式,当终端根据上述所确定的第一界面图片和第一输入组件的属性信息生成的第二界面中的第二输入组件中不包括中文字符,且用户的输入不包括中文字符时,则本发明实施例在构造第二界面时,可以不需要任何中文字库(由于第一运行环境下的第一界面需要在第二运行环境下显示,本实施例中是将第一界面直接生成了一个第一界面图片,并将第一界面图片直接在第二运行环境中显示,因此无论第一界面是否包含中文字符,该第一界面图片的显示均不需要加载中文字库,且位于第一界面图片之上的第二输入组件的显示也不需要中文字库);但是,在现有技术中,即使第二输入组件中不包括中文字符,且用户的输入也不包括中文字符,但由于第一运行环境下的第一界面需要在第二运行环境下显示,因此其需要加载中文字库,因此终端必须在第二运行环境中设置加载程序,终端的处理复杂度较高。故本发明实施例提供的方法,终端在第二运行环境下可以不用去设置加载中文字库的程序,故降低了终端在第二运行环境下的处理复杂度。
本发明实施例提供的终端的界面显示方法,通过终端在第一运行环境中生成包括第一输入组件的第一界面,并在根据第一界面获取第一界面图片,以及,据第一应用确定上述第一输入组件的属性信息后,切换至第二运行环境,并根据上述第一界面图片和第一输入组件的属性信息在第二运行环境中显示包括第一界面图片和位于第一界面图片之上的第二输入组件的第二界面。本发明实施例提供的方法,大大减小了现有技术在第二运行环境下绘制第二界面时中文字库所占用的共享内存,并且由于上述第一界面图片是上述第一运行环境下的第一界面的真实映射,与第一界面的相似度可以达到百分之百,因此,本实施例中在第一运行环境下显示的第一界面在第二运行环境下显示时得到了高度还原,使得用户在感观上比较一致,提高了人机交互的智能性。
图4为本发明提供的终端的界面显示方法实施例二的流程示意图。本 实施例涉及的是终端根据第一运行环境下的第一界面在第二运行环境下构造出第二界面,并根据用户在第二界面的第二输入组件中的输入,结合服务器来验证用户身份的具体过程。如图4所示,该方法包括:
S301:终端在所述第一运行环境中生成第一界面,所述第一界面包括第一输入组件,所述第一界面为运行在所述第一运行环境中的第一应用相关的界面。
具体的,本实施例中,第一界面可以为显示状态,也可以为不可视状态。S301的具体执行过程可以参见上述S101,以及,上述实施例一的第一种可能的实施方式或第二种可能的实施方式中的相应描述,在此不再赘述。
S302:终端根据所述第一界面获取第一界面图片,以及,根据所述第一应用确定所述第一输入组件的属性信息;所述第一输入组件的属性信息包括:所述第一输入组件在所述第一界面中的位置和/或大小。
具体的,S302的具体执行过程可以参见上述S102,以及,上述实施例一的第一种可能的实施方式或第二种可能的实施方式中的相应描述,在此不再赘述。
S303:终端从所述第一运行环境切换至所述第二运行环境,并根据所述第一界面图片和所述第一输入组件的属性信息在所述第二运行环境中显示第二界面;其中,所述第二界面包括所述第一界面图片和位于所述第一界面图片之上的第二输入组件;所述第二输入组件为所述终端根据所述第一输入组件的属性信息生成的,用于在所述第二运行环境中接收用户的输入。
具体的,S303的具体执行过程可以参见上述S103,以及,上述实施例一的第一种可能的实施方式或第二种可能的实施方式中或第三种可能的实施方式的相应描述,在此不再赘述。
S304:终端在所述第二运行环境下接收用户在所述第二输入组件中的输入。
具体的,当终端在第二运行环境下向用户显示了第二界面后,可选的,可以通过终端上的呼吸灯的闪烁或颜色变化来提示用户当前第二界面位于第二运行环境中,或通过终端上所具备的振动马达的振动节奏或振动强度提示用户当前第二界面位于第二运行环境中,还可以其他的方式来提示用户当前第二界面位于第二运行环境中,本发明实施例对终端提示用户第二界面位于 第二运行环境中的方式并不做限定。当用户收到终端的提示后,在第二界面的第二输入组件中进行相应的输入。
S305:终端从所述第二运行环境切换至所述第一运行环境,并将所述输入发送给服务器进行验证。
具体的,当终端在第二界面的第二输入组件中检测到用户的输入时,终端切换至第一运行环境,即终端上的处理器当前已经由第二运行环境转换至第二运行环境中,即处理器当前工作在第二运行环境中。当终端切换至第一运行环境中后,将上述用户在第二输入组件中的输入发送给服务器进行验证。可选的,为了保证用户在第二运行环境中的第二输入组件上输入信息的安全,防止被第一运行环境中运行的恶意应用窃取,终端在切换至第一运行环境时,会对用户在第二运行环境中的输入信息进行加密,也就是说用户在第二运行环境中所输入的信息在转移到第一运行环境之前,终端会对该输入信息进行加密。
例如,当第一界面为普通的登录界面时(且用户在登录界面中已经输入了用户名或等网络账号),则终端在第二运行环境中构造的第二界面也是一登录界面,用户在第二界面中的第二输入组件中进行输入后(例如输入的是密码),终端切换至第一运行环境,并向服务器发送登录请求,该登录请求中可以携带用户的网络账号和用户在第二输入组件中的输入,使得服务器可以根据该登录请求进行用户身份的验证,即验证用户在第二输入组件中的输入是否与服务器保存的密钥或者密码等信息匹配,若匹配,则服务器认为用户在第二输入组件中的输入是正确的,服务器将第一验证结果发送给终端。
再例如,当第一界面为图3所示的支付界面时,则终端在第二运行环境中构造的第二界面也是一支付界面,该第二界面包括终端根据第一界面生成的第一界面图片和位于第一界面图片之上的第二输入组件。当用户在第二界面中的第二输入组件中进行输入后,终端切换至第一运行环境,并向服务器发送验证请求,该验证请求中携带用户在第二输入组件中的输入,使得服务器可以根据该验证请求进行验证。
S306:终端接收所述服务器的第一验证结果。
本发明实施例提供的终端的界面显示方法,大大减小了现有技术在第二运行环境下绘制第二界面时中文字库所占用的共享内存,并且由于上述第一 界面图片是上述第一运行环境下的第一界面的真实映射,与第一界面的相似度可以达到百分之百,因此,本实施例中在第一运行环境下显示的第一界面在第二运行环境下显示时得到了高度还原,使得用户在感观上比较一致,提高了人机交互的智能性;并且,用户在第二运行环境下的第二界面上的第二输入组件中输入相应的安全敏感信息,然后再通过服务器进行验证,保护了用户隐私的安全。
图5为本发明提供的终端的界面显示方法实施例三的流程示意图。本实施例涉及的是终端根据第一运行环境下的第一界面在第二运行环境下构造出第二界面,并根据用户在第二界面的第二输入组件中的输入,在终端本地验证用户身份的具体过程。如图5所示,该方法包括:
S401:终端在所述第一运行环境中生成第一界面,所述第一界面包括第一输入组件和第三输入组件,所述第三输入组件用于接收用户输入的第一信息;所述第一界面为运行在所述第一运行环境中的第一应用相关的界面。
具体的,本实施例中,第一界面不仅包括第一输入组件,也包括第三输入组件,并且,本实施例中,第一界面为显示状态。该第三输入组件,可以用于接收用户输入的第一信息。可选的,若生成的第一界面为用户的网络账号的登录界面,则该第一输入组件即就是该登录界面中的密码输入区域,第三输入组件即就是该登录界面中的用户名等网络账号输入区域,也就是说,上述第一信息可以为与下述用户在第二输入组件中的输入具有一定关系的信息。
另外,该步骤S401中生成第一界面的具体执行过程可以参见上述S101,以及图2所示的实施方式的相应描述,在此不再赘述。
S402:终端在第一运行环境下接收用户在所述第一界面的第一操作。
S403:终端判断所述第一操作是否为请求在所述第一输入组件中进行输入的操作;若是,则所述终端根据所述第一界面获取所述第一界面图片,并根据所述第一应用确定所述第一输入组件的属性信息,并获取第一信息。
具体的,上述S402和S403的具体执行过程可以参照上述图2所示的实施方式执行,在此不再赘述。需要说明的是,本实施例中第一界面图片中还需要包括上述第三输入组件。本步骤中,与上述实施例不同的地方还在于, 终端在判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,获取上述第三输入组件中的第一信息。
S404:终端从所述第一运行环境切换至所述第二运行环境,并根据所述第一界面图片和所述第一输入组件的属性信息在所述第二运行环境中显示第二界面;其中,所述第二界面包括所述第一界面图片和位于所述第一界面图片之上的第二输入组件;所述第二输入组件为所述终端根据所述第一输入组件的属性信息生成的,用于在所述第二运行环境中接收用户的输入。
具体的,S404的具体执行过程可以参见上述S103的执行过程,在此不再赘述。
S405:终端在所述第二运行环境下接收用户在所述第二输入组件中的输入。
具体的,当终端在第二运行环境下向用户显示了第二界面后,可选的,可以通过终端上的呼吸灯的闪烁或颜色变化来提示用户当前第二界面位于第二运行环境中,或通过终端上所具备的振动马达的振动节奏或振动强度提示用户当前第二界面位于第二运行环境中,还可以其他的方式来提示用户当前第二界面位于第二运行环境中,本发明实施例对终端提示用户第二界面位于第二运行环境中的方式并不做限定。当用户收到终端的提示后,在第二界面的第二输入组件中进行相应的输入。
S406:终端在所述第二运行环境下,根据所述输入和所述第一信息验证用户身份,获得第二验证结果。
具体的,与上述图5所示实施例不同的地方在于,本实施例中终端获取到用户在第二输入组件中的输入后,并没有切换至第一运行环境并通过服务器进行验证,而是在第二运行环境下,继续根据用户在第二输入组件中的输入和上述所获取的第一信息,来验证用户的身份,获得第二验证结果,即在第二运行环境下,由终端自身完成了用户身份的验证,更确保了用户隐私的安全。
本发明实施例提供的终端的界面显示方法,大大减小了现有技术在第二运行环境下绘制第二界面时中文字库所占用的共享内存,并且由于上述第一界面图片是上述第一运行环境下的第一界面的真实映射,与第一界面的相似度可以达到百分之百,因此,本实施例中在第一运行环境下显示的第一界面 在第二运行环境下显示时得到了高度还原,使得用户在感观上比较一致,提高了人机交互的智能性;并且,用户在第二运行环境下的第二界面上的第二输入组件中输入相应的安全敏感信息,并由终端在第二运行环境下根据用户在第二输入组件中的输入和用户在第三输入组件中的输入的第一信息进行验证,进一步保护了用户隐私的安全。
图6为本发明提供的终端的界面显示方法实施例四的流程示意图。本实施例涉及的是终端根据第一运行环境下的第一界面在第二运行环境下构造出第二界面,并将第一界面中显示的交易金额信息对应的实际交易金额信息显示在第二界面上,来避免恶意用户篡改实际交易金额信息造成的显示给用户的交易金额信息是虚假信息的具体过程。如图6所示,该方法包括:
S501:终端在所述第一运行环境中生成第一界面,所述第一界面包括第一输入组件和可视状态的交易金额信息;所述第一界面为运行在所述第一运行环境中的第一应用相关的界面。
具体的,本实施例中,在第一运行环境下,第一界面为显示状态,从而向用户呈现要交易的金额信息。需要说明的是,终端在该第一界面上显示的交易金额信息,是由底层相应的配置文件中的金额信息决定的(例如,由内存中的交易金额信息决定),即若底层的配置文件中的交易金额是50元,则在第一界面显示的交易金额就是50元。另外,该步骤S501中生成第一界面的具体执行过程可以参见上述S101,以及图2所示的实施方式的相应描述,在此不再赘述。
S502:终端在第一运行环境下接收用户在所述第一界面的第一操作。
S503:终端判断所述第一操作是否为请求在所述第一输入组件中进行输入的操作;若是,则所述终端根据所述第一界面获取所述第一界面图片,并根据所述第一应用确定所述第一输入组件的属性信息,并获取与所述第一界面显示的所述交易金额信息对应的实际交易金额信息。
具体的,上述S502和S503的具体执行过程可以参照上述图2所示的实施方式执行,在此不再赘述。需要说明的是,本实施例中终端获取第一界面图片的同时,还需要获取与第一界面中的交易金额信息对应的底层配置文件 中的实际交易金额信息。可选的,上述所获取的第一界面图片中,第一界面所显示的交易金额信息可以在第一界面图片中显示,也可以不显示,本发明实施例对此并不做限定。。
S504:终端从所述第一运行环境切换至所述第二运行环境,并根据所述第一界面图片、所述第一输入组件的属性信息和所述实际的交易金额信息,在所述第二运行环境下显示所述第二界面;所述第二界面包括所述第一界面图片、位于所述第一界面图片之上的第二输入组件以及所述实际的交易金额信息;所述第二输入组件为所述终端根据所述第一输入组件的属性信息生成的,用于在所述第二运行环境中接收用户的输入。
具体的,当终端生成第一界面图片之后,终端从第一运行环境切换至第二运行环境。需要说明的是,这里所说的切换,可以为终端上的处理器当前运行在第二运行环境中,也可以为终端当前的界面显示是由第二运行环境控制。在本步骤中,当终端从第一运行环境切换至第二运行环境时,第一界面图片就相当于从第一运行环境下切换至了第二运行环境。可选的,该第一界面图片可以位于第二运行环境下的内存中,也可以位于第一运行环境和第二运行环境的共享内存中。
之后,终端可以从上述共享内存或者第二运行环境下的内存中调用第一界面图片,并在第二运行环境中将第一界面图片进行显示;与此同时,终端根据上述第一输入组件的属性信息生成用于在第二运行环境中接收用户输入的第二输入组件,并在第一界面图片之上显示出来,并且将实际的交易金额信息也在第一界面图片上显示出来,从而构成第二界面。需要说明的是,当第一界面图片中未显示第一界面上所显示的交易金额信息时,则上述实际交易金额信息就可以在第二界面上合适的界面位置上显示;若第一界面图片中显示了第一界面上所显示的交易金额信息时,则实际的交易金额信息在构造第二界面上会覆盖掉第一界面图片上所显示的第一界面上的交易金额信息。
S505:终端在所述第二运行环境下接收用户在所述第二输入组件中的输入。
具体的,当终端在第二运行环境下向用户显示了第二界面后,可选的,可以通过终端上的呼吸灯的闪烁或颜色变化来提示用户当前第二界面位于第二运行环境中,或通过终端上所具备的振动马达的振动节奏或振动强度提示 用户当前第二界面位于第二运行环境中,还可以其他的方式来提示用户当前第二界面位于第二运行环境中,本发明实施例对终端提示用户第二界面位于第二运行环境中的方式并不做限定。当用户收到终端的提示后,在第二界面的第二输入组件中进行相应的输入。
S506:终端从所述第二运行环境切换至所述第一运行环境,并将所述输入发送给服务器进行验证。
具体的,当终端在第二界面的第二输入组件中检测到用户的输入时,终端切换至第一运行环境,即终端上的处理器当前已经由第二运行环境转换至第二运行环境中,即处理器当前工作在第二运行环境中。当终端切换至第一运行环境中后,将上述用户在第二输入组件中的输入发送给服务器进行验证。
S507:终端接收所述服务器的第一验证结果。
本发明实施例提供的终端的界面显示方法,大大减小了现有技术在第二运行环境下绘制第二界面时中文字库所占用的共享内存,并且由于上述第一界面图片是上述第一运行环境下的第一界面的真实映射,与第一界面的相似度可以达到百分之百,因此,本实施例中在第一运行环境下显示的第一界面在第二运行环境下显示时得到了高度还原,使得用户在感观上比较一致,提高了人机交互的智能性;并且,通过在第二运行环境中将实际交易金额信息在第二界面上显示出来,避免恶意用户篡改实际交易金额信息造成的显示给用户的交易金额信息是虚假信息的情况发生,更加保护了用户财产隐私的安全。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
图7为本发明提供的终端实施例一的结构示意图。所述终端上部署了第一运行环境和第二运行环境。如图7所示,该终端包括:生成模块10、获取模块11、处理模块12和显示模块13。
其中,生成模块10,用于在所述第一运行环境中生成第一界面,所述第一界面包括第一输入组件,所述第一界面为运行在所述第一运行环境中的第 一应用相关的界面;
获取模块11,用于根据所述第一界面获取第一界面图片,以及,根据所述第一应用确定所述第一输入组件的属性信息;所述第一输入组件的属性信息包括:所述第一输入组件在所述第一界面中的位置和/或大小;
处理模块12,用于将所述终端从所述第一运行环境切换至所述第二运行环境;
显示模块13,用于根据所述第一界面图片和所述第一输入组件的属性信息在所述第二运行环境中显示第二界面;其中,所述第二界面包括所述第一界面图片和位于所述第一界面图片之上的第二输入组件;所述第二输入组件为所述终端根据所述第一输入组件的属性信息生成的,用于在所述第二运行环境中接收用户的输入。
本发明实施例提供的终端,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。
进一步地,上述生成模块10,具体用于在所述第一运行环境中生成显示状态的第一界面;或者,所述终端在所述第一运行环境中生成不可视状态的第一界面。
图8为本发明提供的终端实施例二的结构示意图。在上述图7所示实施例的基础上,进一步地,若所述生成模块10在所述第一运行环境中生成显示状态的所述第一界面,则如图8所示,上述获取模块11,具体包括:输入单元111、判断单元112和获取单元113。
其中,输入单元111,用于在所述第一运行环境下接收所述用户在所述第一界面的第一操作;
判断单元112,用于判断所述第一操作是否为请求在所述第一输入组件中进行输入的操作;
获取单元113,用于在所述判断单元112判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,根据所述第一界面获取所述第一界面图片,以及,根据所述第一应用确定所述第一输入组件的属性信息。
进一步地,所述第一界面图片包括所述第一界面的整体截图或者所述第一界面的部分截图。
进一步地,所述第二输入组件中不包括中文字符,所述用户的输入不包 括中文字符。
图9为本发明提供的终端实施例三的结构示意图。在上述图7或图8所示实施例的基础上,进一步地,上述终端还可以包括:输入模块14、接收模块15和发送模块16。
其中,所述输入模块14,用于在所述显示模块13在所述第二运行环境中显示第二界面之后,在所述第二运行环境下接收用户在所述第二输入组件中的输入;
所述发送模块16,用于在所述处理模块12将所述从所述第二运行环境切换至所述第一运行环境后,将所述输入发送给服务器进行验证;
所述接收模块15,还用于接收所述服务器的第一验证结果。
需要说明的是,图9示出的终端的结构基于的是图8所示的实施例,当然,图9也可以基于图7所示的实施例,只是在本发明实施例中未示出。
可选的,在上述图8或图9所示实施例的基础上,上述第一界面还包括第三输入组件,所述第三输入组件用于接收用户输入的第一信息;则上述获取单元113,还用于在所述判断单元112判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,获取所述第一信息。则所述输入单元111,还用于在所述显示模块13在所述第二运行环境下显示第二界面之后,在所述第二运行环境下接收用户在所述第二输入组件中的输入;所述获取单元113,还用于在所述第二运行环境下,根据所述输入和所述第一信息验证用户身份,获得第二验证结果。
可选的,在上述图8或图9所示实施例的基础上,所述第一界面还包括可视状态的交易金额信息;则所述获取单元113,还用于在所述判断单元112判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,获取与所述第一界面显示的所述交易金额信息对应的实际交易金额信息;所述显示模块13,具体用于在所述处理模块12将所述终端从所述第一运行环境切换至所述第二运行环境后,根据所述第一界面图片、所述第一输入组件的属性信息和所述实际的交易金额信息,在所述第二运行环境下显示所述第二界面;所述第二界面包括所述第一界面图片、位于所述第一界面图片之上的第二输入组件以及所述实际的交易金额信息。
本发明实施例提供的终端,可以执行上述方法实施例,其实现原理和技 术效果类似,在此不再赘述。
图10为本发明提供的终端实施例四的结构示意图。所述终端上部署了第一运行环境和第二运行环境,如图10所示,该终端可以包括:处理器20、存储器21、显示器22和至少一个通信总线23。
其中,处理器20,为移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器21内的软件程序和/或模块,以及调用存储在存储器21内的数据,以执行移动终端的各种功能和/或处理数据。所述处理器20可以由集成电路(Integrated Circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器20可以仅包括中央处理器(Central Processing Unit,简称CPU),也可以是CPU、数字信号处理器(digital signal processor,简称DSP)、图形处理器(Graphic Processing Unit,简称GPU)及通信单元中的控制芯片(例如基带芯片)的组合。在本发明实施例中,CPU可以是单运算核心,也可以包括多运算核心。
存储器21,可用于存储软件程序以及模块,处理器20通过运行存储在存储器21的软件程序以及模块,从而执行移动终端的各种功能应用以及实现数据处理。存储器21主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序,比如声音播放程序、图像播放程序等等;数据存储区可存储根据移动终端的使用所创建的数据(比如音频数据、电话本等)等。在本发明具体实施方式中,存储器21可以包括易失性存储器,例如非挥发性动态随机存取内存(Nonvolatile Random Access Memory,简称NVRAM)、相变化随机存取内存(Phase Change RAM,简称PRAM)、磁阻式随机存取内存(Magetoresistive RAM,简称MRAM)等,还可以包括非易失性存储器,例如至少一个磁盘存储器件、电子可抹除可规划只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM)、闪存器件,例如反或闪存(NOR flash memory)或是反及闪存(NAND flash memory)。非易失存储器储存处理器20所执行的操作系统及应用程序。所述处理器20从所述非易失存储器加载运行程序与数据到内存并将数字内容储存于大 量储存装置中。
通信总线23,用于实现元件之间的通信连接。
具体的,在本发明实施例中,处理器20,用于在所述第一运行环境中生成第一界面,并根据所述第一界面获取第一界面图片,以及根据所述第一应用确定所述第一输入组件的属性信息后,将所述终端从所述第一运行环境切换至所述第二运行环境;其中,所述第一界面包括第一输入组件,所述第一界面为运行在所述第一运行环境中的第一应用相关的界面;所述终端所述第一输入组件的属性信息包括:所述第一输入组件在所述第一界面中的位置和/或大小;
显示器22,用于根据所述第一界面图片和所述第一输入组件的属性信息在所述第二运行环境中显示第二界面;其中,所述第二界面包括所述第一界面图片和位于所述第一界面图片之上的第二输入组件;所述第二输入组件为所述处理器20根据所述第一输入组件的属性信息生成的,用于在所述第二运行环境中接收用户的输入。
本发明实施例提供的终端,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述
进一步地,所述处理器20,具体用于在所述第一运行环境中生成显示状态的第一界面;或者,所述终端在所述第一运行环境中生成不可视状态的第一界面。
图11为本发明提供的终端实施例五的结构示意图。若所述处理器20在所述第一运行环境中生成显示状态的所述第一界面,则在上述图10所示实施例的基础上,上述终端还可以包括输入设备24。
其中,该输入设备24,用于实现用户与移动终端的交互,和/或,用户将信息输入到移动终端中。例如,输入设备24可以接收用户输入的数字或字符信息,以产生与用户设置或功能控制有关的信号输入。在本发明具体实施方式中,输入设备24可以是触控面板,也可以是其他人机交互界面,例如实体输入键、麦克风等,还可是其他外部信息撷取装置,例如摄像头等。触控面板,也称为触摸屏或触控屏,可收集用户在其上触摸或接近的操作动作,比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或接近触控面板的位置的操作动作,并根据预先设定的程式驱动相应的连接装置。可选的, 触控面板可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸操作,并将检测到的触摸操作转换为电信号,以及将所述电信号传送给触摸控制器;触摸控制器从触摸检测装置上接收所述电信号,并将它转换成触点坐标,再送给处理器20。所述触摸控制器还可以接收处理器20发来的命令并执行。此外,可以采用电阻式、电容式、红外线(Infrared)以及表面声波等多种类型实现触控面板。在本发明的其他实施方式中,输入设备24所采用的实体输入键可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。麦克风形式的输入设备24可以收集用户或环境输入的语音并将其转换成电信号形式的且处理器20可执行的命令;指纹传感器形式的输入设备24可以采集用户与指纹传感器接触部位的身体表面纹路信息(包括指纹信息,掌纹信息等),并将其转换为电信号形式的且处理器20可执行的命令,指纹传感器可以是包括电容指纹传感器,超声指纹传感器,光学指纹传感器,温度指纹传感器等,可以是划擦式指纹传感器、按压式指纹传感器。
具体的,在本发明实施例中,所述输入设备24,用于在所述第一运行环境下接收所述用户在所述第一界面的第一操作;
则所述处理器20,具体用于判断所述第一操作是否为请求在所述第一输入组件中进行输入的操作,若是,则根据所述第一界面获取所述第一界面图片,以及,根据所述第一应用确定所述第一输入组件的属性信息。
进一步地,所述第一界面图片包括所述第一界面的整体截图或者所述第一界面的部分截图。所述第二输入组件中不包括中文字符,所述用户的输入不包括中文字符。
图12为本发明提供的终端实施例六的结构示意图。在上述图10或图11所示实施例的基础上,上述终端还包括:输入设备24、接收器25和发送器26。
所述输入设备24,用于在所述显示器22在所述第二运行环境中显示第二界面之后,在所述第二运行环境下接收用户在所述第二输入组件中的输入;
所述发送器26,用于在所述处理器20将所述终端从所述第二运行环境切换至所述第一运行环境后,将所述输入发送给服务器进行验证;
所述接收器25,还用于接收所述服务器的第一验证结果。
需要说明的是,上述接收器25和发送器26均可以位于终端内部的通信单元中,使移动终端通过所述通信信道以连接至通信对端,并通过所述通信信道与所述通信对端交互数据。
可选的,所述第一界面还包括第三输入组件,所述第三输入组件用于接收用户输入的第一信息;所述处理器20,还用于在判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,获取所述第一信息;则所述输入设备24,还用于在所述显示器22在所述第二运行环境下显示第二界面之后,在所述第二运行环境下接收用户在所述第二输入组件中的输入;所述处理器20,还用于在所述第二运行环境下,根据所述输入和所述第一信息验证用户身份,获得第二验证结果。
可选的,所述第一界面还包括可视状态的交易金额信息;所述处理器20,还用于在判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,获取与所述第一界面显示的所述交易金额信息对应的实际交易金额信息;则所述显示器22,具体用于在所述处理器20将所述终端从所述第一运行环境切换至所述第二运行环境后,根据所述第一界面图片、所述第一输入组件的属性信息和所述实际的交易金额信息,在所述第二运行环境下显示所述第二界面;所述第二界面包括所述第一界面图片、位于所述第一界面图片之上的第二输入组件以及所述实际的交易金额信息。
本发明实施例提供的终端,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (30)

  1. 一种终端的界面显示方法,其特征在于,所述终端上部署了第一运行环境和第二运行环境,所述方法包括:
    所述终端在所述第一运行环境中生成第一界面,所述第一界面包括第一输入组件,所述第一界面为运行在所述第一运行环境中的第一应用相关的界面;
    所述终端根据所述第一界面获取第一界面图片,以及,根据所述第一应用确定所述第一输入组件的属性信息;所述第一输入组件的属性信息包括:所述第一输入组件在所述第一界面中的位置和/或大小;
    所述终端从所述第一运行环境切换至所述第二运行环境,并根据所述第一界面图片和所述第一输入组件的属性信息在所述第二运行环境中显示第二界面;其中,所述第二界面包括所述第一界面图片和位于所述第一界面图片之上的第二输入组件;所述第二输入组件为所述终端根据所述第一输入组件的属性信息生成的,用于在所述第二运行环境中接收用户的输入。
  2. 根据权利要求1所述的方法,其特征在于,所述终端在所述第一运行环境中生成第一界面,包括:
    所述终端在所述第一运行环境中生成显示状态的第一界面;或者,所述终端在所述第一运行环境中生成不可视状态的第一界面。
  3. 根据权利要求2所述的方法,其特征在于,若所述终端在所述第一运行环境中生成显示状态的第一界面;则所述终端根据所述第一界面获取第一界面图片,以及,根据所述第一应用确定所述第一输入组件的属性信息,包括:
    所述终端在所述第一运行环境下接收所述用户在所述第一界面的第一操作;
    所述终端判断所述第一操作是否为请求在所述第一输入组件中进行输入的操作;
    若是,则所述终端根据所述第一界面获取所述第一界面图片,以及,根据所述第一应用确定所述第一输入组件的属性信息。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述第一界面图片包括所述第一界面的整体截图或者所述第一界面的部分截图。
  5. 根据权利要求4所述的方法,其特征在于,所述第二输入组件中不包括中文字符,所述用户的输入不包括中文字符。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述终端在所述第二运行环境中显示第二界面之后,所述方法还包括:
    所述终端在所述第二运行环境下接收用户在所述第二输入组件中的输入;
    所述终端从所述第二运行环境切换至所述第一运行环境,并将所述输入发送给服务器进行验证;
    所述终端接收所述服务器的第一验证结果。
  7. 根据权利要求3-5任一项所述的方法,其特征在于,所述第一界面还包括第三输入组件,所述第三输入组件用于接收用户输入的第一信息;所述方法还包括:
    所述终端判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,获取所述第一信息。
  8. 根据权利要求7所述的方法,其特征在于,所述终端在所述第二运行环境下显示第二界面之后,所述方法还包括:
    所述终端在所述第二运行环境下接收用户在所述第二输入组件中的输入;
    所述终端在所述第二运行环境下,根据所述输入和所述第一信息验证用户身份,获得第二验证结果。
  9. 根据权利要求3-5任一项所述的方法,其特征在于,所述第一界面还包括可视状态的交易金额信息;所述方法还包括:
    所述终端判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,获取与所述第一界面显示的所述交易金额信息对应的实际交易金额信息。
  10. 根据权利要求9所述的方法,其特征在于,所述终端切换至所述第二运行环境,并根据所述第一界面图片和所述第一输入组件的属性信息在所述第二运行环境中显示第二界面,具体包括:
    所述终端从所述第一运行环境切换至所述第二运行环境,并根据所述第一界面图片、所述第一输入组件的属性信息和所述实际的交易金额信息,在 所述第二运行环境下显示所述第二界面;所述第二界面包括所述第一界面图片、位于所述第一界面图片之上的第二输入组件以及所述实际的交易金额信息。
  11. 一种终端,其特征在于,所述终端上部署了第一运行环境和第二运行环境,所述终端包括:
    生成模块,用于在所述第一运行环境中生成第一界面,所述第一界面包括第一输入组件,所述第一界面为运行在所述第一运行环境中的第一应用相关的界面;
    获取模块,用于根据所述第一界面获取第一界面图片,以及,根据所述第一应用确定所述第一输入组件的属性信息;所述第一输入组件的属性信息包括:所述第一输入组件在所述第一界面中的位置和/或大小;
    处理模块,用于将所述终端从所述第一运行环境切换至所述第二运行环境;
    显示模块,用于根据所述第一界面图片和所述第一输入组件的属性信息在所述第二运行环境中显示第二界面;其中,所述第二界面包括所述第一界面图片和位于所述第一界面图片之上的第二输入组件;所述第二输入组件为所述终端根据所述第一输入组件的属性信息生成的,用于在所述第二运行环境中接收用户的输入。
  12. 根据权利要求11所述的终端,其特征在于,所述生成模块,具体用于在所述第一运行环境中生成显示状态的第一界面;或者,所述终端在所述第一运行环境中生成不可视状态的第一界面。
  13. 根据权利要求12所述的终端,其特征在于,若所述生成模块在所述第一运行环境中生成显示状态的所述第一界面,则所述获取模块,具体包括:
    输入单元,用于在所述第一运行环境下接收所述用户在所述第一界面的第一操作;
    判断单元,用于判断所述第一操作是否为请求在所述第一输入组件中进行输入的操作;
    获取单元,用于在所述判断单元判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,根据所述第一界面获取所述第一界面图片,以及,根据所述第一应用确定所述第一输入组件的属性信息。
  14. 根据权利要求11-13任一项所述的终端,其特征在于,所述第一界面图片包括所述第一界面的整体截图或者所述第一界面的部分截图。
  15. 根据权利要求14所述的终端,其特征在于,所述第二输入组件中不包括中文字符,所述用户的输入不包括中文字符。
  16. 根据权利要求11-15任一项所述的终端,其特征在于,所述终端还包括:输入模块、接收模块和发送模块;
    所述输入模块,用于在所述显示模块在所述第二运行环境中显示第二界面之后,在所述第二运行环境下接收用户在所述第二输入组件中的输入;
    所述发送模块,用于在所述处理模块将所述从所述第二运行环境切换至所述第一运行环境后,将所述输入发送给服务器进行验证;
    所述接收模块,还用于接收所述服务器的第一验证结果。
  17. 根据权利要求13-15任一项所述的终端,其特征在于,所述第一界面还包括第三输入组件,所述第三输入组件用于接收用户输入的第一信息;所述获取单元,还用于在所述判断单元判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,获取所述第一信息。
  18. 根据权利要求17所述的终端,其特征在于,所述输入单元,还用于在所述显示模块在所述第二运行环境下显示第二界面之后,在所述第二运行环境下接收用户在所述第二输入组件中的输入;
    所述获取单元,还用于在所述第二运行环境下,根据所述输入和所述第一信息验证用户身份,获得第二验证结果。
  19. 根据权利要求13-15任一项所述的终端,其特征在于,所述第一界面还包括可视状态的交易金额信息;
    所述获取单元,还用于在所述判断单元判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,获取与所述第一界面显示的所述交易金额信息对应的实际交易金额信息。
  20. 根据权利要求19所述的终端,其特征在于,所述显示模块,具体用于在所述处理模块将所述终端从所述第一运行环境切换至所述第二运行环境后,根据所述第一界面图片、所述第一输入组件的属性信息和所述实际的交易金额信息,在所述第二运行环境下显示所述第二界面;所述第二界面包括所述第一界面图片、位于所述第一界面图片之上的第二输入组件以及所述实 际的交易金额信息。
  21. 一种终端,其特征在于,所述终端上部署了第一运行环境和第二运行环境,所述终端包括:
    处理器,用于在所述第一运行环境中生成第一界面,并根据所述第一界面获取第一界面图片,以及根据所述第一应用确定所述第一输入组件的属性信息后,将所述终端从所述第一运行环境切换至所述第二运行环境;其中,所述第一界面包括第一输入组件,所述第一界面为运行在所述第一运行环境中的第一应用相关的界面;所述终端所述第一输入组件的属性信息包括:所述第一输入组件在所述第一界面中的位置和/或大小;
    显示器,用于根据所述第一界面图片和所述第一输入组件的属性信息在所述第二运行环境中显示第二界面;其中,所述第二界面包括所述第一界面图片和位于所述第一界面图片之上的第二输入组件;所述第二输入组件为所述处理器根据所述第一输入组件的属性信息生成的,用于在所述第二运行环境中接收用户的输入。
  22. 根据权利要求21所述的终端,其特征在于,所述处理器,具体用于在所述第一运行环境中生成显示状态的第一界面;或者,所述终端在所述第一运行环境中生成不可视状态的第一界面。
  23. 根据权利要求22所述的终端,其特征在于,若所述处理器在所述第一运行环境中生成显示状态的所述第一界面,则所述终端还包括输入设备;
    所述输入设备,用于在所述第一运行环境下接收所述用户在所述第一界面的第一操作;
    所述处理器,具体用于判断所述第一操作是否为请求在所述第一输入组件中进行输入的操作,若是,则根据所述第一界面获取所述第一界面图片,以及,根据所述第一应用确定所述第一输入组件的属性信息。
  24. 根据权利要求21-23任一项所述的终端,其特征在于,所述第一界面图片包括所述第一界面的整体截图或者所述第一界面的部分截图。
  25. 根据权利要求24所述的终端,其特征在于,所述第二输入组件中不包括中文字符,所述用户的输入不包括中文字符。
  26. 根据权利要求21-25任一项所述的终端,其特征在于,所述终端还包括:输入设备、接收器和发送器;
    所述输入设备,用于在所述显示器在所述第二运行环境中显示第二界面之后,在所述第二运行环境下接收用户在所述第二输入组件中的输入;
    所述发送器,用于在所述处理器将所述终端从所述第二运行环境切换至所述第一运行环境后,将所述输入发送给服务器进行验证;
    所述接收器,还用于接收所述服务器的第一验证结果。
  27. 根据权利要求23-25任一项所述的终端,其特征在于,所述第一界面还包括第三输入组件,所述第三输入组件用于接收用户输入的第一信息;所述处理器,还用于在判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,获取所述第一信息。
  28. 根据权利要求27所述的终端,其特征在于,所述输入设备,还用于在所述显示器在所述第二运行环境下显示第二界面之后,在所述第二运行环境下接收用户在所述第二输入组件中的输入;
    所述处理器,还用于在所述第二运行环境下,根据所述输入和所述第一信息验证用户身份,获得第二验证结果。
  29. 根据权利要求23-25任一项所述的终端,其特征在于,所述第一界面还包括可视状态的交易金额信息;
    所述处理器,还用于在判断所述第一操作为请求在所述第一输入组件中进行输入的操作后,获取与所述第一界面显示的所述交易金额信息对应的实际交易金额信息。
  30. 根据权利要求29所述的终端,其特征在于,所述显示器,具体用于在所述处理器将所述终端从所述第一运行环境切换至所述第二运行环境后,根据所述第一界面图片、所述第一输入组件的属性信息和所述实际的交易金额信息,在所述第二运行环境下显示所述第二界面;所述第二界面包括所述第一界面图片、位于所述第一界面图片之上的第二输入组件以及所述实际的交易金额信息。
PCT/CN2015/078040 2015-04-30 2015-04-30 终端的界面显示方法和终端 WO2016172944A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201580005941.7A CN106462713B (zh) 2015-04-30 2015-04-30 终端的界面显示方法和终端
EP15890324.5A EP3255578B1 (en) 2015-04-30 2015-04-30 Interface display method of terminal and terminal
PCT/CN2015/078040 WO2016172944A1 (zh) 2015-04-30 2015-04-30 终端的界面显示方法和终端
US15/570,145 US10891397B2 (en) 2015-04-30 2015-04-30 User interface display method for terminal, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/078040 WO2016172944A1 (zh) 2015-04-30 2015-04-30 终端的界面显示方法和终端

Publications (1)

Publication Number Publication Date
WO2016172944A1 true WO2016172944A1 (zh) 2016-11-03

Family

ID=57198039

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/078040 WO2016172944A1 (zh) 2015-04-30 2015-04-30 终端的界面显示方法和终端

Country Status (4)

Country Link
US (1) US10891397B2 (zh)
EP (1) EP3255578B1 (zh)
CN (1) CN106462713B (zh)
WO (1) WO2016172944A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019028766A1 (zh) * 2017-08-10 2019-02-14 福建联迪商用设备有限公司 智能终端信息安全输入的方法及其系统
US10810327B2 (en) * 2018-01-05 2020-10-20 Intel Corporation Enforcing secure display view for trusted transactions
WO2019163255A1 (ja) * 2018-02-23 2019-08-29 ソニー株式会社 情報処理装置、情報処理方法、および、プログラム
CN109214215B (zh) * 2018-06-19 2021-10-26 中国银联股份有限公司 基于tee和ree的分离式切换方法及其系统
JP7056446B2 (ja) * 2018-07-30 2022-04-19 日本電信電話株式会社 情報処理装置、情報処理システム及び情報処理方法
US11204693B2 (en) * 2018-09-07 2021-12-21 Samsung Electronics Co., Ltd. Screenshot based TUI process for in-app purchase authentication
CN112711452B (zh) * 2019-10-24 2023-11-03 华为技术有限公司 一种图像显示方法与电子设备
US20210166227A1 (en) * 2019-11-28 2021-06-03 Qualcomm Incorporated Secure User Interface With Improved User Experience

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130263215A1 (en) * 2012-03-27 2013-10-03 Telefonaktiebolaget L M Ericsson (Publ) Display Authentication
CN103714459A (zh) * 2013-12-26 2014-04-09 电子科技大学 一种智能终端安全支付系统及方法
CN104102876A (zh) * 2014-07-17 2014-10-15 北京握奇智能科技有限公司 保障客户端运行安全的装置
CN104376274A (zh) * 2014-11-21 2015-02-25 北京奇虎科技有限公司 移动终端支付界面保护方法及装置

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050262449A1 (en) * 2004-05-03 2005-11-24 Microsoft Corporation Online service switching and customizations
TWI243319B (en) * 2004-06-18 2005-11-11 Mediatek Inc Multi-language system containing a language information module and related method capable of updating language information
CN101430642B (zh) 2007-11-09 2012-10-10 中国长城计算机深圳股份有限公司 一种应用于uefi的操作界面的实现方法及系统
CN101291226B (zh) 2008-05-19 2011-09-21 北京深思洛克软件技术股份有限公司 一种利用图片信息提高信息安全设备验证安全性的方法
US20100013974A1 (en) 2008-07-15 2010-01-21 Gay Barrett J Remote image processing for wireless communication and personal safety applications
EP2492835A1 (en) * 2011-02-22 2012-08-29 HTC Corporation Data security management systems and methods
US20120278443A1 (en) 2011-04-26 2012-11-01 Kenichi Taniuchi Server, display device, and control method
US9563778B2 (en) * 2011-11-14 2017-02-07 St-Ericsson Sa Method for managing public and private data input at a device
KR101925806B1 (ko) * 2011-12-02 2018-12-07 삼성전자 주식회사 보안 방법 및 장치
WO2013081406A1 (en) * 2011-12-02 2013-06-06 Samsung Electronics Co., Ltd. Method and apparatus for securing touch input
EP3123623B1 (en) * 2014-03-28 2021-06-23 Sony Corporation Electronic device and communication method for nfc
CN104978117B (zh) * 2014-04-11 2018-11-09 阿里巴巴集团控股有限公司 一种实现截屏的方法和装置
CN105373552A (zh) * 2014-08-25 2016-03-02 中兴通讯股份有限公司 基于显示终端的数据处理方法
US9471799B2 (en) * 2014-09-22 2016-10-18 Advanced Micro Devices, Inc. Method for privileged mode based secure input mechanism
US20160092877A1 (en) * 2014-09-25 2016-03-31 Yen Hsiang Chew Secure user authentication interface technologies

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130263215A1 (en) * 2012-03-27 2013-10-03 Telefonaktiebolaget L M Ericsson (Publ) Display Authentication
CN103714459A (zh) * 2013-12-26 2014-04-09 电子科技大学 一种智能终端安全支付系统及方法
CN104102876A (zh) * 2014-07-17 2014-10-15 北京握奇智能科技有限公司 保障客户端运行安全的装置
CN104376274A (zh) * 2014-11-21 2015-02-25 北京奇虎科技有限公司 移动终端支付界面保护方法及装置

Also Published As

Publication number Publication date
CN106462713A (zh) 2017-02-22
EP3255578A4 (en) 2018-03-21
US10891397B2 (en) 2021-01-12
EP3255578B1 (en) 2019-06-05
US20180121681A1 (en) 2018-05-03
CN106462713B (zh) 2019-07-12
EP3255578A1 (en) 2017-12-13

Similar Documents

Publication Publication Date Title
US11995171B2 (en) User interface for managing access to credentials for use in an operation
WO2016172944A1 (zh) 终端的界面显示方法和终端
US11874903B2 (en) User interface switching method and terminal
AU2018421189B2 (en) Method for quickly opening application or application function, and terminal
US11816194B2 (en) User interfaces for managing secure operations
US11574064B2 (en) Data input method and apparatus and user equipment
US10216403B2 (en) Method to unlock a screen using a touch input
EP3554034A1 (en) Method and device for authenticating login
KR102521333B1 (ko) 사용자 인증과 관련된 사용자 인터페이스 표시 방법 및 이를 구현한 전자 장치
US20230019250A1 (en) User interfaces for authenticating to perform secure operations
US11703996B2 (en) User input interfaces
WO2017028277A1 (zh) 指纹识别方法及移动终端
US20230394899A1 (en) User interfaces for sharing an electronic key
CN107506198B (zh) 一种移动终端的显示方法及移动终端
EP3757831B1 (en) Fingerprint event processing method, apparatus, and terminal
CN111159687B (zh) 账户信息处理方法、电子设备及服务器
WO2018077170A1 (zh) 虚拟导航栏的处理方法和终端
TW201439882A (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: 15890324

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2015890324

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 15570145

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE