Display position control method and related product

By setting switch controls on the display screen of electronic devices, users can control the opening or closing of the display position. Combined with resident cards and capsule services, the problem of inconvenient operation of display information in the prior art is solved, and more efficient information display management is achieved.

CN120335901APending Publication Date: 2025-07-18HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410040980.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-10
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

In the prior art, electronic devices lack effective position management methods when displaying information, resulting in inconvenience of user operation and difficulty in meeting the user's information display needs in different display locations.

Method used

By setting switch controls on the display screen of the electronic device, users can control the opening or closing of the display position according to their needs. The electronic device manages the position and method of displaying information in response to user operations, and combines resident services such as resident cards and capsules for display.

Benefits of technology

It improves the convenience of user operations, meets the user's information display needs in different placements, and improves the convenience and efficiency of information review.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120335901A_ABST
    Figure CN120335901A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of terminals, in particular to a display position control method and a related product. The display position control method comprises the following steps: displaying an application interface on a display screen of the electronic equipment; the application interface comprises one or more switch controls, and one switch control is associated with at least one display position; in response to an operation instruction for the one or more switch controls, setting the state of the display position associated with the one or more switch controls to be opened or closed; and displaying the display information at the displayed display position under the condition that the display information needs to be displayed and the state of the display position displayed by the display screen is open. By adopting the display position control method, the electronic equipment manages at least one display position based on one operation instruction and performs association management on the display position of the display information, so that the requirements of a user for using the electronic equipment and looking up the information can be better met, and the operation convenience of the user can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This solution relates to the technical field of terminals, and particularly to a method for controlling a display position and related products. Background Art

[0002] A user opens one or more application programs included in an electronic device such as a mobile phone or a tablet, and triggers a service included in the application program. The electronic device displays display information of the triggered service to the user through a user interface. For example, when the user opens a food delivery application program and triggers the service of confirming an order, the electronic device displays the service progress of the order confirmation service to the user through the user interface. Displaying the display information of the application to the user is a conventional function of the electronic device. However, managing the display position of the display information by the electronic device to better meet the user's needs for using the electronic device and accessing information, and improving the convenience of user operations, is a direction that needs to be continuously researched and developed in the technical field of terminals. Summary of the Invention

[0003] Embodiments of the present application provide a method for controlling a display position and related products. Among them, the related products include an electronic device, a chip, a computer-readable storage medium, and a computer program product.

[0004] In a first aspect, embodiments of the present application provide a method for controlling a display position. The method for controlling a display position includes: displaying an application interface on a display screen of an electronic device; the application interface includes one or more switch controls, and one switch control is associated with at least one display position; in response to an operation instruction for one or more switch controls, setting the state of the display position associated with the one or more switch controls to on or off; when there is display information to be displayed and the state of the display position displayed on the display screen is on, displaying the display information at the displayed display position.

[0005] Implementing the method provided in the first aspect, the display position refers to a position on the page displayed on the display screen of the electronic device that can be used to display the display information of the application. For example, in pages such as the desktop, the negative first screen, the notification center, and the lock screen of the electronic device, there are corresponding display positions for displaying the display information. The display position is usually combined with resident services such as resident cards and resident capsules of the electronic device as a display method for displaying the display information. For example, displaying the display information of the application in the form of a card at the desktop display position corresponds to the display method of the desktop card; displaying the display information of the application in the form of a capsule at the screen-off display position corresponds to the display method of the screen-off capsule; and so on.

[0006] Users can, according to their usage requirements for the electronic device, make the electronic device display the display information of the application in the corresponding display manner at each display position, or make the electronic device not display the display information of the application at each display position. If it is necessary to control each display position of the electronic device to display or not display the display information one by one, there will be inconvenience. In the embodiment of the present application, when the user touches the set icon displayed on the display screen of the electronic device, the display screen of the electronic device displays the set application interface. The application interface includes one or more switch controls. Among them, one switch control is associated with at least one display position, that is, the opening or closing of one switch control can trigger the electronic device to control at least one display position to display or not display the display information. Based on this, according to the usage requirements, when the user touches a certain switch control in the application interface, the electronic device can respond to the operation instruction of the user for this switch control and control at least one display position associated with this switch control to display or not display the display information.

[0007] Specifically, when the user touches one or more switch controls in the application interface displayed on the display screen, the electronic device receives the operation instructions for the one or more switch controls. If the original state of the switch control is off, in response to the current operation instruction, the electronic device sets the state of the switch control to on. Correspondingly, the state of at least one display position associated with this switch control is set to on, so that at least one display position associated with this switch control displays the display information when the display condition is met. If the original state of the switch control is on, in response to the current operation instruction, the electronic device sets the state of the switch control to off. Correspondingly, the state of at least one display position associated with this switch control is set to off, so that at least one display position associated with this switch control does not display the display information.

[0008] It should be noted that when the user touches multiple switch controls, the electronic device responds to the operation instructions for the multiple switch controls, which can be understood as the electronic device responding to the operation instructions for each of the multiple switch controls respectively. That is, the switch controls do not affect each other, and the electronic device responds to the operation instructions for each switch control respectively, sets the state of each switch control, and correspondingly sets the state of the display position associated with each switch control.

[0009] When the application of the electronic device is started and the service of the application is triggered, etc., the electronic device needs to display the display information of the application to the user. When there is display information to be displayed and the state of the display position in the page displayed on the display screen is on, it indicates that this display position with the state set to on meets the display condition, and the electronic device controls the display information of the application to be displayed at this display position displayed on the display screen. Among them, the display condition is that there is display information to be displayed and the display screen currently displays this display position.

[0010] Exemplarily, when there is display information to be displayed and the state of the display position in the page displayed on the display screen is closed, it indicates that this display position has been controlled by the electronic device not to display the display information under the user's operation. Even if there is display information to be displayed, this display position will not display the display information.

[0011] By using the control method of the display position provided in the embodiments of the present application, the electronic device responds to the operation instruction for the switch control, and manages at least one display position associated with the switch control according to the switch control touched by the user. Furthermore, the electronic device manages at least one display mode corresponding to at least one display position based on the switch control. The electronic device's associated management of the display position and display mode of the display information can better meet the user's needs for using the electronic device and viewing information, and can improve the convenience of user operation.

[0012] Combined with the first aspect, in some embodiments, when there is display information to be displayed and the state of the display position displayed on the display screen is on, then the display information is displayed at the displayed display position, including: when the display screen is displayed at the display position, there is display information to be displayed and it is confirmed that the state of the display position is on, then the display information is displayed at the displayed display position; or when the display screen is displayed at the display position after screen switching, there is display information to be displayed and it is confirmed that the state of the display position is on, then the display information is displayed at the displayed display position.

[0013] As described above, the electronic device sets the state of at least one display position associated with the switch control to on, so that at least one display position associated with this switch control displays the display information when the display condition is met. That is, when the state of the display position is on, if the display condition can be met, the electronic device will display the display information of the application at the display position.

[0014] First, there must be display information to be displayed before there can be a display of the display information. This is one of the display conditions. Second, the electronic device needs to display the display position through the display screen in order to display the display information to the user. This is another display condition. Among them, displaying the display position through the display screen may be that the current display screen is currently displaying this display position; it may also be that the current display screen is currently displaying other pages and other display positions, and after the user's operation, the display screen is switched and then displayed at this display position; it may also be that the current display screen is currently displaying this display position, and after the user's operation, the display screen is switched multiple times and then redisplayed at this display position. The above three situations can all meet the display condition of displaying the display position through the display screen, and the embodiments of the present application are not limited to any one of the situations.

[0015] When the status of setting the display position is enabled, whether the display screen is displayed at the display position or is displayed at the display position only after the display screen is switched, if there is display information to be displayed, the electronic device will display the display information at the display position. After the electronic device associates and manages at least one display position in response to an operation instruction for a switch control, the display screen switching does not affect the display of the display information of the application at the display position with the status of being enabled. The electronic device has stability in the associated management of the display position.

[0016] Exemplarily, the electronic device sets the status of at least one display position associated with the switch control to be off, so that the at least one display position associated with the switch control does not display the display information. In this case, even if there is display information to be displayed, whether the display screen is displayed at the display position with the status of being off or is displayed at this display position with the status of being off only after the display screen is switched, the electronic device does not display the display information at this display position.

[0017] Combined with the first aspect, in some embodiments, displaying the display information at the displayed display position includes: displaying the display information in the form of a resident service at the displayed display position.

[0018] A resident service refers to display elements such as resident capsules and resident cards that are resident in an electronic device and can be used to display display information. Resident capsules, resident cards and other resident services have the function of displaying the display information of an application and occupy little space. By displaying the display information in the form of a resident service at the display position displayed on the display screen, the electronic device can not only enable users to conveniently view the display information of the application, but also avoid affecting the users from obtaining more other information through the page displayed on the display screen.

[0019] As previously discussed, the display position is usually combined with resident services such as resident cards and resident capsules of the electronic device as a display method for displaying display information. When there is display information to be displayed and the status of the display position displayed on the display screen is enabled, the electronic device will display the display information in the form of a resident service at the displayed display position. That is to say, the electronic device will display the display information in the display method corresponding to this display position at the displayed display position.

[0020] The display position corresponds to the display method one by one. The electronic device manages at least one display position associated with the switch control according to the switch control touched by the user. It can be understood that the electronic device manages at least one display method corresponding to at least one display position based on the switch control touched by the user. That is to say, the electronic device's associated management of the display position of the display information is also the associated management of the display method of the display information.

[0021] In combination with the first aspect, in some embodiments, after display information is displayed in the form of a resident service at the displayed display location, the control method of the display location also includes: closing the resident service in response to a close instruction for the displayed resident service; when the display screen is switched to the display location again after being switched, the display information is not displayed; or closing the resident service in response to a close instruction for the displayed resident service, and when the display screen is switched to a preset display location associated with the display location where the closed resident service is located, the display information is not displayed; or closing the resident service in response to a close instruction for the displayed resident service, and when there is new display information that meets the display rules, using the resident service to display new display information at the displayed display location.

[0022] If the user has no need to display display information on a certain page displayed on the display screen of the electronic device, the user can manually close the resident service for displaying display information at the display location displayed on the display screen. Specifically, the user performs long press, sliding, and other closing actions on the resident services such as cards or capsules at the display location displayed on the display screen of the electronic device to close the resident services at the displayed display location. Closing here refers to deleting, removing, and the like. After receiving a closing instruction for the resident service at the display location displayed on the display screen, the electronic device controls the displayed resident service to close in response to the closing instruction. After the resident service at the displayed display location is closed, when the display screen is switched and then switched to this display location again, the resident service is not displayed at the display location, and the electronic device does not display display information at the display location.

[0023] In response to the shutdown command, the displayed resident service is closed, and the resident service is not displayed after the display screen is switched, which effectively meets the user's usage needs. The user can operate according to personal wishes, and the electronic device accurately executes the user's instructions, which is conducive to improving the user's usage experience.

[0024] Exemplarily, if the user has no need to display display information on multiple pages displayed on the display screen of the electronic device or that may be displayed after screen switching, the user can close the resident services for displaying display information at multiple display positions displayed on the display screen or that may be displayed after screen switching one by one. However, it is also inconvenient for the user to switch the display screen one by one and close the resident services displayed on the display screen one by one. In the embodiments of the present application, each display position is associated with at least one display position. In other words, closing the resident service of one display position can trigger the electronic device to control the closing of the resident services of at least one display position. The electronic device responds to the closing instruction to close the resident services of at least one display position associated with the display position where the resident service displayed on the display screen is located. After the resident services of at least one display position associated with the displayed display position are all closed, when at least one display position associated with the screen switching of the display screen is displayed, the resident services corresponding to at least one display position are not displayed, and the electronic device does not display display information at at least one display position.

[0025] Among them, factors such as the similarity of the user's demand degree for display information at each display position and the general habits of the user using the electronic device can be considered, and the display positions with common properties can be associated together. The embodiments of the present application do not limit the specific association relationship.

[0026] In response to the closing instruction for the resident service of the display position displayed on the display screen, close the resident services of at least one display position associated with this displayed display position, so that at least one display position does not display display information. The electronic device manages at least one display position based on one closing instruction, and performs associated management on the display positions of the display information, which can better meet the user's needs for using the electronic device and accessing information, can avoid the user's cumbersome and multiple operations, and can improve the convenience of the user's operation.

[0027] Exemplarily, after the electronic device closes the persistent service in response to a close instruction for the displayed persistent service, when there is new display information that meets the display rules, the electronic device resumes displaying the originally closed persistent service at the displayed display position, and the resumed displayed persistent service displays the new display information. Among them, the display rules include that important nodes occur in the business of the triggered application and the application has new display requirements. The important nodes of each business are configured according to the business, and there may also be differences in the important nodes of each business. For example, in the call driver to pick up the order service of the taxi application, the moment of successful call and the driver's acceptance of the order can be configured as an important node, or the expected duration from the current moment to the expected arrival time of the driver being an integer number of minutes can be configured as an important node. If the display information displayed in the persistent service is that the driver is being called to pick up the order and the persistent service is closed, then when the service progress of the business is updated to successful call and the driver accepts the order, an important node occurs in the business and the taxi application has new display requirements. At this time, when the display position corresponding to the closed persistent service is displayed on the display screen, the originally closed persistent service resumes display, and the displayed display information is successful call and the driver accepts the order.

[0028] Among them, the display rules can be set according to actual needs, and the embodiments of the present application do not uniquely limit the content of the display rules.

[0029] After closing the displayed persistent service in response to the close instruction, when there is new display information that meets the display rules, the electronic device causes the closed persistent service to resume display and display the new display information, which is beneficial for users to timely check and know new display information such as the business service progress of the application, and avoid users missing important information.

[0030] In a second aspect, the embodiments of the present application further provide a method for controlling a display position. The method for controlling a display position includes: receiving switch control information through an application interface, where the switch control information includes the states of one or more switch controls being on or off; one switch control is associated with at least one display position; setting the states of the display positions associated with one or more switch controls to on or off according to the states of the one or more switch controls being on or off; and when there is display information that needs to be displayed and the state of the display position displayed on the display screen of the electronic device is on, controlling the electronic device to display the display information at the displayed display position.

[0031] Implementing the method provided in the second aspect, as described above, the display position refers to the position on the page displayed on the display screen of the electronic device that can be used to display the display information of the application. The display position is usually combined with persistent services such as persistent cards and persistent capsules of the electronic device as a display method for displaying display information.

[0032] In an embodiment of the present application, when a user touches an icon set on the display screen of an electronic device, the display screen of the electronic device displays a set application interface. The application interface includes one or more switch controls. Among them, one switch control is associated with at least one display position, that is, the turning on or off of one switch control can trigger the display controller to control the electronic device to display or not display display information at at least one display position. Based on this, according to the usage requirements, the user touches a certain switch control in the application interface, and the display controller receives the switch control information through the application interface. And according to the switch control information, the electronic device is controlled to display or not display display information at at least one display position associated with this switch control.

[0033] Among them, the switch control information includes that the states of one or more switch controls are on or off, that is, it includes which one or more switch controls the user touches and the state change of each switch control after touching is on or off.

[0034] Specifically, if the state of the touched switch control is on, correspondingly, the display controller sets the states of at least one display position associated with this switch control to on, so that at least one display position associated with this switch control displays display information when the display condition is met. If the state of the touched switch control is off, correspondingly, the states of at least one display position associated with this switch control are set to off, so that at least one display position associated with this switch control does not display display information.

[0035] It should be noted that when the user touches multiple switch controls, each switch control does not affect each other, and the display controller sets the states of the display positions associated with each switch control according to the states of each switch control.

[0036] When there is display information to be displayed and the state of the display position in the page displayed on the display screen is on, it indicates that this display position with the state set to on meets the display condition, and the display controller controls the electronic device to display the display information at this display position displayed on the display screen. Among them, the display condition is that there is display information to be displayed and the display screen currently displays this display position.

[0037] Exemplarily, when there is display information to be displayed and the state of the display position in the page displayed on the display screen is off, it indicates that this display position has been controlled by the display controller not to display display information under the operation of the user.

[0038] By using the display position control method provided in the embodiments of the present application, the display controller manages at least one display position associated with the switch control according to the switch control touched by the user and the on or off state after the switch control is touched. Furthermore, the display controller manages at least one display mode corresponding to at least one display position based on the switch control. The display controller's associated management of the display position and display mode of the display information can better meet the user's needs for using the electronic device and accessing information, and can improve the convenience of user operations.

[0039] In combination with the second aspect, in some embodiments, controlling the electronic device to display the display information at the displayed display position includes: controlling the electronic device to display the display information in the form of a persistent service at the displayed display position.

[0040] As discussed above, a persistent service refers to a display element such as a persistent capsule or a persistent card that is resident in the electronic device and can be used to display the display information. The display controller controls the electronic device to display the display information in the form of a persistent service at the display position displayed on the display screen, which can not only enable the user to conveniently access the display information of the application, but also avoid affecting the user's access to more other information through the page displayed on the display screen.

[0041] In combination with the second aspect, in some embodiments, controlling the electronic device to display the display information in the form of a persistent service at the displayed display position includes: sending a display instruction to the system interface of the electronic device; the display instruction is used to instruct the system interface to control the persistent service to be displayed at the displayed display position, and the persistent service includes the display information.

[0042] The display controller sends a display instruction to the system interface of the electronic device, so that the system interface controls the persistent service for displaying the display information of the application to be displayed at the display position displayed on the display screen of the electronic device. By enabling the system interface to control the persistent service to be displayed at the display position, the electronic device is controlled to display the display information through the persistent service at the display position.

[0043] In combination with the second aspect, in some embodiments, after controlling the electronic device to display the display information in the form of a persistent service at the displayed display position, the display position control method further includes: receiving display closing information from the system interface of the electronic device; the display closing information includes the display position where the persistent service to be closed is located; controlling the electronic device to close the persistent service at the display position; when the display screen is switched again to the display position after the screen is switched, the display information is not displayed; or, when the display screen is switched to a preset display position associated with the display position where the closed persistent service is located, the display information is not displayed.

[0044] Exemplarily, a user performs operations such as long pressing and sliding on a resident service such as a card or capsule of a display location displayed on a display screen of an electronic device to close the resident service of the displayed display location. The system interface that controls the display or non-display of the resident service sends a display closing message including the display location where the resident service to be closed is located to the display controller. After receiving the display closing message, the display controller controls the electronic device to close the resident service of the display location. When the resident service of the displayed display location is closed, when the display screen is switched to the display location again after switching the screen, the resident service is not displayed at the display location.

[0045] Based on the user turning off the resident service displayed on the electronic device, the display controller controls the electronic device to turn off the displayed resident service, and the display screen does not display the resident service after the screen is switched, which effectively meets the user's usage needs. The user can operate according to his or her personal wishes, and the display controller controls the electronic device to accurately execute the user's instructions, which is conducive to improving the user's usage experience.

[0046] Exemplarily, each display location is associated with at least one display location. In other words, the resident service of a display location is turned off, which can trigger the display controller to control the electronic device to turn off the resident service of at least one display location. After receiving the display closing information, the display controller controls the electronic device to turn off the display location where the resident service displayed on the display screen is located, and the resident service of at least one display location associated with it. In the case that the resident services of at least one display location associated with the displayed display location are all turned off, when the display screen switches to display the associated at least one display location, the resident services corresponding to the at least one display location are not displayed.

[0047] Based on the user turning off the resident service displayed on the electronic device, the display controller controls the electronic device to turn off the resident service of at least one display location associated with the displayed display location, so that at least one display location does not display display information. The display controller manages at least one display location based on a closing operation of the user, and performs associated management of the display locations of display information, which can better meet the user's needs for using the electronic device and viewing information, can avoid the user's tedious and multiple operations, and can improve the convenience of user operation.

[0048] In combination with the second aspect, in some embodiments, after controlling the electronic device to display the display information in the form of a resident service at the displayed display position, the control method of the display position further includes: receiving display closing information from the system interface of the electronic device; the display closing information includes the display position where the resident service to be closed is located; controlling the electronic device to close the resident service at the display position; in the case that new display information meets the display rules, sending a display restoration instruction to the system interface; the display restoration instruction is used to instruct the system interface to control the resident service to be displayed at the display position, and the displayed resident service includes the new display information.

[0049] After receiving the display closing information, the display controller controls the electronic device to close the resident service at the display position. In the case that new display information meets the display rules, the display controller controls the electronic device to restore the display of the closed resident service at the displayed display position, and the restored displayed resident service displays the new display information. This is beneficial for the user to timely check and be aware of new display information such as the business service progress of the application, and avoid the user missing important information. Among them, the display rules include that an important node appears in the business of the triggered application, and the application has new display requirements. The important nodes of each business are configured according to the business, and there may also be differences in the important nodes of each business. The display rules can be set according to actual needs, and the embodiments of the present application do not uniquely limit the content of the display rules.

[0050] In combination with the second aspect, in some embodiments, controlling the electronic device to close the resident service at the display position includes: sending a display closing instruction to the system interface of the electronic device; the display closing instruction is used to instruct the system interface to control the resident service at the display position to close.

[0051] The display controller sends a display closing instruction to the system interface of the electronic device, so that the system interface controls the resident service for displaying the display information of the application to stop displaying at the display position displayed on the display screen of the electronic device. By enabling the system interface to control the resident service to stop displaying at the display position, the control of the electronic device to close the resident service at the display position is realized.

[0052] In a third aspect, an embodiment of the present application further provides an electronic device, the electronic device includes: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute the method in the first aspect or any possible implementation manner of the first aspect, or execute the method in the second aspect or any possible implementation manner of the second aspect.

[0053] Fourthly, an embodiment of the present application further provides a chip, which is applied to an electronic device. The chip includes one or more processors, and the processors are used to call computer instructions to enable the electronic device to execute the method in the first aspect or any possible implementation manner of the first aspect, or execute the method in the second aspect or any possible implementation manner of the second aspect.

[0054] Fifthly, an embodiment of the present application further provides a computer-readable storage medium, including instructions. When the above instructions run on an electronic device, the electronic device is enabled to execute the method in the first aspect or any possible implementation manner of the first aspect, or execute the method in the second aspect or any possible implementation manner of the second aspect.

[0055] Sixthly, an embodiment of the present application further provides a computer program product. When the above computer program product runs on an electronic device, the electronic device is enabled to execute the method in the first aspect or any possible implementation manner of the first aspect, or execute the method in the second aspect or any possible implementation manner of the second aspect.

[0056] It can be understood that the electronic device provided in the above third aspect, the chip provided in the fourth aspect, the computer-readable storage medium provided in the fifth aspect, and the computer program product provided in the sixth aspect are all used to execute the display position control method provided by the embodiments of the present application. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, which will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to clearly illustrate the technical solutions in the embodiments of the present application, the following introduces the drawings required to be used in the embodiments.

[0058] Figures 1 to 2 are schematic diagrams of the user interfaces of some electronic devices provided by the embodiments of the present application;

[0059] Figure 3 is a hardware structure block diagram of an electronic device provided by the embodiments of the present application;

[0060] Figure 4 is a software structure block diagram of an electronic device provided by the embodiments of the present application;

[0061] Figure 5 is a flowchart of a display position control method provided by the embodiments of the present application;

[0062] Figures 6 to 8 are schematic diagrams of the user interfaces of some electronic devices provided by the embodiments of the present application;

[0063] Figure 9It is a structural block diagram of a display position control device provided by an embodiment of the present application. Detailed implementation manners

[0064] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments and are not intended to limit the embodiments of the present application. As used in the specification and appended claims of the embodiments of the present application, the singular forms "a", "an", "the", "above-mentioned", "said", and "this" are also intended to include the plural forms unless clearly indicated to the contrary in the context. It should also be understood that the term "and / or" used in the embodiments of the present application refers to and includes any or all possible combinations of one or more of the listed items.

[0065] The embodiments of the present application provide a method for controlling a display position, and an electronic device executes the method for controlling a display position in the embodiments of the present application. In the embodiments of the present application, the electronic device refers to a terminal device such as a mobile phone or a tablet. For ease of understanding, the relevant terms involved in the embodiments of the present application will be introduced below.

[0066] (1) Entrance

[0067] Literally, an "entrance" can be understood as an entrance to enter the corresponding service of an application program and understand display information such as service information. Based on this, an "entrance" can be extended to be understood as the position where the display information of the application program is displayed, that is, the display position of the display information. In the embodiments of the present application, electronic devices such as mobile phones and tablets are provided with a desktop entrance, a negative first screen entrance, a screen-off entrance, a notification center entrance, a lock screen entrance, a global entrance, etc. The global entrance refers to all display positions that can be used for display. In addition to including the desktop, the negative first screen, the screen-off, the lock screen, and the notification center, it also includes the page of the application program being displayed, etc. Each entrance can be used to display display information such as the service information of the application program. The user can view the service information and other display information of the application program through the entrance corresponding to the page displayed on the user interface of the electronic device. For example, when the user interface displays the home screen page, it is viewed through the desktop entrance; when the user interface displays the negative first screen page, it is viewed through the negative first screen entrance; when the user interface displays the page of the application program, it is viewed through the global entrance.

[0068] (2) Card

[0069] A "card" is a form for an electronic device to display application programs and display information such as business information of the application programs. Displaying the display information in the form of a card at any entry constitutes a display method of the electronic device. According to whether the card is continuously displayed or ends display after the default display duration of the card, the cards can be divided into two categories. Among them, the card that ends display after the default display duration is called a banner card. When the area available for displaying the display information of the application program in the page displayed in the user interface is not sufficient to layout a card, the entry corresponding to the displayed page is combined with the banner card to display the display information. The banner card is displayed above the information already displayed on the page and ends display after the default display duration. It can not only display the display information of the application program but also avoid interfering with the user's access to other information. The global entry is usually combined with the banner card to display the display information of the application program. In the subsequent discussion of the embodiments of this application, the "card" generally refers to the continuously displayed card, and the "banner card" refers to the card that ends display after the default display duration. The resident services described in the embodiments of this application include cards.

[0070] (3) Capsule

[0071] A "capsule" is another form for an electronic device to display application programs and display information such as business information of the application programs. Displaying the display information in the form of a capsule at any entry constitutes a display method of the electronic device. Different from the card, the capsule generally cannot display the display information of the application program in detail and can only display the brief information of the corresponding business. The capsule is generally placed at the top of the user interface of the electronic device in a smaller size, which has less impact on the user's information acquisition and user experience. Based on this, the global entry is usually also combined with the capsule to display the display information of the application program. Specially, the off-screen entry is usually also combined with the capsule to display information. The information displayed on the user interface corresponding to the off-screen entry is less, and the area available for displaying the capsule is larger. The capsule of the off-screen entry does not need to be placed at the top of the user interface. The resident services described in the embodiments of this application also include capsules.

[0072] (4) Global Reach

[0073] Global reach provides an application service for an electronic device, that is, it transmits and displays the display information such as the business information of the application opened by the user at various entrances including the desktop entrance, the negative first screen entrance, the screen-off entrance, the notification center entrance, the lock screen entrance, and the global entrance, so that the user can view the display information such as the business information that he / she wants to know or pay attention to based on each entrance. The display form of the display information is a card and / or a capsule. No matter which one of the desktop, the negative first screen, the screen-off, the standby, the notification center, and the application interface of the application program the user interface displays, the user can view the corresponding display information of each opened application program through the user interface and know the progress of the business service. For example, when the user interface displays the main screen page, it is viewed through the desktop entrance; when the user interface displays the negative first screen page, it is viewed through the negative first screen entrance. The application service of global reach can improve the convenience for the user to view the display information such as the business information of the application program. The user does not need to make the user interface of the electronic device display a specified page to view the display information of the application program, and the application service of global reach can improve the user experience.

[0074] In the embodiments of the present application, considering factors such as the size of the area available for displaying the display information of the application program on the display screen of the electronic device and the visual effect of the user, the display positions of each entrance are combined with the display forms of cards or capsules to form multiple preset display methods for the electronic device. Specifically: the display method of the global capsule is the global entrance combined with the capsule; the display method of the global banner card is the global entrance combined with the banner card; the display method of the notification center card is the notification center entrance combined with the card; the display method of the desktop card is the desktop entrance combined with the card; the display method of the negative first screen card is the negative first screen entrance combined with the card; the display method of the screen-off capsule is the screen-off entrance combined with the capsule; the display method of the lock screen card is the lock screen entrance combined with the card. The above display methods correspond to the entrances. Determining the entrance for display can determine the display method, and determining the display method can also determine the entrance for display.

[0075] In the embodiments of the present application, when the user triggers a service through the application interface of the application program displayed on the display screen or the application program pushes a notification to the user based on the service progress of the business, etc., the application program will be triggered to display the corresponding display information. Among them, the display information may be the business information generated by the user triggering the business of the application program, or the notification information pushed by the application program to the user based on the service progress, important nodes, etc. of the business, or the information that needs to be displayed when other application programs are triggered. Since the specific content of the display information does not affect the implementation of the display position control method in the embodiments of the present application, the embodiments of the present application only take the business information as an example of the display information for discussion. The business information mentioned in the subsequent embodiments refers to the display information of the application program that needs to be displayed, and will not be repeated hereinafter.

[0076] In the embodiments of the present application, as discussed above, the "entrance" is extended to be understood as the position where the display information of the application is shown, that is, the display position of the display information. Therefore, in the embodiments of the present application, the said entrance is the display position, and the display position is the entrance. The two can be replaced and will not be elaborated hereinafter.

[0077] The functions of electronic devices such as mobile phones and tablets are becoming more and more powerful. Users can install various types of application programs on the electronic devices to realize functions such as hailing a taxi, ordering takeout, watching movies, and listening to music through the electronic devices. When the user opens the application program and triggers the business of the application program, and the application program exits the foreground and runs in the background, if the user wants to check the progress of the business service, such as checking whether the driver has accepted the order in the call driver acceptance business of the taxi application program, or checking the song name being played in the play music business of the music application program, the user needs to make the electronic device display a specified page through the user interface. For example, making the application program in the foreground and making the electronic device display the page of the application program to check the business information of the application program. This way of making the electronic device display a specified page to check information is inconvenient. Especially when multiple application programs are opened or multiple businesses are triggered, each time a business information needs to be checked, the electronic device needs to display a specified page.

[0078] The global reach application service provided in the embodiments of the present application transmits the business information of the application programs opened by the user and displays it in the corresponding entrances in various display manners. Figure 1 and Figure 2 FIG. 10 is a schematic diagram of a user interface of some electronic devices provided in the embodiments of the present application, specifically showing the user interface when the electronic device displays the call driver acceptance business of the taxi application program in the corresponding display manner at each entrance in the case of enabling the global reach application service. It can be understood that Figure 1 and Figure 2 The information shown only takes the call driver acceptance business of the taxi application program as an example, aiming to show that under the global reach application service, the electronic device can display the business information in the corresponding display manner at each entrance. The application programs and businesses exemplified in the figure do not constitute a limitation to the understanding of the global reach in the embodiments of the present application.

[0079] Figure 1 In FIG. 10(A), it corresponds to the user interface displayed in the form of a desktop card. Figure 1 The business information shown in the card in FIG. 10(A) includes, but is not limited to: the application program is for hailing a taxi, the business is calling the driver to accept the order, the progress of the business service is being called, and the other optional business is contacting the driver. Since there is no driver accepting the order during the calling process, the service progress bar shown in the card (as shown on the left of "contact the driver" in the figure) has no progress. The card shows the user detailed business information, enabling the user to more quickly and clearly understand the business progress. Figure 1In (B), it corresponds to a user interface presented in the form of a global capsule display. Since the space available for a capsule to display is relatively small, the information shown is limited. Figure 1 The capsule shown in (B) only displays the application icon of the ride-hailing application and the business service progress as "calling". Even so, the global capsule display provides convenience for users to view business information. Figure 1 In (C), it corresponds to a user interface presented in the form of a global banner card display. As Figure 1 As shown in (C), the business information displayed on the banner card includes, but is not limited to, the business service progress that the driver has accepted the order, the license plate number of the accepted vehicle and the duration since the order was accepted, the estimated duration from the current moment to the estimated arrival time of the driver, and the other optional service of contacting the driver. Since the driver has accepted the order during the call, the service progress bar shown on the card has advanced. In Figure 1 In (B) and Figure 1 In the user interfaces shown in (B) and (C), the application icon occupies the entire page area, and the area available for displaying business information is not sufficient to layout a card. Therefore, if the business information is to be displayed continuously in a card, the card needs to be displayed above the application icon, and this display method will block part of the application icon, which may cause inconvenience to users. Based on this, the electronic device can, according to actual needs, at the global entry corresponding to the user interfaces shown in Figure 1 In (B) and Figure 1 In (C), display the business information in the form of a capsule with a relatively small display size and generally placed at the top of the user interface, or in the form of a banner card that ends the display after a default duration. Figure 2 In (A), it corresponds to a user interface presented in the form of a negative one-screen card display. Figure 2 In (B), it corresponds to a user interface presented in the form of a screen-off capsule display. Figure 2 In (C), it corresponds to a user interface presented in the form of a notification center card display. Figure 2 In (D), it corresponds to a user interface presented in the form of a lock screen card display. It should be noted that the business information displayed by each display method can be updated according to factors such as business service progress and important nodes. When displayed in the form of a global banner card display, if a key node occurs in the business, the global banner card will be displayed at the global entry and display the updated business information. Among them, the important nodes of each business are configured according to the business, and the important nodes of each business may also vary. Through Figure 1 and Figure 2As can be seen from the user interface shown, regardless of whether the user interface is displayed as a desktop, a negative first screen, a screen-off state, a standby state, a notification center, or an application page, the user can directly and conveniently view the corresponding service information of each opened application through the user interface. The global reach application service can improve the convenience of the user using the electronic device and accessing service information.

[0080] Based on the global reach application service, the user may have a need to display service information synchronously through various display methods, or may only have a need to display service information through some display methods, such as only needing to display service information at some entrances. In the display position control method in the embodiments of the present application, the user can, according to usage requirements, touch the switch control corresponding to each entrance to make the electronic device display service information in the corresponding display method, or make the electronic device not display service information in the corresponding display method. For example: The user touches the switch control corresponding to the desktop entrance to make this switch control in the off state, so that the electronic device does not display service information in the display method of desktop cards; the user touches the switch control corresponding to the notification center entrance to make this switch control in the on state, so that the electronic device displays service information in the display method of notification center cards. The user can also, according to usage requirements, stop the electronic device from displaying service information in the corresponding display method by manually closing the cards or capsules of each entrance displayed on the user interface. For example: The user manually removes the card of the desktop entrance displayed on the user interface, so that the electronic device stops displaying service information in the display method of desktop cards.

[0081] In the electronic device in the embodiments of the present application, there are multiple entrances and various display methods. If the user touches the switch control of each entrance one by one or deletes the cards or capsules displayed at each entrance manually one by one according to usage requirements, so that the electronic device displays information in the corresponding display method or does not display information in the corresponding display method, there is inconvenience. Based on this, by executing the display position control method provided in the embodiments of the present application, the electronic device can perform associated management on the display position and display method of the displayed information. The electronic device manages one or more entrances associated with the switch control according to the switch control touched by the user; manages one or more entrances associated with this entrance according to the entrance where the manually closed card or capsule is located. That is, the electronic device performs associated management on multiple display methods based on one touch behavior of the user. By using the display position control method provided in the embodiments of the present application, the electronic device performs associated management on the display position and display method of the displayed information, which can better meet the user's needs for using the electronic device and accessing information, and can improve the convenience of user operation.

[0082] Next, the electronic device involved in the embodiments of the present application will be introduced.

[0083] Figure 3 The hardware structure block diagram of the electronic device 100 is shown.

[0084] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0085] It can be understood that the structure schematically shown in the embodiments of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0086] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors. In the embodiments of the present application, the processor 110 executes the steps of the control method for displaying the position.

[0087] Among them, the controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0088] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the said memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0089] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0090] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K through the I2C interface, enabling the processor 110 to communicate with the touch sensor 180K through the I2C bus interface to implement the touch function of the electronic device 100.

[0091] The I2S interface may be used for audio communication. In some embodiments, the processor 110 may include multiple groups of I2S buses. The processor 110 may be coupled to the audio module 170 through the I2S bus to implement communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface to implement the function of answering a call through a Bluetooth headset.

[0092] The PCM interface can also be used for audio communication to sample, quantize, and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled through a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface to implement the function of answering a call through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0093] The UART interface is a general-purpose serial data bus for asynchronous communication. This bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0094] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate through the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.

[0095] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0096] The USB interface 130 is an interface that complies with the USB standard specification and can specifically be a Mini USB interface, a Micro USB interface, a USB Type-C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used for data transmission between the electronic device 100 and peripheral devices. It can also be used to connect a headset to play audio. This interface can also be used to connect other electronic devices, such as AR devices, etc.

[0097] It can be understood that the interface connection relationships among the modules illustrated in the embodiments of the present invention are only illustrative descriptions and do not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods or a combination of multiple interface connection methods in the above embodiments.

[0098] The charging management module 140 is used to receive a charging input from a charger. Among them, the charger can be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 140 can receive the charging input of the wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 can receive the wireless charging input through the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device through the power management module 141.

[0099] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives the inputs from the battery 142 and / or the charging management module 140 and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, the wireless communication module 160, etc. The power management module 141 can also be used to monitor parameters such as the battery capacity, the number of battery cycles, and the battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be disposed in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be disposed in the same device.

[0100] The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc.

[0101] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example: The antenna 1 can be multiplexed as the diversity antenna of the wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0102] The mobile communication module 150 may provide a solution for wireless communication including 2G / 3G / 4G / 5G, etc., which is applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 may receive electromagnetic waves through the antenna 1, filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modulation and demodulation processor and convert it into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least some functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be provided in the same device.

[0103] The modulation and demodulation processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Subsequently, the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, receiver 170B, etc.), or displays a picture or video through the display screen 194. In some embodiments, the modulation and demodulation processor may be an independent device. In other embodiments, the modulation and demodulation processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.

[0104] The wireless communication module 160 may provide solutions for wireless communications applied to the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems (GNSSs), frequency modulation (FM), near field communication (NFC), infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 may also receive signals to be sent from the processor 110, perform frequency modulation and amplification on them, and convert them into electromagnetic waves through the antenna 2 for radiation.

[0105] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, such that electronic device 100 can communicate with a network and other devices via wireless communication technologies. The wireless communication technologies may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Synchronous Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include Global Positioning System (GPS), Global Navigation Satellite System (GLONASS), BeiDou Navigation Satellite System (BDS), Quasi-Zenith Satellite System (QZSS), and / or Satellite Based Augmentation Systems (SBAS).

[0106] Electronic device 100 implements a display function via a GPU, display 194, and an application processor, etc. The GPU is a microprocessor for image processing, and is connected to display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

[0107] The display screen 194 is used to display pictures, videos, etc. The display screen 194 includes a display panel. The display panel can adopt a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.

[0108] In the embodiments of the present application, the display screen 194 is used to display application icons of applications, display the display positions of each entry, and display resident services such as capsules and cards.

[0109] The electronic device 100 can implement the shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, etc.

[0110] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light passes through the lens and is transmitted to the camera photosensitive element. The optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into a visible picture or video. The ISP can also perform algorithm optimization on the noise, brightness, etc. of the picture. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0111] The camera 193 is used to capture static pictures or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital picture or video signal. The ISP outputs the digital picture or video signal to the DSP for processing. The DSP converts the digital picture or video signal into a standard picture or video signal in formats such as RGB and YUV. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0112] The digital signal processor is used to process digital signals. In addition to being able to process digital pictures or video signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.

[0113] The video codec is used to compress or decompress digital videos. The electronic device 100 can support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple coding formats, such as: Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0114] The NPU is a neural-network (NN) computing processor. By learning from the structure of biological neural networks, such as learning from the transmission mode between human brain neurons, it can quickly process input information and can also continuously self-learn. Through the NPU, applications such as intelligent cognition of the electronic device 100 can be realized, such as: image recognition, face recognition, voice recognition, text understanding, etc.

[0115] The external memory interface 120 can be used to connect an external memory card, such as a MicroSD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function. For example, files such as music and videos are saved in the external memory card.

[0116] The internal memory 121 can be used to store computer-executable program code, and the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, a picture or video playback function, etc.). The data storage area can store data created during the use of the electronic device 100 (such as audio data, phone book, etc.). In addition, the internal memory 121 can include high-speed random access memory, and can also include non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0117] The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor, etc. For example, music playback, recording, etc.

[0118] The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some functional modules of the audio module 170 can be disposed in the processor 110.

[0119] The speaker 170A, also known as the "loudspeaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or a hands-free call through the speaker 170A.

[0120] The receiver 170B, also known as the "earpiece", is used to convert an audio electrical signal into a sound signal. When the electronic device 100 answers a call or a voice message, the voice can be listened to by placing the receiver 170B close to the human ear.

[0121] The microphone 170C, also known as the "microphone" or "transmitter", is used to convert a sound signal into an electrical signal. When making a call or sending a voice message, the user can speak by placing the mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In some other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also implement a noise reduction function. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, and implement functions such as directional recording.

[0122] The headphone jack 170D is used to connect a wired headphone. The headphone jack 170D can be a USB interface 130, or a 3.5 mm open mobile terminal platform (OMTP) standard interface, or a Cellular Telecommunications Industry Association of the USA (CTIA) standard interface.

[0123] The pressure sensor 180A is used to sense pressure signals and can convert pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor may include at least two parallel plates having conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the pressure threshold acts on the short message application icon, the instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.

[0124] The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., the x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake during shooting. Exemplarily, when the shutter is pressed, the gyroscope sensor 180B detects the angle of jitter of the electronic device 100, calculates the distance that the lens module needs to compensate based on the angle, and makes the lens offset the jitter of the electronic device 100 through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenarios.

[0125] The barometric pressure sensor 180C is used to measure barometric pressure. In some embodiments, the electronic device 100 calculates the altitude based on the barometric pressure value measured by the barometric pressure sensor 180C to assist in positioning and navigation.

[0126] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Furthermore, according to the detected opening and closing state of the leather case or the opening and closing state of the flip, features such as automatic flip unlocking are set.

[0127] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0128] A distance sensor 180F is used to measure distance. The electronic device 100 can measure distance through infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure distance to achieve fast focusing.

[0129] The proximity light sensor 180G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The light-emitting diode may be an infrared light-emitting diode. The electronic device 100 emits infrared light outward through the light-emitting diode. The electronic device 100 uses the photodiode to detect the infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for a call, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used for automatic unlocking and locking of the holster mode and pocket mode.

[0130] An ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the sensed ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touch.

[0131] A fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint answering calls, etc.

[0132] A temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by low temperature. In some other embodiments, when the temperature is lower than yet another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0133] The touch sensor 180K, also known as the "touch control panel". The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also known as the "touch control screen". The touch sensor 180K is used to detect touch operations acting thereon or nearby. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In some other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a different position from that of the display screen 194.

[0134] In the embodiments of the present application, when the user touches the set icon displayed on the display screen 194, the touch sensor 180K detects the touch operation acting on the display screen 194 and transmits the touch operation to the application processor to determine the type of touch event, such as starting the setting. When the user touches the switch control displayed on the display screen 194, the touch sensor 180K detects the touch operation acting on the display screen 194 and transmits the touch operation to the application processor to determine the type of touch event, such as setting the state of the switch control to the off state.

[0135] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signals of the vibrating bone mass of the human vocal part. The bone conduction sensor 180M can also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone to form a bone conduction earphone. The audio module 170 can parse out the voice signal based on the vibration signal of the vibrating bone mass acquired by the bone conduction sensor 180M to implement the voice function. The application processor can parse the heart rate information based on the blood pressure pulsation signal acquired by the bone conduction sensor 180M to implement the heart rate detection function.

[0136] The keys 190 include a power-on key, a volume key, etc. The keys 190 can be mechanical keys. They can also be touch keys. The electronic device 100 can receive key inputs and generate key signal inputs related to the user settings and function controls of the electronic device 100.

[0137] The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration prompts and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playing, etc.) can correspond to different vibration feedback effects. Touch operations acting on different areas of the display screen 194 can also correspond to different vibration feedback effects for the motor 191. Different application scenarios (such as time reminder, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0138] The indicator 192 can be an indicator light, which can be used to indicate the charging status, power change, or can also be used to indicate messages, missed calls, notifications, etc.

[0139] The SIM card interface 195 is used to connect the SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation from the electronic device 100. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communication. In some embodiments, the electronic device 100 uses an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0140] In the embodiments of the present application, the software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In the embodiments of the present application, the Android system with a layered architecture is taken as an example to exemplarily illustrate the software structure of the electronic device 100.

[0141] Figure 4 It is the software structure block diagram of the electronic device 100 in the embodiments of the present application.

[0142] The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely the application layer, the application framework layer, Android runtime and system libraries, and the kernel layer.

[0143] The application layer can include a series of application packages.

[0144] Such as Figure 4As shown in the figure, the application layer may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, settings, management assistant, SystemUI, etc. In addition, in addition to the above-mentioned resident system applications of the Android system, the application layer may also include third-party applications such as ride-hailing applications. Among them, as a resident system application, the management assistant is mainly responsible for monitoring the change of the state of the switch control included in the set application interface, and generating and sending the switch control information when the state of the switch control changes. The switch control information includes the switch identifier of the switch control whose state has changed and the state of the switch control after the change. As a resident system application, SystemUI is mainly responsible for managing and providing core elements of the user interface, such as the status bar, navigation bar, and lock screen page, etc. In the embodiment of the present application, SystemUI makes the resident services such as cards and capsules display or hide at the entrance displayed on the display screen 194, so that the entrance shows or does not show business information.

[0145] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions.

[0146] Such as Figure 4 As shown in the figure, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, a display controller, etc.

[0147] The window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0148] The content provider is used to store and obtain data, and make these data accessible to applications. The data may include videos, images, audio, incoming and outgoing calls, browsing history and bookmarks, phone book, etc.

[0149] The view system includes visible controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a short message notification icon may include a view for displaying text and a view for displaying pictures.

[0150] The phone manager is used to provide the communication function of the electronic device 100. For example, the management of call status, including answering, hanging up, etc.

[0151] The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.

[0152] The notification manager enables the application to display notification information in the status bar. It can be used to convey notification-type messages, which can disappear automatically after a short stay without user interaction. For example, the notification manager is used to inform that the download is complete, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as the notification of a background-running application, or a notification that appears on the screen in the form of a dialogue window. For example, it can prompt text information in the status bar, emit a prompt sound, vibrate the electronic device, blink the indicator light, etc.

[0153] The display controller establishes communication with the management assistant, system interface, and other resident system applications in the application layer through the API respectively. In the embodiment of this application, the display controller receives the switch identifier of the switch control sent by the management assistant through the API, and instructs the system interface to control the display or non-display of the associated entry of the switch control corresponding to the switch identifier for business information. In addition, the display controller receives the entry identifier of the entry where the card or capsule to be closed is located sent by the system interface through the API, and instructs the system interface to close the card or capsule of the associated entry corresponding to the entry identifier, that is, to control the associated entry to stop displaying business information.

[0154] AndroidRuntime includes the core library and the virtual machine. Androidruntime is responsible for the scheduling and management of the Android system.

[0155] The core library consists of two parts: one is the functional functions that need to be called by the Java language, and the other is the core library of Android.

[0156] The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0157] The system library can include multiple functional modules. For example: Surface Manager (surfacemanager), Media Libraries, 3D graphics processing library (such as: OpenGLES), 2D graphics engine (such as: SGL), etc.

[0158] The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.

[0159] The media library supports the playback and recording of multiple common audio and video formats, as well as static image files, etc. The media library can support multiple audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0160] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc.

[0161] The 2D graphics engine is a drawing engine for 2D drawing.

[0162] The kernel layer is the layer between hardware and software. The kernel layer at least includes a display driver, a camera driver, an audio driver, and a sensor driver.

[0163] The following combines Figure 4 The software structure of the electronic device 100 shown in the figure to specifically introduce the control method for the display position provided by the embodiments of the present application.

[0164] Please refer to Figure 5 , Figure 5 is a schematic flowchart of a control method for a display position provided by an embodiment of the present application. As Figure 5 shown, the control method for the display position includes steps S101 to S117.

[0165] In the embodiments of the present application, the display controller controls the electronic device 100 to display service information in various display manners to achieve global reach. The display controller respectively establishes communications with resident system applications such as the management assistant and the system interface in the application layer through the APIs provided by the application framework layer. The display controller receives the switch identifier of the switch control and the state of the switch control after being touched sent by the management assistant through the API based on the user's touch behavior on the switch control. According to the on or off state of the switch control after being touched, the state of the associated entry of the switch control corresponding to the switch identifier is set to on or off. In the case where service information needs to be displayed, it is instructed that the system interface controls the associated entry of the switch control corresponding to the switch identifier displayed on the display screen 194 to display or not display the service information. The electronic device 100 displays the service information in the display manner corresponding to the associated entry or does not display the service information in the display manner corresponding to the associated entry. And, the display controller receives the entry identifier of the entry where the card or capsule needs to be closed sent by the system interface through the API based on the user's closing behavior on the card or capsule of the entry displayed on the display screen 194, and instructs the system interface to control the card or capsule of the associated entry of the entry corresponding to the entry identifier to close. The electronic device 100 stops displaying the service information in the display manner corresponding to the associated entry.

[0166] The following steps S101 to S103 are the process in which the display controller receives the switch identifier of the switch control touched by the user and the state of the switch control after being touched.

[0167] S101. The user touches an icon set through the user interface, causing the user interface to display the set application interface. The user touches a switch control in the application interface, causing the state of the switch control to change. The switch control can trigger the display or non-display of business information at the control entry. Different switch controls correspond to triggering the display or non-display of business information at different entries. The state of the switch control includes either on or off.

[0168] Taking the electronic device 100 as a mobile phone as an example, Figure 6 shows a user interface of the electronic device 100 provided by an embodiment of the present application. As Figure 6 shown, the user interface displays application icons of multiple applications, such as Weibo, Toutiao, Zhihu, Douban, WeChat, e - book store, Settings, and taxi - hailing. The user touches the set icon displayed on the user interface of the electronic device 100, causing the electronic device 100 to display the set application interface to the user through the display screen 194. Figure 7 shows some user interfaces of the electronic device 100, Figure 7 and the shown user interface displays the set application interface, and each application interface includes a switch control. As Figure 7 shown, the user touches one or more switch controls in Settings through the user interface.

[0169] In an embodiment of the present application, one switch control is configured to be associated with one or more entries, so that one switch control is used to trigger the display or non - display of business information at one or more entries. Specifically, considering factors such as the similarity of the user's demand degree for the display of business information at each entry and the general habits of the user using the electronic device 100, the entries with common properties are associated with the same switch control. Further, by touching one switch control, the user can cause the associated entries of this switch control to display or not display business information.

[0170] In an embodiment of the present application, the associated entry of the desktop card set switch control is the desktop entry. Figure 7 In (A), it shows that the user touches the desktop card set switch control through the user interface. When the user touches the desktop card set switch control, the desktop entry can display or not display business information. Correspondingly, the electronic device 100 displays business information in the form of desktop cards or does not display business information in the form of desktop cards. The user interface of the electronic device 100 that displays business information in the form of desktop cards is as Figure 1 shown in (A). The associated entries of the notification and capsule switch controls are notification - type entries, including the global entry, the notification center entry, and the lock screen entry. And Figure 7The user interface shown in (A) Similarly, through the user interface touch notification and capsule switch control, the user can make the global entry, notification center entry, and lock screen entry all display or not display business information. Correspondingly, the electronic device 100 displays business information in the form of a global capsule, global banner card, notification center card, and lock screen card, or does not display business information in the above display forms. The user interfaces of the electronic device 100 that display business information in the form of a global capsule, global banner card, notification center card, and lock screen card are respectively as Figure 1 shown in (B) of Figure 1 shown in (C) of Figure 2 shown in (C) of Figure 2 shown in (D). The associated entry of the always-on display switch control is the always-on display entry. Similar to Figure 7 the user interface shown in (A), through the user interface touch always-on display switch control, the user can make the always-on display entry display or not display business information. Correspondingly, the electronic device 100 displays business information in the form of an always-on display capsule or does not display business information in the form of an always-on display capsule. The user interface of the electronic device 100 that displays business information in the form of an always-on display capsule is as Figure 2 shown in (B). The associated entry of the minus one screen switch control is the minus one screen entry. Similar to Figure 7 the user interface shown in (A), through the user interface touch minus one screen switch control, the user can make the minus one screen entry display or not display business information. Correspondingly, the electronic device 100 displays business information in the form of a minus one screen card or does not display business information in the form of a minus one screen card. The user interface of the electronic device 100 that displays business information in the form of a minus one screen card is as Figure 2 shown in (A). The above switch controls and the corresponding associated entries are preset in the display controller for the display controller to call.

[0171] S102, The management assistant monitors the status of the switch control in the application interface.

[0172] The resident system application management assistant in the application layer of the electronic device 100 continuously monitors the status of each switch control in the application interface. The status of the switch control includes on or off. As Figure 7 shown, when the user touches a switch control once, the icon of the corresponding switch control changes from white to black. At this time, it means that under the user's touch, the electronic device 100 changes the status of the switch control from off to on. Or, when the user touches a switch control once, the icon of the corresponding switch control changes from black to white, as Figure 7As shown in (C), the icon of the notification and capsule switch control becomes white. At this time, it indicates that under the user's touch, the electronic device 100 changes the state of the switch control from on to off. When the switch control changes to on, it means that the user needs the electronic device 100 to display service information at the associated entry of this switch control; when the switch control changes to off, it means that the user does not need the electronic device 100 to display service information at the associated entry of this switch control. It should be understood that Figure 7 The switch controls with white icons and black icons are exemplarily shown, and it is set that the white icon corresponds to the off state of the switch control and the black icon corresponds to the on state of the switch control, which does not constitute a limitation on the on and off forms of the switch control. Exemplarily, it can also be set that the black icon corresponds to the off state of the switch control and the green icon corresponds to the on state of the switch control, etc.

[0173] S103. When it is detected that the state of the switch control changes, the management assistant sends the switch control information to the display controller through the API. The switch control information includes the switch identifier of the switch control whose state has changed and the state of the switch control after the change. The switch identifier is used to identify a unique switch control, and one switch control corresponds to one switch identifier.

[0174] Exemplarily, if the switch identifier of the notification and capsule switch control is configured as 01 and the switch identifier of the desktop card set switch control is configured as 02. Exemplarily, the name of the switch control can also be used as the corresponding switch identifier. It should be understood that the switch identifier is only used to distinguish each switch control. For the purpose of enabling the display controller to determine which switch control's associated entry needs to be controlled when the user touches a switch control, based on the ability to directly distinguish each switch control, the switch identifier can also not be configured.

[0175] When it is detected that the state of the switch control included in the set application interface changes, it indicates that the user has performed a touch behavior on the switch control, that is, it indicates that the user needs the electronic device 100 to display or not display service information at the associated entry of this switch control. Furthermore, the management assistant sends the switch control information to the display controller in the application framework layer through the API provided by the application framework layer to instruct the display controller to control the electronic device 100 to display or not display service information at the associated entry of the touched switch control. The display controller receives the switch control information and obtains the switch identifier of the switch control on which the user has performed the touch behavior and the state of the switch control corresponding to this switch identifier after the change.

[0176] The following steps S104 to S110 are the process in which the display controller controls the electronic device 100 to display or not display service information at the associated entry of the switch control corresponding to the switch identifier according to the switch control information.

[0177] S104. The display controller determines the associated entry of the switch control corresponding to the switch identifier. Each switch control can and can only trigger the display or non-display of business information associated with itself for the associated entry.

[0178] In this embodiment, the display controller includes an Interaction Display Service module and an Interaction Constants module. The Interaction Display Service receives the switch control information sent by the management assistant through the API, and obtains the switch identifier of the switch control on which the user performs a touch behavior and the state of the switch control corresponding to this switch identifier after the change. The associated entry of the switch control corresponding to each switch identifier is preset in the Interaction Constants. Based on this, the Interaction Display Service obtains the associated entry of the switch control corresponding to the switch identifier included in the switch control information from the Interaction Constants.

[0179] After the display controller determines the associated entry of the switch control corresponding to the switch identifier, based on the state of the switch control corresponding to the switch identifier after the change, it performs the following steps S105 to S107, or performs the following steps S108 to S110.

[0180] S105. When the state of the switch control after the change is on, the display controller sets the state of the associated entry of the switch control corresponding to the switch identifier to on.

[0181] Setting the state of the associated entry of the switch control to on enables the associated entry of this switch control to display business information when the display condition is met. The display condition includes that the business information of the application needs to be displayed, and the associated entry of the switch control is displayed on the display screen 194 of the electronic device 100.

[0182] S106. When there is business information to be displayed and the associated entry of the switch control corresponding to the switch identifier is displayed on the user interface, the display controller sends a display instruction to the system interface. The display instruction is used to instruct the system interface to control the associated entry of the switch control to display business information.

[0183] As described above, when the switch control changes to the on state, it indicates that the user needs the electronic device 100 to display service information at the associated entry of this switch control. Further, when there is service information to be displayed and the associated entry of the switch control corresponding to the switch identifier is displayed on the user interface, the display controller sends a display instruction to the system interface of the application layer to instruct the system interface to control the associated entry of the displayed switch control to display service information. Further, it is realized to control the electronic device 100 to display service information at the associated entry of the displayed switch control.

[0184] Exemplarily, the InteractionDisplayService in the display controller sends a display instruction to the system interface.

[0185] S107, in response to the display instruction, the system interface causes the associated entry of the switch control corresponding to the switch identifier to display service information in the form of a card or a capsule.

[0186] After receiving the display instruction sent by the display controller, the system interface, in response to the display instruction, causes the associated entry of the switch control displayed on the display screen 194 to display service information in the form of a card or a capsule.

[0187] Exemplarily, if the switch control information sent by the management assistant to the display controller includes a notification, the switch identifier of the capsule switch control, and the state of the notification and the capsule switch control after the change is on. After receiving the switch control information, the display controller determines that the associated entries of the notification and the capsule switch control include a global entry, a notification center entry, and a lock screen entry. Further, the display controller sets the states of the global entry, the notification center entry, and the lock screen entry to on, so that the global entry, the notification center entry, and the lock screen entry respectively display service information when the display conditions are met. When there is display information to be displayed and the display screen 194 of the electronic device 100 displays the global entry or the notification center entry or the lock screen entry, the display controller sends a display instruction to the system interface to instruct the system interface to control the global entry or the notification center entry or the lock screen entry to display service information. It should be understood that whichever entry the display screen 194 displays, that entry is controlled to display service information. In response to the display instruction, the system interface displays the service information in one of the forms of a global capsule and a global banner card, or a notification center card, or a lock screen card corresponding to the entry display position.

[0188] Exemplarily, if the switch control information sent by the management assistant to the display controller includes the switch identifier of the negative first screen switch control and the state of the negative first screen switch control after change is on. After receiving the switch control information, the display controller determines that the associated entry of the negative first screen switch control includes the negative first screen entry. Furthermore, the display controller sets the state of the negative first screen entry to on, so that the negative first screen entry displays service information when the display condition is met. When there is display information to be displayed and the display screen 194 of the electronic device 100 displays the negative first screen entry, the display controller sends a display instruction to the system interface to instruct the system interface to control the negative first screen entry to display service information. In response to the display instruction, the system interface displays the service information in the form of a negative first screen card corresponding to the entry display position.

[0189] S108, when the state of the switch control after change is off, the display controller sets the state of the associated entry of the switch control corresponding to the switch identifier to off.

[0190] Setting the state of the associated entry of the switch control to off makes the associated entry of this switch control not display service information.

[0191] S109, when there is service information to be displayed and the user interface displays the associated entry of the switch control corresponding to the switch identifier, the display controller sends a stop display instruction to the system interface. The stop display instruction is used to instruct the system interface to control the associated entry of the switch control to stop displaying service information.

[0192] As discussed above, when the switch control changes to the off state, it means that the user does not need the electronic device 100 to display service information at the associated entry of this switch control. Furthermore, when there is service information to be displayed and the user interface displays the associated entry of the switch control corresponding to the switch identifier, the display controller sends a stop display instruction to the system interface of the application layer to instruct the system interface not to control the associated entry of the displayed switch control to display service information, that is, to instruct the system interface to control the associated entry of the displayed switch control to stop displaying service information. Furthermore, it realizes controlling the electronic device 100 not to display service information at the associated entry of the displayed switch control.

[0193] Exemplarily, InteractionDisplayService in the display controller sends a stop display instruction to the system interface.

[0194] S110, in response to the stop display instruction, the system interface makes the associated entry of the switch control corresponding to the switch identifier stop displaying service information.

[0195] After the system interface receives the stop display instruction sent by the display controller, in response to the stop display instruction, it causes the associated entry of the switch control displayed on the display screen 194 to stop displaying service information.

[0196] Exemplarily, if the switch control information sent by the management assistant to the display controller includes the switch identifier of the screen-off display switch control and the state of the screen-off display switch control after the change is off. After the display controller receives the switch control information, it determines that the associated entry of the screen-off display switch control includes the screen-off entry. Further, the display controller sets the state of the screen-off entry to off, so that the screen-off entry does not display service information. When there is display information to be displayed and the display screen 194 of the electronic device 100 displays the screen-off entry, the display controller sends a stop display instruction to the system interface to instruct the system interface to control the screen-off entry to stop displaying service information. In response to the stop display instruction, the system interface, corresponding to the entry display position, does not display service information in the form of a screen-off capsule display. If the service information has been displayed in the form of a screen-off capsule display, then it controls the capsule of the screen-off entry to be hidden to stop the display.

[0197] Exemplarily, if the switch control information sent by the management assistant to the display controller includes the switch identifier of the desktop card set switch control and the state of the desktop card set switch control after the change is off. After the display controller receives the switch control information, it determines that the associated entry of the desktop card set switch control includes the desktop entry. Further, the display controller sets the state of the desktop entry to off, so that the desktop entry does not display service information. When there is display information to be displayed and the display screen 194 of the electronic device 100 displays the desktop entry, the display controller sends a stop display instruction to the system interface to instruct the system interface to control the desktop entry to stop displaying service information. In response to the stop display instruction, the system interface, corresponding to the entry display position, does not display service information in the form of a desktop card display. If the service information has been displayed in the form of a desktop card display, then it controls the card of the desktop entry to be hidden to stop the display.

[0198] The user can touch one switch control or multiple switch controls. The states of each switch control after being touched can be the same or different. When the management assistant monitors that the state of each switch control changes, the switch control information sent to the display controller includes the switch identifier corresponding to each switch control and the state after the change. The display controller then correspondingly controls whether the electronic device 100 displays service information at the associated entry of each switch control based on each switch control touched by the user and the state of each switch control after being touched and changed. Each switch control does not affect each other.

[0199] Exemplarily, Figure 7In (A), it shows that the user touches a switch control, i.e., the desktop card set switch control, through the user interface, making the state of the desktop set card switch control on. When the management assistant detects that the state of the desktop card set switch control changes, it sends switch control information to the display controller. The switch control information includes the desktop card set switch control and the state after being touched and changed. The display controller then sets the state of the desktop entry associated with the desktop card set switch control to open based on the desktop card set switch control and the open state after the change. When the desktop entry is displayed on the display screen 194 and there is service information to be shown, it controls the electronic device 100 to display the service information at the desktop entry.

[0200] Exemplarily, Figure 7 In (B), it shows that the user touches multiple switch controls, i.e., the desktop card set switch control, the notification, the capsule switch control, and the always-on display switch control, through the user interface, making the states of the above three switch controls all on. When the management assistant detects that the states of the above three switch controls change, it sends switch control information to the display controller. The switch control information includes the above three switch controls and the states after being touched and changed. The display controller then sets the state of the desktop entry associated with the desktop card set switch control to open based on the desktop card set switch control and the open state after the change. When the desktop entry is displayed on the display screen 194 and there is service information to be shown, it controls the electronic device 100 to display the service information at the desktop entry; based on the notification, the capsule switch control, and the open state after the change, it sets the states of the global entry, the notification center entry, and the lock screen entry associated with the notification and the capsule switch control to open. When one of the three entries is displayed on the display screen 194 and there is service information to be shown, it controls the electronic device 100 to display the service information at one of the three entries; based on the always-on display switch control and the open state after being touched, it sets the state of the always-on display entry associated with the always-on display switch control to open. When the always-on display entry is displayed on the display screen 194 and there is service information to be shown, it controls the electronic device 100 to display the service information at the always-on display entry.

[0201] Exemplarily, Figure 7In (C), it shows that the user touches multiple switch controls such as the desktop card set switch control, notification, capsule switch control, and always-on display switch control through the user interface, making the states of the desktop card set switch control and the always-on display switch control in the on state, and making the states of the notification and capsule switch control in the off state. When the management assistant detects that the states of the above three switch controls have changed, it sends switch control information to the display controller. The switch control information includes the above three switch controls and the states after the above three switch controls are touched and changed. The display controller then sets the state of the desktop entry associated with the desktop card set switch control to on based on the desktop card set switch control and the on state after the change of the desktop card set switch control, displays the desktop entry on the display screen 194, and when there is service information to be displayed, controls the electronic device 100 to display the service information at the desktop entry; based on the notification, capsule switch control and the off state after the notification, capsule switch control is touched, sets the states of the global entry, notification center entry, and lock screen entry associated with the notification, capsule switch control to off, displays one of the three entries on the display screen 194, and when there is service information to be displayed, controls the electronic device 100 not to display the service information at one of the three entries; based on the always-on display switch control and the on state after the always-on display switch control is touched, sets the state of the always-on display entry associated with the always-on display switch control to on, displays the always-on display entry on the display screen 194, and when there is service information to be displayed, controls the electronic device 100 to display the service information at the always-on display entry.

[0202] Exemplarily, Figure 7 In (D), it shows that the user touches all the switch controls through the user interface, making all the switch controls in the on state. Similarly to the foregoing discussion, the display controller sets the states of the associated entries associated with each switch control to on based on each switch control and the on state of each switch control. When one of the associated entries of each switch control is displayed on the display screen 194 and there is service information to be displayed, controls the electronic device 100 to display the service information at one of the displayed associated entries of each switch control. It should be understood that the user can also touch all the switch controls to make all the switch controls in the off state. The display controller then controls the electronic device 100 not to display the service information at one of the displayed associated entries of each switch control based on each switch control and the off state of each switch control.

[0203] The following steps S111 to S112 are the process for the display controller to receive the entry identifier of the card or capsule that needs to be closed.

[0204] S111, the user touches the card or capsule of the entry through the user interface, making the card or capsule in the to-be-closed state. The to-be-closed state means the state that is about to be closed.

[0205] As used in the embodiments of the present application, "closing" herein refers to deletion, removal, etc.

[0206] The user touches the card or capsule of the entrance displayed on the user interface of the electronic device 100, so that the card or capsule corresponding to the entrance is in a state to be closed. Figure 8 The user interfaces of some electronic devices 100 in the embodiments of the present application are shown. Figure 8 In (A) and Figure 8 In (B) represent two ways to close the card or capsule of each entrance. As Figure 8 As shown in (A), the user continuously touches the card of the desktop entrance and long presses to make the displayed entrance card float above the main screen of the electronic device 100, and the word "Remove" appears. Further, the user continues to touch the word "Remove" to make the card in a state to be closed, and the display controller is controlled to close it. As Figure 8 (B) shows, the user touches and swipes left the card of the lock screen entrance, so that a delete icon appears on the right of the card. Further, the user continues to touch the delete icon to make the card in a state to be closed, and the display controller is controlled to close it. It should be noted that Figure 8 Although only the cards of the desktop entrance and the lock screen entrance displayed on the user interface are shown in the figure, it does not limit that the user can manually close the cards or capsules of other entrances displayed on the user interface. For example, the user can also manually close the card of the notification center entrance. Figure 8 Although only two ways for the user to close the card are shown in the figure, it does not limit the ways for the user to close the card or capsule. For the purpose of closing, the user can also close the card or capsule through other feasible ways.

[0207] In the embodiments of the present application, considering factors such as the similarity of the user's demand for the business information displayed by each entrance on the user interface and the general habits of the user using the electronic device 100, the entrances with common properties are associated together. Further, when the user closes the card or capsule of one entrance, the electronic device 100 closes the cards or capsules of one or more entrances.

[0208] Exemplarily, if the user touches the card of the notification center entrance to close the card of the notification center entrance, it indicates that the user has less need to view the business information displayed on the card and less need for intensive display. Based on this, the electronic device 100 can also close the cards or capsules of the associated entrances of the notification center entrance.

[0209] In the embodiments of the present application, the associated entry of the desktop entry and the negative first screen entry is itself, and there is no other associated entry. When the user closes the card of the desktop entry, only the card of the desktop entry can be closed. Correspondingly, the electronic device 100 stops displaying service information in the form of a desktop card. When the user closes the card of the negative first screen entry, only the card of the negative first screen entry can be closed. Correspondingly, the electronic device 100 stops displaying service information in the form of a negative first screen card. The associated entries of the global entry, the notification center entry, the screen-off entry, and the lock screen entry are the global entry, the notification center entry, the screen-off entry, and the lock screen entry. When the user closes any one of the capsule of the global entry, the banner card of the global entry, the card of the notification center entry, and the capsule of the screen-off entry, the capsule of the global entry, the banner card of the global entry, the card of the notification center entry, and the capsule of the screen-off entry can all be closed. Correspondingly, the electronic device 100 stops displaying service information in the form of a global capsule, a global banner card, a notification center card, and a screen-off capsule. The above entries and the corresponding associated entries are preset in the display controller for the display controller to call.

[0210] S112. The system interface sends display closing information to the display controller through the API. The display closing information includes the entry identifier of the entry where the card or capsule to be closed is located. The entry identifier is used to identify a unique entry, and one entry corresponds to one entry identifier.

[0211] Exemplarily, if the entry identifier of the desktop entry is configured as A and the entry identifier of the screen-off entry is configured as B. Exemplarily, the name of the entry can also be used as the corresponding entry identifier. It should be understood that the entry identifier is only used to distinguish each entry. For the purpose of enabling the display controller to determine which associated entry of which entry needs to be controlled when the user touches and closes the card or capsule of an entry, on the basis of being able to directly distinguish each entry, the entry identifier may not be configured either.

[0212] When the card or capsule displayed at the entry is touched and closed by the user under the control of the system interface, it indicates that the user requires the electronic device 100 to stop displaying service information at this entry. Furthermore, the system interface sends display closing information to the display controller through the API provided by the application framework layer to instruct the display controller to control the associated entry of the entry to stop displaying service information. The display controller receives the display closing information and obtains the entry identifier of the entry where the card or capsule touched and manually closed by the user is located.

[0213] The following steps S113 to S115 are the process of the display controller controlling the card or capsule of the associated entry of the entry corresponding to the entry identifier of the electronic device 100 to be closed.

[0214] S113. The display controller determines the associated entry of the entry corresponding to the entry identifier.

[0215] In this embodiment, the InteractionDisplayService of the display controller receives the display close information sent by the system interface through the API, and obtains the entry identifier of the entry where the card or capsule closed by the user's touch operation or manual operation is located. In the InteractionConstants of the display controller, the associated entries of each entry corresponding to the entry identifier are preset. Based on this, the InteractionDisplayService obtains the associated entry of the entry corresponding to the entry identifier included in the display close information from the InteractionConstants. Furthermore, the display controller determines the associated entry of the entry corresponding to the entry identifier.

[0216] S114, the display controller sends a display close instruction to the system interface. The display close instruction is used to instruct the system interface to control the closing of the card or capsule of the associated entry of the entry. To implement controlling the electronic device 100 to close the card or capsule of the associated entry of the entry corresponding to the entry identifier.

[0217] Exemplarily, the InteractionDisplayService in the display controller sends a display close instruction to the system interface.

[0218] S115, the system interface closes the card or capsule of the associated entry of the entry corresponding to the entry identifier in response to the display close instruction.

[0219] After receiving the display close instruction sent by the display controller, the system interface closes the card or capsule of the associated entry of the entry in response to the display close instruction. That is, the system interface hides the card or capsule of the associated entry of the entry, and realizes stopping the display of service information at the associated entry of the entry.

[0220] When the display screen 194 switches to the associated entry of the entry where the touch-closed persistent service is located, the card or capsule is hidden, and the service information to be displayed is not displayed. Among them, switching the display screen 194 to the associated entry of the entry where the touch-closed persistent service is located includes switching the display screen 194 again to the entry where the touch-closed persistent service is located after the display screen is switched.

[0221] Exemplarily, if the display close information sent by the system interface to the display controller includes the entry identifier of the screen-off entry that needs to be closed for the capsule. After receiving the display close information, the display controller determines that the associated entries of the screen-off entry include the global entry, the notification center entry, the screen-off entry, and the lock screen entry. Furthermore, the display controller sends a display close instruction to the system interface to instruct the system interface to control the closing of the cards or capsules of the associated entries of the screen-off entry, that is, to control the closing of the cards or capsules of the global entry, the notification center entry, the screen-off entry, and the lock screen entry. In response to the display close instruction, the system interface hides the cards or capsules of the global entry, the notification center entry, the screen-off entry, and the lock screen entry. Correspondingly to the entry display position, the system interface stops displaying service information in the display forms of the global capsule, the global banner card, the notification center card, the screen-off capsule, and the lock screen card. When the display screen 194 switches to display any one of the global entry, the notification center entry, the screen-off entry, and the lock screen entry, the electronic device 100 does not display service information.

[0222] Exemplarily, if the display close information sent by the system interface to the display controller includes the entry identifier of the desktop entry that needs to be closed for the card. After receiving the display close information, the display controller determines that the associated entry of the desktop entry includes the desktop entry. Furthermore, the display controller sends a display close instruction to the system interface to instruct the system interface to control the closing of the card of the desktop entry. In response to the display close instruction, the system interface hides the card of the desktop entry. Correspondingly to the entry display position, the system interface stops displaying service information in the display form of the desktop card. When the display screen 194 switches to display the desktop entry, that is, when the display screen 194 switches and then switches again to the desktop entry, the electronic device 100 does not display service information.

[0223] The following steps S116 to S117 are the process of the display controller controlling the electronic device 100 to restore the display of the closed cards or capsules.

[0224] S116, when there is new display information that conforms to the display rules, the display controller sends a display restoration instruction to the system interface. The display restoration instruction is used to instruct the system interface to control the display of the closed resident services at the entry, and the restored resident services include the new display information.

[0225] When there is new display information that meets the display rules, the display controller controls the electronic device 100 to resume displaying the closed resident service at the entry displayed on the display screen 194, and the resumed resident service displays the new display information. Among them, the display rules include that an important node appears in the business of the triggered application, and the application has new display requirements. The important nodes of each business are configured according to the business, and there may also be differences in the important nodes of each business. The display rules can be set according to actual needs, and the embodiments of the present application do not uniquely limit the content of the display rules.

[0226] Specifically, the management assistant monitors the business service progress of the application program triggered by the user. When it detects that the business service progress is updated to an important node, the management assistant sends display restoration information to the display controller. The display restoration information includes the entry identifier of the entry that needs to resume display, that is, the entry identifier of the entry that stopped displaying due to the card or capsule being closed. It can be understood that at this time, the entry that needs to resume display corresponds to the entry currently displayed on the display screen 194. Furthermore, the display controller sends a display restoration instruction to the system interface to instruct the system interface to control the entry corresponding to the entry identifier that needs to resume display to resume display, that is, to instruct the system interface to control the closed resident service of the entry corresponding to the entry identifier that needs to resume display to resume display.

[0227] S117, the system interface responds to the display restoration instruction to make the closed card or capsule resume display at the entry.

[0228] The system interface responds to the display restoration instruction. When the switch control corresponding to the entry displayed on the display screen 194 is in the on state, the originally hidden card or capsule of the entry displayed on the display screen 194 is made to resume display, so as to resume displaying the business information at the displayed entry.

[0229] It should be noted that at least two conditions are required to resume the display of the entry that stopped displaying due to the card or capsule being closed. One is that the business service progress of the application program triggered by the user is updated to an important node, and the other is that the switch control corresponding to the entry that needs to resume display is in the on state. Only when at least the above two conditions are met simultaneously can the entry resume display. It can be understood that if the switch control corresponding to the entry that needs to resume display is in the off state, the display controller controls the corresponding entry not to display the business information. Without the premise of controlling not to display the business information, the display cannot be resumed.

[0230] Exemplarily, when the display screen 194 switches to the associated entry of the entry where the resident service resumes display, the closed card or capsule of the associated entry also resumes display, and the resumed card or capsule displays new business information. This is beneficial for users to promptly check and know new display information such as the business service progress of the application, and avoid users missing important information.

[0231] In the embodiment of the present application, the display controller determines the associated entry of the switch control based on the user's touch behavior on the switch control. Further, when there is service information to be displayed and the display screen 194 displays the associated entry of the switch control, the display controller instructs the system interface to control the display or non-display of the service information for the associated entry of the displayed switch control. That is, it instructs the system interface to display the service information in the display manner corresponding to each associated entry, or instructs the system interface not to display the service information in the display manner corresponding to each associated entry. Based on this, the electronic device 100 realizes the associated management of the display position and display manner of the displayed service information. The display controller determines the associated entry of the displayed entry based on the user's closing behavior on the card or capsule of the entry displayed on the display screen 194. Further, the display controller instructs the system interface to control the closing of the card or capsule of the associated entry of the displayed entry, so that the electronic device 100 stops displaying the service information in the display manner corresponding to the associated entry. Based on this, the electronic device 100 also realizes the associated management of the display position and display manner of the displayed service information.

[0232] By adopting the display position control method provided in the embodiment of the present application, when the user touches a switch control, the electronic device 100 associates the display or stop of the display of the service information at one or more entries; when the user manually closes the card or capsule of an entry, the electronic device 100 associates the closing of the card or capsule of one or more entries. The electronic device 100 conducts associated management on the display position and display manner of the displayed service information, which can better meet the user's needs for using the electronic device 100 and viewing information, can avoid the user's cumbersome and multiple operations, and can improve the convenience of the user's operation.

[0233] It should be noted that in the embodiment of the present application, only the case where the electronic device 100 is a mobile phone is taken as an example to discuss the execution logic when the mobile phone executes the display position control method in the application scenario of global reach application services. However, the display position control method and the global reach application scenario in the embodiment of the present application are not limited to being applied to the mobile phone as the electronic device 100. The display position control method and the global reach application scenario in the embodiment of the present application can also be extended to other electronic devices 100 other than mobile phones, or applied to multiple electronic devices 100 that transfer data to each other. For example, it can be applied to a tablet, applied to a mobile phone and a watch that transfer data to each other, or applied to a mobile phone and one or more other Android system terminal devices that transfer data to each other. The embodiment of the present application does not limit the electronic device 100 that executes the display position control method.

[0234] The control method for the display position in the embodiments of the present application has been described above. Next, a device for executing the control method for the display position provided in the embodiments of the present application will be described. Those skilled in the art can understand that the method and the device can be combined and cited with each other. The relevant device provided in the embodiments of the present application can execute the steps in the control method for the display position described above.

[0235] As Figure 9 shown, the control device 900 for the display position can be used in a communication device, a circuit, a hardware component, or a chip. The control device for the display position includes: a display unit 901 and a processing unit 902. Among them, the display unit 901 is used to support the display steps executed by the control device 900 for the display position; the processing unit 902 is used to support the information processing steps executed by the control device 900 for the display position.

[0236] In a possible implementation manner, the control device 900 for the display position may also include a communication unit 903. Specifically, the communication unit is used to support the steps of sending data and receiving data executed by the control device 900 for the display position. Among them, the communication unit 903 may be an input or output interface, a pin, or a circuit, etc.

[0237] In a possible embodiment, the control device for the display position may further include: a storage unit 904. The processing unit 902 and the storage unit 904 are connected by a line. The storage unit 904 may include one or more memories, and the memory may be a device or a circuit in one or more devices for storing programs or data. The storage unit 904 may exist independently and be connected to the processing unit 902 of the control device for the display position through a communication line. The storage unit 904 may also be integrated with the processing unit 902.

[0238] The storage unit 904 may store computer-executable instructions of the method in the electronic device, so that the processing unit 902 executes the method in the above embodiments. The storage unit 904 may be a register, a cache, or a RAM, etc. The storage unit 904 may be integrated with the processing unit 902. The storage unit 904 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions. The storage unit 904 may be independent of the processing unit 902.

[0239] The control device 900 for the display position provided in the embodiments of the present application can be applied to an electronic device with communication functions. The specific device form of the electronic device and the like can refer to the relevant descriptions above and will not be elaborated here.

[0240] An embodiment of the present application further provides an electronic device, which includes: one or more processors and a memory; wherein, the memory is coupled to the one or more processors, and the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to cause the electronic device to execute the control method of the display position shown in the foregoing embodiments.

[0241] An embodiment of the present application further provides a chip, which is applied to an electronic device, and the chip includes one or more processors, and the processors are used to call computer instructions to cause the electronic device to execute the control method of the display position shown in the foregoing embodiments.

[0242] As used in the foregoing embodiments, depending on the context, the term "when..." may be interpreted to mean "if...", or "after...", or "in response to determining...", or "in response to detecting...". Similarly, depending on the context, the phrase "when determining..." or "if detecting (the stated condition or event)" may be interpreted to mean "if determining...", or "in response to determining...", or "when detecting (the stated condition or event)", or "in response to detecting (the stated condition or event)".

[0243] In the foregoing embodiments, all or part of the functions may be implemented by software, hardware, or a combination of software and hardware. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more integrated available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)), etc.

[0244] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by hardware instructed by a computer program. This program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. The foregoing storage medium includes various media that can store program codes, such as ROM, random access memory (RAM), magnetic disks, or optical discs.

[0245] The above specific implementation manners further elaborate on the object, technical solution, and beneficial effects of the present invention. It should be understood that the above are only specific implementation manners of the present invention and are not used to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solution of the present invention should be included in the protection scope of the present invention.

Claims

1. A control method for a display position, characterized in that, The method includes: Display an application interface on the display screen of the electronic device; the application interface includes one or more switch controls, and one switch control is associated with at least one display position; In response to an operation instruction for the one or more switch controls, set the state of the display positions associated with the one or more switch controls to on or off; When there is display information to be displayed and the state of the display position displayed on the display screen is on, display the display information at the displayed display position.

2. The method according to claim 1, wherein The step of, when there is display information to be displayed and the state of the display position displayed on the display screen is on, displaying the display information at the displayed display position includes: When the display screen displays that there is display information to be displayed at the display position and it is confirmed that the state of the display position is on, display the display information at the displayed display position; or When the display screen is switched and then displays that there is display information to be displayed at the display position and it is confirmed that the state of the display position is on, display the display information at the displayed display position.

3. The method according to claim 1 or 2, characterized in that, The step of displaying the display information at the displayed display position includes: Display the display information in the form of a persistent service at the displayed display position.

4. The method according to claim 3, characterized in that, After displaying the display information in the form of a persistent service at the displayed display position, the method further includes: In response to a close instruction for the displayed persistent service, close the persistent service; when the display screen is switched again to the display position, the display information is not displayed; or In response to a close instruction for the displayed persistent service, close the persistent service; when the display screen is switched to a preset display position associated with the display position where the closed persistent service is located, the display information is not displayed; or In response to a close instruction for the displayed persistent service, close the persistent service; when there is new display information that meets the display rules, use the persistent service to display the new display information at the displayed display position.

5. A control method for display positions, characterized in that The method includes: Receive switch control information through the application interface, where the switch control information includes the state of one or more switch controls being on or off; one switch control is associated with at least one display position; According to the state of the one or more switch controls being on or off, set the state of the display positions associated with the one or more switch controls to on or off; When there is display information to be displayed and the state of the display position displayed on the display screen of the electronic device is on, control the electronic device to display the display information at the displayed display position.

6. The method according to claim 5, wherein The step of controlling the electronic device to display the display information at the displayed display position includes: Control the electronic device to display the display information in the form of a persistent service at the displayed display position.

7. The method according to claim 6, characterized in that, The step of controlling the electronic device to display the display information in the form of a persistent service at the displayed display position includes: Send a display instruction to the system interface of the electronic device; the display instruction is used to instruct the system interface to control the persistent service to be displayed at the displayed display position, and the persistent service includes the display information.

8. The method according to claim 6, characterized in that After controlling the electronic device to display the display information in the form of a persistent service at the displayed display position, the method further includes: Receive display closing information from the system interface of the electronic device; the display closing information includes the display position where the persistent service to be closed is located; control the electronic device to close the persistent service at the display position. When the display screen is switched again to the display position after the screen is switched, the display information is not displayed; or, when the display screen is switched to a preset display position associated with the display position where the closed persistent service is located, the display information is not displayed.

9. The method according to claim 6, wherein After controlling the electronic device to display the display information in the form of a persistent service at the displayed display position, the method further includes: Receive display closing information from the system interface of the electronic device; the display closing information includes the display position where the persistent service to be closed is located. Control the electronic device to close the persistent service at the display position. When there is new display information that meets the display rules, send a display restoration instruction to the system interface; the display restoration instruction is used to instruct the system interface to control the persistent service to be displayed at the display position, and the displayed persistent service includes the new display information.

10. The method according to claim 8 or 9, characterized in that, The controlling the electronic device to close the persistent service at the display position includes: Send a display closing instruction to the system interface of the electronic device; the display closing instruction is used to instruct the system interface to control the persistent service at the display position to be closed.

11. An electronic device, characterized in that, The electronic device includes: one or more processors, a memory, and a display screen. The memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors are used to call the computer instructions to cause the electronic device to execute the method according to any one of claims 1 to 10.

12. A chip, characterized in that, The chip is applied to an electronic device, the chip includes one or more processors, and the processors are used to call computer instructions to cause the electronic device to execute the method according to any one of claims 1 to 10.

13. A computer-readable storage medium includes instructions, characterized in that, When the instruction runs on the electronic device, it causes the electronic device to execute the method according to any one of claims 1 to 10.

14. A computer program product, characterized in that, When the computer program product runs on the electronic device, it causes the electronic device to execute the method according to any one of claims 1 to 10.