CN106648598B - Method and apparatus for displaying display information of application - Google Patents

Method and apparatus for displaying display information of application Download PDF

Info

Publication number
CN106648598B
CN106648598B CN201610885360.3A CN201610885360A CN106648598B CN 106648598 B CN106648598 B CN 106648598B CN 201610885360 A CN201610885360 A CN 201610885360A CN 106648598 B CN106648598 B CN 106648598B
Authority
CN
China
Prior art keywords
display information
application
preset
original
icon
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201610885360.3A
Other languages
Chinese (zh)
Other versions
CN106648598A (en
Inventor
史志建
程永生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
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 Samsung Electronics China R&D Center, Samsung Electronics Co Ltd filed Critical Samsung Electronics China R&D Center
Priority to CN201610885360.3A priority Critical patent/CN106648598B/en
Publication of CN106648598A publication Critical patent/CN106648598A/en
Application granted granted Critical
Publication of CN106648598B publication Critical patent/CN106648598B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The application discloses a method and a device for displaying display information of an application. One embodiment of the method comprises: receiving an access request for display information of an application; detecting whether the access request contains a modification request for the display information; in response to not detecting the modification request, determining whether original display information of the application is encapsulated; displaying preset display information of the application in response to the original display information being encapsulated. The implementation mode improves the personal information confidentiality and property security of the user.

Description

Method and apparatus for displaying display information of application
Technical Field
The application relates to the technical field of computers, in particular to the technical field of intelligent terminals, and particularly relates to a method and a device for displaying information of applications.
Background
Along with the development and popularization of intelligent terminal technology, intelligent electronic equipment greatly facilitates the living demands of people. Some applications installed on intelligent electronic devices may involve personal information privacy and property security. The intelligent electronic device can be a smart phone, an intelligent wearable electronic device (such as a smart watch), a tablet computer, and the like; the application can be a social application, an instant messaging application, a financing application and the like.
The existing technology generally provides an entrance for a user to modify display information (such as a display icon, a display name, etc.) of an application, and when the user modifies the original display information of the application, the current display information of the application cannot be restored to the original display information.
Disclosure of Invention
It is an object of the present application to propose an improved method and apparatus for displaying display information of an application to solve the technical problems mentioned in the background section above.
In a first aspect, the present application provides a method for displaying display information of an application, the method comprising: receiving an access request for display information of an application; detecting whether the access request contains a modification request for the display information; in response to not detecting the modification request, determining whether original display information of the application is encapsulated; displaying preset display information of the application in response to the original display information being encapsulated.
In some embodiments, the method comprises: in response to detecting the modification request, determining whether the original display information is encapsulated; and responding to the original display information which is not packaged, packaging the original display information, setting the preset display information and displaying the preset display information.
In some embodiments, the method comprises: resetting the preset display information and displaying the preset display information in response to the original display information being packaged.
In some embodiments, the setting the preset display information comprises: presenting options for setting the preset display information; and setting the preset display information according to the selection operation of the user on the option.
In some embodiments, the displaying information includes displaying icons, and the setting the preset displaying information according to the selection operation of the option by the user includes: selecting a target picture from a local picture library or calling a camera to shoot the target picture, obtaining a target icon based on the target picture, and setting the target icon as the preset display icon; and/or the display information comprises a display name, and the setting of the display information according to the operation selected by the user on the option comprises: and setting the text input by the user as the preset display name.
In some embodiments, the obtaining a target icon based on a target picture includes: and editing the target picture, and taking the edited target picture as a target icon.
In some embodiments, the method further comprises: receiving a decapsulation operation; unpacking the original display information; in response to de-encapsulating the original display information, displaying the original display information.
In a second aspect, the present application provides an apparatus for displaying display information of an application, the apparatus comprising: a first receiving unit configured to receive an access request for display information of an application; the detection unit is used for detecting whether the access request contains a modification request of the display information; a first judging unit configured to judge whether original display information of the application is encapsulated in response to the modification request not being detected; a first display unit configured to display preset display information of the application in response to the original display information being packaged.
In some embodiments, the apparatus comprises: a second determining unit configured to determine whether the original display information is encapsulated in response to detecting the modification request; and the first processing unit is configured to respond to that the original display information is not packaged, package the original display information, set the preset display information and display the preset display information.
In some embodiments, the apparatus comprises: a second processing unit configured to reset the preset display information and display the preset display information in response to the original display information being encapsulated.
In some embodiments, the first processing unit comprises: the option presentation subunit is configured to present options for setting the preset display information; and the setting subunit is configured to set the preset display information according to the selection operation of the user on the option.
In some embodiments, the display information includes a display icon, and the setting subunit includes: the preset display icon setting module is configured to select a target picture from a local picture library or call a camera to shoot the target picture, obtain a target icon based on the target picture, and set the target icon as the preset display icon; and/or the display information comprises a display name, and the setting subunit comprises: and the preset display name setting module is configured to set the text input by the user as the preset display name.
In some embodiments, the preset display icon setting module is further configured to: and editing the target picture, and taking the edited target picture as a target icon.
In some embodiments, the apparatus further comprises: a second receiving unit configured to receive a decapsulation operation; a removing unit configured to remove the encapsulation of the original display information; a second display unit configured to display the original display information in response to the original display information having been unpacked.
According to the method and the device for displaying the display information of the application, the access request of the display information of the application is received, whether the modification process is executed or not is determined by detecting whether the access request contains the modification request of the display information or not, whether the original display information of the application is packaged or not is judged when the modification request is not detected, and the preset display information of the application is displayed when the original display information is packaged, so that the preset display information of the application is effectively utilized, and the personal information confidentiality and the property security of a user are improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is a flow diagram of one embodiment of a method for displaying display information for an application according to the present application;
fig. 2 is a schematic diagram of transmitting an access request for display information of an application according to an operation action of a user;
FIG. 3 is a schematic diagram of an application scenario of the embodiment shown in FIG. 1;
FIG. 4 is a flow diagram of another embodiment of a method for displaying display information for an application according to the present application;
fig. 5 is a schematic diagram of an application scenario of the embodiment shown in fig. 4.
FIG. 6 is a flow diagram of yet another embodiment of a method for displaying display information for an application according to the present application;
FIG. 7 is a schematic diagram illustrating the structure of one embodiment of an apparatus for displaying information for an application according to the present application;
fig. 8 is a schematic structural diagram of a computer system suitable for implementing a terminal device according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
The method for displaying display information of an Application provided in the embodiment of the present Application is generally applied to an API (Application Programming Interface) layer of an operating system, and accordingly, the apparatus for displaying display information of an Application is generally applied to the API layer of the operating system. The operating system may be deployed in any electronic device compatible with the operating system, and the electronic device may be an electronic device having a display screen, including but not limited to a smartphone, a smart wearable device (e.g., a smart watch), a tablet computer, and so on.
Referring to FIG. 1, a flow 100 of one embodiment of a method for displaying display information for an application is shown. The method for displaying the display information of the application comprises the following steps:
step 101, receiving an access request for display information of an application.
In this embodiment, an electronic device (e.g., a smartphone, a smart wearable device, a tablet computer, etc.) on which the method for displaying display information of an application runs may receive an access request for the display information of the application without a network connection. Here, the applications may be different classes of applications, such as a social class application, a game class application, an instant messaging class application, a financing class application, and the like. The application may be a system application (e.g., a setup application, a phone call, a short message, etc.), or may be a third-party application (e.g., a financing application, a social application, etc.).
Optionally, the display information includes, but is not limited to, a display icon, a display name, and the like of the application.
In some optional implementation manners of this embodiment, the electronic device may have a preset setting option based on an operating system, and a user may enter the application manager through the setting option, and click any application in the displayed application list to send an access request for display information of the application; the user may also send a request for access to the application's display information by using a third party application (e.g., a software management type application, etc.).
In some optional implementation manners of this embodiment, a list interface used for presenting icons of applications may be displayed on a display screen of the electronic device, a user may press an icon of an application on the list interface for a long time, and present an application information icon when the pressing time exceeds a preset time, and the user may send an access request for display information of the application by clicking the application information icon. As shown in fig. 2, fig. 2 is a schematic diagram of transmitting an access request for display information of an application according to an operation action of a user. If the user wants to access the displayed information of the financial application "XXX", as shown by reference numeral 201, the user may press the icon of "XXX" for a long time, and when the pressing time exceeds a preset time (e.g., 3s), icons such as "disable", "application information", and "mobile application" are displayed above the screen; as indicated by reference numeral 202, the user can send an access request for display information of the financial application "XXX" to the above-mentioned electronic device by clicking on the icon of "application information".
Step 102, detecting whether the access request includes a modification request for the display information.
In this embodiment, after receiving the access request, the electronic device may determine whether the access request includes a modification request for the display information by detecting whether a modification operation instruction is received. If the access request is not detected, the electronic device may perform step 103.
In some optional implementations of the embodiment, the modification request may be a modification request for a display icon and/or a display name of the application.
Step 103, in response to not detecting the modification request, determining whether the original display information of the application is encapsulated.
In this embodiment, in response to not detecting the modification request, the electronic device may further determine whether the original display information of the application is encapsulated. If the original display information is not encapsulated, the electronic device can display the original display information of the application; if the original display information is encapsulated, the electronic device may perform step 104. Here, the original display information that is encapsulated may have an encapsulation flag corresponding thereto for indicating that it is encapsulated, and the electronic device may determine whether the original display information is encapsulated by determining whether the original display information has the encapsulation flag corresponding thereto. Alternatively, the package identifier may be represented by letters, such as "a", "a"; and may also be represented by a number, such as "1" or the like.
As an example, the encapsulation identifier of the encapsulated original display information may be set to "1", when the electronic device invokes the display information of the application, it is first determined whether the original display information of the application is set to the encapsulation identifier "1", and if so, it may be determined that the original display information of the invoked application is encapsulated.
It should be noted that, in the electronic device, the original display information of the application is usually encapsulated in the API layer of the operating system, and after the user modifies the display information of the application, the original display information of the application is retained and can be restored to display.
It should be noted that, usually, when the display information of an application is modified for the first time, the electronic device is triggered to encapsulate the original display information of the application.
And 104, responding to the packaged original display information, and displaying the preset display information of the application.
In this embodiment, in response to the determination result of step 103 being that the original display information is encapsulated, the electronic device may present the preset display information of the application to the user who sent the access request. Here, the preset display information may be display information preset by a user, such as a display icon, a display name, and the like of the application preset by the user.
In some optional implementation manners of this embodiment, after the electronic device is restarted, for an application that has encapsulated the original display information, the electronic device may present the preset display information corresponding to the application.
With continued reference to fig. 3, fig. 3 is a schematic illustration of an application scenario of the embodiment shown in fig. 1. In the application scenario of fig. 3, the original display information of the financial application, the social application, and the email application installed on the electronic device (e.g., a smartphone, an intelligent wearable device, a tablet computer, etc.) is packaged, and preset display information, such as a preset display icon and a preset display name, is set. The preset display names of the financing application, the social application and the mail application are respectively 'ZZZ', 'YYYY' and 'DDD'. When a user wants to view the display information of the application, an access request for the display information (such as a display icon and a display name) of the application can be sent by performing click operation on an application program manager preset by a system; then, after receiving the access request, the electronic device may detect whether the access request includes a modification request; then, after the electronic device does not detect the modification request, it may determine whether the original display information of the application is encapsulated; then, when it is determined that the original display information of the application is encapsulated, as shown in fig. 3, the preset display icons and the preset display names of the financial application, the social application, and the email application are displayed on the application display list interface.
The method provided by the embodiment of the application improves the personal information confidentiality and property security of the user by displaying the preset display information of the application when judging that the original display information of the application corresponding to the access request is encapsulated.
With further reference to FIG. 4, a flow 400 of another embodiment of a method for displaying display information for an application is shown. The process 400 of the method for displaying display information of an application includes the steps of:
step 401, an access request for display information of an application is received.
In this embodiment, an electronic device (e.g., a smartphone, a smart wearable device, a tablet computer, etc.) on which the method for displaying display information of an application runs may receive an access request for the display information of the application without a network connection. Here, the applications may be different classes of applications, such as a social class application, a game class application, an instant messaging class application, a financing class application, and the like. The application may be a system application (e.g., a setup application, a phone call, a short message, etc.), or may be a third-party application (e.g., a financing application, a social application, etc.).
Optionally, the access request may be an access request generated by a user by clicking a display icon of one application in an application display list preset by the system.
Step 402, detecting whether the access request includes a modification request for the display information.
In this embodiment, after receiving the access request, the electronic device may determine whether the access request includes a modification request for the display information by detecting whether a modification operation instruction is received. If the modification request is detected, the electronic device may perform step 403.
Step 403, in response to detecting the modification request, determining whether the original display information of the application is encapsulated.
In this embodiment, after detecting the modification request, the electronic device may determine whether the original display information is encapsulated by detecting whether the original display information has a corresponding encapsulation identifier.
Optionally, if the electronic device detects that the original display information has the corresponding package identifier, it may be determined that the original display information is packaged, and the electronic device may reset the preset display information corresponding to the original display information according to the modification request. If the electronic device detects that the original display information does not have a corresponding package identifier, it may be determined that the original display information is not packaged, and the electronic device may perform step 404.
Step 404, in response to the original display information not being encapsulated, encapsulating the original display information, setting the preset display information, and displaying the preset display information.
In this embodiment, in response to determining that the original display information is not encapsulated in step 403, the electronic device may encapsulate the original display information in an API layer of an operating system. For example, a package flag is set for the original display information. The electronic device may further set the preset display information according to the modification request, and display the current display information of the application as the preset display information.
Optionally, the electronic device may encapsulate the original display information when determining that the original display request is not encapsulated, or encapsulate the original display information when receiving a replacement instruction sent by a user. The replacing instruction may be an instruction to replace the current display information of the application with the preset display information.
In some optional implementation manners of this embodiment, the electronic device may present, to a user, an option for setting the preset display information, where the option may be presented in different forms, such as an interface, a prompt icon, and the like. The electronic device may set the preset display information according to a user selection operation of the option, where the preset display information may include a preset display icon, a preset display name, and the like.
In some optional implementation manners of this embodiment, after the electronic device obtains the operation of the user to select the modification display icon, a picture interface may be presented to the user, where each picture in the local picture library may be displayed on the picture interface, and a photo taking option may also be displayed on the picture interface. The electronic equipment can acquire the click operation of the user on the picture interface, acquire the target picture indicated by the click operation from a local picture library, or start a camera to shoot a picture to obtain a target icon, then generate the target icon based on the target picture, and set the generated target icon as the preset display icon. Here, the electronic device may take the entire target icon as a target icon; the target picture can also be automatically edited, or the target picture is edited after an editing instruction is received, and the edited target picture is used as a target icon. The electronic equipment can perform editing operations such as cutting, setting a special effect, adjusting brightness and adjusting contrast on the target picture.
In some optional implementation manners of this embodiment, after the electronic device obtains the user's selection operation for modifying the display name, a text box for inputting the preset display name may be presented to the user. After the user inputs the text in the text box, the electronic device may set the text input by the user as the preset display name.
In some optional implementation manners of this embodiment, the electronic device may present two entries for a user to set the preset display icon and the preset display name respectively. For example, the "modify display icon" and "modify display name" options are presented in the application information interface. The electronic device may further present an entry for a user to set the preset display icon and the preset display name. For example, a "modify display icon" option is presented on an application information interface, the electronic device may execute an operation of acquiring a target picture after receiving a user selection operation on the "modify display icon" option, and present a text box for a user to input text on an interface where the target icon is located after generating the target icon based on the target picture.
With further reference to fig. 5, fig. 5 is a schematic diagram of an application scenario of the embodiment shown in fig. 4. In the application scenario of fig. 5, the display information of the financial application "XXX" has not been modified, i.e., the original display information of "XXX" has not been encapsulated. The user can enter the application information interface by clicking an icon of "XXX" in an application manager preset in the system, wherein the application information interface can display original display information of "XXX", such as a display icon, a display name "XXX", a version number "version 7.1.0", "uninstall" and "force stop" buttons, acquired authority "storage, phone and location information", a notification status "allowed", and entries "modify display icon" and "modify display name" provided by the above-mentioned electronic device for modifying the display icon and the display name. As indicated by reference numeral 501, the user may click "modify display icon" to send an access request to the display icon of "XXX" to the above-mentioned electronic device; after receiving the access request, the electronic equipment detects that the access request comprises a modification request; the electronic equipment further judges whether the original display information of the XXX is packaged or not, packages the original display information of the XXX when judging that the original display information of the XXX is not packaged, and presents a picture interface for setting a preset display icon, wherein a photo shooting option and each picture in a local picture library can be displayed on the interface; when a user selects a picture (such as the picture shown by the reference numeral 502) in the local picture library, the electronic device can acquire a target picture selected by the user, take the target picture as a target icon, set the target icon as a preset display icon, and display the preset display icon; after the user clicks the 'modification display name' on the application information interface, the electronic device can also acquire a text input by the user, and set the acquired text as a preset display name. After the preset display icon and the preset display name of "XXX" are set, the application information interface currently displays the preset display icon and the preset display name "ZZZ" of "XXX", as shown by reference numeral 503.
According to the method provided by the embodiment of the application, the user is provided with the entrance for modifying the display information of the application so that the user can set the display information of the application according to the preference of the user, the application use is enriched, and the individuation of the electronic equipment (such as a smart phone, an intelligent wearable device, a tablet computer and the like) is revealed; the method provided by the embodiment of the application can be used for a system-level preset application setting function, the electronic equipment does not need to be additionally provided with the root, and vulnerability risks are avoided, wherein the root has all permissions of the system; the original display information of the application is encapsulated when the display information of the application is set, so that the situation that the original display information of the application cannot be recovered is avoided; the user can set the display icon of the application by selecting the picture in the local library or starting the camera to shoot the picture, and all the operations can be completed locally without connecting a network with a server, so that the user experience is greatly improved; the defect that the application display icons and the display names cannot be modified in the electronic equipment is overcome; and the personal information confidentiality and the property security of the user are improved.
With further reference to FIG. 6, a flow 600 of yet another embodiment of a method for displaying display information for an application is shown. The process 600 of the method for displaying display information of an application includes the steps of:
step 601, receiving an access request for display information of an application.
In this embodiment, an electronic device (e.g., a smartphone, a smart wearable device, a tablet computer, etc.) on which the method for displaying display information of an application runs may receive an access request for the display information of the application without a network connection. Here, the applications may be different classes of applications, such as a social class application, a game class application, an instant messaging class application, a financing class application, and the like. The application may be an application preset by the system (e.g., a setup application, a phone call, a short message, etc.), or may be a third-party application (e.g., a financing application, a social application, etc.).
Step 602, detecting whether the access request includes a modification request for the display information.
In this embodiment, after receiving the access request, the electronic device may detect whether the access request includes a modification instruction to determine whether the access request includes a modification request. If the access request is not detected, the electronic device may perform step 603.
Step 603, in response to not detecting the modification request, determining whether the original display information of the application is encapsulated.
In this embodiment, in response to not detecting the modification request, the electronic device may further determine whether the original display information of the application is encapsulated. If the original display information is not encapsulated, the electronic device can display the original display information of the application; if the original display information is encapsulated, the electronic device may perform step 104. Here, the packaged original display information may have a flag corresponding thereto for indicating that the original display information is packaged, and the electronic device may determine whether the original display information of the application is packaged by determining whether the original display information of the application has the flag corresponding thereto. The above-mentioned identification may be represented by letters such as "a", "a"; and may also be represented by a number, such as "1" or the like.
Step 604, displaying the preset display information of the application in response to the original display information being encapsulated.
In this embodiment, in response to the determination result of step 603 being that the original display information is encapsulated, the electronic device may present the preset display information of the application to the user who sent the access request. Here, the preset display information may be display information preset by a user, such as a display icon, a display name, and the like of the application preset by the user.
Step 605, receive unpack operation.
In this embodiment, after the original display information is encapsulated, the electronic device may further provide an option of decapsulating the original display information to a user. When the user selects the option of decapsulating the original display information, the electronic device may receive an decapsulation operation.
Step 606, unpack the original display information.
In this embodiment, after receiving the decapsulation operation, the electronic device may first detect whether the decapsulation operation is a preset decapsulation operation, and if so, the electronic device may decapsulate the original display information by removing the encAN _ SNsulation identifier of the original display information.
Step 607, in response to the original display information being unpacked, displaying the original display information.
In this embodiment, in response to the original display information being unpacked, the electronic device may present the original display information.
In some optional implementations of this embodiment, if the original display information is unpackaged, the electronic device may present the original display information no matter how the user accesses the display information of the application (e.g., through a third-party application or a system preset application).
In some optional implementation manners of this embodiment, if the original display information is unpacked, the electronic device presents the original display information after being restarted.
In the method provided by the above embodiment of the present application, a decapsulation entry is provided for a user after encapsulating the original display information of the application, so that the user can send a decapsulation operation instruction to the electronic device at any time, and after the electronic device decapsulates the original display information of the application, the original display information of the application can be presented to the user.
With further reference to fig. 7, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of an apparatus for displaying display information of an application, which corresponds to the method embodiment shown in fig. 1, and which is particularly applicable to various electronic devices.
As shown in fig. 7, an apparatus 700 for displaying display information of an application according to the present embodiment includes: a first receiving unit 701, a detecting unit 702, a first judging unit 703 and a first display unit 704. The first receiving unit 701 is configured to receive an access request for display information of an application; a detecting unit 702, configured to detect whether the access request includes a modification request for the display information; a first determining unit 703 configured to determine, in response to not detecting the modification request, whether the original display information of the application is encapsulated; a first display unit 704 configured to display the preset display information of the application in response to the original display information being encapsulated.
In this embodiment, specific processes of the first receiving unit 701, the detecting unit 702, the first determining unit 703 and the first displaying unit 704 of the apparatus 700 for displaying display information of an application and technical effects brought thereby may refer to the related descriptions of step 101, step 102, step 103 and step 104 in the corresponding embodiment of fig. 1, which are not repeated herein.
In some optional implementations of this embodiment, the apparatus may include: a second determining unit (not shown in the figure) configured to determine whether the original display information is encapsulated in response to detecting the modification request; a first processing unit (not shown in the figure) configured to pack the original display information, set the preset display information, and display the preset display information in response to the original display information not being packed.
In some optional implementations of this embodiment, the apparatus may include: a second processing unit (not shown) configured to reset the preset display information and display the preset display information in response to the original display information being encapsulated.
In some optional implementations of this embodiment, the first processing unit (not shown in the figure) may include: an option presenting subunit (not shown in the figure), configured to present options for setting the preset display information; and a setting subunit (not shown in the figure) configured to set the preset display information according to a user selection operation on the option.
In some optional implementations of this embodiment, the display information may include a display icon, and the setting subunit may include: a preset display icon setting module (not shown in the figure) configured to select a target picture from a local picture library or call a camera to shoot the target picture, obtain a target icon based on the target picture, and set the target icon as the preset display icon; and/or the display information may include a display name, and the setting subunit may include: and a preset display name setting module (not shown in the figure) configured to set the text input by the user as the preset display name.
In some optional implementation manners of this embodiment, the preset display icon setting module may be further configured to: and editing the target picture, and taking the edited target picture as a target icon.
In some optional implementations of this embodiment, the apparatus may further include: a second receiving unit (not shown in the figure) configured to receive a decapsulation operation; a release unit (not shown) configured to release the encapsulation of the original display information; and a second display unit (not shown) configured to display the original display information in response to the original display information being unpacked.
Referring now to FIG. 8, shown is a block diagram of a computer system 800 suitable for use in implementing a terminal device of an embodiment of the present application.
As shown in fig. 8, a computer system 800 includes a Central Processing Unit (CPU)801 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for the operation of the system 800 are also stored. The CPU 801, ROM802, and RAM 803 are connected to each other via a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard and the like; an output portion 807 including a Liquid Crystal Display (LCD) and the like and a speaker and the like; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program performs the above-described functions defined in the method of the present application when executed by the Central Processing Unit (CPU) 801.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a first receiving unit, a detecting unit, a first judging unit, and a first display unit. Where the names of the units do not in some cases constitute a limitation on the units themselves, for example, the first receiving unit may also be described as "the first receiving unit that receives an access request for display information of an application".
As another aspect, the present application also provides a non-volatile computer storage medium, which may be the non-volatile computer storage medium included in the apparatus in the above-described embodiments; or it may be a non-volatile computer storage medium that exists separately and is not incorporated into the terminal. The non-transitory computer storage medium stores one or more programs that, when executed by a device, cause the device to: receiving an access request for display information of an application; detecting whether the access request contains a modification request for the display information; in response to not detecting the modification request, judging whether the original display information of the application is packaged or not; and displaying the preset display information of the application in response to the packaged original display information.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention as referred to in the present application is not limited to the embodiments with a specific combination of the above-mentioned features, but also covers other embodiments with any combination of the above-mentioned features or their equivalents without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (12)

1. A method for displaying display information for an application, the method comprising:
receiving an access request for display information of an application;
detecting whether the access request contains a modification request for the display information;
in response to the modification request is not detected, judging whether the original display information of the application is packaged or not, wherein the packaging of the original display information of the application is performed on an API layer of an operating system, and the packaging of the original display information of the application is triggered when the display information of the application is modified for the first time; responding to the packaged original display information, and displaying preset display information of the application, wherein the preset display information comprises display information preset by a user;
the method comprises the following steps:
in response to detecting the modification request, determining whether the original display information is encapsulated; and responding to the original display information which is not packaged, packaging the original display information, setting the preset display information according to the modification request and displaying the preset display information.
2. The method according to claim 1, characterized in that it comprises:
resetting the preset display information and displaying the preset display information in response to the original display information being packaged.
3. The method of claim 1, wherein the setting the preset display information comprises:
presenting options for setting the preset display information;
and setting the preset display information according to the selection operation of the user on the option.
4. The method of claim 3,
the display information comprises display icons, and the setting of the preset display information according to the selection operation of the user on the options comprises the following steps: selecting a target picture from a local picture library or calling a camera to shoot the target picture, obtaining a target icon based on the target picture, and setting the target icon as the preset display icon; and/or
The display information comprises a display name, and the setting of the display information according to the selection operation of the user on the option comprises the following steps: and setting the text input by the user as the preset display name.
5. The method of claim 4, wherein obtaining the target icon based on the target picture comprises:
and editing the target picture, and taking the edited target picture as a target icon.
6. The method of claim 1, further comprising:
receiving a decapsulation operation;
unpacking the original display information;
in response to de-encapsulating the original display information, displaying the original display information.
7. An apparatus for displaying display information for an application, the apparatus comprising:
a first receiving unit configured to receive an access request for display information of an application;
the detection unit is used for detecting whether the access request contains a modification request of the display information;
a first determining unit, configured to determine, in response to not detecting the modification request, whether the original display information of the application is encapsulated, where the encapsulation of the original display information of the application is performed in an API layer of an operating system, and the encapsulation of the original display information of the application is triggered when the display information of the application is modified for the first time;
a first display unit configured to display preset display information of the application in response to the original display information being encapsulated, wherein the preset display information includes display information preset by a user;
the device further comprises:
a second determining unit configured to determine whether the original display information is encapsulated in response to detecting the modification request;
and the first processing unit is configured to respond to that the original display information is not packaged, package the original display information, set the preset display information according to the modification request and display the preset display information.
8. The apparatus of claim 7, wherein the apparatus comprises:
a second processing unit configured to reset the preset display information and display the preset display information in response to the original display information being encapsulated.
9. The apparatus of claim 7, wherein the first processing unit comprises:
the option presentation subunit is configured to present options for setting the preset display information;
and the setting subunit is configured to set the preset display information according to the selection operation of the user on the option.
10. The apparatus of claim 9,
the display information includes a display icon, and the setting subunit includes: the preset display icon setting module is configured to select a target picture from a local picture library or call a camera to shoot the target picture, obtain a target icon based on the target picture, and set the target icon as the preset display icon; and/or
The display information includes a display name, and the setting subunit includes: and the preset display name setting module is configured to set the text input by the user as the preset display name.
11. The apparatus of claim 10, wherein the preset display icon setting module is further configured to:
and editing the target picture, and taking the edited target picture as a target icon.
12. The apparatus of claim 7, further comprising:
a second receiving unit configured to receive a decapsulation operation;
a removing unit configured to remove the encapsulation of the original display information;
a second display unit configured to display the original display information in response to the original display information having been unpacked.
CN201610885360.3A 2016-10-11 2016-10-11 Method and apparatus for displaying display information of application Active CN106648598B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610885360.3A CN106648598B (en) 2016-10-11 2016-10-11 Method and apparatus for displaying display information of application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610885360.3A CN106648598B (en) 2016-10-11 2016-10-11 Method and apparatus for displaying display information of application

Publications (2)

Publication Number Publication Date
CN106648598A CN106648598A (en) 2017-05-10
CN106648598B true CN106648598B (en) 2020-10-09

Family

ID=58854829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610885360.3A Active CN106648598B (en) 2016-10-11 2016-10-11 Method and apparatus for displaying display information of application

Country Status (1)

Country Link
CN (1) CN106648598B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107704306A (en) * 2017-10-31 2018-02-16 北京小米移动软件有限公司 Note display method and device
CN113050853A (en) * 2019-12-27 2021-06-29 中兴通讯股份有限公司 Interface display method and device, storage medium and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324388A (en) * 2013-05-30 2013-09-25 北京小米科技有限责任公司 Method and device for modifying shortcut icon
CN105549810A (en) * 2015-10-28 2016-05-04 东莞酷派软件技术有限公司 Application icon processing method and device, and terminal
CN105893015A (en) * 2015-12-09 2016-08-24 乐视致新电子科技(天津)有限公司 Method and device for revising application program icon on mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140189596A1 (en) * 2012-12-27 2014-07-03 Kabushiki Kaisha Toshiba Information processing apparatus, screen control program and screen control method
KR102109111B1 (en) * 2013-02-21 2020-05-11 삼성전자주식회사 Method for inputting for character in flexible display an electronic device thereof
CN104182123A (en) * 2014-08-25 2014-12-03 联想(北京)有限公司 Method for processing information and electronic device
CN104915268A (en) * 2015-06-24 2015-09-16 上海海漾软件技术有限公司 Desktop layout storage and recovery method and device thereof, terminal equipment and system
CN105843514B (en) * 2016-04-22 2019-05-14 Oppo广东移动通信有限公司 The application program launching method and device of mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324388A (en) * 2013-05-30 2013-09-25 北京小米科技有限责任公司 Method and device for modifying shortcut icon
CN105549810A (en) * 2015-10-28 2016-05-04 东莞酷派软件技术有限公司 Application icon processing method and device, and terminal
CN105893015A (en) * 2015-12-09 2016-08-24 乐视致新电子科技(天津)有限公司 Method and device for revising application program icon on mobile terminal

Also Published As

Publication number Publication date
CN106648598A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
US10852912B2 (en) Image creation app in messaging app
CN104869305B (en) Method and apparatus for processing image data
CN111756917B (en) Information interaction method, electronic device and computer readable medium
CN114006718A (en) Verification code obtaining method, device and terminal
TWI516972B (en) Method for applying safety verification, applying server, applying client and system
US10235030B2 (en) Electronic device and user interface display method for the same
CN110007936B (en) Data processing method and device
CN112653670A (en) Service logic vulnerability detection method, device, storage medium and terminal
WO2022253158A1 (en) User privacy protection method and apparatus
CN106648598B (en) Method and apparatus for displaying display information of application
CN115344835A (en) Picture processing method, storage medium and computer terminal
CN106874718B (en) Privacy processing method and device and terminal
US20170186052A1 (en) Electronic apparatus and control method thereof
CN105653320B (en) Display method and device for loading icons
KR20150045721A (en) Method for controlling content and an electronic device
CN115017495B (en) Timing verification method, electronic device, and readable storage medium
US20240095408A1 (en) Data protection method and system, medium, and electronic device
CN108469991B (en) Multimedia data processing method and device
CN114035870A (en) Terminal device, application resource control method and storage medium
WO2020064000A1 (en) Method and apparatus for displaying message box, terminal and storage medium
CN110262856B (en) Application program data acquisition method, device, terminal and storage medium
CN113506090A (en) Audit data processing method and device, storage medium and electronic equipment
CN109062645B (en) Method and apparatus for processing information for terminal
KR101371958B1 (en) Apparatus for displaying callback information and method for operating of thereof
CN114554283B (en) Target object display method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant