Movatterモバイル変換


[0]ホーム

URL:


CN105068740A - A page switching method and smart watch - Google Patents

A page switching method and smart watch
Download PDF

Info

Publication number
CN105068740A
CN105068740ACN201510531922.XACN201510531922ACN105068740ACN 105068740 ACN105068740 ACN 105068740ACN 201510531922 ACN201510531922 ACN 201510531922ACN 105068740 ACN105068740 ACN 105068740A
Authority
CN
China
Prior art keywords
page
intelligent watch
tilt angle
smart watch
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510531922.XA
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510531922.XApriorityCriticalpatent/CN105068740A/en
Publication of CN105068740ApublicationCriticalpatent/CN105068740A/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

Abstract

Translated fromChinese

本发明实施例公开了一种页面切换的方法,包括:当智能手表获取到启动页面切换模式的操作指令时,所述智能手表进入页面切换模式,通过重力传感器采集重力信息;所述智能手表对所述重力信息进行处理,获取所述重力信息所对应的目标页面;所述智能手表将当前页面切换至所述目标页面。本发明实施例还公开了一种智能手表。采用本发明,可使得终端可通过重力感应来进行切换页面。

The embodiment of the present invention discloses a method for page switching, comprising: when a smart watch obtains an operation instruction for starting a page switching mode, the smart watch enters a page switching mode and collects gravity information through a gravity sensor; the smart watch processes the gravity information and obtains a target page corresponding to the gravity information; the smart watch switches the current page to the target page. The embodiment of the present invention also discloses a smart watch. By adopting the present invention, a terminal can switch pages through gravity sensing.

Description

Translated fromChinese
一种页面切换的方法及智能手表A page switching method and smart watch

技术领域technical field

本发明涉及电子技术领域,尤其涉及一种页面切换的方法及智能手表。The invention relates to the field of electronic technology, in particular to a page switching method and a smart watch.

背景技术Background technique

随着科学的发展,各种穿戴式设备也越来越流行,如智能眼镜、智能手表等穿戴式设备已日渐流行。这些穿戴设备可内置各种应用软件,用户可通过这些穿戴式设备下载应用、观看视频、听取音乐、玩耍游戏、欣赏图片或者阅读书籍等,这便捷了用户生活,提高用户体验。With the development of science, various wearable devices are becoming more and more popular, such as smart glasses, smart watches and other wearable devices have become increasingly popular. These wearable devices can be built with various application software, through which users can download applications, watch videos, listen to music, play games, appreciate pictures or read books, etc., which facilitates users' lives and improves user experience.

目前,由于智能手表可安装各种应用、存储各种文件和文件夹等,随着这些文件的增多,当用户需打开某个页面时,用户需通过各级菜单进行查找打开,不仅费时费力,并且由于智能手表的位置大都窄小,这使得用户通过位置点击打开文件页面时,不能自如打开文件页面,从而给用户带来不便。At present, since smart watches can install various applications and store various files and folders, etc., with the increase of these files, when users need to open a certain page, users need to search and open it through menus at all levels, which is not only time-consuming and laborious, but also And because the positions of smart watches are mostly narrow and small, when the user clicks to open the file page through the position, the file page cannot be opened freely, thereby causing inconvenience to the user.

发明内容Contents of the invention

本发明实施例所要解决的技术问题在于,提供一种页面切换的方法及智能手表。这可使得终端可通过重力感应来进行切换页面。The technical problem to be solved by the embodiments of the present invention is to provide a page switching method and a smart watch. This enables the terminal to switch pages through gravity sensing.

为了解决上述技术问题,本发明实施例提供了一种页面切换的方法,包括:In order to solve the above technical problems, an embodiment of the present invention provides a page switching method, including:

当智能手表获取到启动页面切换模式的操作指令时,所述智能手表进入页面切换模式,通过重力传感器采集重力信息;When the smart watch acquires the operation instruction to start the page switching mode, the smart watch enters the page switching mode, and collects gravity information through the gravity sensor;

所述智能手表对所述重力信息进行处理,获取所述重力信息所对应的目标页面;The smart watch processes the gravity information to obtain a target page corresponding to the gravity information;

所述智能手表将当前页面切换至所述目标页面。The smart watch switches the current page to the target page.

其中,所述智能手表通过重力传感器采集重力信息之前包括:Wherein, before the smart watch collects the gravity information through the gravity sensor, it includes:

所述智能手表设置采集重力信息的周期;The smart watch sets the cycle of collecting gravity information;

所述智能手表通过重力传感器采集当前的重力信息包括:所述智能手表按照设置的所述周期采所述重力信息。The smart watch collecting the current gravity information through the gravity sensor includes: the smart watch collecting the gravity information according to the set period.

其中,所述智能手表对所述重力信息进行处理,获取所述重力信息所对应的目标页面包括:Wherein, the smart watch processes the gravity information, and obtaining the target page corresponding to the gravity information includes:

所述智能手表根据所述重力信息获取所述智能手表相对于预设位置的目标倾斜角度;The smart watch acquires the target inclination angle of the smart watch relative to a preset position according to the gravity information;

所述智能手表根据预置的倾斜角度与页面的对应关系,获取所述目标倾斜角度所对应的目标页面。The smart watch acquires the target page corresponding to the target tilt angle according to the preset correspondence between the tilt angle and the page.

其中,所述智能手表根据预置的倾斜角度与页面的对应关系,获取所述目标倾斜角度所对应的目标页面之前包括:Wherein, before the smart watch acquires the target page corresponding to the target tilt angle according to the preset correspondence between the tilt angle and the page, it includes:

所述智能手表预置倾斜角度与页面的对应关系。The smart watch presets the corresponding relationship between the tilt angle and the page.

其中,所述智能手表根据预置的倾斜角度与页面的对应关系,获取所述目标倾斜角度所对应的目标页面之前包括:Wherein, before the smart watch acquires the target page corresponding to the target tilt angle according to the preset correspondence between the tilt angle and the page, it includes:

所述智能手表判断所述目标倾斜角度是否满足预设的条件;The smart watch judges whether the target tilt angle meets a preset condition;

当所述智能手表判断所述目标倾斜角度满足所述预设的条件时,所述智能手表退出所述页面切换模式;When the smart watch judges that the target tilt angle satisfies the preset condition, the smart watch exits the page switching mode;

当所述智能手表判断所述目标倾斜角度不满足所述预设的条件时,所述智能手表执行所述智能手表根据预置的倾斜角度与页面的对应关系,获取所述目标倾斜角度所对应的目标页面步骤。When the smart watch judges that the target inclination angle does not meet the preset condition, the smart watch executes the smart watch to obtain the corresponding information of the target inclination angle according to the preset correspondence between the inclination angle and the page. landing page steps for .

相应地,本发明实施例还提供了一种智能手表,包括:Correspondingly, the embodiment of the present invention also provides a smart watch, including:

采集单元,用于当智能手表获取到启动页面切换模式的操作指令时,进入页面切换模式,通过重力传感器采集重力信息;The acquisition unit is used to enter the page switching mode when the smart watch acquires the operation command to start the page switching mode, and collect the gravity information through the gravity sensor;

处理单元,用于对所述重力信息进行处理,获取所述重力信息所对应的目标页面;a processing unit, configured to process the gravity information, and obtain a target page corresponding to the gravity information;

切换单元,用于将当前页面切换至所述目标页面。The switching unit is used to switch the current page to the target page.

其中,所述智能手表包括:Wherein, the smart watch includes:

设置单元,用于设置采集重力信息的周期;A setting unit is used to set the cycle of collecting gravity information;

所述采集单元具体用于:按照设置的所述周期采所述重力信息。The collection unit is specifically configured to: collect the gravity information according to the set period.

其中,所述处理单元包括:Wherein, the processing unit includes:

第一获取子单元,用于根据所述重力信息获取所述智能手表相对于预设位置的目标倾斜角度;A first acquisition subunit, configured to acquire a target inclination angle of the smart watch relative to a preset position according to the gravity information;

第二获取子单元,用于根据预置的倾斜角度与页面的对应关系,获取所述目标倾斜角度所对应的目标页面。The second acquisition subunit is configured to acquire the target page corresponding to the target inclination angle according to the preset correspondence between the inclination angle and the page.

其中,所述智能手表包括:Wherein, the smart watch includes:

预置单元,用于预置倾斜角度与页面的对应关系。The preset unit is used to preset the corresponding relationship between the tilt angle and the page.

其中,所述处理单元还包括:Wherein, the processing unit also includes:

判断子单元,用于判断所述目标倾斜角度是否满足预设的条件;A judging subunit, configured to judge whether the target tilt angle meets a preset condition;

退出子单元,用于当所述判断子单元判断所述目标倾斜角度满足所述预设的条件时,退出所述页面切换模式;An exit subunit, configured to exit the page switching mode when the judging subunit judges that the target tilt angle satisfies the preset condition;

当所述判断子单元判断所述目标倾斜角度不满足所述预设的条件时,所述判断子单元通过所述第二获取子单元根据预置的倾斜角度与页面的对应关系,获取所述目标倾斜角度所对应的目标页面。When the judging subunit judges that the target inclination angle does not satisfy the preset condition, the judging subunit acquires the The target page corresponding to the target tilt angle.

实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:

在本发明实施例中,当智能手表获取到启动页面切换模式的操作指令时,所述智能手表进入页面切换模式,通过重力传感器采集重力信息,所述智能手表对所述重力信息进行处理,获取所述重力信息所对应的目标页面,所述智能手表将当前页面切换至所述目标页面,这可使得终端可通过重力感应来进行切换页面,提高用户操作的便利性以及趣味性。In the embodiment of the present invention, when the smart watch obtains the operation command to start the page switching mode, the smart watch enters the page switching mode, collects gravity information through the gravity sensor, and the smart watch processes the gravity information to obtain The target page corresponding to the gravity information, the smart watch switches the current page to the target page, which enables the terminal to switch pages through gravity sensing, improving the convenience and fun of user operations.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1是本发明实施例提供的及一种页面切换的方法的第一实施例流程示意图;FIG. 1 is a schematic flowchart of a first embodiment of a page switching method provided by an embodiment of the present invention;

图2是本发明实施例提供的一种智能手表的第一实施例结构图。Fig. 2 is a structural diagram of a first embodiment of a smart watch provided by an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

参见图1,是本发明实施例提供的一种页面切换的方法第一实施例流程示意图。本发明实施例的一种页面切换的方法包括如下步骤:Referring to FIG. 1 , it is a schematic flowchart of a first embodiment of a page switching method provided by an embodiment of the present invention. A method for page switching in an embodiment of the present invention includes the following steps:

S100,当智能手表获取到启动页面切换模式的操作指令时,所述智能手表进入页面切换模式,通过重力传感器采集当前的重力信息。S100. When the smart watch acquires an operation instruction for starting the page switching mode, the smart watch enters the page switching mode, and collects current gravity information through a gravity sensor.

在本发明实施例中,当用户需进行页面切换时,用户可操作智能手表输入启动页面切换模式的操作指令,从而智能手表获取到启动页面切换模式的操作指令。其中,用户可操作智能手表的表冠或者智能手表的显示屏进行输入启动页面切换模式的操作指令。当智能手表获取到启动页面切换模式的操作指令时,智能手表可进入页面切换模式。In the embodiment of the present invention, when the user needs to switch pages, the user can operate the smart watch to input an operation instruction to start the page switching mode, so that the smart watch can obtain the operation instruction to start the page switching mode. Wherein, the user may operate the crown of the smart watch or the display screen of the smart watch to input an operation command to start the page switching mode. When the smart watch obtains the operation instruction to start the page switching mode, the smart watch can enter the page switching mode.

在本发明实施例中,当智能手表进入页面切换模式时,智能手表可启动重力传感器进行采集当前的重力信息。其中,所述重力传感器可以包括内置或外置在终端的传感器(Gravity-sensor,G-sensor)、陀螺仪和地磁传感器等。其中,所述重力传感器可以进行实时监测并采集终端所受的重力信息,所述重力信息包括加速力,加速力是物体在加速的过程中作用在物体上的力,比如使物体产生晃动、跌落、上升和下降等各种物体移动的力。所述重力信息还可以包括加速度;所述陀螺仪是利用高速回转体的动量矩敏感壳体相对惯性空间绕正交于自转轴的一个或二个轴的角运动检测装置,所述陀螺仪可以在终端进行旋转运动时产生的科理奥力作用下向空间的X、Y、Z三个方向发生位移,并采集其位移,根据所述位移数据可以测量出终端的运动方向,进而获得智能手表的位置;所述地磁传感器采集地球磁场在铁磁物体通过时的磁场强度变化量,根据所述变化量来检测智能手表的位置的变化。In the embodiment of the present invention, when the smart watch enters the page switching mode, the smart watch can activate the gravity sensor to collect current gravity information. Wherein, the gravity sensor may include a built-in or external sensor (Gravity-sensor, G-sensor), a gyroscope, a geomagnetic sensor, and the like. Wherein, the gravity sensor can monitor in real time and collect the gravity information received by the terminal. The gravity information includes acceleration force, which is the force that the object acts on the object during the acceleration process, such as causing the object to shake, fall , rise and fall, and other forces that move objects. The gravity information can also include acceleration; the gyroscope is an angular motion detection device that uses the moment of momentum of the high-speed revolving body to sense the housing relative to the inertial space around one or two axes orthogonal to the rotation axis, and the gyroscope can Under the action of the Coriolis force generated when the terminal rotates, the displacement occurs in the three directions of X, Y, and Z in space, and the displacement is collected. According to the displacement data, the movement direction of the terminal can be measured, and then the smart watch can be obtained. The location of the smart watch; the geomagnetic sensor collects the change in the magnetic field strength of the earth's magnetic field when the ferromagnetic object passes, and detects the change in the position of the smart watch according to the change.

在本发明实施例中,智能手表可在智能手表内置定时器上进行设置采集重力信息的周期。In the embodiment of the present invention, the smart watch can set the cycle of collecting gravity information on the built-in timer of the smart watch.

S101,所述智能手表对所述重力信息进行处理,获取所述重力信息所对应的目标页面。S101. The smart watch processes the gravity information, and acquires a target page corresponding to the gravity information.

在本发明实施例中,当智能手表获取到重力信息后,智能手表可对重力信息进行处理,获取到智能手表的当前位置相对于预设位置的目标倾斜角度。其中,预设位置可以是水平平面。In the embodiment of the present invention, after the smart watch acquires the gravity information, the smart watch can process the gravity information to obtain the target inclination angle of the current position of the smart watch relative to the preset position. Wherein, the preset position may be a horizontal plane.

在本发明实施例中,当智能手表获取到目标倾斜角度时,智能手表判断目标倾斜角度是否满足预设的条件。其中,预设的条件可以是目标倾斜角度为0°,或者目标倾斜角度为180°。其中,预设的条件用户可自行进行设置,在此不进行限制。In the embodiment of the present invention, when the smart watch obtains the target tilt angle, the smart watch judges whether the target tilt angle satisfies a preset condition. Wherein, the preset condition may be that the target tilt angle is 0°, or the target tilt angle is 180°. Wherein, the preset condition can be set by the user, which is not limited here.

在本发明实施例中,当智能手表判断获取到的目标倾斜角度满足预设的条件时,智能手表将获取到退出页面切换模式指令,并根据退出页面切换模式指令退出所述页面切换模式。当智能手表判断获取到的目标倾斜角度不满足预设的条件时,智能手表可根据预置的倾斜角度与页面的对应关系,获取所述目标倾斜角度所对应的目标页面。。In the embodiment of the present invention, when the smart watch judges that the obtained target tilt angle satisfies the preset condition, the smart watch will obtain an instruction to exit the page switching mode, and exit the page switching mode according to the instruction to exit the page switching mode. When the smart watch judges that the obtained target tilt angle does not meet the preset condition, the smart watch may acquire the target page corresponding to the target tilt angle according to the preset correspondence between the tilt angle and the page. .

在本发明实施例中,页面可以是智能手表中内置的各种页面,如图片页面、应用程序页面、文档页面和设置页面等。在本发明实施例中,页面可以是应用程序的启动页面。In the embodiment of the present invention, the pages may be various built-in pages in the smart watch, such as a picture page, an application program page, a document page, and a setting page. In this embodiment of the present invention, the page may be the startup page of the application.

在本发明实施例中,智能手表可以预置倾斜角度与页面的对应关系。具体的,智能手表可以预置倾斜角度范围与页面的对应关系,如:如智能手表预置角度范围在0~a内的倾斜角度对应的页面是第一应用程序的启动页面;预置角度范围在a~b内的倾斜角度对应的页面是第二应用程序的启动页面;预置角度范围在b~c内的倾斜角度对应的页面是第二应用程序的启动页面,……,预置角度范围在n~90°内的倾斜角度对应的页面是第n应用程序的启动页面等,其中,a,b,c,n均为角度数值,用户可自行进行设置。进一步的,智能手表也可以预置倾斜角度的数值与页面的对应关系,如智能手表预置倾斜角度为a对应的页面是第一应用程序的启动页面,智能手表预置倾斜角度为b对应的页面是第二应用程序的启动页面,智能手表预置倾斜角度为c对应的页面是第三应用程序的启动页面,……,智能手表预置倾斜角度为n对应的页面是第n应用程序的启动页面,其中,a,b,c,n均为角度数值,用户可自行进行设置。In the embodiment of the present invention, the smart watch can preset the corresponding relationship between the tilt angle and the page. Specifically, the smart watch can preset the corresponding relationship between the tilt angle range and the page, such as: if the smart watch preset angle range is within 0-a, the page corresponding to the tilt angle is the startup page of the first application program; the preset angle range The page corresponding to the tilt angle within a to b is the startup page of the second application; the page corresponding to the tilt angle within the preset angle range of b to c is the startup page of the second application, ..., the preset angle The pages corresponding to the inclination angles ranging from n to 90° are the startup page of the nth application program, etc., where a, b, c, and n are all angle values, which can be set by the user. Further, the smart watch can also preset the corresponding relationship between the value of the inclination angle and the page. For example, the page corresponding to the preset inclination angle of the smart watch is a is the startup page of the first application program, and the page corresponding to the preset inclination angle of the smart watch is b. The page is the startup page of the second application, the page corresponding to the preset inclination angle of the smart watch is c is the startup page of the third application, ..., the page corresponding to the preset inclination angle of the smart watch is n is the nth application The startup page, where a, b, c, and n are all angle values, which can be set by the user.

S102,所述智能手表将当前页面切换至所述目标页面。S102. The smart watch switches the current page to the target page.

在本发明实施例中,当智能手表获取到目标页面后,智能手表可将当前页面切换至目标页面。其中,智能手表将当前页面切换至目标页面可以是:智能手表按预置的切换速度将当前页面切换至目标页面。或者,智能手表根据预置的倾斜角度与切换速度的对应关系,获取目标倾斜角度所对应的切换速度,并按所述切换速度将当前页面切换至目标页面。In the embodiment of the present invention, after the smart watch acquires the target page, the smart watch can switch the current page to the target page. Wherein, the smart watch switches the current page to the target page may be: the smart watch switches the current page to the target page at a preset switching speed. Alternatively, the smart watch acquires the switching speed corresponding to the target tilt angle according to the preset correspondence between the tilt angle and the switching speed, and switches the current page to the target page according to the switching speed.

在本发明实施例中,当智能手表获取到启动页面切换模式的操作指令时,所述智能手表进入页面切换模式,通过重力传感器采集重力信息,所述智能手表对所述重力信息进行处理,获取所述重力信息所对应的目标页面,所述智能手表将当前页面切换至所述目标页面,这可使得终端可通过重力感应来进行切换页面,提高用户操作的便利性以及趣味性。In the embodiment of the present invention, when the smart watch obtains the operation command to start the page switching mode, the smart watch enters the page switching mode, collects gravity information through the gravity sensor, and the smart watch processes the gravity information to obtain The target page corresponding to the gravity information, the smart watch switches the current page to the target page, which enables the terminal to switch pages through gravity sensing, improving the convenience and fun of user operations.

参见图2,是本发明实施例提供的一种智能手表的第一实施例结构图。本发明实施例中所描述的智能手表,包括:Referring to FIG. 2 , it is a structural diagram of a first embodiment of a smart watch provided by an embodiment of the present invention. The smart watch described in the embodiment of the present invention includes:

采集单元100,用于当智能手表获取到启动页面切换模式的操作指令时,进入页面切换模式,通过重力传感器采集重力信息。The collection unit 100 is configured to enter the page switching mode when the smart watch acquires an operation instruction to start the page switching mode, and collect gravity information through the gravity sensor.

处理单元200,用于对所述重力信息进行处理,获取所述重力信息所对应的目标页面。The processing unit 200 is configured to process the gravity information, and acquire a target page corresponding to the gravity information.

切换单元300,用于将当前页面切换至所述目标页面。The switching unit 300 is configured to switch the current page to the target page.

其中,所述智能手表还包括:Wherein, the smart watch also includes:

设置单元,用于设置采集重力信息的周期;A setting unit is used to set the cycle of collecting gravity information;

所述采集单元100具体用于:按照设置的所述周期采所述重力信息。The collection unit 100 is specifically configured to: collect the gravity information according to the set period.

所述处理单元200具体用于:The processing unit 200 is specifically used for:

根据所述重力信息获取所述智能手表相对于预设位置的目标倾斜角度;Obtaining a target inclination angle of the smart watch relative to a preset position according to the gravity information;

根据预置的倾斜角度与页面的对应关系,获取所述目标倾斜角度所对应的目标页面。According to the preset corresponding relationship between the tilt angle and the page, the target page corresponding to the target tilt angle is acquired.

所述智能手表包括:The smart watch includes:

预置单元,用于预置倾斜角度与页面的对应关系。The preset unit is used to preset the corresponding relationship between the tilt angle and the page.

所述处理单元200还用于:The processing unit 200 is also used for:

判断所述目标倾斜角度是否满足预设的条件;judging whether the target tilt angle satisfies a preset condition;

当判断所述目标倾斜角度满足所述预设的条件时,退出所述页面切换模式;When judging that the target tilt angle satisfies the preset condition, exit the page switching mode;

当判断所述目标倾斜角度不满足所述预设的条件时,根据预置的倾斜角度与页面的对应关系,获取所述目标倾斜角度所对应的目标页面。When it is judged that the target inclination angle does not meet the preset condition, the target page corresponding to the target inclination angle is acquired according to the preset correspondence between the inclination angle and the page.

在本发明实施例中,当用户需进行页面切换时,用户可操作智能手表输入启动页面切换模式的操作指令,从而采集单元100获取到启动页面切换模式的操作指令。其中,用户可操作智能手表的表冠或者智能手表的显示屏进行输入启动页面切换模式的操作指令。当采集单元100获取到启动页面切换模式的操作指令时,智能手表可进入页面切换模式。In the embodiment of the present invention, when the user needs to switch pages, the user can operate the smart watch to input an operation instruction to start the page switching mode, so that the acquisition unit 100 obtains the operation instruction to start the page switching mode. Wherein, the user may operate the crown of the smart watch or the display screen of the smart watch to input an operation command to start the page switching mode. When the acquisition unit 100 acquires an operation instruction for starting the page switching mode, the smart watch can enter the page switching mode.

在本发明实施例中,当智能手表进入页面切换模式时,采集单元100可启动重力传感器进行采集当前的重力信息。其中,所述重力传感器可以包括内置或外置在终端的传感器(Gravity-sensor,G-sensor)、陀螺仪和地磁传感器等。其中,所述重力传感器可以进行实时监测并采集终端所受的重力信息,所述重力信息包括加速力,加速力是物体在加速的过程中作用在物体上的力,比如使物体产生晃动、跌落、上升和下降等各种物体移动的力。所述重力信息还可以包括加速度;所述陀螺仪是利用高速回转体的动量矩敏感壳体相对惯性空间绕正交于自转轴的一个或二个轴的角运动检测装置,所述陀螺仪可以在终端进行旋转运动时产生的科理奥力作用下向空间的X、Y、Z三个方向发生位移,并采集其位移,根据所述位移数据可以测量出终端的运动方向,进而获得智能手表的位置;所述地磁传感器采集地球磁场在铁磁物体通过时的磁场强度变化量,根据所述变化量来检测智能手表的位置的变化。In the embodiment of the present invention, when the smart watch enters the page switching mode, the collection unit 100 can activate the gravity sensor to collect the current gravity information. Wherein, the gravity sensor may include a built-in or external sensor (Gravity-sensor, G-sensor), a gyroscope, a geomagnetic sensor, and the like. Wherein, the gravity sensor can monitor in real time and collect the gravity information received by the terminal. The gravity information includes acceleration force, which is the force that the object acts on the object during the acceleration process, such as causing the object to shake, fall , rise and fall, and other forces that move objects. The gravity information can also include acceleration; the gyroscope is an angular motion detection device that uses the moment of momentum of the high-speed revolving body to sense the housing relative to the inertial space around one or two axes orthogonal to the rotation axis, and the gyroscope can Under the action of the Coriolis force generated when the terminal rotates, the displacement occurs in the three directions of X, Y, and Z in space, and the displacement is collected. According to the displacement data, the movement direction of the terminal can be measured, and then the smart watch can be obtained. The location of the smart watch; the geomagnetic sensor collects the change in the magnetic field strength of the earth's magnetic field when the ferromagnetic object passes, and detects the change in the position of the smart watch according to the change.

在本发明实施例中,采集单元100可在智能手表内置定时器上进行设置采集重力信息的周期。In the embodiment of the present invention, the collection unit 100 can set a cycle for collecting gravity information on the built-in timer of the smart watch.

在本发明实施例中,当采集单元100获取到重力信息后,处理单元200可对重力信息进行处理,获取到智能手表的当前位置相对于预设位置的目标倾斜角度。其中,预设位置可以是水平平面。In the embodiment of the present invention, after the acquisition unit 100 acquires the gravity information, the processing unit 200 may process the gravity information to acquire the target inclination angle of the current position of the smart watch relative to the preset position. Wherein, the preset position may be a horizontal plane.

在本发明实施例中,当处理单元200获取到目标倾斜角度时,处理单元200判断目标倾斜角度是否满足预设的条件。其中,预设的条件可以是目标倾斜角度为0°,或者目标倾斜角度为180°。其中,预设的条件用户可自行进行设置,在此不进行限制。In the embodiment of the present invention, when the processing unit 200 acquires the target tilt angle, the processing unit 200 judges whether the target tilt angle satisfies a preset condition. Wherein, the preset condition may be that the target tilt angle is 0°, or the target tilt angle is 180°. Wherein, the preset condition can be set by the user, which is not limited here.

在本发明实施例中,当处理单元200判断获取到的目标倾斜角度满足预设的条件时,处理单元200将获取到退出页面切换模式指令,并根据退出页面切换模式指令退出所述页面切换模式。当处理单元200判断获取到的目标倾斜角度不满足预设的条件时,处理单元200可根据预置的倾斜角度与页面的对应关系,获取所述目标倾斜角度所对应的目标页面。。In the embodiment of the present invention, when the processing unit 200 judges that the obtained target tilt angle satisfies the preset condition, the processing unit 200 will obtain the exit page switching mode instruction, and exit the page switching mode according to the exit page switching mode instruction . When the processing unit 200 determines that the acquired target tilt angle does not meet the preset condition, the processing unit 200 may acquire the target page corresponding to the target tilt angle according to the preset correspondence between the tilt angle and the page. .

在本发明实施例中,页面可以是智能手表中内置的各种页面,如图片页面、应用程序页面、文档页面和设置页面等。在本发明实施例中,页面可以是应用程序的启动页面。In the embodiment of the present invention, the pages may be various built-in pages in the smart watch, such as a picture page, an application program page, a document page, and a setting page. In this embodiment of the present invention, the page may be the startup page of the application.

在本发明实施例中,智能手表可以预置倾斜角度与页面的对应关系。具体的,智能手表可以预置倾斜角度范围与页面的对应关系,如:如智能手表预置角度范围在0~a内的倾斜角度对应的页面是第一应用程序的启动页面;预置角度范围在a~b内的倾斜角度对应的页面是第二应用程序的启动页面;预置角度范围在b~c内的倾斜角度对应的页面是第二应用程序的启动页面,……,预置角度范围在n~90°内的倾斜角度对应的页面是第n应用程序的启动页面等,其中,a,b,c,n均为角度数值,用户可自行进行设置。进一步的,智能手表也可以预置倾斜角度的数值与页面的对应关系,如智能手表预置倾斜角度为a对应的页面是第一应用程序的启动页面,智能手表预置倾斜角度为b对应的页面是第二应用程序的启动页面,智能手表预置倾斜角度为c对应的页面是第三应用程序的启动页面,……,智能手表预置倾斜角度为n对应的页面是第n应用程序的启动页面,其中,a,b,c,n均为角度数值,用户可自行进行设置。In the embodiment of the present invention, the smart watch can preset the corresponding relationship between the tilt angle and the page. Specifically, the smart watch can preset the corresponding relationship between the tilt angle range and the page, such as: if the smart watch preset angle range is within 0-a, the page corresponding to the tilt angle is the startup page of the first application program; the preset angle range The page corresponding to the tilt angle within a to b is the startup page of the second application; the page corresponding to the tilt angle within the preset angle range of b to c is the startup page of the second application, ..., the preset angle The pages corresponding to the inclination angles ranging from n to 90° are the startup page of the nth application program, etc., where a, b, c, and n are all angle values, which can be set by the user. Further, the smart watch can also preset the corresponding relationship between the value of the inclination angle and the page. For example, the page corresponding to the preset inclination angle of the smart watch is a is the startup page of the first application program, and the page corresponding to the preset inclination angle of the smart watch is b. The page is the startup page of the second application, the page corresponding to the preset inclination angle of the smart watch is c is the startup page of the third application, ..., the page corresponding to the preset inclination angle of the smart watch is n is the nth application The startup page, where a, b, c, and n are all angle values, which can be set by the user.

在本发明实施例中,当处理单元200获取到目标页面后,切换单元200可将当前页面切换至目标页面。其中,切换单元200将当前页面切换至目标页面可以是:切换单元200按预置的切换速度将当前页面切换至目标页面。或者,切换单元200根据预置的倾斜角度与切换速度的对应关系,获取目标倾斜角度所对应的切换速度,并按所述切换速度将当前页面切换至目标页面。In the embodiment of the present invention, after the processing unit 200 acquires the target page, the switching unit 200 can switch the current page to the target page. Wherein, switching the current page to the target page by the switching unit 200 may be: the switching unit 200 switches the current page to the target page at a preset switching speed. Alternatively, the switching unit 200 obtains the switching speed corresponding to the target tilt angle according to the preset correspondence between the tilt angle and the switching speed, and switches the current page to the target page according to the switching speed.

其中,可以理解的是,本实施例的各功能模块的功能还可根据参照上述实施例的相关描述,此处不再进行赘述。Wherein, it can be understood that the functions of the functional modules of this embodiment may also be based on the relevant descriptions with reference to the above embodiments, and details are not repeated here.

在本发明实施例中,当智能手表获取到启动页面切换模式的操作指令时,所述智能手表进入页面切换模式,通过重力传感器采集重力信息,所述智能手表对所述重力信息进行处理,获取所述重力信息所对应的目标页面,所述智能手表将当前页面切换至所述目标页面,这可使得终端可通过重力感应来进行切换页面,提高用户操作的便利性以及趣味性。。In the embodiment of the present invention, when the smart watch obtains the operation command to start the page switching mode, the smart watch enters the page switching mode, collects gravity information through the gravity sensor, and the smart watch processes the gravity information to obtain The target page corresponding to the gravity information, the smart watch switches the current page to the target page, which enables the terminal to switch pages through gravity sensing, improving the convenience and fun of user operations. .

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-OnlyMemory,ROM)或随机存储记忆体(RandomAccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.

以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.

Claims (10)

CN201510531922.XA2015-08-262015-08-26 A page switching method and smart watchPendingCN105068740A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510531922.XACN105068740A (en)2015-08-262015-08-26 A page switching method and smart watch

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510531922.XACN105068740A (en)2015-08-262015-08-26 A page switching method and smart watch

Publications (1)

Publication NumberPublication Date
CN105068740Atrue CN105068740A (en)2015-11-18

Family

ID=54498123

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510531922.XAPendingCN105068740A (en)2015-08-262015-08-26 A page switching method and smart watch

Country Status (1)

CountryLink
CN (1)CN105068740A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105630356A (en)*2015-12-282016-06-01余镓乐Virtual prop control method and device
CN107783707A (en)*2016-08-292018-03-09阿里巴巴集团控股有限公司 Content display method, content display device and smart wearable device

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20110018731A1 (en)*2009-07-232011-01-27Qualcomm IncorporatedMethod and apparatus for communicating control information by a wearable device to control mobile and consumer electronic devices
CN104063248A (en)*2014-06-272014-09-24上海摩软通讯技术有限公司Intelligent watch and starting method of application program of intelligent watch
CN104090649A (en)*2014-05-202014-10-08上海翰临电子科技有限公司Intelligent watchband and operating control method thereof
CN104298308A (en)*2013-07-182015-01-21Lg电子株式会社Watch type mobile terminal and method of controlling the same
CN104331223A (en)*2014-10-112015-02-04广东小天才科技有限公司Intelligent setting method and device for function setting of intelligent wearable equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20110018731A1 (en)*2009-07-232011-01-27Qualcomm IncorporatedMethod and apparatus for communicating control information by a wearable device to control mobile and consumer electronic devices
CN104298308A (en)*2013-07-182015-01-21Lg电子株式会社Watch type mobile terminal and method of controlling the same
CN104090649A (en)*2014-05-202014-10-08上海翰临电子科技有限公司Intelligent watchband and operating control method thereof
CN104063248A (en)*2014-06-272014-09-24上海摩软通讯技术有限公司Intelligent watch and starting method of application program of intelligent watch
CN104331223A (en)*2014-10-112015-02-04广东小天才科技有限公司Intelligent setting method and device for function setting of intelligent wearable equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105630356A (en)*2015-12-282016-06-01余镓乐Virtual prop control method and device
CN107783707A (en)*2016-08-292018-03-09阿里巴巴集团控股有限公司 Content display method, content display device and smart wearable device
CN107783707B (en)*2016-08-292021-06-15斑马智行网络(香港)有限公司 Content display method, content display device and smart wearable device

Similar Documents

PublicationPublication DateTitle
EP3754476B1 (en)Information display method, graphical user interface and terminal
KR102001849B1 (en)Adjusting the display area of application icons at a device screen
EP3042275B1 (en)Tilting to scroll
EP3223113B1 (en)Foldable display device
US9880640B2 (en)Multi-dimensional interface
KR102109407B1 (en)Smart watch and method for controlling thereof
JP6658518B2 (en) Information processing apparatus, information processing method and program
JP7173223B2 (en) Wearable electronic devices, equipment, storage devices and wearable devices
US8797283B2 (en)Method and apparatus for performing user-defined macros
EP2382527A2 (en)User interface to provide enhanced control of an application program
WO2015196703A1 (en)Application icon display method and apparatus
CN106445334B (en)Display interface adjusting method and adjusting system
US20140365968A1 (en)Graphical User Interface Elements
CN104991733A (en)Picture processing method and mobile terminal
CN105892848A (en)Page browsing method and device
JP6024725B2 (en) system
CN105068740A (en) A page switching method and smart watch
US9898183B1 (en)Motions for object rendering and selection
JP2019096182A (en)Electronic device, display method, and program
CN105204613A (en)Information processing method and wearable equipment
CN110162263B (en) Display control method, device, mobile terminal and storage medium
KR101630404B1 (en)Apparatus and method for display cartoon data
KR101414823B1 (en)Method, apparatus, and computer readable recording medium for displaying browser by reacting device's movement
CN119718059A (en) Extended screen control method, device, equipment and storage medium
WO2024088130A1 (en)Display method and electronic device

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20151118


[8]ページ先頭

©2009-2025 Movatter.jp