Application interface display method, device, intelligent device and medium
By obtaining the control permissions of plug-in applications on smart devices and synchronizing the mobile application interface and the input method interface, the problem of independent movement of the application and input method interface in smart devices is solved, and the user experience and interface linkage effect is improved.
Patent Information
- Application Number
- CN202110179466.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-09
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2041-02-09
AI Technical Summary
In smart devices, the mobile actions of the application and input interface are independent of each other, resulting in poor user experience and lack of linkage effect.
By obtaining control permissions of plug-in applications, receiving operation information is received to indicate the display or hidden of the preset interface, and controlling the synchronous movement of the application interface and the preset interface based on this information to realize movement in the same direction and distance to improve the linkage effect.
By synchronizing the mobile application interface and the input method interface, the user experience is improved and the display screen linkage effect is achieved.
Smart Images

Figure CN112882784B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of smart devices, and in particular to an application interface display method, device, smart device and medium. Background Art
[0002] With the development of technology, the use of smart devices is becoming more and more extensive, and various applications based on smart devices allow users to experience more functions.
[0003] Input method is an essential application in smart devices, especially for applications with text input requirements. When the application is running in the foreground, it is necessary to call the input method program based on the currently running application to realize text information entry.
[0004] In the related art, when the input method needs to be called during the use of an application, both the application interface and the input method interface need to be moved. However, the movement of the application interface and the input method interface are independent of each other during the movement process, and the linkage effect between the two is not good, which affects the user experience. Summary of the invention
[0005] In order to overcome the problems existing in the related art, the present disclosure provides an application interface display method, apparatus, smart device and medium.
[0006] According to a first aspect of an embodiment of the present disclosure, there is provided an application interface display method, which is applied to a smart device, wherein a display area of the smart device displays an application interface of an application program, and the display method comprises:
[0007] Get control permissions for plugin applications;
[0008] receiving operation information, where the operation information is used to instruct a preset interface to be displayed or hidden, where the preset interface is a display interface of the plug-in application under the application program;
[0009] Based on the operation information, the application interface and the preset interface are controlled to move synchronously.
[0010] Optionally, controlling the application interface and the preset interface to move synchronously includes:
[0011] The application interface and the preset interface are controlled to move simultaneously along the same preset direction by a first preset distance.
[0012] Optionally, the preset direction is: a direction in which the display area of the preset interface increases or decreases along the length or width direction of the display area of the smart device;
[0013] The first preset distance is a length value of the preset interface along the length or width direction of the display area of the smart device.
[0014] Optionally, controlling the application interface and the preset interface to move simultaneously along a preset direction by a first preset distance includes:
[0015] Starting from the moment when the preset interface moves along the preset direction, determining that the upper boundary of the preset interface in each display frame of the display area is at a preset position of the display area, and the display frames correspond to the preset positions one by one;
[0016] In each display frame, controlling the upper boundary of the preset interface and the lower boundary of the application interface to be simultaneously located at preset positions corresponding to the display frame;
[0017] When the preset position moves the first preset distance relative to the initial position, the preset interface is controlled to stop moving.
[0018] Optionally, obtaining the control authority of the plug-in application includes:
[0019] Obtain control permissions for the plug-in application through Binder communication.
[0020] Optionally, the plug-in application includes an input method application, and the preset interface includes an input method interface.
[0021] Optionally, the display method further includes:
[0022] Based on the operation information, preset display content is intercepted.
[0023] According to a second aspect of an embodiment of the present disclosure, there is provided an application interface display device, which is applied to a smart device, wherein a display area of the smart device displays an application interface of an application program, and the display device comprises:
[0024] Get module, used to obtain control permissions for plug-in applications;
[0025] A receiving module, used for receiving operation information, wherein the operation information is used for instructing a preset interface to be displayed or hidden, and the preset interface is a display interface of the plug-in application under the application program;
[0026] A control module is used to control the synchronous movement of the application interface and the preset interface based on the operation information.
[0027] Optionally, the control module is specifically used to:
[0028] The application interface and the preset interface are controlled to move simultaneously along the same preset direction by a first preset distance.
[0029] Optionally, the preset direction is: a direction in which the display area of the preset interface increases or decreases along the length or width direction of the display area of the smart device;
[0030] The first preset distance is a length value of the preset interface along the length or width direction of the display area of the smart device.
[0031] Optionally, the control module includes:
[0032] A determination submodule, configured to determine that, starting from the moment when the preset interface moves along a preset direction, the upper boundary of the preset interface in each display frame of the display area is at a preset position of the display area, and the display frame corresponds to the preset position;
[0033] A first control submodule, used for controlling the upper boundary of the preset interface and the lower boundary of the application interface to be simultaneously located at preset positions corresponding to the display frame in each display frame;
[0034] The second control submodule is used to control the preset interface to stop moving when the preset position moves by the first preset distance relative to the lower boundary of the display area.
[0035] Optionally, the acquisition module is specifically used for:
[0036] Obtain control permissions for the plug-in application through Binder communication.
[0037] Optionally, the plug-in application includes an input method application, and the preset interface includes an input method interface.
[0038] Optionally, the display device further includes:
[0039] The interception module is used to intercept the preset display content based on the operation information.
[0040] According to a third aspect of an embodiment of the present disclosure, there is provided a smart device, including:
[0041] processor;
[0042] a memory for storing executable instructions for the processor;
[0043] Wherein, the processor is configured to execute the application interface display method as described in any one of the above items.
[0044] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of a smart device, the smart device is enabled to execute the application interface display method as described in any one of the above items.
[0045] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: using the method of the present disclosure, the application interface and the preset interface of the plug-in application can be controlled by the application program to move synchronously, thereby achieving a linkage effect of the display screen and improving the user experience.
[0046] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0048] Figure 1 is a flow chart of a method according to an exemplary embodiment.
[0049] Figure 2 is a flow chart of a method according to an exemplary embodiment.
[0050] Figure 3 is a flow chart of a method according to an exemplary embodiment.
[0051] Figure 4 is a flow chart of a method according to an exemplary embodiment.
[0052] Figure 5 The diagram is a schematic diagram of a smart device according to an exemplary embodiment.
[0053] Figure 6 The diagram is a schematic diagram of a smart device according to an exemplary embodiment.
[0054] Figure 7 The diagram is a schematic diagram of a smart device according to an exemplary embodiment.
[0055] Figure 8 It is a block diagram of a device according to an exemplary embodiment.
[0056] Fig. 9 It is a block diagram of a device according to an exemplary embodiment.
[0057] Fig.10 It is a block diagram of a device according to an exemplary embodiment.
[0058] Fig.11 is a block diagram of a smart device according to an exemplary embodiment. DETAILED DESCRIPTION
[0059] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0060] With the development of technology, the use of smart devices is becoming more and more extensive, and various applications based on smart devices allow users to experience more functions.
[0061] In the related art, smart devices generally include a processor, a memory and a display screen to realize the operation of the smart device system or the operation of the application program. Among them, the processor executes various functions of the smart device and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory, and calling data stored in the memory. For example, the processor can integrate one or more of a central processing unit (CPU), a graphics processing unit (GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. The memory can be used to store instructions, programs, codes, code sets or instruction sets. For example, the storage program area of the memory can store instructions for implementing the operating system, instructions for executing at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the control method, etc.
[0062] Taking the smart device with Android operating system as an example, the memory stores the Linux kernel layer, system runtime layer, application framework layer and application layer. Among them, the Linux kernel layer provides the underlying drivers for various hardware of the smart device, such as display driver, audio driver, etc. The system runtime layer provides the main feature support for the Android system through some C / C++ libraries, such as the OpenGL / ES library provides 3D drawing support. The application framework layer provides various APIs that may be used when building applications, such as building the following programs: window management, view management, etc. There is at least one application running in the application layer. These applications can be built-in operating system, such as SMS program; or they can be applications developed by third-party developers, such as WeChat program, QQ program, etc.
[0063] In the related art, input method is a necessary plug-in program in smart devices, especially for applications that require text input, such as SMS, QQ, WeChat and other applications. When such applications are running in the foreground, it is necessary to call the input method program based on the currently running application to realize text information entry. For example, in an Android system smart device, when it is necessary to use the input method during the running of the application, the soft keyboard input method is often used to realize text input.
[0064] The input interface of applications such as SMS, QQ, and WeChat is usually below the application interface. After the user clicks on the input method, the application interface and the input method interface must move upward so that the input method interface is below the application interface. When the input method is not needed, the input method and the application interface move downward. In the related art, the movement of the application interface and the input method interface are independent of each other, so the linkage effect of the two interfaces during the movement is not good, and the user experience is not good.
[0065] In order to solve the problems in the related art, the present disclosure proposes an application interface display method, which is applied to a smart device. When the display area of the smart device displays the application interface of the application, the display method includes: obtaining the control authority of the plug-in application; receiving operation information, the operation information is used to indicate the display or hiding of the preset interface, and the preset interface is the display interface of the plug-in application under the application; based on the operation information, controlling the application interface and the preset interface to move synchronously. Using the method of the present disclosure, the application interface and the preset interface of the plug-in application can be controlled by the application to move synchronously, realizing the linkage effect of the display screen and improving the user experience.
[0066] In an exemplary embodiment, the application interface display method of this embodiment is applied to a smart device, wherein the smart device may be, for example, a portable electronic device such as a mobile phone, a tablet computer, a laptop computer, and an e-book, and the smart device may be a smart device whose operating system is an Android system, or may be a smart device whose operating system is an iOS system. The smart device has a display screen, and the display screen may be, for example, a full screen, a curved screen, a folding screen, or a water drop screen. The display screen includes a display area for the smart device to display images. When the display area of the smart device displays the application interface of the application, the application may be, for example, a text message, QQ, or WeChat program, that is, when the display area displays a text message interface, a QQ interface, or a WeChat interface, as shown in FIG. Figure 1 As shown, the method in this embodiment includes the following steps:
[0067] S110: Obtain control authority for the plug-in application.
[0068] S120: Receive operation information, where the operation information is used to instruct to display or hide a preset interface, where the preset interface is a display interface of the plug-in application under the application program.
[0069] S130: Based on the operation information, control the application interface and the preset interface to move synchronously.
[0070] Among them, in step S110, the plug-in application can be, for example, an input method application, and the preset interface can be, for example, an input method interface. In the process of using applications such as SMS, QQ or WeChat, the application obtains the control authority of the input method application. For example, after the input method window is created, the application obtains the control authority of the input method application through the Binder communication method. It is worth noting that the movement of the input method interface of the Android system (or the playback of the input method window animation) is achieved by controlling leash. Leash refers to: after the WMS (WindowManagerService, window management service) creates the input method window, the SurfaceControl (surface control) is created for the Surface (surface) of the input method window. The movement effect of the input method interface can be achieved by controlling Leash. The control authority of the plug-in application in this step refers to Leash.
[0071] In step S120, the application can receive operation information in a direct or indirect manner. The operation information may be, for example, a user pressing or touching a preset area on the display screen when the display area is an application interface. The operation information includes instruction information for calling an input method program or exiting an input method program, that is, the operation information can be used to instruct the input method interface to be displayed or hidden.
[0072] In step S130, based on the operation information, it is determined whether the input method interface needs to be displayed or hidden, and the application interface and the preset interface are controlled to move synchronously by the application program. In this step, the synchronous movement means that the application interface and the preset interface move at the same time, in the same direction, and move the same distance within the preset time.
[0073] In an exemplary embodiment, Figure 2 As shown, the method in this embodiment includes the following steps:
[0074] S210: Obtain control authority for the plug-in application.
[0075] S220: Receive operation information, where the operation information is used to instruct a preset interface to be displayed or hidden, and the preset interface is a display interface of the plug-in application under the application program.
[0076] S230. Based on the operation information, control the application interface and the preset interface to move simultaneously along the same preset direction by a first preset distance.
[0077] The implementation of step S210 and step S220 in this embodiment is the same as that of step S110 and step S120 in the above embodiment, and will not be described in detail herein.
[0078] In step S230, the preset direction is: the direction in which the display area of the preset interface increases or decreases along the length or width of the display area of the smart device. For example, when the smart device is used in portrait mode, the preset direction is: along the length of the display area, upward or downward. For another example, when the smart device is used in landscape mode, the preset direction is: along the length of the display area, left or right. Alternatively, when the smart device is used in landscape mode, the preset direction may also be: along the width of the display area, upward or downward.
[0079] In one example, when the preset interface changes from a hidden state to a displayed state, that is, when the input method interface changes from a hidden state to a displayed state, the preset direction is upward along the length direction of the display area of the smart device. In another example, when the preset interface changes from a displayed state to a hidden state, that is, when the input method interface changes from a hidden state to a displayed state, the preset direction is downward along the length direction of the display area of the smart device.
[0080] For example, Figure 5 As shown, when the input method interface 10 is located at the lower end of the application interface 20, the preset direction may be upward along the length direction of the display area 1 of the smart device (as shown by the arrow direction in the figure). Figure 7 As shown, when the input method interface 10 changes from the display state to the hidden state, the preset direction is the length direction of the display area of the smart device downward (ie Figure 5 in the opposite direction of the arrow).
[0081] In addition, in step S230, the first preset distance is the length value of the input method interface along the length or width direction of the display area 1 of the smart device. For example, when the smart device is used in portrait mode, the first preset distance is the length value of the input method interface along the length direction of the display area. For another example, when the smart device is used in landscape mode, the first preset distance is the length value of the input method interface along the length direction of the display area. Alternatively, when the smart device is used in landscape mode, the first preset distance is the length value of the input method interface along the width direction of the display area.
[0082] In one example, if Figure 7 As shown, the first preset distance is L1.
[0083] In one example, the application can calculate the distance that the input method interface needs to move upward in each display frame, and apply the calculated distance to Leash, thereby controlling the input method interface to move the corresponding distance in each display frame. Figures 5 to 7,Each schematic diagram can be regarded as a display frame in the process of moving the input method interface. It can be seen from the figure that when the input method interface moves a certain distance frame by frame, the application interface of the application also moves a corresponding distance.
[0084] According to the distance of movement of the input method interface calculated by the application, in each display frame, the application controls the application interface to move by a corresponding distance, or the application controls the application interface to display the application interface with the corresponding distance as the bottom margin. Thus, the application controls the application interface and the input method interface to move synchronously, improving the linkage effect of the input method interface and the application interface, thereby improving the user experience when the input method pops up and disappears.
[0085] In an exemplary embodiment, Figure 3 As shown, step S230 specifically includes the following steps:
[0086] S2301, starting from the moment when the preset interface moves along the preset direction, determine that the upper boundary of the preset interface in each display frame of the display area is at a preset position of the display area, and the display frames correspond to the preset positions one by one.
[0087] S2302: In each display frame, control the upper boundary of the preset interface and the lower boundary of the application interface to be simultaneously located at preset positions corresponding to the display frame.
[0088] S2303: When the preset position moves a first preset distance relative to the lower boundary of the display area, control the preset interface to stop moving.
[0089] Among them, in step S2301, if Figure 5 As shown, the preset interface is the input method interface 10. In this step, the preset position 30 of the upper boundary 101 of the input method interface 10 in each display frame is determined. The preset position 30 may be relative to the initial position 40, wherein the initial position 40 is the lower boundary of the display area 1.
[0090] In this step, the one-to-one correspondence between the display frame and the preset position means that each display frame has a corresponding preset position. Figures 5 to 7 As shown, if the moving state of each diagram is regarded as a display frame in the process of moving the preset interface, the preset position 30 of each display frame is different in each frame and also moves gradually upward.
[0091] In step S2302, if Figures 5 to 7 As shown, in each display frame, the upper boundary 101 of the control input method interface 10 and the lower boundary of the application interface 20 are both located at the preset position 30 corresponding to the display frame, that is, there is an overlapping boundary between the input method interface 10 and the application interface 20, and the input method interface 10 and the application interface 20 are spliced to form the display area 1 of the smart device.
[0092] In step S2303, if Figure 7 As shown, when the preset position 30 moves a first preset distance L1 relative to the initial position 40, the input method interface is displayed completely, and the application program controls the input method interface to stop moving.
[0093] In one example, the display area 1 displays the WeChat interface, and the control authority (Leash) of the input method is transmitted to the WeChat program through Binder communication. When the input method needs to be popped up, for example, the input method interface needs to be displayed based on the user's operation information, then Figures 5 to 7 As shown, the WeChat program controls the WeChat interface 20 and the input method interface 10 to move upward synchronously until they move a first preset distance L1, the input method interface 10 is displayed, and the WeChat program controls the input method interface 10 to stop moving.
[0094] In another example, the display area 1 displays the WeChat interface, and the control authority (Leash) of the input method is transmitted to the WeChat program through Binder communication. When the input method needs to be hidden, for example, the input method interface needs to be hidden based on the user's operation information, you can refer to Figure 7 to Figure 5 In this order, the WeChat program controls the WeChat interface 20 and the input method interface 10 to move downward synchronously by a first preset distance L1 until the input method interface 10 disappears (not shown in the figure), and the WeChat program controls the input method interface 10 to stop moving.
[0095] In an exemplary embodiment, Figure 4 As shown, the method in this embodiment includes the following steps:
[0096] S310: Obtain control authority for the plug-in application.
[0097] S320: Receive operation information, where the operation information is used to instruct a preset interface to be displayed or hidden, and the preset interface is a display interface of the plug-in application under the application program.
[0098] S330: intercepting preset display content based on the operation information.
[0099] S340: Based on the operation information, control the application interface and the preset interface to move synchronously.
[0100] The implementation of step S310, step S320 and step S340 in this embodiment is the same as step S110, step S120 and step S130 in the above embodiment, and will not be repeated here.
[0101] In step S330, according to the system settings of the smart device, when the input method needs to be displayed (or moved and popped up), the WMS also has the authority to control the mobile display of the input method interface (window animation), and can control the movement of the input method interface. In this embodiment, the mobile display mode of the input method interface controlled by the WMS is intercepted. At the same time, the instruction message that the input method interface needs to be displayed based on the operation information is notified to the application, and the movement of the input method interface is controlled only by the application.
[0102] In an exemplary embodiment, the implementation process of this method is described by taking the need to call an input method program during the running of a WeChat program as an example:
[0103] When the user opens the WeChat program, the display area of the smart device displays the current program's running interface, namely the WeChat interface. The window of the input method program is created by WMS.
[0104] In one example, when a user clicks Figure 5 When the input method interface 10 is displayed in the WeChat program, it means that the input method program needs to be called in the WeChat program (the input method interface needs to be moved and popped up). At this time, the control authority (Leash) of the input method is passed to the WeChat program through Binder communication, and the input method interface movement display mode controlled by WMS is intercepted. Then the WeChat program controls the WeChat interface and the input method interface to move synchronously. Figure 5 Move the position shown to Figure 7 In this state, the user can enter text information.
[0105] In another example, when the user clicks Figure 7 The preset area of the input method interface 10 in the figure (the preset area can be the command area hidden in the corresponding input method interface, not shown in the figure) indicates that the input method program is no longer needed in the WeChat program and needs to be exited (the input method interface needs to be moved and hidden). At this time, the control authority (Leash) of the input method is passed to the WeChat program through Binder communication, and the input method interface movement display mode controlled by WMS is intercepted, and then the WeChat program controls the WeChat interface and the input method interface to move synchronously, and the WeChat program controls the input method interface to move synchronously. Figure 7 Move the position shown to Figure 5 The position shown in the figure continues until the input method interface 10 disappears and the display area 1 only displays the WeChat interface (not shown in the figure).
[0106] In an exemplary embodiment, an application interface display device is provided, which is applied to a smart device. When the display area of the smart device displays the application interface of the application program, Figure 8 As shown, the display device includes: an acquisition module 110, a receiving module 120 and a control module 130. The device in this embodiment is used to implement Figure 1The method shown. The acquisition module is used to obtain the control authority of the plug-in application. The receiving module is used to receive operation information, the operation information is used to indicate whether to display or hide the preset interface, and the preset interface is the display interface of the plug-in application under the application program. The control module is used to control the application interface and the preset interface to move synchronously based on the operation information. The plug-in application includes an input method application, and the preset interface includes an input method interface.
[0107] In an exemplary embodiment, still referring to Figure 8 The display device of this embodiment includes: an acquisition module 110, a receiving module 120 and a control module 130. The device of this embodiment is used to implement the following Figure 2 In the implementation process, the control module 130 is specifically used to: control the application interface and the preset interface to move a first preset distance along the same preset direction at the same time. The preset direction is: the direction in which the display area of the preset interface increases or decreases along the length or width direction of the display area of the smart device; the first preset distance is the length value of the preset interface along the length or width direction of the display area of the smart device.
[0108] In an exemplary embodiment, Fig. 9 As shown, the display device includes: an acquisition module 110, a receiving module 120 and a control module 130. Among them, the control module 130 includes: a determination submodule 1301, a first control submodule 1302 and a second control submodule 1303. The device in this embodiment is used to implement the following Figure 3 The method shown. During the implementation process, the determination submodule 1301 is used to determine that the upper boundary of the preset interface in each display frame of the display area is at the preset position of the display area, and the display frame corresponds to the preset position, starting from the moment when the preset interface moves along the preset direction. The first control submodule 1302 is used to control the upper boundary of the preset interface and the lower boundary of the application interface to be simultaneously located at the preset position corresponding to the display frame in each display frame. The second control submodule 1303 is used to control the preset interface to stop moving when the preset position moves a first preset distance relative to the lower boundary of the display area.
[0109] In an exemplary embodiment, still referring to Figure 8 The display device of this embodiment includes: an acquisition module 110, a receiving module 120 and a control module 130. The device of this embodiment is used to implement the following Figure 1 In the implementation process, the acquisition module 110 is specifically used to obtain the control authority of the plug-in application through the Binder communication method.
[0110] In an exemplary embodiment, Fig.10As shown, the display device of this embodiment includes: an acquisition module 110, a receiving module 120, a control module 130 and an interception module 140. The device of this embodiment is used to implement Figure 4 In the implementation process, the interception module 140 is used to intercept the preset display content based on the operation information.
[0111] like Fig.11 The present disclosure also provides a smart device, for example, the device 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0112] Device 500 may include one or more of the following components: a processing component 502 , a memory 504 , a power component 506 , a multimedia component 508 , an audio component 510 , an input / output (I / O) interface 512 , a sensor component 514 , and a communication component 516 .
[0113] The processing component 502 generally controls the overall operation of the device 500, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 502 may include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.
[0114] The memory 504 is configured to store various types of data to support operations on the device 500. Examples of such data include instructions for any application or method operating on the device 500, contact data, phone book data, messages, pictures, videos, etc. The memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0115] Power component 506 provides power to various components of device 500. Power component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 500.
[0116] The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front camera and / or a rear camera. When the device 500 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0117] The audio component 510 is configured to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC), and when the device 500 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 504 or sent via the communication component 516. In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.
[0118] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0119] The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 can detect the open / closed state of the device 500, the relative positioning of components, such as the display and keypad of the device 500, and the sensor assembly 514 can also detect the position change of the device 500 or a component of the device 500, the presence or absence of user contact with the device 500, the orientation or acceleration / deceleration of the device 500, and the temperature change of the device 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0120] The communication component 516 is configured to facilitate wired or wireless communication between the device 500 and other devices. The device 500 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0121] In an exemplary embodiment, the device 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described methods.
[0122] In another exemplary embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided, such as a memory 504 including instructions, which can be executed by a processor 520 of a device 500 to perform the above method. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc. When the instructions in the storage medium are executed by a processor of an intelligent device, the intelligent device is enabled to perform the above method.
[0123] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0124] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. An application interface display method, applied to a smart device, It is characterized in that When the display area of the smart device displays the application interface of the application program, the display method includes: Get control permissions for plugin applications; receiving operation information, where the operation information is used to instruct a preset interface to be displayed or hidden, where the preset interface is a display interface of the plug-in application under the application program; Based on the operation information, controlling the application interface and the preset interface to move synchronously; The controlling the application interface and the preset interface to move synchronously includes: Controlling the application interface and the preset interface to move simultaneously in the same preset direction by a first preset distance; The controlling the application interface and the preset interface to move simultaneously along a preset direction by a first preset distance includes: Starting from the moment when the preset interface moves along the preset direction, determining that the upper boundary of the preset interface in each display frame of the display area is at a preset position of the display area, and the display frames correspond to the preset positions one by one; In each display frame, controlling the upper boundary of the preset interface and the lower boundary of the application interface to be simultaneously located at preset positions corresponding to the display frame; When the preset position moves the first preset distance relative to the lower boundary of the display area, the preset interface is controlled to stop moving.
2. The application interface display method according to claim 1, It is characterized in that The preset direction is: the direction in which the display area of the preset interface increases or decreases along the length or width direction of the display area of the smart device; The first preset distance is a length value of the preset interface along the length or width direction of the display area of the smart device.
3. The application interface display method according to claim 1, It is characterized in that The obtaining of control authority of the plug-in application includes: Obtain control permissions for the plug-in application through Binder communication.
4. The application interface display method according to claim 1, It is characterized in that The plug-in application includes an input method application, and the preset interface includes an input method interface.
5. The application interface display method according to claim 1, It is characterized in that The display method further includes: Based on the operation information, preset display content is intercepted.
6. An application interface display device, applied to a smart device, It is characterized in that When the display area of the smart device displays the application interface of the application program, the display device includes: Get module, used to obtain control permissions for plug-in applications; A receiving module, used for receiving operation information, wherein the operation information is used for instructing a preset interface to be displayed or hidden, and the preset interface is a display interface of the plug-in application under the application program; A control module, used for controlling the application interface and the preset interface to move synchronously based on the operation information; The control module is specifically used for: Controlling the application interface and the preset interface to move simultaneously in the same preset direction by a first preset distance; The control module comprises: A determination submodule, configured to determine that, starting from the moment when the preset interface moves along a preset direction, the upper boundary of the preset interface in each display frame of the display area is at a preset position of the display area, and the display frame corresponds to the preset position; A first control submodule, used for controlling the upper boundary of the preset interface and the lower boundary of the application interface to be simultaneously located at preset positions corresponding to the display frame in each display frame; The second control submodule is used to control the preset interface to stop moving when the preset position moves by the first preset distance relative to the lower boundary of the display area.
7. The application interface display device according to claim 6, It is characterized in that The preset direction is: the direction in which the display area of the preset interface increases or decreases along the length or width direction of the display area of the smart device; The first preset distance is a length value of the preset interface along the length or width direction of the display area of the smart device.
8. The application interface display device according to claim 6, It is characterized in that The acquisition module is specifically used for: Obtain control permissions for the plug-in application through Binder communication.
9. The application interface display device according to claim 6, It is characterized in that The plug-in application includes an input method application, and the preset interface includes an input method interface.
10. The application interface display device according to claim 6, It is characterized in that The display device further includes: The interception module is used to intercept the preset display content based on the operation information.
11. A smart device, It is characterized in that include: processor; a memory for storing executable instructions for the processor; Wherein, the processor is configured to execute the application interface display method as described in any one of claims 1 to 5.
12. A non-transitory computer-readable storage medium, It is characterized in that When the instructions in the storage medium are executed by a processor of a smart device, the smart device is enabled to execute the application interface display method as described in any one of claims 1 to 5.
