CN109901807A - A kind of display methods, wearable device and computer readable storage medium - Google Patents
A kind of display methods, wearable device and computer readable storage medium Download PDFInfo
- Publication number
- CN109901807A CN109901807A CN201910143714.0A CN201910143714A CN109901807A CN 109901807 A CN109901807 A CN 109901807A CN 201910143714 A CN201910143714 A CN 201910143714A CN 109901807 A CN109901807 A CN 109901807A
- Authority
- CN
- China
- Prior art keywords
- display area
- display
- suspended window
- dialog box
- destination
- 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.)
- Granted
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of display methods, are applied to wearable device, and the wearable device includes display screen, which comprises receives display control signal, wherein the display control signal shows dialog box for triggering the wearable device;In response to the display control signal, detect whether the display screen shows suspended window;If the display screen shows suspended window, destination display area is determined according to the display area of the suspended window, wherein the destination display area and the display area of the suspended window are not exclusively be overlapped;The dialog box is shown in the destination display area.In addition, invention additionally discloses a kind of wearable device and computer readable storage mediums.In this way, when the wearable device needs to show dialog box, the dialog box is shown and does not complete Chong Die destination display area with the display area of the suspended window, so that the suspended window be avoided to block the dialog box completely, user is facilitated to check the dialog box.
Description
Technical field
The present invention relates to wearable device control technology field more particularly to a kind of display methods, wearable device and meter
Calculation machine readable storage medium storing program for executing.
Background technique
With the continuous development of electronic technology, in recent years, wearable device (such as Intelligent bracelet) lightly is convenient for taking with it
The characteristic of band is liked that wearable device can be used to record all data in user's daily life by people, facilitates use
Family understands the daily life situation of oneself.
Due to the portable characteristic of wearable device, size is typically small, the size of the display screen of wearable device
Also it is therefore restricted, some functions of wearable device is rapidly triggered in order to facilitate user, current many wearable devices
Display suspended window is all supported to cause inconvenience to the user however, suspended window is easy to shelter from user interface.
As it can be seen that in the prior art, since the display screen of wearable device is smaller, the suspended window of display is easy to block user
Interface causes inconvenience to the user.
Summary of the invention
In view of this, the present invention proposes a kind of display methods, wearable device and computer readable storage medium, to solve
Above-mentioned technical problem.
Firstly, to achieve the above object, the present invention proposes a kind of display methods, it is applied to wearable device, the wearing
Formula equipment includes display screen, which comprises
Receive display control signal, wherein the display control signal is for triggering the wearable device display dialogue
Frame;
In response to the display control signal, detect whether the display screen shows suspended window;
If the display screen shows suspended window, destination display area is determined according to the display area of the suspended window,
In, the destination display area and the display area of the suspended window are not exclusively be overlapped;
The dialog box is shown in the destination display area.
Optionally, if the display screen shows suspended window, target is determined according to the display area of the suspended window
Display area, comprising:
If the display screen shows suspended window, the layout information of the dialog box is obtained;
According to the layout information of the display area of the suspended window and the dialog box, destination display area is determined.
Optionally, the layout information of the dialog box includes the virtual button layout information of the dialog box;
Wherein, when the dialog box is shown in the destination display area, the display area of the suspended window with it is described right
The virtual push button display area of words frame is not overlapped.
Optionally, if the display screen shows suspended window, the virtual button layout information of the dialog box is obtained,
Include:
If the display screen shows suspended window, judge whether the suspended window is transperent suspension window;
If the suspended window is transperent suspension window, the virtual button layout information of the dialog box is obtained.
Optionally, the display area of the destination display area and the suspended window partly overlaps, the area of overlapping region
Less than the area of the destination display area and the product of preset ratio, wherein the overlapping region is the target viewing area
The domain region Chong Die with the display area of the suspended window.
Optionally, the destination display area and the display area of the suspended window be not be overlapped.
Optionally, if the display screen shows suspended window, target is determined according to the display area of the suspended window
Display area, comprising:
If the display screen shows suspended window, the pre-display region of the dialog box is obtained;
Judge the pre-display region with the display area of the suspended window with the presence or absence of Chong Die;
If the pre-display region and the display area of the suspended window there is no Chong Die, determine that the pre-display region is
The destination display area.
Optionally, the judgement pre-display region and the display area of the suspended window whether there is it is Chong Die after,
The method also includes:
If the pre-display region is with the display area of the suspended window, there are Chong Die, the mobile suspended windows to preset areas
Domain, and determine that the pre-display region is the destination display area, wherein the predeterminable area and the pre-display region are not
There are overlappings.
Further, to achieve the above object, the present invention also provides a kind of wearable device, the wearable device includes
Memory, at least one processor and be stored on the memory and can be executed at least one described processor at least one
A program, at least one described program are realized in method described in any of the above embodiments when being executed by least one described processor
Step.
Further, to achieve the above object, the present invention also provides a kind of computer readable storage medium, the computers
Readable storage medium storing program for executing is stored at least one executable program of computer, at least one described program is executed by the computer
When so that the computer is executed the step in the above method.
Compared to the prior art, display methods proposed by the present invention is applied to wearable device, the wearable device packet
Include display screen, which comprises receive display control signal, wherein the display control signal is for triggering described wear
It wears formula equipment and shows dialog box;In response to the display control signal, detect whether the display screen shows suspended window;If institute
It states display screen and shows suspended window, destination display area is determined according to the display area of the suspended window, wherein the target is aobvious
Show that region and the display area of the suspended window are not exclusively be overlapped;The dialog box is shown in the destination display area.In this way,
The dialog box can be shown in the display area with the suspended window when the wearable device needs to show dialog box
The destination display area for not completing overlapping facilitates user to check institute so that the suspended window be avoided to block the dialog box completely
State dialog box.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram of wearable device provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of Intelligent bracelet provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of display methods provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of another display methods provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of another display methods provided in an embodiment of the present invention;
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
The mobile terminal mentioned in the embodiment of the present invention can be mobile phone, tablet computer (Tablet Personal
Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital
Assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable device
(Wearable Device), digital camera etc..
Referring to Fig. 1, Fig. 1 is a kind of hardware structural diagram of wearable device provided in an embodiment of the present invention, such as Fig. 1
Shown, the server includes: processor 100, transceiver 110, memory 120, user interface 130 and bus interface, described
Processor 100, for reading the program in memory 120.In Fig. 1, bus architecture may include any number of interconnection
The various electricity for the memory that bus and bridge, the one or more processors specifically represented by processor 100 and memory 120 represent
Road links together.Bus architecture can also by such as peripheral equipment, voltage-stablizer and management circuit or the like it is various its
He links together circuit, and these are all it is known in the art, and therefore, it will not be further described herein.Bus
Interface provides interface, and transceiver 110 can be multiple element, that is, includes transmitter and receiver, provide in transmission medium
The upper unit communicated with various other devices.For different user equipmenies, user interface 130, which can also be, external to be inscribed
The interface of equipment is needed, the equipment of connection includes but is not limited to keypad, display, loudspeaker, microphone, control stick etc..
Processor 100, which is responsible for management bus architecture and common processing, memory 120, can store processor 100 and is holding
Used data when row operation.
The wearable device 100 be refer to directly be worn on the body of people, or be integrated into user clothes or
A kind of portable device of person's accessory, the wearable device 100 include display screen.The wearable device 100 can be
Intelligent bracelet, intelligent glasses etc., in the embodiment of the present invention, the wearable device 100 can be to be illustrated in figure 2 Intelligent bracelet
200, the Intelligent bracelet 200 includes gauge outfit 201, watchband 202 and display screen 203, the display screen 203 and the table
First 201 are electrically connected, and the display screen 203 can only cover the gauge outfit 201, can also further extend to the watchband
202, the display screen 203 can cover a part of the watchband 202, can also cover the entire outer of the watchband 202
Surface, the present invention are not specifically limited in this embodiment.In some embodiment of the invention, the display screen 203 can be flexible screen.
Based on above-mentioned 100 hardware configuration of wearable device, each embodiment of the method for the present invention is proposed.
The suspended window that the embodiment of the present invention is mentioned is the moveable window for suspending and being shown in the surface layer at interface, be can be used in
Realize the concrete function of quick triggering system function and/or application program.
It is a kind of step flow chart of display methods provided in an embodiment of the present invention refering to 3, Fig. 3, the method is applied to
In one wearable device, as shown in Figure 3, which comprises
Step 301 receives display control signal, wherein the display control signal is for triggering the wearable device
It shows dialog box (Dialog).
In the step, the wearable device receives display control signal, and the display control signal is described for triggering
Wearable device shows dialog box.
The dialog box idsplay order that the display control signal can be generated by the wearable device, it is specifically, described
Display control signal can be the dialog box idsplay order that generates in the system operation of the wearable device, such as can be with
For the idsplay order of the low capacity prompt dialog box of the wearable device;The display control signal may be the wearing
The dialog box display box instruction that the application program of formula equipment operation generates, such as can be the application program of the wearable device
The internetwork connection mode prompted dialog frame of generation.
For example, when the instant message applications of wearable device operation receives voice communication or video calling
When, if the wearable device is currently at mobile cellular network data connection status, due to voice communication or video calling meeting
A large amount of data traffic is expended, display control signal can be generated in the instant message applications at this time, for triggering the display
Screen shows dialog box, and the dialog box is for prompting user to be currently at mobile cellular network data connection status.
The display control signal may be the received dialog box idsplay order of the wearable device, such as can be
The dialog box idsplay order sent with the mobile terminal of wearable device communication connection.
Step 302, in response to the display control signal, detect whether the display screen shows suspended window.
In the step, the wearable device detects whether the display screen shows in response to the display control signal
Show suspended window.It is understood that the suspended window may block dialogue when the display screen shows suspended window
Frame, in the step, the wearable device detects whether the display screen shows that suspended window, the suspended window can be described
The corresponding suspended window of the system of wearable device, or the corresponding suspension of application program of the wearable device operation
Window, the embodiment of the present invention are not specifically limited in this embodiment.
If step 303, the display screen show suspended window, determine that target is shown according to the display area of the suspended window
Region, wherein the destination display area and the display area of the suspended window are not exclusively be overlapped.
In the step, if the display screen shows suspended window, the wearable device is according to the viewing area of institute's suspended window
Domain determines destination display area, wherein the destination display area is not completed be overlapped with the display area of the suspended window.Specifically
Ground, the destination display area can be not be overlapped with the suspended window, can also exist with the suspended window and partly overlap.
Step 304 shows the dialog box in the destination display area.
In the step, the wearable device shows the dialog box in the destination display area.
In the present embodiment, the display methods receives display control signal, wherein the display control signal is for triggering
The wearable device shows dialog box;In response to the display control signal, detect whether the display screen shows suspension
Window;If the display screen shows suspended window, destination display area is determined according to the display area of the suspended window, wherein institute
It states destination display area and the display area of the suspended window is not exclusively be overlapped;The dialogue is shown in the destination display area
Frame.In this way, the dialog box is shown in the display with the suspended window when the wearable device needs to show dialog box
The destination display area that overlapping is not completed in region facilitates user to look into so that the suspended window be avoided to block the dialog box completely
See the dialog box.
In some embodiments of the invention, the display control method can only in the corresponding application program of the suspended window and
The identical situation of the corresponding application program of the dialog box, further determines that the destination display area.
It is understood that the dialogue in android system framework layer can be passed through for Android (Android) system
Increase before frame pop-up display logic and intercept code, the interceptions code be used for detect need to show dialog box when, judge
Whether corresponding with the dialog box the corresponding application program of suspended window application program be identical, if they are the same, and the suspension
Window is the component (Activity) being covered on the dialog box, determines the destination display area, and according to the target
The display parameters of dialog box described in the mandatory modification of display area set the aobvious of the dialog box for the destination display area
Show region.
Optionally, the display area of the destination display area and the suspended window partly overlaps, the area of overlapping region
Less than the area of the destination display area and the product of preset ratio, wherein the overlapping region is the target viewing area
The domain region Chong Die with the display area of the suspended window.
In the embodiment, the display area of the destination display area and the suspended window partly overlaps, overlapping region
Area is less than the area of the destination display area and the product of preset ratio.In this way, when the dialog box is shown in the mesh
When marking display area, the suspended window will not block the dialog box completely, and user can check in the part of the dialog box
Hold, to effectively avoid the problem that suspended window blocks the dialog box completely and causes inconvenience to the user.
Optionally, the destination display area and the display area of the suspended window be not be overlapped.
In the embodiment, the destination display area and the display area of the suspended window be not be overlapped, in this way, when described right
When words frame is shown in the destination display area, the suspended window will not cause to block to the dialog box, and user can check
The full content of the dialog box provides the user with conveniently.
Referring to fig. 4, Fig. 4 is the flow diagram of another display methods provided in an embodiment of the present invention, as shown in figure 4,
The described method includes:
Step 401 receives display control signal, wherein the display control signal is for triggering the wearable device
Show dialog box.
Step 402, in response to the display control signal, detect whether the display screen shows suspended window.
The step 401 and step 402 in present invention embodiment shown in Fig. 3 step 301 and step 302 it is identical,
Details are not described herein again.
If step 403, the display screen show suspended window, the layout information of the dialog box is obtained.
In the step, if the display screen shows suspended window, the wearable device obtains the layout of the dialog box
Information, the layout information of the dialog box include the layout information of the virtual push button of the dialog box, such as virtual push button in institute
State the relative display position and/or display size information in dialog box.
Step 404, according to the display area of the suspended window and the layout information of the dialog box, determine target viewing area
Domain, wherein the destination display area and the display area of the suspended window are not exclusively be overlapped.
In the step, the wearable device is believed according to the display area of the suspended window and the layout of the dialog box
Breath, determines destination display area, wherein the destination display area is not completed be overlapped with the display area of the suspended window.
In the present embodiment, the wearable device can determine destination display area, so that the dialog box is shown in institute
When stating destination display area, the suspended window does not block the virtual push button of the dialog box, in this way, facilitating user to the dialogue
The virtual push button of frame is operated.
Step 405 shows the dialog box in the destination display area.
The step 405 is identical as the step 304 in present invention embodiment shown in Fig. 3, and details are not described herein again.
In the present embodiment, the display methods receives display control signal, wherein the display control signal is for triggering
The wearable device shows dialog box;In response to the display control signal, detect whether the display screen shows suspension
Window;If the display screen shows suspended window, the layout information of the dialog box is obtained;According to the display area of the suspended window
With the layout information of the dialog box, destination display area is determined, wherein the destination display area is aobvious with the suspended window
Show that region is not exclusively overlapped;The dialog box is shown in the destination display area.In this way, being needed in the wearable device aobvious
When showing dialog box, the dialog box is shown and does not complete Chong Die destination display area with the display area of the suspended window,
To avoid the suspended window from blocking the dialog box completely, user is facilitated to check the dialog box.
Optionally, the layout information of the dialog box includes the virtual button layout information of the dialog box;
Wherein, when the dialog box is shown in the destination display area, the display area of the suspended window with it is described right
The virtual push button display area of words frame is not overlapped.
In the present embodiment, the layout information of the dialog box includes the virtual button layout information of the dialog box, described
Virtual button layout information includes relative display position and/or display size information of the virtual push button in the dialog box.
In the present embodiment, the wearable device is according to the display of the virtual button layout information and the suspended window
Region determines destination display area, and when so that the dialog box being shown in the destination display area, the suspended window is not blocked
The virtual push button of the dialog box, in this way, user is facilitated to operate the virtual push button of the dialog box.
Optionally, if the display screen shows suspended window, the virtual button layout information of the dialog box is obtained,
Include:
If the display screen shows suspended window, judge whether the suspended window is transperent suspension window;
If the suspended window is transperent suspension window, the virtual button layout information of the dialog box is obtained.
In the present embodiment, if the display screen shows suspended window, whether the wearable device judges the suspended window
For transperent suspension window, if the suspended window is the transperent suspension window, the wearable device further obtains the dialog box
Virtual button layout information.
It is understood that when the suspended window is transperent suspension window, if the suspended window is covered on the dialog box
On, it will not influence the content that user checks the dialog box, but user can not be through the suspended window to the dialog box
Execute operation.Therefore, the wearable device determines that target is shown according to according to the virtual button layout information of the dialog box
Region does not influence operation of the user to the dialog box, gives so that the suspended window does not influence user while check dialog box
User provides convenient.
It is the flow diagram of another display methods provided in an embodiment of the present invention referring to Fig. 5, Fig. 5, as shown in figure 5,
The described method includes:
Step 501 receives display control signal, wherein the display control signal is for triggering the wearable device
Show dialog box.
Step 502, in response to the display control signal, detect whether the display screen shows suspended window.
The step 501 and step 502 in present invention embodiment shown in Fig. 3 step 301 and step 302 it is identical,
Details are not described herein again.
If step 503, the display screen show suspended window, the pre-display region of the dialog box is obtained.
In the step, if the display screen shows suspended window, the wearable device obtains the pre- aobvious of the dialog box
Show region.The pre-display region of the dialog box can be the fixed display area of default, can also carry and control in the display
In system instruction, the embodiment of the present invention is not specifically limited in this embodiment.
Step 504 judges the pre-display region with the display area of the suspended window with the presence or absence of Chong Die.
In the step, the wearable device judges whether the pre-display region and the display area of the suspended window deposit
It is being overlapped.
If step 505, the pre-display region and the display area of the suspended window there is no Chong Die, determine described pre- show
Show that region is the destination display area.
In the step, if the pre-display region and the display area of the suspended window there is no Chong Die, determine described pre-
Display area is the destination display area.It is understood that if the viewing area in the pre-display region and the suspended window
There is no overlapping, the suspended windows will not block the dialog box in domain, and the wearable device directly determines the pre-display area
Domain is destination display area.
Step 506 shows the dialog box in the destination display area.
The step 506 is identical as the step 304 in present invention embodiment shown in Fig. 3, and details are not described herein again.
In the present embodiment, the display methods receives display control signal, wherein the display control signal is for triggering
The wearable device shows dialog box;In response to the display control signal, detect whether the display screen shows suspension
Window;If the display screen shows suspended window, the pre-display region of the dialog box is obtained;Judge the pre-display region and institute
The display area of suspended window is stated with the presence or absence of overlapping;If there is no weights for the pre-display region and the display area of the suspended window
It is folded, determine that the pre-display region is the destination display area;The dialog box is shown in the destination display area.This
Sample shows the dialog box in the display area with the suspended window when the wearable device needs to show dialog box
There is no the destination display areas of overlapping, so that the suspended window be avoided to block the dialog box, facilitate user to check described right
Talk about frame.
Optionally, the judgement pre-display region and the display area of the suspended window whether there is it is Chong Die after,
The method also includes:
If the pre-display region is with the display area of the suspended window, there are Chong Die, the mobile suspended windows to preset areas
Domain, and determine that the pre-display region is the destination display area, wherein the predeterminable area and the pre-display region are not
There are overlappings.
It is described wearable if the pre-display region and the display area of the suspended window are there are Chong Die in the embodiment
The mobile suspended window of equipment determines that the pre-display region is the destination display area to predeterminable area, in this way, working as institute
State pre-display region and the display area of the suspended window there are it is Chong Die when, the mobile suspended window of the wearable device it is aobvious
Show position, so that the suspended window does not block the dialog box, user is facilitated to check dialog box, provides the user with conveniently.
It can be with those of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment method is
It is completed by the relevant hardware of at least one program instruction, at least one described program can store in clothes as shown in Figure 1
It is engaged in the memory 120 of device, and can be executed by the processor 100, at least one described program is held by the processor 100
Following steps are realized when row:
Receive display control signal, wherein the display control signal is for triggering the wearable device display dialogue
Frame;
In response to the display control signal, detect whether the display screen shows suspended window;
If the display screen of the wearable device shows suspended window, target is determined according to the display area of the suspended window
Display area, wherein the destination display area and the display area of the suspended window are not exclusively be overlapped;
The dialog box is shown in the destination display area.
Optionally, if the display screen shows suspended window, target is determined according to the display area of the suspended window
Display area, comprising:
If the display screen shows suspended window, the layout information of the dialog box is obtained;
According to the layout information of the display area of the suspended window and the dialog box, destination display area is determined.
Optionally, the layout information of the dialog box includes the virtual button layout information of the dialog box;
Wherein, when the dialog box is shown in the destination display area, the display area of the suspended window with it is described right
The virtual push button display area of words frame is not overlapped.
Optionally, if the display screen shows suspended window, the virtual button layout information of the dialog box is obtained,
Include:
If the display screen shows suspended window, judge whether the suspended window is transperent suspension window;
If the suspended window is transperent suspension window, the virtual button layout information of the dialog box is obtained.
Optionally, the display area of the destination display area and the suspended window partly overlaps, the area of overlapping region
Less than the area of the destination display area and the product of preset ratio, wherein the overlapping region is the target viewing area
The domain region Chong Die with the display area of the suspended window.
Optionally, the destination display area and the display area of the suspended window be not be overlapped.
Optionally, if the display screen shows suspended window, target is determined according to the display area of the suspended window
Display area, comprising:
If the display screen shows suspended window, the pre-display region of the dialog box is obtained;
Judge the pre-display region with the display area of the suspended window with the presence or absence of Chong Die;
If the pre-display region and the display area of the suspended window there is no Chong Die, determine that the pre-display region is
The destination display area.
Optionally, the judgement pre-display region and the display area of the suspended window whether there is it is Chong Die after,
The processor 100 can also be achieved following steps:
If the pre-display region is with the display area of the suspended window, there are Chong Die, the mobile suspended windows to preset areas
Domain, and determine that the pre-display region is the destination display area, wherein the predeterminable area and the pre-display region are not
There are overlappings.
It can be with those of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment method is
It is completed by the relevant hardware of at least one program instruction, at least one described program can store computer-readable deposits in one
In storage media, which is performed, comprising the following steps:
Receive display control signal, wherein the display control signal is for triggering the wearable device display dialogue
Frame;
In response to the display control signal, detect whether the display screen shows suspended window;
If the display screen of the wearable device shows suspended window, target is determined according to the display area of the suspended window
Display area, wherein the destination display area and the display area of the suspended window are not exclusively be overlapped;
The dialog box is shown in the destination display area.
Optionally, if the display screen shows suspended window, target is determined according to the display area of the suspended window
Display area, comprising:
If the display screen shows suspended window, the layout information of the dialog box is obtained;
According to the layout information of the display area of the suspended window and the dialog box, destination display area is determined.
Optionally, the layout information of the dialog box includes the virtual button layout information of the dialog box;
Wherein, when the dialog box is shown in the destination display area, the display area of the suspended window with it is described right
The virtual push button display area of words frame is not overlapped.
Optionally, if the display screen shows suspended window, the virtual button layout information of the dialog box is obtained,
Include:
If the display screen shows suspended window, judge whether the suspended window is transperent suspension window;
If the suspended window is transperent suspension window, the virtual button layout information of the dialog box is obtained.
Optionally, the display area of the destination display area and the suspended window partly overlaps, the area of overlapping region
Less than the area of the destination display area and the product of preset ratio, wherein the overlapping region is the target viewing area
The domain region Chong Die with the display area of the suspended window.
Optionally, the destination display area and the display area of the suspended window be not be overlapped.
Optionally, if the display screen shows suspended window, target is determined according to the display area of the suspended window
Display area, comprising:
If the display screen shows suspended window, the pre-display region of the dialog box is obtained;
Judge the pre-display region with the display area of the suspended window with the presence or absence of Chong Die;
If the pre-display region and the display area of the suspended window there is no Chong Die, determine that the pre-display region is
The destination display area.
Optionally, the judgement pre-display region and the display area of the suspended window whether there is it is Chong Die after,
At least one described program is performed, and can also be achieved following steps:
If the pre-display region is with the display area of the suspended window, there are Chong Die, the mobile suspended windows to preset areas
Domain, and determine that the pre-display region is the destination display area, wherein the predeterminable area and the pre-display region are not
There are overlappings.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of display methods, is applied to wearable device, the wearable device includes display screen, which is characterized in that institute
The method of stating includes:
Receive display control signal, wherein the display control signal shows dialog box for triggering the wearable device;
In response to the display control signal, detect whether the display screen shows suspended window;
If the display screen shows suspended window, destination display area is determined according to the display area of the suspended window, wherein institute
It states destination display area and the display area of the suspended window is not exclusively be overlapped;
The dialog box is shown in the destination display area.
2. display methods as described in claim 1, which is characterized in that if the display screen shows suspended window, according to
The display area of the suspended window determines destination display area, comprising:
If the display screen shows suspended window, the layout information of the dialog box is obtained;
According to the layout information of the display area of the suspended window and the dialog box, destination display area is determined.
3. display methods as claimed in claim 2, which is characterized in that the layout information of the dialog box includes the dialog box
Virtual button layout information;
Wherein, when the dialog box is shown in the destination display area, the display area of the suspended window and the dialog box
Virtual push button display area be not overlapped.
4. display methods as claimed in claim 3, which is characterized in that if the display screen shows suspended window, obtain
The virtual button layout information of the dialog box, comprising:
If the display screen shows suspended window, judge whether the suspended window is transperent suspension window;
If the suspended window is transperent suspension window, the virtual button layout information of the dialog box is obtained.
5. such as the described in any item display methods of Claims 1-4, which is characterized in that the destination display area is hanged with described
The display area of floating window partly overlaps, and the area of overlapping region is less than the area of the destination display area and multiplying for preset ratio
Product, wherein the overlapping region is the destination display area region Chong Die with the display area of the suspended window.
6. such as the described in any item display methods of Claims 1-4, which is characterized in that the destination display area is hanged with described
The display area of floating window is not overlapped.
7. display methods as claimed in claim 6, which is characterized in that if the display screen shows suspended window, according to
The display area of the suspended window determines destination display area, comprising:
If the display screen shows suspended window, the pre-display region of the dialog box is obtained;
Judge the pre-display region with the display area of the suspended window with the presence or absence of Chong Die;
If the pre-display region and the display area of the suspended window there is no Chong Die, determine that the pre-display region is described
Destination display area.
8. display methods as claimed in claim 7, which is characterized in that the judgement pre-display region and the suspended window
Display area with the presence or absence of overlapping after, the method also includes:
If the pre-display region and the display area of the suspended window there are Chong Die, the mobile suspended window to predeterminable area,
And determine that the pre-display region is the destination display area, wherein the predeterminable area is not deposited with the pre-display region
It is being overlapped.
9. a kind of wearable device, which is characterized in that the wearable device includes memory, at least one processor and storage
And can be at least one program of at least one described processor execution on the memory, at least one described program is by institute
State the step realized in the described in any item methods of the claims 1~8 when at least one processor executes.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer executable at least
One program, which is characterized in that at least one described program makes the computer execute above-mentioned power when being executed by the computer
Benefit requires the step in 1~8 described in any item methods.
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 true CN109901807A (en) | 2019-06-18 |
CN109901807B 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)
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 |
-
2019
- 2019-02-25 CN CN201910143714.0A patent/CN109901807B/en active Active
Patent Citations (4)
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)
Title |
---|
闫晋佩等: "国内第三方Android应用市场安全性的检测", 《计算机科学》 * |
Also Published As
Publication number | Publication date |
---|---|
CN109901807B (en) | 2022-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020253758A1 (en) | User interface layout method and electronic device | |
CN109766036A (en) | Message treatment method and electronic equipment | |
CN109874365A (en) | For executing the device and method thereof of wireless charging | |
CN107924216A (en) | Foldable electronic and its method for information display including hiding display | |
CN108604432A (en) | Electronic equipment and method for controlling it | |
CN103370924A (en) | Mobile device with user interface | |
CN106354451A (en) | Method for operating electronic device, and electronic device | |
CN106233249A (en) | The equipment of graphic buffer of processor and method for management of sleep pattern | |
CN109270986A (en) | Flexible screen terminal and its display methods and computer readable storage medium | |
CN107256120A (en) | Method for changing scenes, terminal and computer-readable recording medium | |
CN107037966A (en) | Sense the electronic equipment and method of operating an electronic device of the pressure of input | |
CN109343775A (en) | Double screen terminal screen switching method, terminal and computer readable storage medium | |
CN107395868A (en) | A kind of display methods and terminal | |
CN109521925A (en) | Icon arrangement method, mobile terminal and computer readable storage medium | |
CN110502163A (en) | The control method and terminal device of terminal device | |
CN108196922A (en) | A kind of method, terminal and computer readable storage medium for opening application | |
CN110058649A (en) | A kind of interface display method and terminal device | |
CN109471690A (en) | A kind of message display method and terminal device | |
CN109040441A (en) | Using display methods of attending to anything else, mobile terminal and computer readable storage medium | |
WO2022161119A1 (en) | Display method and electronic device | |
CN109416615A (en) | Handle the method for touch event and the electronic device suitable for this method | |
CN109062634A (en) | A kind of application starting method and mobile terminal | |
CN110147186A (en) | A kind of control method and terminal device of application | |
CN108845785A (en) | A kind of display methods and terminal | |
CN108241808A (en) | identification code display control method, terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |