CN109901807B - Display method, wearable device and computer readable storage medium - Google Patents

Display method, wearable device and computer readable storage medium Download PDF

Info

Publication number
CN109901807B
CN109901807B CN201910143714.0A CN201910143714A CN109901807B CN 109901807 B CN109901807 B CN 109901807B CN 201910143714 A CN201910143714 A CN 201910143714A CN 109901807 B CN109901807 B CN 109901807B
Authority
CN
China
Prior art keywords
display area
floating window
display
dialog box
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910143714.0A
Other languages
Chinese (zh)
Other versions
CN109901807A (en
Inventor
严敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910143714.0A priority Critical patent/CN109901807B/en
Publication of CN109901807A publication Critical patent/CN109901807A/en
Application granted granted Critical
Publication of CN109901807B publication Critical patent/CN109901807B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a display method, which is applied to wearable equipment, wherein the wearable equipment comprises a display screen, and the method comprises the following steps: receiving a display control instruction, wherein the display control instruction is used for triggering the wearable device to display a dialog box; responding to the display control instruction, and detecting whether the display screen displays a floating window; if the display screen displays the floating window, determining a target display area according to the display area of the floating window, wherein the target display area is not completely overlapped with the display area of the floating window; and displaying the dialog box in the target display area. In addition, the invention also discloses a wearable device and a computer readable storage medium. Therefore, when the wearable device needs to display the dialog box, the dialog box is displayed in the target display area which is not overlapped with the display area of the suspension window, so that the suspension window is prevented from completely shielding the dialog box, and a user can conveniently view the dialog box.

Description

Display method, wearable device and computer readable storage medium
Technical Field
The invention relates to the technical field of wearable device control, in particular to a display method, a wearable device and a computer-readable storage medium.
Background
Along with the continuous development of electronic technology, in recent years, wearable equipment (for example, intelligent bracelet) receives people's liking with its light and handy portable's characteristic, and wearable equipment can be used for recording each item data in the user's daily life, and convenience of customers knows the daily life condition of oneself.
Because wearable equipment portable's characteristic, its size is generally less, and the size of the display screen of wearable equipment also consequently receives the restriction, for the convenience of the user triggers some functions of wearable equipment fast, and present many wearable equipment all support to show the suspension window, however, the suspension window shelters from user interface easily, causes the inconvenience for the user.
Therefore, in the prior art, the display screen of the wearable device is small, and the displayed suspension window easily shields the user interface, so that inconvenience is brought to the user.
Disclosure of Invention
In view of the above, the present invention provides a display method, a wearable device and a computer-readable storage medium to solve the above technical problems.
Firstly, in order to achieve the above object, the present invention provides a display method applied to a wearable device, where the wearable device includes a display screen, and the method includes:
receiving a display control instruction, wherein the display control instruction is used for triggering the wearable device to display a dialog box;
responding to the display control instruction, and detecting whether the display screen displays a floating window;
if the display screen displays the floating window, determining a target display area according to the display area of the floating window, wherein the target display area is not completely overlapped with the display area of the floating window;
and displaying the dialog box in the target display area.
Optionally, if the display screen displays a floating window, determining a target display area according to a display area of the floating window, including:
if the display screen displays the floating window, acquiring the layout information of the dialog box;
and determining a target display area according to the display area of the floating window and the layout information of the dialog box.
Optionally, the layout information of the dialog box includes virtual button layout information of the dialog box;
when the dialog box is displayed in the target display area, the display area of the floating window is not overlapped with the virtual button display area of the dialog box.
Optionally, if the display screen displays a floating window, acquiring the virtual button layout information of the dialog box, including:
if the display screen displays the floating window, judging whether the floating window is a transparent floating window;
and if the floating window is a transparent floating window, acquiring the virtual button layout information of the dialog box.
Optionally, the target display area is partially overlapped with the display area of the floating window, and an area of an overlapping area is smaller than a product of the area of the target display area and a preset ratio, where the overlapping area is an area where the target display area is overlapped with the display area of the floating window.
Optionally, the target display area is not overlapped with the display area of the floating window.
Optionally, if the display screen displays a floating window, determining a target display area according to a display area of the floating window, including:
if the display screen displays the floating window, acquiring a pre-display area of the dialog box;
judging whether the pre-display area is overlapped with the display area of the floating window or not;
and if the pre-display area is not overlapped with the display area of the suspension window, determining the pre-display area as the target display area.
Optionally, after determining whether there is an overlap between the pre-display area and the display area of the floating window, the method further includes:
if the pre-display area is overlapped with the display area of the suspension window, moving the suspension window to a preset area, and determining the pre-display area as the target display area, wherein the preset area is not overlapped with the pre-display area.
Further, to achieve the above object, the present invention also provides a wearable device comprising a memory, at least one processor, and at least one program stored on the memory and executable on the at least one processor, the at least one program implementing the steps of the method of any one of the above when executed by the at least one processor.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium storing at least one program executable by a computer, the at least one program causing the computer to perform the steps of the above method when executed by the computer.
Compared with the prior art, the display method provided by the invention is applied to wearable equipment, the wearable equipment comprises a display screen, and the method comprises the following steps: receiving a display control instruction, wherein the display control instruction is used for triggering the wearable device to display a dialog box; responding to the display control instruction, and detecting whether the display screen displays a floating window; if the display screen displays the floating window, determining a target display area according to the display area of the floating window, wherein the target display area is not completely overlapped with the display area of the floating window; and displaying the dialog box in the target display area. Therefore, when the wearable device needs to display the dialog box, the dialog box can be displayed in the target display area which is not completely overlapped with the display area of the suspension window, so that the suspension window is prevented from completely shielding the dialog box, and a user can conveniently view the dialog box.
Drawings
Fig. 1 is a schematic view of a wearable device provided by an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an intelligent bracelet according to an embodiment of the present invention;
FIG. 3 is a flow chart of a display method according to an embodiment of the present invention;
FIG. 4 is a flow chart of another display method provided by the embodiment of the invention;
FIG. 5 is a flow chart of another display method provided by the embodiment of the invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The Mobile terminal mentioned in the embodiments of the present invention may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), a digital camera, or the like.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a wearable device according to an embodiment of the present invention, and as shown in fig. 1, the server includes: a processor 100, a transceiver 110, a memory 120, a user interface 130 and a bus interface, said processor 100 for reading programs in the memory 120. In FIG. 1, the bus architecture may include any number of interconnected buses and bridges, with various circuits of one or more processors, represented in particular by processor 100, and memory, represented by memory 120, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface and the transceiver 110 may be a number of elements including a transmitter and a receiver providing a means for communicating with various other apparatus over a transmission medium. For different user devices, the user interface 130 may also be an interface capable of interfacing with a desired device externally, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 100 is responsible for managing the bus architecture and general processing, and the memory 120 may store data used by the processor 100 in performing operations.
The wearable device 100 refers to a portable device that can be worn directly on a person's body or integrated into a user's clothing or accessories, and the wearable device 100 includes a display screen. In an embodiment of the present invention, the wearable device 100 may be an intelligent bracelet, an intelligent glasses, and the like, and the wearable device 100 may be an intelligent bracelet 200 as shown in fig. 2, where the intelligent bracelet 200 includes a watch head 201, a watch band 202, and a display screen 203, the display screen 203 is electrically connected to the watch head 201, the display screen 203 may cover only the watch head 201, or may further extend to the watch band 202, and the display screen 203 may cover a part of the watch band 202, or may cover the entire outer surface of the watch band 202, which is not particularly limited in this disclosure. In some embodiments of the present invention, the display screen 203 may be a flexible screen. Based on the above hardware structure of the wearable device 100, various embodiments of the method of the present invention are provided.
The floating window mentioned in the embodiment of the invention is a movable window which is displayed on the surface layer of the interface in a floating manner, and can be used for realizing the specific function of quickly triggering the system function and/or the application program.
Referring to fig. 3, fig. 3 is a flowchart illustrating steps of a display method according to an embodiment of the present invention, where the method is applied to a wearable device, and as shown in fig. 3, the method includes:
step 301, receiving a display control instruction, wherein the display control instruction is used for triggering the wearable device to display a Dialog box (Dialog).
In this step, the wearable device receives a display control instruction, and the display control instruction is used for triggering the wearable device to display a dialog box.
The display control instruction may be a dialog box display instruction generated by the wearable device, specifically, the display control instruction may be a dialog box display instruction generated in a system operation process of the wearable device, for example, the display control instruction may be a display instruction of a low power prompt dialog box of the wearable device; the display control instruction may also be a dialog box display box instruction generated by an application program run by the wearable device, for example, a dialog box may be prompted for a network connection mode generated by the application program of the wearable device.
For example, when the instant messaging software operated by the wearable device receives a voice call or a video call, if the wearable device is currently in a mobile cellular network data connection state, because the voice call or the video call consumes a large amount of data traffic, the instant messaging software may generate a display control instruction for triggering the display screen to display a dialog box, where the dialog box is used to prompt a user that the user is currently in the mobile cellular network data connection state.
The display control instruction may also be a dialog box display instruction received by the wearable device, for example, a dialog box display instruction sent by a mobile terminal in communication connection with the wearable device.
Step 302, responding to the display control instruction, and detecting whether the display screen displays a floating window.
In this step, the wearable device responds to the display control instruction, and detects whether the display screen displays a floating window. It can be understood that, when the display screen displays a floating window, the floating window may block the dialog box, in this step, the wearable device detects whether the display screen displays the floating window, where the floating window may be a floating window corresponding to a system of the wearable device or a floating window corresponding to an application program run by the wearable device, and this is not specifically limited in the embodiment of the present invention.
Step 303, if the display screen displays the floating window, determining a target display area according to the display area of the floating window, wherein the target display area is not completely overlapped with the display area of the floating window.
In this step, if the display screen displays the floating window, the wearable device determines a target display area according to a display area of the floating window, where the target display area and the display area of the floating window are not overlapped. Specifically, the target display area may not overlap with the floating window, or may partially overlap with the floating window.
And 304, displaying the dialog box in the target display area.
In this step, the wearable device displays the dialog box in the target display area.
In this embodiment, the display method receives a display control instruction, where the display control instruction is used to trigger the wearable device to display a dialog box; responding to the display control instruction, and detecting whether the display screen displays a floating window; if the display screen displays the floating window, determining a target display area according to the display area of the floating window, wherein the target display area is not completely overlapped with the display area of the floating window; and displaying the dialog box in the target display area. Therefore, when the wearable device needs to display the dialog box, the dialog box is displayed in the target display area which is not overlapped with the display area of the suspension window, so that the suspension window is prevented from completely shielding the dialog box, and a user can conveniently view the dialog box.
In some embodiments of the present invention, the display control method may further determine the target display area only when the application program corresponding to the floating window is the same as the application program corresponding to the dialog box.
It can be understood that, for an Android (Android) system, an interception code may be added before a dialog box popup display logic of an Android system architecture layer, where the interception code is used to determine, when a dialog box is detected to be displayed, whether an application corresponding to a floating window is the same as an application corresponding to the dialog box, and if the application is the same as the application corresponding to the dialog box, and the floating window is a component (Activity) that covers the dialog box, determine the target display area, and forcibly modify a display parameter of the dialog box according to the target display area, that is, set the target display area as a display area of the dialog box.
Optionally, the target display area is partially overlapped with the display area of the floating window, and an area of an overlapping area is smaller than a product of the area of the target display area and a preset ratio, where the overlapping area is an area where the target display area is overlapped with the display area of the floating window.
In this embodiment, the target display area is partially overlapped with the display area of the floating window, and the area of the overlapped area is smaller than the product of the area of the target display area and a preset ratio. Therefore, when the dialog box is displayed in the target display area, the floating window can not completely shield the dialog box, and a user can check partial content of the dialog box, so that the problem that inconvenience is brought to the user due to the fact that the floating window completely shields the dialog box is effectively avoided.
Optionally, the target display area is not overlapped with the display area of the floating window.
In this embodiment, the target display area is not overlapped with the display area of the floating window, so that when the dialog box is displayed in the target display area, the floating window does not shield the dialog box, and a user can view all contents of the dialog box, thereby providing convenience for the user.
Referring to fig. 4, fig. 4 is a schematic flow chart of another display method provided in the embodiment of the present invention, and as shown in fig. 4, the method includes:
step 401, receiving a display control instruction, where the display control instruction is used to trigger the wearable device to display a dialog box.
And 402, responding to the display control instruction, and detecting whether the display screen displays a floating window.
The steps 401 and 402 are the same as the steps 301 and 302 in the embodiment shown in fig. 3 of the present invention, and are not described again here.
And 403, if the display screen displays a floating window, acquiring layout information of the dialog box.
In this step, if the display screen displays a floating window, the wearable device obtains layout information of the dialog box, where the layout information of the dialog box includes layout information of a virtual button of the dialog box, for example, a relative display position of the virtual button in the dialog box, and/or display size information.
Step 404, determining a target display area according to the display area of the floating window and the layout information of the dialog box, wherein the target display area is not completely overlapped with the display area of the floating window.
In this step, the wearable device determines a target display area according to the display area of the floating window and the layout information of the dialog box, where the target display area and the display area of the floating window do not overlap.
In this embodiment, the wearable device may determine a target display area, so that when the dialog box is displayed in the target display area, the floating window does not shield the virtual button of the dialog box, and thus, a user can operate the virtual button of the dialog box conveniently.
And step 405, displaying the dialog box in the target display area.
This step 405 is the same as step 304 in the embodiment of fig. 3 of the present invention, and is not described herein again.
In this embodiment, the display method receives a display control instruction, where the display control instruction is used to trigger the wearable device to display a dialog box; responding to the display control instruction, and detecting whether the display screen displays a floating window; if the display screen displays the floating window, acquiring the layout information of the dialog box; determining a target display area according to the display area of the floating window and the layout information of the dialog box, wherein the target display area is not completely overlapped with the display area of the floating window; and displaying the dialog box in the target display area. Therefore, when the wearable device needs to display the dialog box, the dialog box is displayed in the target display area which is not overlapped with the display area of the suspension window, so that the suspension window is prevented from completely shielding the dialog box, and a user can conveniently view the dialog box.
Optionally, the layout information of the dialog box includes virtual button layout information of the dialog box;
when the dialog box is displayed in the target display area, the display area of the floating window is not overlapped with the virtual button display area of the dialog box.
In this embodiment, the layout information of the dialog box includes virtual button layout information of the dialog box, and the virtual button layout information includes a relative display position of a virtual button in the dialog box and/or display size information.
In this embodiment, the wearable device determines the target display area according to the virtual button layout information and the display area of the floating window, so that when the dialog box is displayed in the target display area, the floating window does not shield the virtual button of the dialog box, and thus, a user can conveniently operate the virtual button of the dialog box.
Optionally, if the display screen displays a floating window, acquiring the virtual button layout information of the dialog box, including:
if the display screen displays the floating window, judging whether the floating window is a transparent floating window;
and if the floating window is a transparent floating window, acquiring the virtual button layout information of the dialog box.
In this embodiment, if the display screen displays the floating window, the wearable device determines whether the floating window is the transparent floating window, and if the floating window is the transparent floating window, the wearable device further obtains the virtual button layout information of the dialog box.
It can be understood that, when the floating window is a transparent floating window, if the floating window is covered on the dialog box, the user is not influenced to view the content of the dialog box, but the user cannot perform an operation on the dialog box through the floating window. Therefore, the wearable device determines the target display area according to the virtual button layout information of the dialog box, so that the floating window does not influence the user to check the dialog box and the user operation on the dialog box, and convenience is provided for the user.
Referring to fig. 5, fig. 5 is a schematic flow chart of another display method provided in the embodiment of the present invention, and as shown in fig. 5, the method includes:
step 501, receiving a display control instruction, wherein the display control instruction is used for triggering the wearable device to display a dialog box.
Step 502, responding to the display control instruction, and detecting whether the display screen displays a floating window.
Step 501 and step 502 are the same as step 301 and step 302 in the embodiment shown in fig. 3 of the present invention, and are not described again here.
Step 503, if the display screen displays the floating window, acquiring a pre-display area of the dialog box.
In this step, if the display screen displays a floating window, the wearable device acquires a pre-display area of the dialog box. The pre-display area of the dialog box may be a default fixed display area, or may be carried in the display control instruction, which is not specifically limited in this embodiment of the present invention.
And step 504, judging whether the pre-display area is overlapped with the display area of the floating window.
In this step, the wearable device determines whether the pre-display area overlaps with the display area of the floating window.
And 505, if the pre-display area is not overlapped with the display area of the floating window, determining that the pre-display area is the target display area.
In this step, if there is no overlap between the pre-display area and the display area of the floating window, the pre-display area is determined to be the target display area. It can be understood that, if the pre-display area does not overlap with the display area of the floating window, the floating window does not block the dialog box, and the wearable device directly determines that the pre-display area is the target display area.
Step 506, displaying the dialog box in the target display area.
This step 506 is the same as step 304 in the embodiment of fig. 3 of the present invention, and is not described herein again.
In this embodiment, the display method receives a display control instruction, where the display control instruction is used to trigger the wearable device to display a dialog box; responding to the display control instruction, and detecting whether the display screen displays a floating window; if the display screen displays the floating window, acquiring a pre-display area of the dialog box; judging whether the pre-display area is overlapped with the display area of the floating window or not; if the pre-display area is not overlapped with the display area of the floating window, determining the pre-display area as the target display area; and displaying the dialog box in the target display area. Therefore, when the wearable device needs to display the dialog box, the dialog box is displayed in a target display area which is not overlapped with the display area of the suspension window, so that the suspension window is prevented from shielding the dialog box, and a user can conveniently check the dialog box.
Optionally, after determining whether there is an overlap between the pre-display area and the display area of the floating window, the method further includes:
if the pre-display area is overlapped with the display area of the suspension window, moving the suspension window to a preset area, and determining the pre-display area as the target display area, wherein the preset area is not overlapped with the pre-display area.
In this embodiment, if the pre-display area overlaps with the display area of the floating window, the wearable device moves the floating window to a preset area, and determines that the pre-display area is the target display area, so that when the pre-display area overlaps with the display area of the floating window, the wearable device moves the display position of the floating window, so that the floating window does not block the dialog box, a user can conveniently view the dialog box, and convenience is provided for the user.
It will be understood by those skilled in the art that all or part of the steps of the method implementing the above embodiments may be implemented by hardware associated with at least one program instruction, where the at least one program may be stored in the memory 120 of the server shown in fig. 1 and can be executed by the processor 100, and the at least one program when executed by the processor 100 implements the following steps:
receiving a display control instruction, wherein the display control instruction is used for triggering the wearable device to display a dialog box;
responding to the display control instruction, and detecting whether the display screen displays a floating window;
if the display screen of the wearable device displays the floating window, determining a target display area according to the display area of the floating window, wherein the target display area is not completely overlapped with the display area of the floating window;
and displaying the dialog box in the target display area.
Optionally, if the display screen displays a floating window, determining a target display area according to a display area of the floating window, including:
if the display screen displays the floating window, acquiring the layout information of the dialog box;
and determining a target display area according to the display area of the floating window and the layout information of the dialog box.
Optionally, the layout information of the dialog box includes virtual button layout information of the dialog box;
when the dialog box is displayed in the target display area, the display area of the floating window is not overlapped with the virtual button display area of the dialog box.
Optionally, if the display screen displays a floating window, acquiring the virtual button layout information of the dialog box, including:
if the display screen displays the floating window, judging whether the floating window is a transparent floating window;
and if the floating window is a transparent floating window, acquiring the virtual button layout information of the dialog box.
Optionally, the target display area is partially overlapped with the display area of the floating window, and an area of an overlapping area is smaller than a product of the area of the target display area and a preset ratio, where the overlapping area is an area where the target display area is overlapped with the display area of the floating window.
Optionally, the target display area is not overlapped with the display area of the floating window.
Optionally, if the display screen displays a floating window, determining a target display area according to a display area of the floating window, including:
if the display screen displays the floating window, acquiring a pre-display area of the dialog box;
judging whether the pre-display area is overlapped with the display area of the floating window or not;
and if the pre-display area is not overlapped with the display area of the suspension window, determining the pre-display area as the target display area.
Optionally, after determining whether there is an overlap between the pre-display area and the display area of the floating window, the processor 100 may further implement the following steps:
if the pre-display area is overlapped with the display area of the suspension window, moving the suspension window to a preset area, and determining the pre-display area as the target display area, wherein the preset area is not overlapped with the pre-display area.
It will be understood by those skilled in the art that all or part of the steps of the method for implementing the above embodiments may be implemented by hardware associated with at least one program instruction, the at least one program may be stored in a computer readable storage medium, and when executed, the at least one program may comprise the steps of:
receiving a display control instruction, wherein the display control instruction is used for triggering the wearable device to display a dialog box;
responding to the display control instruction, and detecting whether the display screen displays a floating window;
if the display screen of the wearable device displays the floating window, determining a target display area according to the display area of the floating window, wherein the target display area is not completely overlapped with the display area of the floating window;
and displaying the dialog box in the target display area.
Optionally, if the display screen displays a floating window, determining a target display area according to a display area of the floating window, including:
if the display screen displays the floating window, acquiring the layout information of the dialog box;
and determining a target display area according to the display area of the floating window and the layout information of the dialog box.
Optionally, the layout information of the dialog box includes virtual button layout information of the dialog box;
when the dialog box is displayed in the target display area, the display area of the floating window is not overlapped with the virtual button display area of the dialog box.
Optionally, if the display screen displays a floating window, acquiring the virtual button layout information of the dialog box, including:
if the display screen displays the floating window, judging whether the floating window is a transparent floating window;
and if the floating window is a transparent floating window, acquiring the virtual button layout information of the dialog box.
Optionally, the target display area is partially overlapped with the display area of the floating window, and an area of an overlapping area is smaller than a product of the area of the target display area and a preset ratio, where the overlapping area is an area where the target display area is overlapped with the display area of the floating window.
Optionally, the target display area is not overlapped with the display area of the floating window.
Optionally, if the display screen displays a floating window, determining a target display area according to a display area of the floating window, including:
if the display screen displays the floating window, acquiring a pre-display area of the dialog box;
judging whether the pre-display area is overlapped with the display area of the floating window or not;
and if the pre-display area is not overlapped with the display area of the suspension window, determining the pre-display area as the target display area.
Optionally, after determining whether there is an overlap between the pre-display area and the display area of the floating window, when the at least one program is executed, the following steps may also be implemented:
if the pre-display area is overlapped with the display area of the suspension window, moving the suspension window to a preset area, and determining the pre-display area as the target display area, wherein the preset area is not overlapped with the pre-display area.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A display method is applied to wearable equipment, the wearable equipment comprises a display screen, and the method is characterized by comprising the following steps:
receiving a display control instruction, wherein the display control instruction is used for triggering the wearable device to display a dialog box;
responding to the display control instruction, and detecting whether the display screen displays a floating window;
if the display screen displays the floating window, determining a target display area according to the display area of the floating window, wherein the target display area is not completely overlapped with the display area of the floating window;
displaying the dialog box in the target display area;
wherein, if the display screen displays the floating window, determining a target display area according to the display area of the floating window, including:
if the display screen displays the floating window, acquiring the layout information of the dialog box;
determining a target display area according to the display area of the floating window and the layout information of the dialog box;
wherein the layout information of the dialog box comprises virtual button layout information of the dialog box;
when the dialog box is displayed in the target display area, the display area of the floating window is not overlapped with the virtual button display area of the dialog box.
2. The method of claim 1, wherein the obtaining the virtual button layout information of the dialog box if the display screen displays a floating window comprises:
if the display screen displays the floating window, judging whether the floating window is a transparent floating window;
and if the floating window is a transparent floating window, acquiring the virtual button layout information of the dialog box.
3. The display method according to any one of claims 1 to 2, wherein the target display region partially overlaps with the display region of the floating window, and an area of an overlapping region is smaller than a product of the area of the target display region and a preset ratio, wherein the overlapping region is a region where the target display region overlaps with the display region of the floating window.
4. The display method according to any one of claims 1 to 2, wherein the target display area is not overlapped with the display area of the floating window.
5. The method as claimed in claim 4, wherein if the display screen displays a floating window, determining a target display area according to the display area of the floating window comprises:
if the display screen displays the floating window, acquiring a pre-display area of the dialog box;
judging whether the pre-display area is overlapped with the display area of the floating window or not;
and if the pre-display area is not overlapped with the display area of the suspension window, determining the pre-display area as the target display area.
6. The method as claimed in claim 5, wherein after determining whether the pre-display area overlaps with the display area of the floating window, the method further comprises:
if the pre-display area is overlapped with the display area of the suspension window, moving the suspension window to a preset area, and determining the pre-display area as the target display area, wherein the preset area is not overlapped with the pre-display area.
7. Wearable device, characterized in that the wearable device comprises a memory, at least one processor and at least one program stored on the memory and executable on the at least one processor, which at least one program when executed by the at least one processor implements the steps of the method of any of the preceding claims 1-6.
8. A computer-readable storage medium storing at least one program executable by a computer, the at least one program, when executed by the computer, causing the computer to perform the steps of the method of any one of claims 1 to 6.
CN201910143714.0A 2019-02-25 2019-02-25 Display method, wearable device and computer readable storage medium Active CN109901807B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910143714.0A CN109901807B (en) 2019-02-25 2019-02-25 Display method, wearable device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910143714.0A CN109901807B (en) 2019-02-25 2019-02-25 Display method, wearable device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109901807A CN109901807A (en) 2019-06-18
CN109901807B true CN109901807B (en) 2022-03-25

Family

ID=66945690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910143714.0A Active CN109901807B (en) 2019-02-25 2019-02-25 Display method, wearable device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109901807B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005430A (en) * 2015-07-17 2015-10-28 深圳市金立通信设备有限公司 Window display method and terminal
WO2017101663A1 (en) * 2015-12-18 2017-06-22 中兴通讯股份有限公司 Application guiding method and apparatus, and terminal
CN106941000A (en) * 2017-03-21 2017-07-11 百度在线网络技术(北京)有限公司 Voice interactive method and device based on artificial intelligence
CN107734175A (en) * 2017-10-25 2018-02-23 维沃移动通信有限公司 The reminding method and mobile terminal of a kind of notification message

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005430A (en) * 2015-07-17 2015-10-28 深圳市金立通信设备有限公司 Window display method and terminal
WO2017101663A1 (en) * 2015-12-18 2017-06-22 中兴通讯股份有限公司 Application guiding method and apparatus, and terminal
CN106941000A (en) * 2017-03-21 2017-07-11 百度在线网络技术(北京)有限公司 Voice interactive method and device based on artificial intelligence
CN107734175A (en) * 2017-10-25 2018-02-23 维沃移动通信有限公司 The reminding method and mobile terminal of a kind of notification message

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
国内第三方Android应用市场安全性的检测;闫晋佩等;《计算机科学》;20151231;第143-147页 *

Also Published As

Publication number Publication date
CN109901807A (en) 2019-06-18

Similar Documents

Publication Publication Date Title
US11169703B2 (en) Method for displaying graphical user interface and mobile terminal
EP3345077B1 (en) Foldable electronic device including hidden display and information display method thereof
CN111061574B (en) Object sharing method and electronic device
CN109375890B (en) Screen display method and multi-screen electronic equipment
EP3411780B1 (en) Intelligent electronic device and method of operating the same
CN110062105B (en) Interface display method and terminal equipment
CN109032445B (en) Screen display control method and terminal equipment
CN111596845A (en) Display control method and device and electronic equipment
CN109828705B (en) Icon display method and terminal equipment
US20220317862A1 (en) Icon moving method and electronic device
CN109213407B (en) Screenshot method and terminal equipment
KR20160046099A (en) Displaying of method and apparatus in a electronic device
CN112749362B (en) Control creation method, device, equipment and storage medium
EP3340026A1 (en) Watch-type mobile terminal
CN110837327A (en) Message viewing method and terminal
US20220276830A1 (en) Parameter adjustment method and electronic device
KR20160085665A (en) Terminal and operating method thereof
CN110795310A (en) Information reminding method and electronic equipment
CN110399195B (en) Desktop icon dynamic replacement method, equipment and computer readable storage medium
CN110012152B (en) Interface display method and terminal equipment
CN110012151B (en) Information display method and terminal equipment
CN109815678B (en) Permission configuration method and mobile terminal
CN109800097B (en) Notification message reminding method, storage medium and mobile terminal
CN109901807B (en) Display method, wearable device and computer readable storage medium
CN108614725B (en) Interface display method and terminal

Legal Events

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