CN112540706A - Wearable device, interface switching method thereof and computer-readable storage medium - Google Patents

Wearable device, interface switching method thereof and computer-readable storage medium Download PDF

Info

Publication number
CN112540706A
CN112540706A CN202011415155.3A CN202011415155A CN112540706A CN 112540706 A CN112540706 A CN 112540706A CN 202011415155 A CN202011415155 A CN 202011415155A CN 112540706 A CN112540706 A CN 112540706A
Authority
CN
China
Prior art keywords
interface
cuboid
determining
interface switching
rotation
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.)
Pending
Application number
CN202011415155.3A
Other languages
Chinese (zh)
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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202011415155.3A priority Critical patent/CN112540706A/en
Publication of CN112540706A publication Critical patent/CN112540706A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The invention discloses an interface switching method of wearable equipment, the wearable equipment comprises a virtual cube, each side surface of the cube is an interface of the wearable equipment, and the interface switching method of the wearable equipment comprises the following steps: when the interface switching operation is detected, determining a switching direction corresponding to the interface switching operation; determining a first area of the current interface for interface switching operation, and determining a cuboid corresponding to the first area on a cuboid, wherein the cuboid is the cuboid, or the cuboid is a part of the cuboid, and the first area is a side face of the cuboid; determining the rotation direction of the cuboid according to the switching direction; the center of the cuboid is used as a rotation center, the cuboid is controlled to rotate according to the rotation direction, and the rotation angle of the cuboid is integral multiple of 90 degrees. The invention also discloses a wearable device and a computer readable storage medium. The invention improves the novelty of interface switching of the wearable device.

Description

Wearable device, interface switching method thereof and computer-readable storage medium
Technical Field
The invention relates to the technical field of wearable equipment, in particular to wearable equipment, an interface switching method thereof and a computer-readable storage medium.
Background
The screen of the wearable device is smaller, but the number of applications is larger, so the applications need to be distributed on different interfaces, and therefore a user needs to search for the applications on the wearable device.
At present, the interface of the wearable device usually adopts a 2D plane style to display an application icon, and when the interface is switched, a smooth mode is adopted to switch the interface, so that the switching mode is not novel enough.
Disclosure of Invention
The invention mainly aims to provide a wearable device, an interface switching method thereof and a computer readable storage medium, and aims to solve the problem of insufficient novelty of a switching mode.
In order to achieve the above object, the present invention provides an interface switching method for a wearable device, where the wearable device includes a virtual cube, each side of the cube is an interface of the wearable device, and the interface switching method for the wearable device includes the following steps:
when interface switching operation is detected, determining a switching direction corresponding to the interface switching operation;
determining a first region of the current interface of the interface switching operation, and determining a cuboid corresponding to the first region on the cube, wherein the cuboid is the cube or is a part of the cube, and the first region is a side face of the cuboid;
determining the rotation direction of the cuboid according to the switching direction;
and controlling the cuboid to rotate according to the rotating direction by taking the center of the cuboid as a rotating center, wherein the rotating angle of the cuboid is integral multiple of 90 degrees.
In an embodiment, the step of determining that the interface switching operation is in the first area of the current interface includes:
determining the type of the interface switching operation;
and determining the interface switching operation in the first area of the current interface according to the type.
In an embodiment, the step of determining that the interface switching operation is in the first area of the current interface according to the type and the position includes:
and when the type is a preset type, determining the current interface as the first area.
In an embodiment, the step of determining that the interface switching operation is in the first area of the current interface according to the type and the position includes:
when the type is not a preset type, determining a second area of the interface switching operation on the current interface;
determining an included angle between the switching direction and the horizontal direction corresponding to the interface;
determining the line of the second area on the current interface as the first area when no included angle exists or the included angle is smaller than or equal to a preset angle;
and when the included angle is larger than a preset angle, determining the column of the second area on the current interface as the area.
In an embodiment, the step of determining the second area of the interface switching operation on the current interface includes:
determining an icon corresponding to the current interface in the interface switching operation;
and determining the area where the icon is located as the second area.
In an embodiment, the step of controlling the cuboid to rotate according to the rotation direction with the center of the cuboid as the rotation center includes:
determining a target rotation angle of the cuboid according to the interface switching operation, wherein the target rotation angle is an integral multiple of 90 degrees;
and controlling the cuboid to rotate by the target rotation angle according to the rotation direction by taking the center of the cuboid as a rotation center.
In an embodiment, the step of determining the target rotation angle of the rectangular parallelepiped according to the interface switching operation includes:
determining a target icon searched and scanned by a search operation, wherein the interface switching operation comprises the search operation;
and determining the angle between the interface where the target icon is located and the current interface or the integral multiple of the angle as the target rotation angle.
In an embodiment, the step of controlling the cuboid to rotate according to the rotation direction with the center of the cuboid as the rotation center includes:
determining parameters corresponding to the interface switching operation, and determining the initial rotation speed of the cuboid according to the parameters, wherein the parameters comprise at least one of sliding speed and sliding distance corresponding to the sliding operation, and the interface switching operation comprises the sliding operation;
and taking the center of the cuboid as a rotation center, controlling the cuboid to rotate at the initial rotation speed in the rotation direction in an inertia rotation mode, wherein the rotation angle of the cuboid is integral multiple of 90 degrees after the inertia rotation mode.
In order to achieve the above object, the present invention provides a wearable device, which includes a memory, a processor, and a switching program stored in the memory and executable on the processor, wherein the switching program, when executed by the processor, implements the steps of the interface switching method of the wearable device as described above.
To achieve the above object, the present invention provides a computer-readable storage medium including a switching program, which when executed by a processor, implements the steps of the interface switching method of a wearable device as described above.
The wearable device comprises a virtual cube, each side face of the cube is an interface of the wearable device, when the wearable device detects interface switching operation, the switching direction corresponding to the interface switching operation and the area corresponding to the current interface of the interface switching operation are determined, a cuboid with the area as the side face is determined on the cube, the wearable device determines the rotation direction of the cuboid according to the switching direction, and therefore the center of the cuboid is used as the rotation center, the cuboid is controlled to rotate by integral multiple of 90 degrees according to the rotation direction, and switching of the interfaces is completed. The interface in the wearable device forms the side face of the cube, and the cuboid needing to be rotated is determined on the cube through switching operation, so that the cuboid is rotated by integral multiple of 90 degrees to complete interface switching, namely the interface is switched through the rotation mode of the simulated magic cube, and the novelty of the interface switching mode is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a wearable device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a first embodiment of an interface switching method of a wearable device according to the present invention;
fig. 3 is a detailed flowchart of step S20 in the second embodiment of the interface switching method for a wearable device according to the present invention;
fig. 4 is a detailed flowchart of step S40 in the third embodiment of the interface switching method for a wearable device according to the present invention;
fig. 5 is a detailed flowchart of step S40 in the fourth embodiment of the interface switching method for a wearable device according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The main solution of the embodiment of the invention is as follows: when interface switching operation is detected, determining a switching direction corresponding to the interface switching operation; determining a first region of the current interface of the interface switching operation, and determining a cuboid corresponding to the first region on the cube, wherein the cuboid is the cube or is a part of the cube, and the first region is a side face of the cuboid; determining the rotation direction of the cuboid according to the switching direction; and controlling the cuboid to rotate according to the rotating direction by taking the center of the cuboid as a rotating center, wherein the rotating angle of the cuboid is integral multiple of 90 degrees.
The interface in the wearable device forms the side face of the cube, and the cuboid needing to be rotated is determined on the cube through switching operation, so that the cuboid is rotated by integral multiple of 90 degrees to complete interface switching, namely the interface is switched through the rotation mode of the simulated magic cube, and the novelty of the interface switching mode is improved.
As shown in fig. 1, fig. 1 is a schematic diagram of a hardware structure of a wearable device according to an embodiment of the present invention.
As shown in fig. 1, the embodiment of the present invention relates to a wearable device, and the wearable device may be a smart band or a smart watch. The wearable device may include: a processor 101, e.g. a CPU, a communication bus 102, a memory 103. Wherein the communication bus 102 is used for enabling connection communication between these components. The memory 103 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 103 may alternatively be a storage device separate from the aforementioned processor 101. Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the wearing device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a switching program may be included in the memory 103, which is a kind of computer storage medium.
In the apparatus shown in fig. 1, the processor 101 may be configured to call a handover program stored in the memory 103 and perform the following operations:
when interface switching operation is detected, determining a switching direction corresponding to the interface switching operation;
determining a first region of the current interface of the interface switching operation, and determining a cuboid corresponding to the first region on the cube, wherein the cuboid is the cube or is a part of the cube, and the first region is a side face of the cuboid;
determining the rotation direction of the cuboid according to the switching direction;
and controlling the cuboid to rotate according to the rotating direction by taking the center of the cuboid as a rotating center, wherein the rotating angle of the cuboid is integral multiple of 90 degrees.
In one embodiment, the processor 101 may call a switching program stored in the memory 103, and further perform the following operations:
determining the type of the interface switching operation;
and determining the interface switching operation in the first area of the current interface according to the type.
In an embodiment, the step of determining that the interface switching operation is in the first area of the current interface according to the type and the position includes:
and when the type is a preset type, determining the current interface as the first area.
In one embodiment, the processor 101 may call a switching program stored in the memory 103, and further perform the following operations:
when the type is not a preset type, determining a second area of the interface switching operation on the current interface;
determining an included angle between the switching direction and the horizontal direction corresponding to the interface;
determining the line of the second area on the current interface as the first area when no included angle exists or the included angle is smaller than or equal to a preset angle;
and when the included angle is larger than a preset angle, determining the column of the second area on the current interface as the area.
In one embodiment, the processor 101 may call a switching program stored in the memory 103, and further perform the following operations:
determining an icon corresponding to the current interface in the interface switching operation;
and determining the area where the icon is located as the second area.
In one embodiment, the processor 101 may call a switching program stored in the memory 103, and further perform the following operations:
determining a target rotation angle of the cuboid according to the interface switching operation, wherein the target rotation angle is an integral multiple of 90 degrees;
and controlling the cuboid to rotate by the target rotation angle according to the rotation direction by taking the center of the cuboid as a rotation center.
In one embodiment, the processor 101 may call a switching program stored in the memory 103, and further perform the following operations:
determining a target icon searched and scanned by a search operation, wherein the interface switching operation comprises the search operation;
determining an angle between the interface where the target icon is located and the current interface or an integral multiple of the angle as the target rotation angle;
in one embodiment, the processor 101 may call a switching program stored in the memory 103, and further perform the following operations:
determining parameters corresponding to the interface switching operation, and determining the initial rotation speed of the cuboid according to the parameters, wherein the parameters comprise at least one of sliding speed and sliding distance corresponding to the sliding operation, and the interface switching operation comprises the sliding operation;
and taking the center of the cuboid as a rotation center, controlling the cuboid to rotate at the initial rotation speed in the rotation direction in an inertia rotation mode, wherein the rotation angle of the cuboid is integral multiple of 90 degrees after the inertia rotation mode.
This embodiment is according to above-mentioned scheme, wearing equipment includes virtual square, each side of square is wearing equipment's interface, wearing equipment is when detecting interface switching operation, confirm that the switching direction that interface switching operation corresponds and the region that interface switching operation corresponds at current interface, and confirm on the square and use this region as the cuboid of side, wearing equipment confirms the direction of rotation of cuboid again according to switching direction, thereby use the center of cuboid as the rotation center, the control cuboid rotates 90 integral multiples according to the direction of turning, and then accomplishes the switching of interface. The interface in the wearable device forms the side face of the cube, and the cuboid needing to be rotated is determined on the cube through switching operation, so that the cuboid is rotated by integral multiple of 90 degrees to complete interface switching, namely the interface is switched through the rotation mode of the simulated magic cube, and the novelty of the interface switching mode is improved.
Based on the hardware framework of the terminal, the embodiment of the interface switching method of the wearable device is provided.
Referring to fig. 2, fig. 2 is a first embodiment of an interface switching method of a wearable device according to the present invention, where the interface switching method of the wearable device includes the following steps:
step S10, when the interface switching operation is detected, determining the switching direction corresponding to the interface switching operation;
in this embodiment, the execution main part is wearing equipment, and wearing equipment can be intelligent wrist-watch, intelligent bracelet etc.. The wearable device is provided with a virtual cube, and the cube is a virtual 3D interface model. Each side of the cube is an interface of the wearable device. The interface may be a Launcher desktop in the Android system.
The cube has rows and columns on each side, the number of rows and columns on each side are the same, and the row and column dimensions on each side are the same. That is, the interface on the wearable device is divided into a plurality of areas by rows and columns, and each area can be used for placing at least one icon of an application program.
The user can carry out interface switching operation to the current interface of wearing equipment. The interface switching operation may be a slide operation or a gesture trajectory operation by the user. The gesture trajectory operation may be regarded as a sliding operation without touching the display screen of the wearable device. The wearable device can capture gesture track operation through a camera configured on the display screen.
When the wearable device detects the interface switching operation, the switching direction corresponding to the interface switching operation is determined. Specifically, the interface switching operation is a sliding operation, the wearable device obtains a sliding track corresponding to the interface switching operation, and performs linear fitting on the sliding track to obtain a straight line corresponding to the interface switching operation, where the straight line can be represented as a switching direction.
Step S20, determining that the interface switching operation is in a first area of a current interface, and determining a cuboid corresponding to the first area on the cuboid, wherein the cuboid is the cuboid, or the cuboid is a part of the cuboid, and the first area is a side face of the cuboid;
after the wearable device determines the switching direction, when it is determined that the interface switching operation is in the first area of the current interface, the first area may be one column or one row of the current interface. Specifically, if the interface switching operation is a sliding operation, the sliding operation has a starting position on the current interface, and a row or a column where the starting position is located can be determined as the first area.
The wearable device determines a cuboid on the cube based on the first region after determining the first region. Specifically, the first area is the side of the cuboid that needs to be determined, and then the device determines the column number or the row number that the first area belongs to, finds the same column number or row number from other interfaces again to confirm the region that four column numbers or row numbers are the same, four regions are four sides of cuboid, consequently, can confirm the cuboid on the cube based on four sides. For example, if the column in which the first area is located is the third column of the current interface, the third column on each interface is obtained, and then four third columns which are end-to-end are determined from the six third columns, where the four third columns are the four side surfaces of the rectangular solid, that is, the rectangular solid is a part of the square. In addition, the first region may be the entire current interface, and thus, the cuboid corresponding to the first region is the entire cube. It will be appreciated that the cuboid to which the first region is flanked is part of a cube, or that the cuboid is a cube.
Step S30, determining the rotation direction of the cuboid according to the switching direction;
when the interface among the wearing equipment switches, the switching direction includes two kinds, and one kind is horizontal switching, and another kind is vertical switching, therefore, the direction of rotation as the side of square and cuboid is horizontal rotation or vertical rotation. The switching direction corresponding to the interface switching operation is a fitted straight line, and the switching direction is not necessarily horizontal or vertical. Therefore, the wearable device needs to determine the rotation direction of the rectangular parallelepiped based on the switching direction.
Specifically, the switching direction may be fitted to a straight line, and the fitted straight line actually has an arrow, which may be characterized as the orientation, and the wearable device determines the rotation direction of the cuboid based on the orientation. For example, if the lower end of the interface of the wearable device is south, the upper end is north, the left end is west, and the right end is east, and if the orientation is 40 ° north from east, the rotation direction of the rectangular parallelepiped is vertically rotated upward.
In addition, the switching direction is a direction obtained by pointing the starting position of the interface switching operation to the end position, and the switching direction is defined by up, down, left and right, for example, if the switching direction is from left to right, the rotation direction of the rectangular parallelepiped rotates horizontally to right; the switching direction is from bottom to top, and then the direction of rotation of cuboid is vertical upwards rotatory.
And step S40, controlling the cuboid to rotate according to the rotation direction by taking the center of the cuboid as a rotation center, wherein the rotation angle of the cuboid is integral multiple of 90 degrees.
Wearing equipment is behind the direction of rotation of confirming the cuboid to the center of cuboid is the rotation center, and control cuboid rotates according to the direction of rotation. It should be noted that the rotation angle of the rectangular parallelepiped is an integral multiple of 90 °, that is, the side surface displayed after the rectangular parallelepiped rotates and the remaining region of the current interface are ensured to be on the same plane. For example, if the cuboid rotates 180 °, the third column numbered 3 is rotated to the current interface, and thus the third column numbered 3 and the first, second, fourth, and fifth columns of the current interface form a new interface numbered 1. It should be noted that, the wearable device involves switching of partial regions, such as switching of a certain row or a certain column, and in order to enable the switched region to form a complete interface with the remaining regions, the sizes of the six interfaces are set to be the same, that is, the 3D interface model of the wearable device is a cube.
For ease of understanding, the interface in this embodiment is illustrated.
If the cuboid determined by the wearable device is a cube set in the wearable device, the whole interface needs to be switched. The rotation direction of the cube is vertical downward rotation, the number of a front view of the cube is 1, the number of a bottom view is 6, the number of a back view is 3, the number of a top view is 5, the rotation angle is 90 °, after the cube is rotated vertically downward by 90 °, the interface numbered 5 is updated to be the front view of the cube, the interface numbered 1 is updated to be the bottom view of the cube, the interface numbered 3 is updated to be the top view of the cube, the interface numbered 6 is updated to be the back view of the cube, and after the view is updated, the original number is also updated, and if the interface numbered 6 is updated to be the back view of the cube, the number 6 is updated to be the number 1.
Assuming that each interface comprises three rows and three columns, 9 areas are formed by the three rows and the three columns, icons are placed in each area, the interface 1 before rotation refers to a table-1, the interface 6 before rotation refers to a table-2, the interface 3 before rotation refers to a table-3, and the interface 5 before rotation refers to a table-4; the interface 1 after rotation refers to table-5, the interface 6 after rotation refers to table-6, the interface 3 after rotation refers to table-7, and the interface 5 after rotation refers to table-8.
TABLE-1
Icon A1(1,1,1) Icon A2(1,1,2) Icon A2(1,1,3)
Icon B1(1,2,1) Icon A2(1,2,2) Icon B3(1,2,3)
Icon C1(1,3,1) Icon C2(1,3,2) Icon C3(1,3,3)
TABLE-2
Icon D1(6,1,1) Icon D2(6,1,2) Icon D2(6,1,3)
Icon E1(6,2,1) Icon E2(6,2,2) Icon E3(6,2,3)
Icon F1(6,3,1) Icon F2(6,3,2) Icon F3(6,3,3)
TABLE-3
Icon G1(3,1,1) Icon G2(3,1,2) Icon G2(3,1,3)
Icon H1(3,2,1) Icon H2(3,2,2) Icon H3(3,2,3)
Icon I1(3,3,1) Icon I2(3,3,2) Icon I3(3,3,3)
Icon F1(6,3,1) Icon F2(6,3,2) Icon F3(6,3,3)
TABLE-4
Icon J1(5,1,1) Icon J2(5,1,2) Icon J2(5,1,3)
Icon K1(5,2,1) Icon K2(5,2,2) Icon K3(5,2,3)
Icon L1(5,3,1) Icon L2(5,3,2) Icon L3(5,3,3)
TABLE-5
Icon J1(1,1,1) Icon J2(1,1,2) Icon J2(1,1,3)
Icon K1(1,2,1) Icon K2(1,2,2) Icon K3(1,2,3)
Icon L1(1,3,1) Icon L2(1,3,2) Icon L3(1,3,3)
TABLE-6
Icon A1(6,1,1) Icon A2(6,1,2) Icon A2(6,1,3)
Icon B1(6,2,1) Icon B2(6,2,2) Icon B3(6,2,3)
Icon C1(6,3,1) Icon C2(6,3,2) Icon C3(6,3,3)
TABLE-7
Icon D1(3,1,1) Icon D2(3,1,2) Icon D2(3,1,3)
Icon E1(3,2,1) Icon E2(3,2,2) Icon E3(3,2,3)
Icon F1(3,3,1) Icon F2(3,3,2) Icon F3(3,3,3)
TABLE-8
Icon G1(5,1,1) Icon G2(5,1,2) Icon G2(5,1,3)
Icon H1(5,2,1) Icon H2(5,2,2) Icon H3(5,2,3)
Icon I1(5,3,1) Icon I2(5,3,2) Icon I3(5,3,3)
The first numerical value in the coordinate in the table is a number representing an interface where the icon is located; the second value and the third value characterize the position of the icon on the interface.
In the technical scheme that this embodiment provided, wearing equipment includes virtual square, each side of square is wearing equipment's interface, wearing equipment is when detecting interface switching operation, confirm that the switching direction that interface switching operation corresponds and the region that interface switching operation corresponds at current interface, and confirm on the square and use this region as the cuboid of side, wearing equipment confirms the direction of rotation of cuboid again according to switching direction, thereby use the center of cuboid as the rotation center, control the cuboid according to the direction rotation 90 integral multiples, and then accomplish the switching of interface. The interface in the wearable device forms the side face of the cube, and the cuboid needing to be rotated is determined on the cube through switching operation, so that the cuboid is rotated by integral multiple of 90 degrees to complete interface switching, namely the interface is switched through the rotation mode of the simulated magic cube, and the novelty of the interface switching mode is improved.
Referring to fig. 3, fig. 3 is a second embodiment of the interface switching method of the wearable device of the present invention, and based on the first embodiment, the step S20 includes:
step S21, determining the type of the interface switching operation;
and step S22, determining that the interface switching operation is in the first area of the current interface according to the type.
In this embodiment, the wearable device determines that the interface switching operation is in the first area of the current interface based on the type of the interface switching operation.
Specifically, the wearable device can set a preset type of interface switching operation. And if the type of the interface switching operation is a preset type, the first area is the current interface. If the type of the interface switching operation is not the preset type, the first area is a row or a column of the current interface, that is, the first area is a part of the current interface. The preset type may be set by a user or may be a factory default. For example, the two-finger sliding operation may be set to a preset type.
When the wearable device detects an interface switching operation, if the type of the interface switching operation is determined to be a preset type, the current interface is determined to be a first area.
And if the type of the interface switching operation is not the preset type, taking the column or the row corresponding to the current interface as the first area. Specifically, the wearable device determines an initial position of the interface switching operation on the current interface, and an area where the initial position is located (the area is obtained by dividing rows and columns of the current interface) is a second area of the interface switching operation on the current interface. The wearable device determines the included angle between the horizontal directions of the direction switching interface. If the included angle does not exist (the switching direction is parallel to the horizontal direction) or the included angle is smaller than or equal to the preset angle, determining the line of the second area on the current interface as the first area. The preset angle may be any suitable vertical, for example 45 °. And if the included angle is larger than the preset angle, determining the column of the second area on the current interface as the first area.
Further, the current interface is divided into a plurality of regions. Each region may place an icon for an application. Of course, there are also areas where no icons are placed. When the user switches the interface, the user may search for the application program. The sliding track of the interface switching operation is overlapped with 2 or more than 2 areas on the current interface, and if one of the areas has an icon, the area with the icon is determined as a second area; of course, if all the regions have icons, all the regions constitute the second region.
In the technical scheme provided by the embodiment, the wearable device determines the type of the interface switching operation, so that the interface switching operation is determined in the first area of the current interface according to the type, and then the cuboid is determined on the cube according to the first area, so that the interface is accurately switched.
Referring to fig. 4, fig. 4 is a third embodiment of the interface switching method of the wearable device of the present invention, and based on the first or second embodiment, the step S40 includes:
step S41, determining a target rotation angle of the cuboid according to the interface switching operation, wherein the target rotation angle is an integral multiple of 90 degrees;
and step S42, controlling the cuboid to rotate by the target rotation angle according to the rotation direction by taking the center of the cuboid as a rotation center.
In the technical scheme that this embodiment provided, the target rotation angle of cuboid can be confirmed based on interface switching operation to the wearing device, and then use the center of cuboid as the center of rotation, control the cuboid rotates target rotation angle according to the direction of rotation. The target preset angle is an integral multiple of 90 °. The target rotation angle may be a default rotation angle of 90 °, that is, a default rotation of a partial region of the adjacent interface onto the current interface.
Further, the interface switching operation may include a search operation. The search operation is an operation of searching for an icon by a user through voice or an input box. The wearable device determines the target icon searched by the searching operation, so that the angle between the interface where the target image is located and the current interface or the integral multiple of the angle is determined as the target rotation angle. It should be noted that the search operation may be regarded as a preset type, that is, the wearable device switches the entire interface.
In the technical scheme provided by the embodiment, the wearable device determines the target rotation angle of the cuboid based on interface switching operation, so that interface rotation is accurately performed.
Referring to fig. 5, fig. 5 is a fourth embodiment of the interface switching method of the wearable device of the present invention, and based on the first or second embodiment, the step S40 includes:
step S43, determining parameters corresponding to the interface switching operation, and determining the initial rotation speed of the cuboid according to the parameters, wherein the parameters comprise at least one of sliding speed and sliding distance corresponding to the sliding operation, and the interface switching operation comprises the sliding operation;
and step S44, taking the center of the cuboid as a rotation center, and controlling the cuboid to perform inertial rotation in the rotation direction at the initial rotation speed, wherein the rotation angle of the cuboid is integral multiple of 90 degrees after the inertial rotation.
The user switching the interface may be searching for an icon; there is also a case where the user does not have the intention to search for an icon, but merely performs a random switching of the interface, for example, the user wants to experience a rotation manner of the interface. If the icon is searched by the user, searching the icon by adopting the step S41 and the step S42; if the icon is not searched, the interface can be switched by adopting the scheme provided by the embodiment.
The wearable device can set an interface switching mode, and if the interface switching mode is the target search, the wearable device adopts the steps S41 and S42; if the interface switching method is random search, step S43 and step S44 are adopted. The wearable equipment is internally provided with inertial rotation, and the inertial rotation mode is an interface switching mode which is randomly searched. The inertial rotation is that the cuboid begins to rotate at the initial rotating speed, the resistance is set, and the rotating speed of the cuboid is gradually reduced through the resistance until the rotating speed is zero.
In contrast, the wearable device determines a parameter corresponding to the interface switching operation, where the parameter is at least one of a sliding speed and a sliding distance corresponding to the sliding operation. The wearable device determines the initial rotation speed according to the parameters, and the larger the parameter is, the larger the initial rotation speed is. The center of cuboid is the center of rotation again to the wearing equipment, and the control cuboid carries out inertial rotation with rotatory initial velocity to the direction of rotation.
The rotation angle of the rectangular parallelepiped after the inertial rotation is an integral multiple of 90 °. The resistance set by the wearing apparatus may be reduced in units of rotational speed, for example, 10 °/ms. After the cuboid rotates 90 degrees each time, determining the current rotation speed, if the cuboid can rotate 90 degrees within the set time based on the unit reduction value and the current rotation speed, and if the cuboid can rotate 90 degrees, continuing to rotate; if the rotation of 90 degrees is not enough in the set time, the rotation is stopped, so that the rotation angle of the cuboid after the inertial rotation is integral multiple of 90 degrees is ensured. The set time is the minimum time for interface switching, and the minimum time can ensure that the time for switching one interface to another interface is not too long. The set time may be any suitable value.
In the technical scheme that this embodiment provided, wearing equipment switches the interface based on inertial rotation's mode, has improved the novelty that the interface switches.
The invention also provides a wearable device, which comprises a memory, a processor and a switching program stored in the memory and capable of running on the processor, wherein the switching program is executed by the processor to realize the steps of the interface switching method of the wearable device according to the above embodiment.
The present invention also provides a computer-readable storage medium, which includes a switching program, and when the switching program is executed by a processor, the switching program implements the steps of the interface switching method of the wearable device according to the above embodiment.
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.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
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 solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An interface switching method of wearable equipment is characterized in that the wearable equipment comprises a virtual cube, each side face of the cube is an interface of the wearable equipment, and the interface switching method of the wearable equipment comprises the following steps:
when interface switching operation is detected, determining a switching direction corresponding to the interface switching operation;
determining a first region of the current interface of the interface switching operation, and determining a cuboid corresponding to the first region on the cube, wherein the cuboid is the cube or is a part of the cube, and the first region is a side face of the cuboid;
determining the rotation direction of the cuboid according to the switching direction;
and controlling the cuboid to rotate according to the rotating direction by taking the center of the cuboid as a rotating center, wherein the rotating angle of the cuboid is integral multiple of 90 degrees.
2. The interface switching method of the wearable device of claim 1, wherein the step of determining that the interface switching operation is in the first area of the current interface comprises:
determining the type of the interface switching operation;
and determining the interface switching operation in the first area of the current interface according to the type.
3. The interface switching method of the wearable device according to claim 2, wherein the step of determining that the interface switching operation is in the first area of the current interface according to the type and the position comprises:
and when the type is a preset type, determining the current interface as the first area.
4. The interface switching method of the wearable device according to claim 2, wherein the step of determining that the interface switching operation is in the first area of the current interface according to the type and the position comprises:
when the type is not a preset type, determining a second area of the interface switching operation on the current interface;
determining an included angle between the switching direction and the horizontal direction corresponding to the interface;
determining the line of the second area on the current interface as the first area when no included angle exists or the included angle is smaller than or equal to a preset angle;
and when the included angle is larger than a preset angle, determining the column of the second area on the current interface as the area.
5. The interface switching method of a wearable device of claim 4, wherein the step of determining the second area of the interface switching operation on the current interface comprises:
determining an icon corresponding to the current interface in the interface switching operation;
and determining the area where the icon is located as the second area.
6. The interface switching method of a wearable device as claimed in any one of claims 1 to 5, wherein the step of controlling the cuboid to rotate in the rotation direction with the center of the cuboid as a rotation center comprises:
determining a target rotation angle of the cuboid according to the interface switching operation, wherein the target rotation angle is an integral multiple of 90 degrees;
and controlling the cuboid to rotate by the target rotation angle according to the rotation direction by taking the center of the cuboid as a rotation center.
7. The interface switching method of a wearable device according to claim 6, wherein the step of determining the target rotation angle of the cuboid according to the interface switching operation includes:
determining a target icon searched and scanned by a search operation, wherein the interface switching operation comprises the search operation;
and determining the angle between the interface where the target icon is located and the current interface or the integral multiple of the angle as the target rotation angle.
8. The interface switching method of a wearable device as claimed in any one of claims 1 to 5, wherein the step of controlling the cuboid to rotate in the rotation direction with the center of the cuboid as a rotation center comprises:
determining parameters corresponding to the interface switching operation, and determining the initial rotation speed of the cuboid according to the parameters, wherein the parameters comprise at least one of sliding speed and sliding distance corresponding to the sliding operation, and the interface switching operation comprises the sliding operation;
and taking the center of the cuboid as a rotation center, controlling the cuboid to rotate at the initial rotation speed in the rotation direction in an inertia rotation mode, wherein the rotation angle of the cuboid is integral multiple of 90 degrees after the inertia rotation mode.
9. A wearable device comprising a memory, a processor, and a switching program stored in the memory and executable on the processor, the switching program when executed by the processor implementing the steps of the interface switching method of the wearable device of any of claims 1-8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a switching program which, when executed by a processor, implements the steps of the interface switching method of a wearable device according to any one of claims 1-8.
CN202011415155.3A 2020-12-03 2020-12-03 Wearable device, interface switching method thereof and computer-readable storage medium Pending CN112540706A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011415155.3A CN112540706A (en) 2020-12-03 2020-12-03 Wearable device, interface switching method thereof and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011415155.3A CN112540706A (en) 2020-12-03 2020-12-03 Wearable device, interface switching method thereof and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN112540706A true CN112540706A (en) 2021-03-23

Family

ID=75016341

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011415155.3A Pending CN112540706A (en) 2020-12-03 2020-12-03 Wearable device, interface switching method thereof and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN112540706A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478605A (en) * 2009-01-13 2009-07-08 深圳市同洲电子股份有限公司 Method, system and mobile communication terminal for controlling tridimensional menu display
US20100169836A1 (en) * 2008-12-29 2010-07-01 Verizon Data Services Llc Interface cube for mobile device
CN102053776A (en) * 2009-10-29 2011-05-11 深圳富泰宏精密工业有限公司 Desktop management system and method
CN102065259A (en) * 2009-11-16 2011-05-18 康佳集团股份有限公司 Display method and system of television (TV) menu
CN103218108A (en) * 2011-11-22 2013-07-24 东芝三星存储技术韩国株式会社 Method and apparatus for displaying polyhedral user interface
CN107589884A (en) * 2017-07-18 2018-01-16 朱小军 A kind of 3D stereoscopic displays exchange method and intelligent mobile terminal
CN107728886A (en) * 2017-10-25 2018-02-23 维沃移动通信有限公司 A kind of one-handed performance method and apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100169836A1 (en) * 2008-12-29 2010-07-01 Verizon Data Services Llc Interface cube for mobile device
CN101478605A (en) * 2009-01-13 2009-07-08 深圳市同洲电子股份有限公司 Method, system and mobile communication terminal for controlling tridimensional menu display
CN102053776A (en) * 2009-10-29 2011-05-11 深圳富泰宏精密工业有限公司 Desktop management system and method
CN102065259A (en) * 2009-11-16 2011-05-18 康佳集团股份有限公司 Display method and system of television (TV) menu
CN103218108A (en) * 2011-11-22 2013-07-24 东芝三星存储技术韩国株式会社 Method and apparatus for displaying polyhedral user interface
CN107589884A (en) * 2017-07-18 2018-01-16 朱小军 A kind of 3D stereoscopic displays exchange method and intelligent mobile terminal
CN107728886A (en) * 2017-10-25 2018-02-23 维沃移动通信有限公司 A kind of one-handed performance method and apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
17素材: "jQuery css3 3D旋转立方体图标菜单", 《17素材,HTTPS://WWW.17SUCAI.COM/PINS/27098.HTML》 *

Similar Documents

Publication Publication Date Title
US10430068B2 (en) Method for displaying interface content and user equipment
US11199942B2 (en) Method and system for sorting desktop objects
CN103412725B (en) A kind of touch operation method and device
US9703470B2 (en) Method of adjusting an UI and user terminal using the same
CN103019609B (en) The method that territory, screen partition shows, device and touch screen terminal
CN102508615B (en) Touch screen picture control method
JP2016048571A5 (en)
CN110347317B (en) Window switching method and device, storage medium and interactive intelligent panel
CN106658139B (en) Focus control method and device
CN103902185A (en) Screen rotating method and device and mobile device
CN114296595A (en) Display method and device and electronic equipment
KR20230031970A (en) How to organize icons, icon organizers and electronic devices
CN104049846A (en) Information processing method and electronic device
CN113138670B (en) Touch screen interaction gesture control method and device, touch screen and storage medium
CN102750032A (en) Controller and touch control operating method
CN110795015A (en) Operation prompting method, device, equipment and storage medium
CN112540706A (en) Wearable device, interface switching method thereof and computer-readable storage medium
US20170205967A1 (en) Display and interaction method in a user interface
CN108694006B (en) Method and device for achieving icon wheel-imitating rolling effect
CN110647263B (en) Mobile terminal desktop icon moving method, device, medium and equipment
CN105808130A (en) Interface switching method and electronic device using same
CN104035660A (en) Information processing method and electronic device
CN113721911B (en) Control method, medium and equipment for display proportion of virtual scene
EP4195059A1 (en) Matrix operation method, electronic device and program
CN107728890A (en) A kind of navigation bar display methods and device and a kind of terminal device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210323

RJ01 Rejection of invention patent application after publication