CN109918014B - Page display method, wearable device and computer-readable storage medium - Google Patents

Page display method, wearable device and computer-readable storage medium Download PDF

Info

Publication number
CN109918014B
CN109918014B CN201910201465.6A CN201910201465A CN109918014B CN 109918014 B CN109918014 B CN 109918014B CN 201910201465 A CN201910201465 A CN 201910201465A CN 109918014 B CN109918014 B CN 109918014B
Authority
CN
China
Prior art keywords
page
application
sliding
canvas
display
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
CN201910201465.6A
Other languages
Chinese (zh)
Other versions
CN109918014A (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 CN201910201465.6A priority Critical patent/CN109918014B/en
Publication of CN109918014A publication Critical patent/CN109918014A/en
Application granted granted Critical
Publication of CN109918014B publication Critical patent/CN109918014B/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 page display method, which comprises the following steps: the method comprises the steps of obtaining application information of each application in wearable equipment, and creating a page canvas based on the application information of each application and a preset rule, wherein the page canvas comprises a plurality of pages; when a current display page of the wearable device is a view page, detecting a gesture sliding event based on a screen of the wearable device; acquiring a sliding type and a sliding direction corresponding to the gesture sliding event, and determining a corresponding page sliding strategy according to the sliding type; and controlling the page canvas to slide based on the page sliding strategy and the sliding direction, and displaying the slid display page. The invention also discloses wearable equipment and a computer readable storage medium. The invention can improve the convenience of the application function operation of the wearable device and improve the use experience of a user.

Description

Page display method, wearable device and computer-readable storage medium
Technical Field
The invention relates to the technical field of wearable equipment, in particular to a page display method, wearable equipment and a computer-readable storage medium.
Background
At present, wearable equipment such as intelligent wrist-watch, intelligent bracelet receives people's liking and market's welcome increasingly because advantages such as its convenient to carry and application function are abundant. With the development of wearable equipment technology, the wearable equipment can realize functions such as telephone, short message, mail, photo and music, can also install various applications, enriches the leisure mode of the user, and improves the life experience of the user.
However, with the increase of application functions, it is important how to display in the screen of the wearable device to facilitate the operation of the application functions by the user. At present, the following two ways are generally adopted for displaying: (1) Icons of application functions are reduced and are closely arranged in a screen of the wearable device; (2) Icons of a small number of application functions are displayed in the screen, and an application function folder is set, and a multi-level icon is set below. For the mode (1), since the display screen of the wearable device is usually small, when a user enters a certain application function through a click operation, the user is often prone to misoperation, and the user enters other application functions by mistake; with regard to the above-mentioned method (2), since the operation level is deep, the user cannot find the target application function quickly, and may even not find the target application function.
Therefore, the existing wearable device has the defect that the application function operation is inconvenient, so that the use experience of a user is poor.
Disclosure of Invention
The invention mainly aims to provide a page display method, wearable equipment and a computer readable storage medium, and aims to solve the problem that the application function of the existing wearable equipment is inconvenient to operate.
In order to achieve the above object, the present invention provides a page display method, including:
the method comprises the steps of obtaining application information of each application in wearable equipment, and creating a page canvas based on the application information of each application and a preset rule, wherein the page canvas comprises a plurality of pages;
when a current display page of the wearable device is a view page, detecting a gesture sliding event based on a screen of the wearable device;
acquiring a sliding type and a sliding direction corresponding to the gesture sliding event, and determining a corresponding page sliding strategy according to the sliding type;
and controlling the page canvas to slide based on the page sliding strategy and the sliding direction, and displaying the slid display page.
Optionally, the step of determining a corresponding page sliding policy according to the sliding type includes:
if the sliding type is transverse sliding, determining that the corresponding page sliding strategy is a page transverse sliding strategy;
the step of controlling the page canvas to slide based on the page sliding strategy and the sliding direction, and displaying the slid display page comprises the following steps:
acquiring the page number of the current display page based on the page transverse sliding strategy, and determining the page number of the page to be displayed according to the page number of the current display page and the sliding direction;
and controlling the page canvas to slide according to the sliding direction so as to display a display page corresponding to the page number of the page to be displayed.
Optionally, the step of determining a corresponding page sliding policy according to the sliding type further includes:
if the sliding type is longitudinal sliding, determining that the corresponding page sliding strategy is a page longitudinal sliding strategy;
the step of controlling the page canvas to slide based on the page sliding strategy and the sliding direction, and displaying the slid display page further comprises:
acquiring current coordinate information of each application integrated by the current display page based on the page longitudinal sliding strategy, and updating the current coordinate information of each application integrated by the current display page according to the sliding direction;
and controlling the page canvas to slide according to the sliding direction so as to display a corresponding display page according to the updated current coordinate information of each application integrated by the current display page.
Optionally, the step of acquiring application information of each application in the wearable device, and creating a page canvas based on the application information of each application and a preset rule includes:
acquiring application information of each application in the wearable device, and classifying each application according to the application information of each application and a preset mapping relation table;
and respectively integrating the applications into all pages of a preset canvas according to the classification result to obtain the page canvas.
Optionally, the page display method further includes:
detecting an application newly-added event, and acquiring application information of the newly-added application according to the application newly-added event;
detecting whether a mapping relation of the newly added application exists in the preset mapping relation table or not;
if the new application exists, determining the page to which the new application belongs according to the mapping relation, integrating the new application into the page to which the new application belongs, and updating the page canvas;
and if the new application does not exist, creating a new page in the page canvas so as to integrate the new application into the new page and update the page canvas.
Optionally, before the step of obtaining the sliding type and the sliding direction corresponding to the gesture sliding event and determining the corresponding page sliding policy according to the sliding type, the page display method further includes:
acquiring sliding time corresponding to the gesture sliding event, and detecting whether the sliding time is greater than a preset threshold value;
if the sliding time is greater than a preset threshold value, executing the following steps: acquiring a sliding type and a sliding direction corresponding to the gesture sliding event, and determining a corresponding page sliding strategy according to the sliding type;
and if the sliding time is less than or equal to a preset threshold value, the gesture sliding event is not responded.
Optionally, the page display method further includes:
when a page priority modification request is received, obtaining the target priority of each page according to the page priority modification request;
and adjusting the position of each page in the page canvas according to the target priority of each page, and updating the corresponding relation between each page and the page number.
Optionally, the page display method further includes:
when an application sequencing modification request is received, acquiring a target modification application and a target sequencing thereof according to the application sequencing modification request;
and determining a corresponding target modification page according to the target application, reordering the applications in the target modification page according to the target application and the target ordering thereof, and updating the page canvas.
In addition, in order to achieve the above object, the present invention further provides a wearable device, which includes a memory, a processor, and a page display program stored in the memory and operable on the processor, wherein when the page display program is executed by the processor, the steps of the page display method as described above are implemented.
In addition, to achieve the above object, the present invention also provides a computer readable storage medium, on which a page display program is stored, the page display program implementing the steps of the page display method as described above when executed by a processor.
The invention provides a page display method, wearable equipment and a computer readable storage medium, wherein a page canvas is created based on application information of each application and a preset rule by acquiring application information of each application in the wearable equipment, and the page canvas comprises a plurality of pages; when a current display page of the wearable device is a view page, detecting a gesture sliding event based on a screen of the wearable device; acquiring a sliding type and a sliding direction corresponding to the gesture sliding event, and determining a corresponding page sliding strategy according to the sliding type; and controlling the page canvas to slide based on the page sliding strategy and the sliding direction, and displaying the slid display page. Through the mode, the application is integrated into each page of the page canvas, and then the corresponding display page is displayed by controlling the sliding of the page canvas, so that a new interface experience is provided, the operation level of a user can be reduced, the user can conveniently and quickly find the application function in the wearable device, and in addition, the application is displayed through the paging surface, so that the misoperation of the user caused by intensive application due to the small screen of the wearable device can be avoided, therefore, the convenience of the operation of the application function of the wearable device can be improved, and the use experience of the user can be further improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic hardware structure diagram of an implementation manner of a wearable device according to an embodiment of the present invention;
fig. 2 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 3 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application;
fig. 4 is a hardware schematic diagram of an implementation manner of a wearable device provided in an embodiment of the present application;
FIG. 5 is a flowchart illustrating a page display method according to a first embodiment of the present invention;
FIG. 6 is a schematic design diagram of a canvas of a page according to a method of displaying a page of the present invention;
FIG. 7 is a flowchart illustrating a page display method according to a second embodiment of the present invention;
fig. 8 is a hardware schematic diagram of an implementation manner of a wearable device provided in an embodiment of the present application.
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 wearable device provided by the embodiment of the invention comprises a mobile terminal such as an intelligent bracelet, an intelligent watch, an intelligent mobile phone and the like. With the continuous development of screen technologies, screen forms such as flexible screens and folding screens appear, and mobile terminals such as smart phones can also be used as wearable devices. The wearable device provided in the embodiment of the present invention may include: a Radio Frequency (RF) unit, a WiFi module, an audio output unit, an a/V (audio/video) input unit, a sensor, a display unit, a user input unit, an interface unit, a memory, a processor, and a power supply.
In the following description, a wearable device will be taken as an example, please refer to fig. 1, which is a schematic diagram of a hardware structure of a wearable device for implementing various embodiments of the present invention, where the wearable device 100 may include: RF (Radio Frequency) unit 101, wiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the wearable device structure shown in fig. 1 does not constitute a limitation of the wearable device, and that the wearable device may include more or fewer components than shown, or combine certain components, or a different arrangement of components.
The following describes the various components of the wearable device in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit information or during a call, receive and transmit a signal, specifically, the radio frequency unit 101 may transmit uplink information to a base station, and may also receive downlink information transmitted by the base station, and then transmit the downlink information to the processor 110 of the wearable device for processing, where the downlink information transmitted by the base station to the radio frequency unit 101 may be generated according to the uplink information transmitted by the radio frequency unit 101, or may be actively pushed to the radio frequency unit 101 after detecting that information of the wearable device is updated, for example, after detecting that a geographic location of the wearable device changes, the base station may transmit a message notification of the change of the geographic location to the radio frequency unit 101 of the wearable device, and after receiving the message notification, the radio frequency unit 101 may transmit the message notification to the processor 110 of the wearable device for processing, and the processor 110 of the wearable device may control the message notification to be displayed on the display panel 1061 of the wearable device; typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with a network and other devices through wireless communication, which may specifically include: the server may push a message notification of resource update to the wearable device through wireless communication to remind a user of updating the application program if the file resource corresponding to the application program in the server is updated after the wearable device finishes downloading the application program. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 ), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division multiplexing-Long Term Evolution), and TDD-LTE (Time Division multiplexing-Long Term Evolution), etc.
In one embodiment, the wearable device 100 may access an existing communication network by inserting a SIM card.
In another embodiment, the wearable device 100 may be configured with an esim card (Embedded-SIM) to access an existing communication network, and by using the esim card, the internal space of the wearable device may be saved, and the thickness of the wearable device may be reduced.
It is understood that although fig. 1 shows the radio frequency unit 101, it is understood that the radio frequency unit 101 does not belong to the essential constituents of the wearable device, and can be omitted entirely as required within the scope not changing the essence of the invention. The wearable device 100 may implement a communication connection with other devices or a communication network through the wifi module 102 alone, which is not limited by the embodiments of the present invention.
WiFi belongs to short-distance wireless transmission technology, and the wearable device can help a user to receive and send emails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the wearable device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the wearable device 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the wearable device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
In one embodiment, the wearable device 100 includes one or more cameras, and by turning on the cameras, capturing of images, photographing, recording, and the like can be achieved, and the positions of the cameras can be set as required.
The wearable device 100 also includes at least one sensor 105, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the wearable device 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer, tapping), and the like.
In one embodiment, the wearable device 100 further comprises a proximity sensor, and the wearable device can realize non-contact operation by adopting the proximity sensor, so that more operation modes are provided.
In one embodiment, the wearable device 100 further comprises a heart rate sensor, which, when worn, enables detection of heart rate by proximity to the user.
In one embodiment, the wearable device 100 may further include a fingerprint sensor, and by reading the fingerprint, functions such as security verification can be implemented.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
In one embodiment, the display panel 1061 is a flexible display screen, and when the wearable device using the flexible display screen is worn, the screen can be bent, so that the wearable device is more conformable. Optionally, the flexible display screen may adopt an OLED screen body and a graphene screen body, in other embodiments, the flexible display screen may also be made of other display materials, and this embodiment is not limited thereto.
In one embodiment, the display panel 1061 of the wearable device may take a rectangular shape to wrap around when worn. In other embodiments, other approaches may be taken.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the wearable device. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, without limitation.
In one embodiment, the side of the wearable device 100 may be provided with one or more buttons. The button can realize various modes such as short-time pressing, long-time pressing, rotation and the like, thereby realizing various operation effects. The number of the buttons can be multiple, and different buttons can be combined for use to realize multiple operation functions.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the wearable device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the wearable device, and is not limited herein. For example, when receiving a message notification of an application through the rf unit 101, the processor 110 may control the message notification to be displayed in a predetermined area of the display panel 1061, where the predetermined area corresponds to a certain area of the touch panel 1071, and may control the message notification displayed in the corresponding area of the display panel 1061 by performing a touch operation on the certain area of the touch panel 1071.
The interface unit 108 serves as an interface through which at least one external device is connected to the wearable apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the wearable apparatus 100 or may be used to transmit data between the wearable apparatus 100 and an external device.
In one embodiment, the interface unit 108 of the wearable device 100 is configured as a contact, and is connected to another corresponding device through the contact to implement functions such as charging and connection. The contact can also be waterproof.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the wearable device, connects various parts of the entire wearable device by various interfaces and lines, and performs various functions of the wearable device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling up data stored in the memory 109, thereby performing overall monitoring of the wearable device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
Wearable device 100 may further include a power source 111 (e.g., a battery) for powering various components, and preferably, power source 111 may be logically connected to processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the wearable device 100 may further include a bluetooth module or the like, which is not described herein. The wearable device 100 can be connected with other terminal devices through Bluetooth, so that communication and information interaction are realized.
Please refer to fig. 2-4, which are schematic structural diagrams of a wearable device according to an embodiment of the present invention. The wearable device in the embodiment of the invention comprises a flexible screen. When the wearable device is unfolded, the flexible screen is in a strip shape; when the wearable device is in a wearing state, the flexible screen is bent to be annular. Fig. 2 and 3 show the structural schematic diagram of the wearable device screen when the wearable device screen is unfolded, and fig. 4 shows the structural schematic diagram of the wearable device screen when the wearable device screen is bent.
Based on the hardware structure, the invention provides various embodiments of the page display method.
The invention provides a page display method.
Referring to fig. 5, fig. 5 is a schematic flow chart illustrating a page display method according to a first embodiment of the present invention.
In this embodiment, the page display method includes:
step S10, acquiring application information of each application in the wearable device, and creating a page canvas based on the application information of each application and a preset rule, wherein the page canvas comprises a plurality of pages;
in this embodiment, the wearable device may be a smart band, smart watch, or other wearable device having a display screen. The method comprises the steps of firstly obtaining application information of each application in the wearable device, and creating a page canvas based on the application information of each application and a preset rule, wherein the page canvas comprises a plurality of pages. Specifically, step S10 includes:
step a1, acquiring application information of each application in wearable equipment, and classifying each application according to the application information of each application and a preset mapping relation table;
the method comprises the steps of firstly obtaining application information of each application in the wearable device, and classifying each application according to the application information of each application and a preset mapping relation table. It should be noted that the application in the present invention may be not only application software, but also shortcut buttons with other functions, such as sound control, latest application, and the like. In order to facilitate the user to quickly operate the application functions in the wearable device, the invention builds the canvas comprising a plurality of pages, then integrates each application into the corresponding page respectively, thereby creating the page canvas, and then displays different pages in the screen by controlling the sliding of the page canvas, thereby realizing a new interface experience of the wearable device. Correspondingly, the preset mapping relation table comprises the preset mapping relation between each application and each page, for example, when four types of pages (such as a main page, a setting page, a sports page and an application page shown in fig. 6) are set in a preset canvas, the main page is used for integrating shortcut buttons such as information checking, time displaying and latest application, the setting page is used for integrating shortcut buttons such as system checking, sound control, network connection and brightness adjustment, the sports page is used for integrating shortcut buttons such as indoor running, outdoor walking and heart rate, and the application page is used for integrating shortcut buttons such as an alarm clock, a stopwatch, a calendar, weather, music and WeChat. According to the mapping relation, all the applications can be classified to determine the pages to which the applications belong.
In addition, it should be noted that, if the predetermined mapping relationship table does not include the mapping relationship between some applications and pages, the mapping relationship may be divided into a predetermined default page, such as an application page, during the classification.
And a2, respectively integrating each application into each page of a preset canvas according to the classification result to obtain the page canvas.
And after the classification is finished, respectively integrating each application into each page in a preset canvas according to a classification result to obtain the page canvas. Wherein the page canvas is composed of ViewGroup (View container component), each page is an independent View (View), and the X-axis of the View is horizontally arranged in the ViewGroup. In addition, if the user wants to achieve the effect of page circular sliding, the linked View can be drawn across screens by using Canvas in the View group, so as to realize circular sliding of the page. Of course, it is understood that a similar method can be used to implement the up-and-down circular sliding of a single page.
Step S20, when the current display page of the wearable device is a view page, detecting a gesture sliding event based on the screen of the wearable device;
after the page canvas is created, when a current display page of the wearable device is a view page, a gesture sliding event based on a screen of the wearable device is detected. The view page is a desktop display page and does not enter any application. Because the content displayed on the screen of the wearable device is different and the operation triggered by the gesture sliding event is also different, when the current displayed page is a view page, the gesture sliding event is for page sliding; and when the current display page is an application page (referring to a display page in a certain application), the gesture sliding event is an operation instruction for the corresponding specific application, such as fast forward, brightness adjustment, and the like.
S30, acquiring a sliding type and a sliding direction corresponding to the gesture sliding event, and determining a corresponding page sliding strategy according to the sliding type;
and S40, controlling the page canvas to slide based on the page sliding strategy and the sliding direction, and displaying the slid display page.
When a gesture sliding event is detected, the sliding type and the sliding direction corresponding to the gesture sliding event are obtained, and a corresponding page sliding strategy is determined according to the sliding type. And then, controlling the page canvas to slide based on the page sliding strategy and the sliding direction, and displaying the slid display page.
As one of the sliding manners, step S30 may include: if the sliding type is transverse sliding, determining that the corresponding page sliding strategy is a page transverse sliding strategy;
at this time, step S40 may include:
step b1, acquiring the page number of the current display page based on the page transverse sliding strategy, and determining the page number of the page to be displayed according to the page number of the current display page and the sliding direction;
and b2, controlling the page canvas to slide according to the sliding direction so as to display a display page corresponding to the page number of the page to be displayed.
When a user slides along the x-axis horizontal direction of the screen of the wearable device, the corresponding sliding type is transverse sliding, the corresponding page sliding strategy is determined to be a page transverse sliding strategy, then, the page number of the current display page of the wearable device is obtained based on the page transverse sliding strategy, the page number of the page to be displayed is determined according to the page number and the sliding direction of the current display page, and then the page canvas is controlled to slide according to the sliding direction so as to display the display page corresponding to the page number of the page to be displayed. For example, as shown in fig. 6, if the currently displayed page of the wearable device is a main page, the corresponding page number is 1, and the sliding direction is leftward sliding, it may be determined that the page number of the page to be displayed is 2, and then the page canvas is controlled to slide according to the sliding direction, so as to display the displayed page corresponding to the page number 2, that is, the setting page in fig. 6.
It should be noted that the sliding mode of the page canvas can be divided into a circular sliding mode and a non-circular sliding mode, and the determination manner of the page number is different in the two modes. Therefore, if the created page canvas is a recyclable page canvas, when the page number of the current display page is obtained, the number of the page to be displayed needs to be determined by combining the current circular sliding mode in addition to the sliding direction. For example, if the currently displayed page of the wearable device is a main page, the corresponding page number is 1, and the sliding direction is rightward sliding, at this time, if the circular sliding mode is started, that is, the circular sliding mode is, it may be determined that the page number of the page to be displayed is 4; if the circular sliding mode is not started, namely the non-circular sliding mode, the page number of the page to be displayed is determined to be 1, namely the sliding is not performed.
As another sliding manner, step S30 may further include: if the sliding type is longitudinal sliding, determining that the corresponding page sliding strategy is a page longitudinal sliding strategy;
at this time, step S40 may include:
step b3, acquiring the current coordinate information of each application integrated by the current display page based on the page longitudinal sliding strategy, and updating the current coordinate information of each application integrated by the current display page according to the sliding direction;
and b4, controlling the page canvas to slide according to the sliding direction so as to display a corresponding display page according to the updated current coordinate information of each application integrated by the current display page.
When a user slides along the y-axis vertical direction of the wearable device, the corresponding sliding type is longitudinal sliding, the corresponding page sliding strategy is determined to be a page longitudinal sliding strategy, then the current coordinate information of each application integrated by the current display page of the wearable device is obtained based on the page longitudinal sliding strategy, the current coordinate information of each application integrated by the current display page is updated according to the sliding direction, and the updated coordinate information is obtained; and then controlling the page canvas to slide according to the sliding direction so as to display the corresponding display page according to the current coordinate information (namely the updated coordinate information) of each application integrated by the updated current display page. In addition, the current coordinate information of each application integrated by the current display page may also be updated in combination with the circular sliding mode, and the updating method is similar to the updating method involved in the above-mentioned horizontal sliding for the page, and is not described herein again.
The invention provides a page display method, which comprises the steps of acquiring application information of each application in wearable equipment, and creating a page canvas based on the application information of each application and a preset rule, wherein the page canvas comprises a plurality of pages; when a current display page of the wearable device is a view page, detecting a gesture sliding event based on a screen of the wearable device; acquiring a sliding type and a sliding direction corresponding to the gesture sliding event, and determining a corresponding page sliding strategy according to the sliding type; and controlling the page canvas to slide based on the page sliding strategy and the sliding direction, and displaying the slid display page. Through the mode, the application is integrated into each page of the page canvas, and then the corresponding display page is displayed by controlling the sliding of the page canvas, so that a new interface experience is provided, the operation level of a user can be reduced, the user can conveniently and quickly find the application function in the wearable device, and in addition, the misoperation caused by intensive application due to small screen of the wearable device can be avoided through the page display application, so that the convenience of the operation of the application function of the wearable device can be improved, and the use experience of the user can be further improved.
Further, referring to fig. 7, fig. 7 is a schematic flowchart of a page display method according to a second embodiment of the present invention. Based on the first embodiment shown in fig. 5, the page display method may further include:
s50, detecting an application newly-added event, and acquiring application information of the newly-added application according to the application newly-added event;
in this embodiment, a user downloads a new application according to a requirement during a use process, and at this time, when the device detects an application addition event, the device acquires application information of the addition application according to the application addition event.
Step S60, detecting whether the mapping relation of the newly added application exists in the preset mapping relation table;
because the newly added application needs to be displayed in the desktop and the page canvas comprises a plurality of pages, the classification of the newly added application needs to be determined according to the preset mapping relation table so as to determine the corresponding display page. Specifically, whether a mapping relationship of the newly added application exists in the preset mapping relationship table is detected, wherein the preset mapping relationship table includes a mapping relationship between a preset application and each page.
If yes, go to step S71: determining a page to which the newly added application belongs according to the mapping relation, integrating the newly added application into the page to which the newly added application belongs, and updating the page canvas;
if not, go to step S72: and creating a new page in the page canvas so as to integrate the new application into the new page and update the page canvas.
If the mapping relation of the newly added application exists in the preset mapping relation table, the page to which the newly added application belongs can be determined according to the mapping relation of the newly added application in the preset mapping relation table, then the newly added application is integrated into the page to which the newly added application belongs, and the page canvas is updated.
And if the mapping relation of the newly added application does not exist in the preset mapping relation table, creating a new page in the page canvas so as to integrate the newly added application into the new page and update the page canvas.
It should be noted that, in a specific embodiment, when the mapping relationship of the newly added application does not exist in the preset mapping relationship table, the newly added application may also be integrated into a preset default page. At this time, a corresponding prompt window may also be generated for the user to select a page for displaying the new credit, then, when a selection instruction triggered based on the prompt window is received, a corresponding target page is determined, then, the new application is integrated into the target page, and meanwhile, the preset mapping relationship table may also be updated to increase the mapping relationship between the new application and the target page.
Further, based on the first embodiment, a third embodiment of the page display method of the present invention is provided.
Based on the first embodiment shown in fig. 5, before step S30, the page display method may further include:
step A, acquiring sliding time corresponding to the gesture sliding event, and detecting whether the sliding time is greater than a preset threshold value;
in this embodiment, in order to avoid a user from performing a misoperation, a sliding operation is performed on a screen of the wearable device carelessly, and after a gesture sliding event is detected, a sliding time corresponding to the gesture sliding event is obtained, and whether the sliding time is greater than a preset threshold value is detected. The sliding time is the sliding time length from the sliding starting point to the sliding ending point of the sliding track, and the preset threshold value can be set according to the actual situation.
If the sliding time is greater than the preset threshold, executing step S30: acquiring a sliding type and a sliding direction corresponding to the gesture sliding event, and determining a corresponding page sliding strategy according to the sliding type;
if the sliding time is greater than the preset threshold, it indicates that the touch operation may not be mistaken, at this time, the sliding type and the sliding direction corresponding to the gesture sliding event are obtained, a corresponding page sliding policy is determined according to the sliding type, and the subsequent steps are executed.
If the sliding time is less than or equal to a preset threshold, executing the step B: not responding to the gesture sliding event.
If the sliding time is less than or equal to the preset threshold, the sliding time is short, which indicates that the user may mistakenly touch the operation, and at this time, the gesture sliding event is not responded.
In this embodiment, by performing false touch detection on the gesture sliding event, false triggering of page sliding can be avoided.
Further, based on the above embodiments, a fourth embodiment of the page display method of the present invention is provided.
In this embodiment, the page display method may further include:
step C, when a page priority modification request is received, obtaining the target priority of each page according to the page priority modification request;
and D, adjusting the position of each page in the page canvas according to the target priority of each page, and updating the corresponding relation between each page and the page number.
In this embodiment, a user may change an arrangement order (i.e., priority) of each page according to an operation habit and a browsing manner of the user, for example, a default arrangement order of pages is a main tabbing page-setting page-moving page-application page, in a default state, a page with a page number of 1 (such as a main tabbing page) is displayed in a screen of the wearable device, and the user may change the order into the main tabbing page-moving page-application page-setting page according to a need of the user. When a user modifies the priority of a page in the related settings in the wearable device, a page priority modification request is triggered, at this time, when the wearable device receives the page priority modification request, the target priority of each page is obtained according to the page priority modification request, then the position of each page in the page canvas is adjusted according to the target priority of each page, and meanwhile, when the wearable device slides transversely (namely slides leftwards and rightwards), the position of each page in the page canvas is updated and displayed according to the page number, so that after the position of each page in the page canvas is adjusted according to the target priority, the corresponding relation between each page and the page number needs to be updated. For example, the priorities are represented by a-D, the positions of the priorities in the page canvas may correspond to left to right, and the corresponding page numbers are 1-4, as shown in fig. 6, where the priorities and page numbers of the pages are defaulted as follows: when the priority of modifying each page is that the page of the main dial plate is A level, the page of the motion plate is B level, the page of the application plate is C level and the page is set to be D level, the position of each page in a page canvas is correspondingly adjusted, namely the pages in the page canvas are modified from left to right in sequence: the method comprises the steps of setting pages on a main dial page, moving pages, application pages and updating the corresponding relation between each page and the page number as follows: the method comprises the following steps of a main dial page-1, a motion page-2, an application page-3 and a setting page-4.
In the embodiment, the target priority of each page is obtained according to the page priority modification request, then the position of each page in the page canvas is adjusted according to the target priority of each page, and the corresponding relation between each page and the page number is updated, so that the personalized setting of the page display sequence by the user can be realized, and the use experience of the user can be improved.
Further, based on the above embodiments, a fifth embodiment of the page display method of the present invention is provided.
In this embodiment, the page display method may further include:
step E, when an application sequencing modification request is received, acquiring a target modification application and a target sequence thereof according to the application sequencing modification request;
and step F, determining a corresponding target modification page according to the target application, reordering the applications in the target modification page according to the target application and the target ordering thereof, and updating the page canvas.
In this embodiment, a user may also sequence display order of applications in each page according to own operation habit, because a screen of the wearable device is generally small, in order to prevent the user from misoperation caused by excessive icon display, only 2 to 4 application icons are generally displayed in the screen vertically, and then other icons integrated in the page are displayed by vertical sliding (i.e., vertical sliding), in this case, the wearable device is not suitable for directly dragging the application icons in the screen for sequencing, therefore, sequencing may be performed in corresponding setting options, for example, all application names integrated in the page may be listed in sequence in a list form, and the user modifies the arrangement order of each application through operations such as numbering or vertical moving, at this time, an application sequencing modification request may be triggered, when receiving the application sequencing modification request, the wearable device acquires a target modification application and a target sequencing thereof according to the application sequencing modification request, and then determines a corresponding target modification page according to the target application, specifically, the page to which the target application belongs to may be determined according to a target application and a preset relationship mapping table (i.e., mapping relationship between the application and each page). And then, reordering the applications in the target modification page according to the target application and the target ordering thereof, and updating the page canvas. Therefore, according to the embodiment, the user can perform personalized sequencing on the applications, so that the use experience of the user can be improved.
Based on the above embodiments, it can be seen that, if the device is a watch, a bracelet, or a wearable device, the screen of the device may not cover the watchband region of the device, and may also cover the watchband region of the device. Here, the present invention provides an optional embodiment, in which the device may be a watch, a bracelet, or a wearable device, and the device includes a screen and a connection portion. The screen may be a flexible screen, and the connecting portion may be a watch band. Optionally, the screen of the device or the display area of the screen may partially or completely cover the wristband of the device. As shown in fig. 8, fig. 8 is a hardware schematic diagram of an implementation of a wearable device provided in an embodiment of the present application, where a screen of the wearable device extends to two sides, and a part of the screen is covered on a watchband of the wearable device. In other embodiments, the screen of the device may also be entirely covered on the wristband of the device.
The invention also provides a computer readable storage medium.
The computer readable storage medium of the present invention stores a page display program, and the page display program, when executed by a processor, implements the steps of the page display method according to any one of the above embodiments.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the page display method described above, and is not described herein again.
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 one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising 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 (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A page display method is applied to wearable equipment and is characterized by comprising the following steps:
the method comprises the steps of obtaining application information of each application in wearable equipment, and creating a page canvas based on the application information of each application and a preset rule, wherein the page canvas comprises a plurality of pages;
when a current display page of the wearable device is a view page, detecting a gesture sliding event based on a screen of the wearable device;
acquiring a sliding type and a sliding direction corresponding to the gesture sliding event, and determining a corresponding page sliding strategy according to the sliding type;
controlling the page canvas to slide based on the page sliding strategy and the sliding direction, and displaying a slid display page;
the acquiring application information of each application in the wearable device, and creating a page canvas based on the application information of each application and a preset rule includes:
acquiring application information of each application in the wearable device, and classifying each application according to the application information of each application and a preset mapping relation table; and respectively integrating the applications into the pages of the preset canvas according to the classification result to obtain the page canvas.
2. The page display method of claim 1, wherein the step of determining a corresponding page sliding policy according to the sliding type comprises:
if the sliding type is transverse sliding, determining that the corresponding page sliding strategy is a page transverse sliding strategy;
the step of controlling the page canvas to slide based on the page sliding strategy and the sliding direction, and displaying the slid display page comprises:
acquiring the page number of the current display page based on the page transverse sliding strategy, and determining the page number of the page to be displayed according to the page number of the current display page and the sliding direction;
and controlling the page canvas to slide according to the sliding direction so as to display a display page corresponding to the page number of the page to be displayed.
3. The page display method of claim 1, wherein the step of determining a corresponding page sliding policy according to the sliding type further comprises:
if the sliding type is longitudinal sliding, determining that the corresponding page sliding strategy is a page longitudinal sliding strategy;
the step of controlling the page canvas to slide based on the page sliding strategy and the sliding direction, and displaying the slid display page further comprises:
acquiring current coordinate information of each application integrated by the current display page based on the page longitudinal sliding strategy, and updating the current coordinate information of each application integrated by the current display page according to the sliding direction;
and controlling the page canvas to slide according to the sliding direction so as to display a corresponding display page according to the updated current coordinate information of each application integrated by the current display page.
4. The page display method according to claim 1, wherein the step of acquiring application information of each application in the wearable device and creating a page canvas based on the application information of each application and a preset rule comprises:
acquiring application information of each application in the wearable device, and classifying each application according to the application information of each application and a preset mapping relation table;
and respectively integrating the applications into all pages of a preset canvas according to the classification result to obtain the page canvas.
5. The page display method of claim 4, wherein the page display method further comprises:
detecting an application newly-added event, and acquiring application information of the newly-added application according to the application newly-added event;
detecting whether a mapping relation of the newly added application exists in the preset mapping relation table or not;
if the new application exists, determining the page to which the new application belongs according to the mapping relation, integrating the new application into the page to which the new application belongs, and updating the page canvas;
and if the new application does not exist, creating a new page in the page canvas so as to integrate the new application into the new page and update the page canvas.
6. The page display method according to claim 1, wherein before the step of obtaining the slide type and the slide direction corresponding to the gesture slide event and determining the corresponding page slide policy according to the slide type, the page display method further comprises:
acquiring sliding time corresponding to the gesture sliding event, and detecting whether the sliding time is greater than a preset threshold value;
if the sliding time is greater than a preset threshold value, executing the following steps: acquiring a sliding type and a sliding direction corresponding to the gesture sliding event, and determining a corresponding page sliding strategy according to the sliding type;
and if the sliding time is less than or equal to a preset threshold value, the gesture sliding event is not responded.
7. The page display method according to any one of claims 1 to 6, further comprising:
when a page priority modification request is received, obtaining the target priority of each page according to the page priority modification request;
and adjusting the position of each page in the page canvas according to the target priority of each page, and updating the corresponding relation between each page and the page number.
8. The page display method according to any one of claims 1 to 6, characterized in that the page display method further comprises:
when an application sequencing modification request is received, acquiring a target modification application and a target sequencing thereof according to the application sequencing modification request;
and determining a corresponding target modification page according to the target application, reordering the applications in the target modification page according to the target application and the target ordering thereof, and updating the page canvas.
9. A wearable device comprising a memory, a processor, and a page display program stored on the memory and executable on the processor, the page display program when executed by the processor implementing the steps of the page display method of any of claims 1 to 8.
10. A computer-readable storage medium, on which a page display program is stored, which when executed by a processor implements the steps of the page display method according to any one of claims 1 to 8.
CN201910201465.6A 2019-03-15 2019-03-15 Page display method, wearable device and computer-readable storage medium Active CN109918014B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910201465.6A CN109918014B (en) 2019-03-15 2019-03-15 Page display method, wearable device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910201465.6A CN109918014B (en) 2019-03-15 2019-03-15 Page display method, wearable device and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN109918014A CN109918014A (en) 2019-06-21
CN109918014B true CN109918014B (en) 2022-10-04

Family

ID=66965384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910201465.6A Active CN109918014B (en) 2019-03-15 2019-03-15 Page display method, wearable device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN109918014B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930826A (en) * 2020-07-16 2020-11-13 深圳市富途网络科技有限公司 Order generation method and system of software interface
CN114089906A (en) * 2021-11-08 2022-02-25 百度在线网络技术(北京)有限公司 Intelligent mirror control method, device, equipment, storage medium and intelligent mirror

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049200A (en) * 2012-12-17 2013-04-17 上海海知信息技术有限公司 Double canvas mapping implementation method
CN105630478A (en) * 2014-12-01 2016-06-01 阿里巴巴集团控股有限公司 Method and device for realizing page switching
CN108121541A (en) * 2017-12-21 2018-06-05 深圳市富途网络科技有限公司 A kind of suggested position generation method during interface assembly two-dimentional to painting canvas addition

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10185473B2 (en) * 2013-02-12 2019-01-22 Prezi, Inc. Adding new slides on a canvas in a zooming user interface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049200A (en) * 2012-12-17 2013-04-17 上海海知信息技术有限公司 Double canvas mapping implementation method
CN105630478A (en) * 2014-12-01 2016-06-01 阿里巴巴集团控股有限公司 Method and device for realizing page switching
CN108121541A (en) * 2017-12-21 2018-06-05 深圳市富途网络科技有限公司 A kind of suggested position generation method during interface assembly two-dimentional to painting canvas addition

Also Published As

Publication number Publication date
CN109918014A (en) 2019-06-21

Similar Documents

Publication Publication Date Title
JP2021525430A (en) Display control method and terminal
CN108174103B (en) Shooting prompting method and mobile terminal
CN109947327B (en) Interface viewing method, wearable device and computer-readable storage medium
CN109901695B (en) Screen power-saving display method, mobile terminal and computer-readable storage medium
CN108762613B (en) State icon display method and mobile terminal
CN108170329B (en) Display control method and terminal equipment
CN110399195B (en) Desktop icon dynamic replacement method, equipment and computer readable storage medium
CN110351426B (en) Smart watch information input method, smart watch and computer readable storage medium
CN109976612B (en) Application function implementation method, wearable device, mobile phone and computer-readable storage medium
CN110177209B (en) Video parameter regulation and control method, device and computer readable storage medium
CN110096213B (en) Terminal operation method based on gestures, mobile terminal and readable storage medium
CN109918014B (en) Page display method, wearable device and computer-readable storage medium
CN111190515A (en) Shortcut panel operation method, device and readable storage medium
CN109947325B (en) Application icon display method, wearable device and computer-readable storage medium
CN113515219A (en) Setting method, setting device, electronic equipment and storage medium
CN110083205B (en) Page switching method, wearable device and computer-readable storage medium
CN110071866B (en) Instant messaging application control method, wearable device and storage medium
CN110177208B (en) Video recording association control method, equipment and computer readable storage medium
KR20150111834A (en) Mobile terminal and method for controlling the same
CN110069200B (en) Wearable device input control method, wearable device and storage medium
CN110069193B (en) Interface switching method of wearable device, wearable device and storage medium
CN110139270B (en) Wearable device pairing method, wearable device and computer readable storage medium
CN110162369B (en) Wearable device, icon arrangement method thereof and computer readable storage medium
CN110113529B (en) Shooting parameter regulation and control method and device and computer readable storage medium
CN110174981B (en) Icon interaction control method and device 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