CN112987907B - Control method and device of wearable device, electronic device and readable storage medium - Google Patents

Control method and device of wearable device, electronic device and readable storage medium Download PDF

Info

Publication number
CN112987907B
CN112987907B CN201911270863.XA CN201911270863A CN112987907B CN 112987907 B CN112987907 B CN 112987907B CN 201911270863 A CN201911270863 A CN 201911270863A CN 112987907 B CN112987907 B CN 112987907B
Authority
CN
China
Prior art keywords
working mode
wearable device
keyword
schedule information
mode corresponding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911270863.XA
Other languages
Chinese (zh)
Other versions
CN112987907A (en
Inventor
刘恩福
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201911270863.XA priority Critical patent/CN112987907B/en
Priority to PCT/CN2020/134529 priority patent/WO2021115254A1/en
Publication of CN112987907A publication Critical patent/CN112987907A/en
Application granted granted Critical
Publication of CN112987907B publication Critical patent/CN112987907B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/014Hand-worn input/output arrangements, e.g. data gloves
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The application relates to a control method and device of a wearable device, an electronic device and a computer-readable storage medium. The wearable device is capable of running a first system and a second system, the first system having a higher power consumption than the second system, the method comprising: acquiring keywords and time in the schedule information, wherein the time comprises starting time; when the starting time is reached, determining a working mode corresponding to the keyword; and when the working mode meets a system switching condition, switching the system operated by the wearable device to the second system. Adopt the scheme of this application can reduce wearable equipment's consumption.

Description

可穿戴设备的控制方法和装置、电子设备、可读存储介质Wearable device control method and device, electronic device, readable storage medium

技术领域technical field

本申请涉及通信技术领域,特别是涉及一种可穿戴设备的控制方法和装置、电子设备、计算机可读存储介质。The present application relates to the field of communication technology, and in particular to a control method and device for a wearable device, an electronic device, and a computer-readable storage medium.

背景技术Background technique

随着通信技术的发展,越来越多的用户使用智能穿戴设备。例如智能手表、智能手环等。智能手表或智能手环有多种工作模式,例如震动模式、静音模式、飞行模式、手环模式和运动模式等。在一些工作模式下,不需要使用到智能穿戴设备的某些功能,但传统的可穿戴设备仍然支持所有功能的使用,导致智能穿戴设备的功耗较大。With the development of communication technology, more and more users use smart wearable devices. Such as smart watches, smart bracelets, etc. A smart watch or smart bracelet has multiple working modes, such as vibration mode, silent mode, flight mode, wristband mode and sports mode, etc. In some working modes, some functions of the smart wearable device do not need to be used, but traditional wearable devices still support the use of all functions, resulting in high power consumption of the smart wearable device.

发明内容Contents of the invention

本申请实施例提供一种可穿戴设备的控制方法、装置、电子设备、计算机可读存储介质,可以减少穿戴设备的功耗。Embodiments of the present application provide a wearable device control method, device, electronic device, and computer-readable storage medium, which can reduce power consumption of the wearable device.

一种可穿戴设备的控制方法,所述可穿戴设备上能运行第一系统和第二系统,所述第一系统的功耗高于所述第二系统,所述方法包括:A control method for a wearable device, where a first system and a second system can run on the wearable device, and the power consumption of the first system is higher than that of the second system, the method comprising:

获取日程信息中的关键字和时间,所述时间包括起始时间;Obtain keywords and time in the schedule information, where the time includes the start time;

当达到所述起始时间时,确定所述关键字对应的工作模式;When the start time is reached, determine the working mode corresponding to the keyword;

当所述工作模式满足系统切换条件时,将所述可穿戴设备运行的系统切换至所述第二系统。When the working mode satisfies the system switching condition, the system running on the wearable device is switched to the second system.

一种可穿戴设备的控制装置,所述可穿戴设备上能运行第一系统和第二系统,所述第一系统的功耗高于所述第二系统,所述装置包括:A control device for a wearable device, where a first system and a second system can run on the wearable device, the power consumption of the first system is higher than that of the second system, and the device includes:

获取模块,用于获取日程信息中的关键字和时间,所述时间包括起始时间;An acquisition module, configured to acquire keywords and time in the schedule information, the time including the start time;

确定模块,用于当达到所述起始时间时,确定所述关键字对应的工作模式;A determining module, configured to determine the working mode corresponding to the keyword when the start time is reached;

切换模块,用于当所述工作模式满足系统切换条件时,将所述可穿戴设备运行的系统切换至所述第二系统。A switching module, configured to switch the system running on the wearable device to the second system when the working mode satisfies a system switching condition.

一种电子设备,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如下步骤:An electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is made to perform the following steps:

获取日程信息中的关键字和时间,所述时间包括起始时间;Obtain keywords and time in the schedule information, where the time includes the start time;

当达到所述起始时间时,确定所述关键字对应的工作模式;When the start time is reached, determine the working mode corresponding to the keyword;

当所述工作模式满足系统切换条件时,将所述可穿戴设备运行的系统切换至所述第二系统。When the working mode satisfies the system switching condition, the system running on the wearable device is switched to the second system.

一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如下步骤:A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

获取日程信息中的关键字和时间,所述时间包括起始时间;Obtain keywords and time in the schedule information, where the time includes the start time;

当达到所述起始时间时,确定所述关键字对应的工作模式;When the start time is reached, determine the working mode corresponding to the keyword;

当所述工作模式满足系统切换条件时,将所述可穿戴设备运行的系统切换至所述第二系统。When the working mode satisfies the system switching condition, the system running on the wearable device is switched to the second system.

上述可穿戴设备的控制方法和装置、电子设备、计算机可读存储介质,通过获取日程信息中的关键字和时间,时间包括起始时间,当达到起始时间时,确定关键字对应的工作模式。当工作模式满足系统切换条件时,将可穿戴设备运行的系统切换至第二系统,该第二系统的功耗低于第一系统,能够关闭不使用的功能,从而能够降低可穿戴设备的功耗。The control method and device, electronic device, and computer-readable storage medium of the above-mentioned wearable device, by obtaining the keyword and time in the schedule information, the time includes the start time, and when the start time is reached, determine the working mode corresponding to the keyword . When the working mode satisfies the system switching conditions, the system running on the wearable device is switched to the second system. The power consumption of the second system is lower than that of the first system, and functions not in use can be turned off, thereby reducing the performance of the wearable device. consumption.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application 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 application. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为一个实施例中可穿戴设备的控制方法的应用环境图;Fig. 1 is an application environment diagram of a control method of a wearable device in an embodiment;

图2为一个实施例中可穿戴设备的控制方法的流程图;FIG. 2 is a flowchart of a control method of a wearable device in an embodiment;

图3为一个实施例中确定工作模式是否满足系统切换条件的步骤的流程图;Fig. 3 is a flow chart of the steps of determining whether the working mode satisfies the system switching condition in one embodiment;

图4为一个实施例中可穿戴设备的控制方法的系统架构图;FIG. 4 is a system architecture diagram of a control method of a wearable device in an embodiment;

图5为另一个实施例中可穿戴设备的控制方法的流程图;FIG. 5 is a flowchart of a control method of a wearable device in another embodiment;

图6为一个实施例中可穿戴设备的控制装置的结构框图;Fig. 6 is a structural block diagram of a control device of a wearable device in an embodiment;

图7为一个实施例中电子设备的内部结构示意图;Fig. 7 is a schematic diagram of the internal structure of an electronic device in an embodiment;

图8为一个实施例中可穿戴设备的部分结构的框图。FIG. 8 is a block diagram of a partial structure of a wearable device in one embodiment.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一系统称为第二系统,且类似地,可将第二系统称为第一系统。第一系统和第二系统两者都是系统,但其不是同一系统。It can be understood that the terms "first", "second" and the like used in this application may be used to describe various elements herein, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, a first system could be termed a second system, and, similarly, a second system could be termed a first system, without departing from the scope of the present application. Both the first system and the second system are systems, but they are not the same system.

本申请实施例提供的可穿戴设备的控制方法,可以应用于如图1所示的应用环境中。其中,移动终端110通过网络与可穿戴设备120进行通信,其中,移动终端110可以但不限于是各种笔记本电脑、智能手机和平板电脑。可穿戴120设备包括对应于第一系统的第一处理器122和对应于第二系统的第二处理器124。第一处理器122和第二处理器124均为微处理器,其中,第一处理器122为核心处理器。第一处理器122和第二处理器124可以根据实际应用配置相应的微处理器,在此不对第一处理器122和第二处理器124进行限定。系统可以是安卓系统、Linux系统、Windows系统、IOS系统、RTOS(Real Time Operating System,实时操作系统)等不限于此。而第一系统的功耗高于第二系统。例如,以第一处理器122可以是CPU(Central Process Unit,中央处理器)处理器,对应于第一系统可以是安卓(Android)系统;第二处理器124可以是MCU(Microcontroller Unit,微控制单元)处理器,对应的第二系统可以是RTOS(Real Time Operating System,实时操作系统)。其中,CPU的主频可达到1.2GHz(吉赫兹),而MCU的主频约120MHz(兆赫兹),因此第一处理器122的功耗高于第二处理器124,第一系统的功耗高于第二系统的功耗。The control method for a wearable device provided in the embodiment of the present application may be applied in the application environment shown in FIG. 1 . Wherein, the mobile terminal 110 communicates with the wearable device 120 through the network, wherein the mobile terminal 110 can be but not limited to various notebook computers, smart phones and tablet computers. The wearable 120 device includes a first processor 122 corresponding to the first system and a second processor 124 corresponding to the second system. Both the first processor 122 and the second processor 124 are microprocessors, wherein the first processor 122 is a core processor. The first processor 122 and the second processor 124 may configure corresponding microprocessors according to actual applications, and the first processor 122 and the second processor 124 are not limited here. The system may be an Android system, a Linux system, a Windows system, an IOS system, an RTOS (Real Time Operating System, real-time operating system), etc., but is not limited thereto. And the power consumption of the first system is higher than that of the second system. For example, with the first processor 122 can be CPU (Central Process Unit, central processing unit) processor, can be Andrews (Android) system corresponding to the first system; The second processor 124 can be MCU (Microcontroller Unit, microcontroller unit) processor, and the corresponding second system may be an RTOS (Real Time Operating System, real-time operating system). Wherein, the main frequency of the CPU can reach 1.2GHz (gigahertz), and the main frequency of the MCU is about 120MHz (megahertz), so the power consumption of the first processor 122 is higher than that of the second processor 124, and the power consumption of the first system higher than the power consumption of the second system.

在本实施例中,可穿戴设备120通过网络从移动终端110获取该移动终端110中的日程信息。可穿戴设备120获取日程信息中的关键字和时间,该时间包括起始时间。当可穿戴设备120检测到当前时间达到该日程信息中的起始时间时,确定该日程信息中的关键字对应的工作模式。当工作模式满足系统切换条件时,将可穿戴设备120运行的系统切换至第二系统,从而可关闭不需要使用的资源,以减少功耗。In this embodiment, the wearable device 120 obtains the schedule information in the mobile terminal 110 from the mobile terminal 110 through the network. The wearable device 120 acquires keywords and time in the schedule information, and the time includes the start time. When the wearable device 120 detects that the current time reaches the start time in the schedule information, it determines the working mode corresponding to the keyword in the schedule information. When the working mode satisfies the system switching condition, the system running on the wearable device 120 is switched to the second system, so that unused resources can be turned off to reduce power consumption.

图2为一个实施例中可穿戴设备的控制方法的流程图。本实施例中的可穿戴设备的控制方法,以运行于图1中的可穿戴设备上为例进行描述,该可穿戴设备上能运行第一系统和第二系统,该第一系统的功耗高于第二系统。如图2所示,该可穿戴设备的控制方法包括:Fig. 2 is a flowchart of a control method of a wearable device in an embodiment. The control method of the wearable device in this embodiment is described by taking the wearable device running on the wearable device in Figure 1 as an example. The wearable device can run the first system and the second system, and the power consumption of the first system is higher than the second system. As shown in Figure 2, the control method of the wearable device includes:

步骤202,获取日程信息中的关键字和时间,该时间包括起始时间。In step 202, keywords and time in the schedule information are obtained, and the time includes the starting time.

其中,日程信息是指在可穿戴设备上的存储的根据日期安排的行程。日程信息可包括任何时间段的行程计划。例如包括但不限于:航班信息、会议时间计划表、马拉松比赛、作息时间表等日程。Wherein, the schedule information refers to the itinerary arranged according to the date and stored on the wearable device. Schedule information can include travel plans for any time period. For example, it includes but is not limited to: flight information, meeting time schedule, marathon competition, work schedule and other schedules.

具体地,用户在移动终端设置好日程信息,将该日程信息通过网络发送给可穿戴设备。可选地,移动终端将该日程信息上传到云端,该可穿戴设备从云端获取该日程信息。移动终端更新日程信息后,可将更新后的日程信息通过网络实时发送给可穿戴设备。可选地,移动终端将该更新的日程信息上传到云端,该可穿戴设备每隔预设时间从云端获取日程信息,从而实现日程信息的更新。Specifically, the user sets the schedule information on the mobile terminal, and sends the schedule information to the wearable device through the network. Optionally, the mobile terminal uploads the schedule information to the cloud, and the wearable device obtains the schedule information from the cloud. After updating the schedule information, the mobile terminal can send the updated schedule information to the wearable device through the network in real time. Optionally, the mobile terminal uploads the updated schedule information to the cloud, and the wearable device obtains the schedule information from the cloud every preset time, so as to realize the updating of the schedule information.

接着,可穿戴设备解析该日程信息,提取出该日程信息中的关键字和时间,关键字是除时间以外与行程相关的信息。例如:会议、运动、航班等关键字。该日程信息中的时间包括起始时间和终止时间,表示行程的开始和结束的时刻。Next, the wearable device analyzes the schedule information, and extracts keywords and time in the schedule information, where the keywords are information related to the itinerary other than time. For example: keywords such as meetings, sports, flights, etc. The time in the schedule information includes a start time and an end time, which represent the start and end times of the itinerary.

步骤204,当达到起始时间时,确定关键字对应的工作模式。Step 204, when the start time is reached, determine the working mode corresponding to the keyword.

其中,工作模式是指睡眠模式、运动模式、会议模式、飞行模式等,但不限于此。Wherein, the working mode refers to sleep mode, exercise mode, meeting mode, flight mode, etc., but is not limited thereto.

具体地,可穿戴设备中预先设置了关键字对应的工作模式,预设的关键字对应预设的工作模式。例如:航班对应飞行模式、运动对应运动模式、会议对应会议模式等。可穿戴设备可实时检测当前时刻,并将当前时刻与日程信息中的起始时间进行对比。当前时刻是指可穿戴设备上当前显示的时间点。当当前时刻达到起始时间时,获取日程信息中的关键字,将该关键字与预设的关键字进行匹配。当匹配成功时,匹配成功的预设的关键字对应的工作模式作为日程信息中的关键字对应的工作模式。Specifically, a working mode corresponding to a keyword is preset in the wearable device, and the preset keyword corresponds to the preset working mode. For example: flights correspond to flight modes, sports correspond to sports modes, meetings correspond to conference modes, etc. The wearable device can detect the current time in real time and compare the current time with the start time in the schedule information. The current moment refers to the time point currently displayed on the wearable device. When the current moment reaches the starting time, the keyword in the schedule information is obtained, and the keyword is matched with the preset keyword. When the matching is successful, the working mode corresponding to the successfully matched preset keyword is used as the working mode corresponding to the keyword in the schedule information.

进一步地,可穿戴设备将该关键字与预设的关键字进行一一匹配,当存在预设关键字与日程信息中的关键字相同时,判定匹配成功。Further, the wearable device matches the keyword with a preset keyword one by one, and when there is a preset keyword that is the same as a keyword in the schedule information, it is determined that the matching is successful.

在本实施例中,达到起始时间时,确定关键字对应的工作模式。当可穿戴设备确定关键字对应的工作模式后,将可穿戴设备当前运行的工作模式切换为该关键字对应的工作模式。In this embodiment, when the start time is reached, the working mode corresponding to the keyword is determined. After the wearable device determines the working mode corresponding to the keyword, the working mode currently running by the wearable device is switched to the working mode corresponding to the keyword.

步骤206,当工作模式满足系统切换条件时,将可穿戴设备运行的系统切换至第二系统。Step 206, when the working mode satisfies the system switching condition, switch the system running on the wearable device to the second system.

其中,可穿戴设备包括第一系统和第二系统。第二系统的功耗低于第一系统。系统切换条件是指将可穿戴设备运行的系统切换为第二系统所需要满足的条件,即将可穿戴设备的第一系统切换为第二系统所需要满足的条件。Wherein, the wearable device includes a first system and a second system. The power consumption of the second system is lower than that of the first system. The system switching condition refers to the condition that needs to be satisfied to switch the system running on the wearable device to the second system, that is, the condition that needs to be satisfied to switch the first system of the wearable device to the second system.

具体地,可穿戴设备预先设置了工作模式所对应的系统。例如,运动比赛模式对应第二系统,飞行模式对应第二系统,正常模式对应第一系统等。可穿戴设备确定关键字对应的工作模式之后,确定该工作模式对应的系统。进一步地,可将第二系统对应的工作模式作为满足系统切换条件的工作模式。则当可穿戴设备检测到该工作模式对应的系统为第二系统时,判定该工作模式满足系统切换条件。则可穿戴设备将运行的系统切换为第二系统。Specifically, the wearable device presets the system corresponding to the working mode. For example, the sports competition mode corresponds to the second system, the flight mode corresponds to the second system, the normal mode corresponds to the first system, and so on. After the wearable device determines the working mode corresponding to the keyword, it determines the system corresponding to the working mode. Further, the working mode corresponding to the second system may be used as the working mode satisfying the system switching condition. Then, when the wearable device detects that the system corresponding to the working mode is the second system, it determines that the working mode satisfies the system switching condition. Then the wearable device switches the running system to the second system.

在本实施例中,当该工作模式对应第二系统,且可穿戴设备当前运行的系统为第一系统时,判定该工作模式满足系统切换条件。则将可穿戴设备运行的系统从第一系统切换至第二系统。In this embodiment, when the working mode corresponds to the second system and the system currently running on the wearable device is the first system, it is determined that the working mode satisfies the system switching condition. Then switch the system running on the wearable device from the first system to the second system.

上述可穿戴设备的控制方法,通过获取日程信息中的关键字和时间,时间包括起始时间,当达到起始时间时,确定关键字对应的工作模式。当工作模式满足系统切换条件时,将可穿戴设备运行的系统切换至第二系统,该第二系统的功耗低于第一系统,能够关闭不使用的功能,从而能够降低可穿戴设备的功耗,提高续航能力。In the control method of the above wearable device, by obtaining the keyword and time in the schedule information, the time includes the start time, and when the start time is reached, the working mode corresponding to the keyword is determined. When the working mode satisfies the system switching conditions, the system running on the wearable device is switched to the second system. The power consumption of the second system is lower than that of the first system, and functions not in use can be turned off, thereby reducing the performance of the wearable device. Consumption, improve battery life.

在一个实施例中,当该工作模式对应第一系统,且可穿戴设备当前运行的系统为第二系统时,判定该工作模式不满足系统切换条件。则将可穿戴设备运行的模式切换到关键字对应的工作模式,并保持第一系统的运行。从而完成工作模式的自动切换并正常使用可穿戴设备的各个功能。In one embodiment, when the working mode corresponds to the first system and the system currently running on the wearable device is the second system, it is determined that the working mode does not satisfy the system switching condition. Then switch the running mode of the wearable device to the working mode corresponding to the keyword, and keep the running of the first system. In this way, the automatic switching of the working mode can be completed and various functions of the wearable device can be used normally.

在一个实施例中,在获取日程信息中的关键字和时间之前,还包括:该可穿戴设备的第一系统获取移动终端的日程信息,并将获取的日程信息进行存储;该可穿戴设备的第一系统将日程信息同步到第二系统。In one embodiment, before acquiring the keyword and time in the schedule information, it also includes: the first system of the wearable device acquires the schedule information of the mobile terminal, and stores the acquired schedule information; The first system synchronizes the schedule information to the second system.

具体地,用户在移动终端设置好日程信息,可穿戴设备运行第一系统,通过第一系统与该移动终端通过网络连接,也可以通过蓝牙连接。接着,移动终端将该日程信息通过网络给可穿戴设备。或者,移动终端将该日程信息上传到云端,该可穿戴设备通过第一系统从云端获取该日程信息。可穿戴设备将获取的日程信息存储到第一系统对应的存储空间中。接着,可穿戴设备通过第一系统将该日程信息同步可穿戴设备的第二系统。Specifically, the user sets the schedule information on the mobile terminal, the wearable device runs the first system, and connects to the mobile terminal through the first system through the network or through Bluetooth. Then, the mobile terminal sends the schedule information to the wearable device through the network. Alternatively, the mobile terminal uploads the schedule information to the cloud, and the wearable device obtains the schedule information from the cloud through the first system. The wearable device stores the acquired schedule information in the storage space corresponding to the first system. Then, the wearable device synchronizes the schedule information with the second system of the wearable device through the first system.

本实施例中,可穿戴设备的第一系统获取移动终端的日程信息,并将获取的日程信息进行存储,可穿戴设备的第一系统将日程信息同步到第二系统,从而可实现日程信息的快速同步。In this embodiment, the first system of the wearable device acquires the schedule information of the mobile terminal and stores the acquired schedule information, and the first system of the wearable device synchronizes the schedule information to the second system, so that the schedule information can be realized. Quick sync.

在一个实施例中,该可穿戴设备的第一系统将日程信息同步到第二系统,包括:该可穿戴设备的第一系统获取日程信息在第一系统中对应的存储地址;将存储地址发送给第二系统,该存储地址用于指示第二系统获取日程信息并进行同步。In one embodiment, the first system of the wearable device synchronizes the schedule information to the second system, including: the first system of the wearable device obtains the storage address corresponding to the schedule information in the first system; sends the storage address to For the second system, the storage address is used to instruct the second system to obtain schedule information and perform synchronization.

具体地,第一系统和第二系统共用同一个存储芯片,并且第一系统和第二系统在同一个存储芯片中对应各自的存储空间。则可穿戴设备的第一系统将日程信息存储到对应的存储空间后,获取该存储空间的地址,并发送给第二系统。该第二系统接收到该存储地址后,从该存储地址对应的存储空间获取日程信息,并将该日程信息存储到自己的存储空间,从而完成日程信息的同步。Specifically, the first system and the second system share the same storage chip, and the first system and the second system correspond to respective storage spaces in the same storage chip. Then the first system of the wearable device stores the schedule information in the corresponding storage space, obtains the address of the storage space, and sends it to the second system. After receiving the storage address, the second system obtains the schedule information from the storage space corresponding to the storage address, and stores the schedule information in its own storage space, thereby completing the synchronization of the schedule information.

在一个实施例中,该可穿戴设备的第一系统将该日程信息同步到该第二系统,包括:该可穿戴设备的第一系统将日程信息发送给第二系统。In an embodiment, the first system of the wearable device synchronizing the schedule information to the second system includes: the first system of the wearable device sends the schedule information to the second system.

具体地,第一系统和第二系统可分别使用独立的存储芯片,第一系统和第二系统分别在各自的存储芯片上划出一块ROM(Read-Only Memory,只读存储器)空间用于存储日程信息。第一系统存储日程信息后,将日程信息传给第二系统,第二系统将日程信息内容保存在自己的ROM空间,从而完成日程信息的同步。Specifically, the first system and the second system can use independent memory chips respectively, and the first system and the second system respectively set aside a ROM (Read-Only Memory, read-only memory) space on their respective memory chips for storing schedule information. After the first system stores the schedule information, it transmits the schedule information to the second system, and the second system saves the content of the schedule information in its own ROM space, thereby completing the synchronization of the schedule information.

在一个实施例中,在获取日程信息中的关键字和时间之前,还包括:该可穿戴设备的第二系统获取移动终端的日程信息,并将获取的日程信息进行存储;该可穿戴设备的第二系统将日程信息同步到第一系统。该实现原理与第一系统将日程信息同步到第二系统相同,在此不再赘述。In one embodiment, before acquiring the keyword and time in the schedule information, it also includes: the second system of the wearable device acquires the schedule information of the mobile terminal, and stores the acquired schedule information; The second system synchronizes the schedule information to the first system. This realization principle is the same as that the first system synchronizes the schedule information to the second system, and will not be repeated here.

在本实施例中,第一系统和第二系统可分别使用独立的存储芯片,第一系统和第二系统分别在各自的存储芯片上划出一块ROM(Read-Only Memory,只读存储器)空间用于存储日程信息。第二系统存储日程信息后,将日程信息传给第一系统,第一系统将日程信息内容保存在自己的ROM空间,从而完成日程数据同步。In this embodiment, the first system and the second system can use independent memory chips respectively, and the first system and the second system respectively define a ROM (Read-Only Memory, read-only memory) space on their respective memory chips Used to store schedule information. After the second system stores the schedule information, it transmits the schedule information to the first system, and the first system saves the content of the schedule information in its own ROM space, thereby completing the schedule data synchronization.

在本实施例中,将第二系统获取的日程信息同步到第一系统中,与将第一系统获取的日程信息同步到第二系统的实现原理相同,不再赘述。In this embodiment, the implementation principle of synchronizing the schedule information obtained by the second system to the first system is the same as that of synchronizing the schedule information obtained by the first system to the second system, which will not be repeated here.

在一个实施例中,如图3所述,在该确定该关键字对应的工作模式之后,还包括:In one embodiment, as shown in FIG. 3, after determining the working mode corresponding to the keyword, it further includes:

步骤302,获取预设工作模式,该预设工作模式对应第二系统。In step 302, a preset working mode is obtained, and the preset working mode corresponds to the second system.

具体地,可穿戴设备预先设置满足系统切换条件的工作模式,即关键字对应的工作模式所对应的系统为第二系统时,确定满足系统切换条件。可穿戴设备预先设置预设工作模式,该预先设置的工作模式均对应第二系统。即预先设置的工作模式均在第二系统运行的情况下使用。Specifically, the wearable device presets a working mode that satisfies the system switching condition, that is, when the system corresponding to the working mode corresponding to the keyword is the second system, it is determined that the system switching condition is met. The wearable device presets preset working modes, and the preset working modes all correspond to the second system. That is, the preset working modes are all used when the second system is running.

在本实施例中,可穿戴设备可将分别设置第一系统对应的工作模式,和第二系统对应的工作模式。第一系统对应的工作模式在第一系统运行的情况下使用,第二系统对应的工作模式在第二系统运行的情况下使用。第一系统对应的工作模式和第二系统对应的工作模式均可根据需求调整。工作模式对应第二系统时认为满足系统切换条件。In this embodiment, the wearable device can respectively set the working mode corresponding to the first system and the working mode corresponding to the second system. The working mode corresponding to the first system is used when the first system is running, and the working mode corresponding to the second system is used when the second system is running. The working mode corresponding to the first system and the working mode corresponding to the second system can be adjusted according to requirements. When the working mode corresponds to the second system, it is considered that the system switching condition is met.

步骤304,当关键字对应的工作模式与预设工作模式相同时,该关键字对应的工作模式满足系统切换条件。Step 304, when the working mode corresponding to the keyword is the same as the preset working mode, the working mode corresponding to the keyword satisfies the system switching condition.

具体地,可穿戴设备获取关键字对应的工作模式之后,获取预设工作模式。将该关键字对应的工作模式与预设工作模式一一匹配,当匹配成功时,匹配成功的预设工作模式对应的系统作为关键字对应的工作模式所对应的系统。进一步地,当存在预设工作模式与该关键字对应的工作模式相同时,判定匹配成功。Specifically, after the wearable device acquires the working mode corresponding to the keyword, it acquires the preset working mode. The working mode corresponding to the keyword is matched with the preset working mode one by one, and when the matching is successful, the system corresponding to the successfully matched preset working mode is used as the system corresponding to the working mode corresponding to the keyword. Further, when there is a preset working mode that is the same as the working mode corresponding to the keyword, it is determined that the matching is successful.

当匹配成功的预设工作模式对应第二系统时,该关键字对应的工作模式即对应第二系统,则该关键字对应的工作模式满足系统切换条件。When the successfully matched preset working mode corresponds to the second system, the working mode corresponding to the keyword corresponds to the second system, and the working mode corresponding to the keyword satisfies the system switching condition.

步骤306,当关键字对应的工作模式与该预设工作模式不相同时,该关键字对应的工作模式不满足系统切换条件。Step 306, when the working mode corresponding to the keyword is different from the preset working mode, the working mode corresponding to the keyword does not satisfy the system switching condition.

具体地,可穿戴设备将该关键字对应的工作模式与预设工作模式一一匹配,当匹配失败时,判定该关键字对应的工作模式不满足系统切换条件。进一步地,当存在预设工作模式与该关键字对应的工作模式均不相同时,判定匹配失败。则该关键字对应的工作模式不满足系统切换条件。Specifically, the wearable device matches the working mode corresponding to the keyword with the preset working mode one by one, and when the matching fails, it determines that the working mode corresponding to the keyword does not meet the system switching condition. Further, when there is a preset working mode that is different from the working mode corresponding to the keyword, it is determined that the matching fails. Then the working mode corresponding to this keyword does not meet the system switching conditions.

在本实施例中,当关键字对应的工作模式所对应的系统为第二系统时,确定满足系统切换条件。则当存在预设工作模式与该关键字对应的工作模式相同,但该相同的预设工作模式对应第一系统时,该关键字对应的工作模式不满足系统切换条件。In this embodiment, when the system corresponding to the working mode corresponding to the keyword is the second system, it is determined that the system switching condition is satisfied. Then, when there is a preset working mode that is the same as the working mode corresponding to the keyword, but the same preset working mode corresponds to the first system, the working mode corresponding to the keyword does not satisfy the system switching condition.

本实施例中,通过获取预设工作模式,该预设工作模式对应第二系统,当关键字对应的工作模式与预设工作模式相同时,该关键字对应的工作模式满足系统切换条件,当关键字对应的工作模式与该预设工作模式不相同时,该关键字对应的工作模式不满足系统切换条件,能够快速准确判断出日程信息中的关键字对应的工作模式是否满足系统切换条件,从而快速做出响应。In this embodiment, by acquiring the preset working mode, the preset working mode corresponds to the second system. When the working mode corresponding to the keyword is the same as the preset working mode, the working mode corresponding to the keyword satisfies the system switching condition. When the working mode corresponding to the keyword is different from the preset working mode, the working mode corresponding to the keyword does not meet the system switching conditions, and it can quickly and accurately determine whether the working mode corresponding to the keyword in the schedule information meets the system switching conditions, to respond quickly.

在一个实施例中,该时间还包括终止时间;该方法还包括:当到达终止时间时,将该可穿戴设备从第二系统切换为第一系统。In one embodiment, the time also includes an end time; the method further includes: switching the wearable device from the second system to the first system when the end time is reached.

其中,终止时间是指日程的结束时间。例如,用户设定2019年12月09日10时00分--2019年12月09日11时50分进行马拉松比赛,用户在比赛过程中主要记录运动信息。2019年12月09日10时00分为该马拉松比赛的起始时间,2019年12月09日11时50分为该马拉松比赛的终止时间。则当达到2019年12月09日10时00分时可穿戴设备从第一系统切换到第二系统,只记录用户运动信息避免突然来电打扰比赛。当比赛时段过后,即达到2019年12月09日11时50分将可穿戴设备的第二系统自动切换到第一系统。Wherein, the end time refers to the end time of the schedule. For example, the user sets a marathon from 10:00 on December 9, 2019 to 11:50 on December 9, 2019, and the user mainly records sports information during the game. 10:00 on December 9, 2019 is the start time of the marathon, and 11:50 on December 9, 2019 is the end time of the marathon. Then when it reaches 10:00 on December 9, 2019, the wearable device will switch from the first system to the second system, and only record the user's motion information to avoid sudden calls to disturb the game. When the game period is over, that is, at 11:50 on December 9, 2019, the second system of the wearable device will be automatically switched to the first system.

具体地,可穿戴设备获取日程信息中的起始时间和终止时间,当到达起始时间且关键字对应的工作模式满足系统切换条件时,将可穿戴设备运行的系统切换为第二系统,以节省可穿戴设备的功耗。当到达日程信息中的终止时间时,表示该日程结束,则自动将第二系统切换回第一系统,以保证可穿戴设备的各功能能够正常使用。Specifically, the wearable device acquires the start time and end time in the schedule information, and when the start time is reached and the working mode corresponding to the keyword satisfies the system switching condition, the system running on the wearable device is switched to the second system to Save power consumption of wearable devices. When the end time in the schedule information is reached, it means that the schedule is over, and then the second system is automatically switched back to the first system to ensure that various functions of the wearable device can be used normally.

本实施例中,当到达该终止时间,且可穿戴设备检测到同意系统切换操作时,将可穿戴设备运行的系统从第二系统切换至第一系统。In this embodiment, when the end time is reached and the wearable device detects that the system switching operation is agreed, the system running on the wearable device is switched from the second system to the first system.

本实施例中,日程信息中的时间还包括终止时间,当到达该终止时间时,将可穿戴设备运行的系统从第二系统切换至第一系统,能够切换系统不影响用户的正常操作。In this embodiment, the time in the schedule information also includes an end time. When the end time is reached, the system running on the wearable device is switched from the second system to the first system, so that the system can be switched without affecting the normal operation of the user.

在一个实施例中,该当工作模式满足系统切换条件时,将可穿戴设备运行的系统切换至第二系统,包括:当该工作模式满足系统切换条件,且可穿戴设备运行的系统为第二系统时,该可穿戴设备运行的系统仍然保持在第二系统。In one embodiment, when the working mode satisfies the system switching condition, switching the system running on the wearable device to the second system includes: when the working mode satisfies the system switching condition, and the system running on the wearable device is the second system , the system running on the wearable device remains in the second system.

具体地,当可穿戴设备此时运行的系统处于第二系统,且满足预设系统切换条件时,可穿戴设备不切换运行的系统,即可穿戴设备运行的系统仍然保持在第二系统。Specifically, when the system running on the wearable device is in the second system and the preset system switching condition is met, the wearable device does not switch the running system, that is, the system running on the wearable device remains in the second system.

本实施例中,当可穿戴设备运行的系统处于第二系统,且满足预设系统切换条件时,可穿戴设备运行的系统仍然保持在第二系统,使得可穿戴设备仍处于低功耗状态,降低了可穿戴设备的功耗,使可穿戴设备充满电后能被使用更长时间。In this embodiment, when the system running on the wearable device is in the second system and meets the preset system switching conditions, the system running on the wearable device remains in the second system, so that the wearable device is still in a low power consumption state, The power consumption of the wearable device is reduced, so that the wearable device can be used for a longer time after being fully charged.

在一个实施例中,可穿戴设备中的第一系统支持通话,第二系统不支持通话。第二系统对应的工作模式为禁止通话的工作模式,例如马拉松比赛模式,飞行模式等。当可穿戴设备检测到日程信息中的关键对应的工作模式对应第二系统时,表示在该工作模式下不需要进行通话。则可穿戴设备将当前的工作模式切换为该关键字对应的工作模式,并将运行的系统切换为第二系统。In one embodiment, the first system in the wearable device supports calls, and the second system does not support calls. The working mode corresponding to the second system is a working mode in which talking is prohibited, such as a marathon mode, an airplane mode, and the like. When the wearable device detects that the working mode corresponding to the key in the schedule information corresponds to the second system, it indicates that it is not necessary to make a call in this working mode. Then the wearable device switches the current working mode to the working mode corresponding to the keyword, and switches the running system to the second system.

例如,可穿戴设备检测到用户日程信息中的关键字为航班,并获取该航班的起始时间和终止时间。当到达起始时间时,确定该航班的工作模式,即飞行模式。并确定该飞行模式是否对应第二系统,是说明满足系统切换条件,否则不满足。当该飞行模式对应第二系统时,则在该时段内关闭第一系统以及通话网络,只保留第二系统进行工作。当航班飞行结束,即到达终止时间时,自动切换回正常模式并打开第一系统启动通话网络。For example, the wearable device detects that the keyword in the user's schedule information is flight, and obtains the start time and end time of the flight. When the starting time is reached, determine the working mode of the flight, that is, the flight mode. And determining whether the flight mode corresponds to the second system means that the system switching condition is satisfied, otherwise it is not satisfied. When the flight mode corresponds to the second system, the first system and the call network are turned off within the period, and only the second system is kept to work. When the flight ends, that is, when the termination time is reached, the normal mode is automatically switched back and the first system is turned on to start the call network.

如图4所示,为一个实施例中可穿戴设备的控制方法的系统架构图。如图4所示,用户在移动终端编辑日程信息,并将编辑好的日程信息上传到云端。可穿戴设备从云端获取该日程信息,并将该日程信息同步到第一系统和第二系统中。从而将可穿戴设备中的第一系统和第二系统关联起来,实现日程信息的同步设置。As shown in FIG. 4 , it is a system architecture diagram of a control method of a wearable device in an embodiment. As shown in Figure 4, the user edits the schedule information on the mobile terminal, and uploads the edited schedule information to the cloud. The wearable device obtains the schedule information from the cloud, and synchronizes the schedule information to the first system and the second system. Thereby, the first system and the second system in the wearable device are associated to realize synchronous setting of schedule information.

如图5所示,为一个实施例中可穿戴设备的控制方法的流程图。As shown in FIG. 5 , it is a flowchart of a control method of a wearable device in an embodiment.

步骤502,用户在可穿戴设备中提前录入日程信息,该日程信息可现在移动终端编辑好,然后发送给可穿戴设备。也可以直接在可穿戴设备中输入日程信息。Step 502, the user enters schedule information in advance on the wearable device, and the schedule information can be edited by the mobile terminal and then sent to the wearable device. It is also possible to enter schedule information directly into the wearable device.

接着,执行步骤504,可穿戴设备实时检测日程信息中的关键字和时间。Next, step 504 is executed, and the wearable device detects keywords and time in the schedule information in real time.

步骤506,根据检测到的日程信息中的关键字和对应的时间,将可穿戴设备切换到关键字对应的工作模式,并切换到该工作模式对应的系统。Step 506: Switch the wearable device to the working mode corresponding to the keyword according to the detected keyword and the corresponding time in the schedule information, and switch to the system corresponding to the working mode.

步骤508,检测到关键字为运动,则在到达该关键字对应的起始时间时,可穿戴设备进入运动模式,并将运行的系统切换为第二系统。接着,执行步骤510。Step 508, when it is detected that the keyword is exercise, the wearable device enters the exercise mode and switches the running system to the second system when the start time corresponding to the keyword is reached. Next, step 510 is executed.

步骤510,当达到该关键字对应的终止时间时,将该运动模式切换回原工作模式,并将第二系统自动切换回可穿戴设备原运行的系统。Step 510, when the end time corresponding to the keyword is reached, the exercise mode is switched back to the original working mode, and the second system is automatically switched back to the original running system of the wearable device.

步骤512,检测到关键字为会议,则在到达该关键字对应的起始时间时,可穿戴设备进入会议模式,并将运行的系统切换为第二系统。接着,执行步骤514。Step 512, when it is detected that the keyword is meeting, the wearable device enters the meeting mode when the starting time corresponding to the keyword is reached, and switches the running system to the second system. Next, step 514 is executed.

步骤514,当达到该关键字对应的终止时间时,将该会议模式切换回原工作模式,并将第二系统自动切换回可穿戴设备原运行的系统。Step 514, when the end time corresponding to the keyword is reached, switch the conference mode back to the original working mode, and automatically switch the second system back to the original system running on the wearable device.

步骤516,检测到关键字为航班,则在到达该关键字对应的起始时间时,可穿戴设备进入飞行模式,并将运行的系统切换为第二系统。接着,执行步骤518。Step 516, when it is detected that the keyword is a flight, the wearable device enters the flight mode and switches the running system to the second system when the start time corresponding to the keyword is reached. Next, step 518 is executed.

步骤518,当达到该关键字对应的终止时间时,将该飞行模式切换回正常模式,并将第二系统自动切换回可穿戴设备原运行的系统,例如将第二系统自动切换回第一系统。Step 518, when the end time corresponding to the keyword is reached, switch the flight mode back to the normal mode, and automatically switch the second system back to the original operating system of the wearable device, for example, automatically switch the second system back to the first system .

通过日程信息中的关键字和时间,确定日程的工作模式和该工作模式持续的时间。当到达起始时间时,切换到对应的工作模式,并切换到该工作模式对应的系统,到达终止时间时,自动切换到原工作模式,并自动切换会原运行的系统,从而实现可穿戴设备的可穿戴设备的控制,并能够特定工作模式关闭不需要使用的功能,从而节省电量,减少可穿戴设备的功耗。The working mode of the schedule and the duration of the working mode are determined through keywords and time in the schedule information. When the start time is reached, switch to the corresponding working mode, and switch to the system corresponding to the working mode. When the end time is reached, automatically switch to the original working mode, and automatically switch to the original running system, so as to realize the wearable device It can control the wearable device, and can turn off unused functions in a specific working mode, so as to save power and reduce the power consumption of wearable devices.

在一个实施例中,提供了一种可穿戴设备的控制方法,该可穿戴设备上能运行第一系统和第二系统,第一系统的功耗高于第二系统,该方法包括:In one embodiment, a control method of a wearable device is provided. The first system and the second system can run on the wearable device. The power consumption of the first system is higher than that of the second system. The method includes:

可穿戴设备的第一系统获取移动终端的日程信息,并将获取的日程信息进行存储。The first system of the wearable device acquires schedule information of the mobile terminal, and stores the acquired schedule information.

接着,可穿戴设备的第一系统获取日程信息在第一系统中对应的存储地址。Next, the first system of the wearable device obtains the storage address corresponding to the schedule information in the first system.

进一步地,可穿戴设备的第一系统将存储地址发送给第二系统,存储地址用于指示第二系统获取日程信息并进行同步。Further, the first system of the wearable device sends the storage address to the second system, and the storage address is used to instruct the second system to acquire schedule information and perform synchronization.

接着,可穿戴设备获取日程信息中的关键字和时间,时间包括起始时间和终止时间。Next, the wearable device acquires keywords and time in the schedule information, and the time includes a start time and an end time.

接着,当达到起始时间时,可穿戴设备的确定关键字对应的工作模式。Next, when the start time is reached, the wearable device determines the working mode corresponding to the keyword.

进一步地,可穿戴设备的获取预设工作模式,预设工作模式对应第二系统。Further, the wearable device acquires a preset working mode, and the preset working mode corresponds to the second system.

可选地,当关键字对应的工作模式与预设工作模式相同时,关键字对应的工作模式满足系统切换条件。Optionally, when the working mode corresponding to the keyword is the same as the preset working mode, the working mode corresponding to the keyword satisfies the system switching condition.

可选地,当关键字对应的工作模式与预设工作模式不相同时,关键字对应的工作模式不满足系统切换条件。Optionally, when the working mode corresponding to the keyword is different from the preset working mode, the working mode corresponding to the keyword does not satisfy the system switching condition.

可选地,当工作模式满足系统切换条件时,可穿戴设备的将可穿戴设备运行的系统切换至第二系统。Optionally, when the working mode satisfies the system switching condition, the system of the wearable device that runs the wearable device is switched to the second system.

接着,当到达终止时间时,可穿戴设备的将可穿戴设备从第二系统切换为第一系统。Then, when the end time is reached, the wearable device switches the wearable device from the second system to the first system.

进一步地,当工作模式满足系统切换条件,且可穿戴设备运行的系统为第二系统时,可穿戴设备运行的系统仍然保持在第二系统。Further, when the working mode satisfies the system switching condition and the system running on the wearable device is the second system, the system running on the wearable device remains in the second system.

上述可穿戴设备的控制方法,通过可穿戴设备的第一系统获取移动终端的日程信息,并将该日程信息同步到可穿戴设备的第二系统,以实现数据的同步。可穿戴设备获取日程信息中的关键字和时间,时间包括起始时间和终止时间,当达到起始时间时,可穿戴设备的确定关键字对应的工作模式。并确定该工作模式是否满足系统切换条件,当满足系统切换条件时,可穿戴设备将第一系统切换为第二系统,以关闭不需要使用的功能,降低可穿戴设备的功耗。当到达终止时间时,可穿戴设备的将可穿戴设备从第二系统切换为第一系统,从而保证可穿戴设备的各个功能的正常使用。本实施例中的方案实现了可穿戴设备中的双系统自动数据同步,并且将双系统与用户设置的工作模式结合起来,实现的工作模式切换的同时自动切换对应的系统,使得可穿戴设备具有更丰富的功能,更具便利性。In the above control method of the wearable device, the first system of the wearable device acquires the schedule information of the mobile terminal, and synchronizes the schedule information to the second system of the wearable device, so as to realize data synchronization. The wearable device obtains the keyword and time in the schedule information, and the time includes a start time and an end time. When the start time is reached, the wearable device determines the working mode corresponding to the keyword. And determine whether the working mode satisfies the system switching condition. When the system switching condition is met, the wearable device switches the first system to the second system to close unnecessary functions and reduce the power consumption of the wearable device. When the end time is reached, the wearable device switches the wearable device from the second system to the first system, thereby ensuring normal use of various functions of the wearable device. The solution in this embodiment realizes the automatic data synchronization of the dual systems in the wearable device, and combines the dual systems with the working mode set by the user to realize the switching of the working mode and automatically switch the corresponding system at the same time, so that the wearable device has More functions, more convenience.

应该理解的是,虽然图2、图3、图5的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2、图3、图5中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flow charts of FIG. 2 , FIG. 3 , and FIG. 5 are shown sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in FIG. 2, FIG. 3, and FIG. 5 may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily performed at the same time, but may be performed at different times. The execution order of the sub-steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.

图6为一个实施例的可穿戴设备的控制装置的结构框图。如图6所示,所述可穿戴设备上能运行第一系统和第二系统,所述第一系统的功耗高于所述第二系统,该可穿戴设备的控制装置包括:获取模块602、确定模块604和切换模块606。其中,Fig. 6 is a structural block diagram of a control device of a wearable device according to an embodiment. As shown in FIG. 6 , the first system and the second system can run on the wearable device, the power consumption of the first system is higher than that of the second system, and the control device of the wearable device includes: an acquisition module 602 , a determining module 604 and a switching module 606. in,

获取模块602,用于获取日程信息中的关键字和时间,所述时间包括起始时间。An acquisition module 602, configured to acquire keywords and time in the schedule information, where the time includes a starting time.

确定模块604,用于当达到所述起始时间时,确定所述关键字对应的工作模式。The determining module 604 is configured to determine the working mode corresponding to the keyword when the start time is reached.

切换模块606,用于当所述工作模式满足系统切换条件时,将所述可穿戴设备运行的系统切换至所述第二系统。A switching module 606, configured to switch the system running on the wearable device to the second system when the working mode satisfies a system switching condition.

上述可穿戴设备的控制装置,通过获取日程信息中的关键字和时间,时间包括起始时间,当达到起始时间时,确定关键字对应的工作模式。当工作模式满足系统切换条件时,将可穿戴设备运行的系统切换至第二系统,该第二系统的功耗低于第一系统,能够关闭不使用的功能,从而能够降低可穿戴设备的功耗,提高续航能力。The above-mentioned control device of the wearable device obtains the keyword and time in the schedule information, the time includes the start time, and determines the working mode corresponding to the keyword when the start time is reached. When the working mode satisfies the system switching conditions, the system running on the wearable device is switched to the second system. The power consumption of the second system is lower than that of the first system, and functions not in use can be turned off, thereby reducing the performance of the wearable device. Consumption, improve battery life.

在一个实施例中,该装置还包括:同步模块。该同步模块用于:该可穿戴设备的第一系统获取移动终端的日程信息,并将获取的该日程信息进行存储;该可穿戴设备的第一系统将该日程信息同步到该第二系统。In one embodiment, the device further includes: a synchronization module. The synchronization module is used for: the first system of the wearable device acquires the schedule information of the mobile terminal, and stores the acquired schedule information; the first system of the wearable device synchronizes the schedule information to the second system.

本实施例中,可穿戴设备的第一系统获取移动终端的日程信息,并将获取的日程信息进行存储,可穿戴设备的第一系统将日程信息同步到第二系统,从而可实现日程信息的快速同步。In this embodiment, the first system of the wearable device acquires the schedule information of the mobile terminal and stores the acquired schedule information, and the first system of the wearable device synchronizes the schedule information to the second system, so that the schedule information can be realized. Quick sync.

在一个实施例中,该同步模块还用于:该可穿戴设备的第一系统获取该日程信息在该第一系统中对应的存储地址;将该存储地址发送给该第二系统,该存储地址用于指示该第二系统获取该日程信息并进行同步。In one embodiment, the synchronization module is also used for: the first system of the wearable device acquires the storage address corresponding to the schedule information in the first system; sends the storage address to the second system, and the storage address It is used to instruct the second system to acquire the schedule information and perform synchronization.

本实施例中,可穿戴设备的第一系统获取该日程信息在该第一系统中对应的存储地址,将该存储地址发送给该第二系统,该存储地址用于指示该第二系统获取该日程信息并进行同步,从而可实现日程信息的快速同步。In this embodiment, the first system of the wearable device obtains the storage address corresponding to the schedule information in the first system, and sends the storage address to the second system, and the storage address is used to instruct the second system to obtain the schedule information and synchronize it, so that the fast synchronization of schedule information can be realized.

在一个实施例中,该同步模块还用于:该可穿戴设备的第一系统将该日程信息发送给第二系统,从而完成日程信息的同步。In one embodiment, the synchronization module is further used for: the first system of the wearable device sends the schedule information to the second system, thereby completing the synchronization of the schedule information.

在一个实施例中,该装置还包括:判断模块。该判断模块用于:获取预设工作模式,该预设工作模式对应该第二系统;当该关键字对应的工作模式与该预设工作模式相同时,该关键字对应的工作模式满足系统切换条件;当该关键字对应的工作模式与该预设工作模式不相同时,该关键字对应的工作模式不满足系统切换条件。In one embodiment, the device further includes: a judging module. The judging module is used to: acquire a preset working mode, the preset working mode corresponds to the second system; when the working mode corresponding to the keyword is the same as the preset working mode, the working mode corresponding to the keyword satisfies system switching Condition; when the working mode corresponding to the keyword is different from the preset working mode, the working mode corresponding to the keyword does not satisfy the system switching condition.

本实施例中,通过获取预设工作模式,该预设工作模式对应第二系统,当关键字对应的工作模式与预设工作模式相同时,该关键字对应的工作模式满足系统切换条件,当关键字对应的工作模式与该预设工作模式不相同时,该关键字对应的工作模式不满足系统切换条件,能够快速准确判断出日程信息中的关键字对应的工作模式是否满足系统切换条件,从而快速做出响应。In this embodiment, by acquiring the preset working mode, the preset working mode corresponds to the second system. When the working mode corresponding to the keyword is the same as the preset working mode, the working mode corresponding to the keyword satisfies the system switching condition. When the working mode corresponding to the keyword is different from the preset working mode, the working mode corresponding to the keyword does not meet the system switching conditions, and it can quickly and accurately determine whether the working mode corresponding to the keyword in the schedule information meets the system switching conditions, to respond quickly.

在一个实施例中,该时间还包括终止时间;该切换模块606还用于:当到达该终止时间时,将该可穿戴设备从该第二系统切换为该第一系统。当到达日程信息中的终止时间时,表示该日程结束,则自动将第二系统切换回第一系统,以保证可穿戴设备的各功能能够正常使用。In one embodiment, the time also includes an end time; the switching module 606 is further configured to: switch the wearable device from the second system to the first system when the end time is reached. When the end time in the schedule information is reached, it means that the schedule is over, and then the second system is automatically switched back to the first system to ensure that various functions of the wearable device can be used normally.

在一个实施例中,该切换模块606还用于:当该工作模式满足系统切换条件,且该可穿戴设备运行的系统为该第二系统时,该可穿戴设备运行的系统仍然保持在该第二系统。In one embodiment, the switching module 606 is also used for: when the working mode satisfies the system switching condition and the system running on the wearable device is the second system, the system running on the wearable device remains in the second system. Two systems.

本实施例中,当可穿戴设备运行的系统处于第二系统,且满足预设系统切换条件时,可穿戴设备运行的系统仍然保持在第二系统,使得可穿戴设备仍处于低功耗状态,降低了可穿戴设备的功耗,使可穿戴设备充满电后能被使用更长时间。In this embodiment, when the system running on the wearable device is in the second system and meets the preset system switching conditions, the system running on the wearable device remains in the second system, so that the wearable device is still in a low power consumption state, The power consumption of the wearable device is reduced, so that the wearable device can be used for a longer time after being fully charged.

上述可穿戴设备的控制装置中各个模块的划分仅用于举例说明,在其他实施例中,可将可穿戴设备的控制装置按照需要划分为不同的模块,以完成上述可穿戴设备的控制装置的全部或部分功能。The division of each module in the above-mentioned control device of the wearable device is only for illustration. In other embodiments, the control device of the wearable device can be divided into different modules according to needs, so as to complete the control device of the above-mentioned wearable device. full or partial functionality.

关于可穿戴设备的控制装置的具体限定可以参见上文中对于可穿戴设备的控制方法的限定,在此不再赘述。上述可穿戴设备的控制装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific definition of the control device of the wearable device, refer to the above-mentioned definition of the control method of the wearable device, which will not be repeated here. Each module in the control device of the above-mentioned wearable device may be fully or partially realized by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.

图7为一个实施例中电子设备的内部结构示意图。如图7所示,该电子设备包括通过系统总线连接的处理器和存储器。其中,该处理器用于提供计算和控制能力,支撑整个电子设备的运行。存储器可包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统和计算机程序。该计算机程序可被处理器所执行,以用于实现以下各个实施例所提供的一种可穿戴设备的控制方法。内存储器为非易失性存储介质中的操作系统计算机程序提供高速缓存的运行环境。该电子设备可以是手机、平板电脑或者个人数字助理或穿戴式设备等。Fig. 7 is a schematic diagram of the internal structure of an electronic device in one embodiment. As shown in FIG. 7, the electronic device includes a processor and a memory connected through a system bus. Among them, the processor is used to provide computing and control capabilities to support the operation of the entire electronic device. The memory may include non-volatile storage media and internal memory. Nonvolatile storage media store operating systems and computer programs. The computer program can be executed by a processor, so as to realize a control method of a wearable device provided in the following embodiments. The internal memory provides a high-speed running environment for the operating system computer program in the non-volatile storage medium. The electronic device may be a mobile phone, a tablet computer, a personal digital assistant, or a wearable device.

本申请实施例中提供的可穿戴设备的控制装置中的各个模块的实现可为计算机程序的形式。该计算机程序可在终端或服务器上运行。该计算机程序构成的程序模块可存储在终端或服务器的存储器上。该计算机程序被处理器执行时,实现本申请实施例中所描述方法的步骤。The implementation of each module in the control device of the wearable device provided in the embodiment of the present application may be in the form of a computer program. The computer program can run on a terminal or a server. The program modules constituted by the computer program can be stored in the memory of the terminal or server. When the computer program is executed by the processor, the steps of the methods described in the embodiments of the present application are realized.

本申请实施例还提供了一种电子设备。如图8所示,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。该电子设备可以为可穿戴设备。The embodiment of the present application also provides an electronic device. As shown in FIG. 8 , for ease of description, only the parts related to the embodiment of the present application are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present application. The electronic device may be a wearable device.

图8为与本申请实施例提供的电子设备相关的可穿戴设备的部分结构的框图。参考图8,可穿戴设备包括:射频(Radio Frequency,RF)电路810、存储器820、输入单元830、显示单元840、无线保真(wireless fidelity,WiFi)模块850、处理器860、以及电源870等部件。本领域技术人员可以理解,图8所示的可穿戴设备结构并不构成对可穿戴设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Fig. 8 is a block diagram of a partial structure of a wearable device related to the electronic device provided by the embodiment of the present application. Referring to FIG. 8 , the wearable device includes: a radio frequency (Radio Frequency, RF) circuit 810, a memory 820, an input unit 830, a display unit 840, a wireless fidelity (wireless fidelity, WiFi) module 850, a processor 860, and a power supply 870, etc. part. Those skilled in the art can understand that the structure of the wearable device shown in Figure 8 does not constitute a limitation on the wearable device, and may include more or less components than shown in the figure, or combine certain components, or arrange different components .

其中,RF电路810可用于收发信息或通话过程中,信号的接收和发送,可将基站的下行信息接收后,给处理器860处理;也可以将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路810还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System ofMobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband CodeDivision Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE))、电子邮件、短消息服务(Short Messaging Service,SMS)等。例如,本实施例中,可穿戴设备通过RF电路810从移动终端获取日程信息。Among them, the RF circuit 810 can be used for sending and receiving information or receiving and sending signals during a call. After receiving the downlink information from the base station, it can be processed by the processor 860; it can also send uplink data to the base station. Generally, an RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like. In addition, RF circuitry 810 may also communicate with networks and other devices via wireless communications. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc. For example, in this embodiment, the wearable device acquires schedule information from the mobile terminal through the RF circuit 810 .

存储器820可用于存储软件程序以及模块,处理器860通过运行存储在存储器820的软件程序以及模块,从而执行可穿戴设备的各种功能应用以及数据处理。存储器820可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能的应用程序、图像播放功能的应用程序等)等;数据存储区可存储根据可穿戴设备的使用所创建的数据(比如音频数据、通讯录等)等。此外,存储器820可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。本实施例中,可穿戴设备800上可运行第一系统和第二系统,第一系统和第二系统可共用一个存储芯片,但第一系统和第二系统各自对应一个存储空间。第一系统和第二系统也可以分别使用一个存储芯片。The memory 820 can be used to store software programs and modules, and the processor 860 executes various functional applications and data processing of the wearable device by running the software programs and modules stored in the memory 820 . The memory 820 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as an application program for a sound playback function, an application program for an image playback function, etc.); The data storage area can store data (such as audio data, contacts, etc.) created according to the use of the wearable device, and the like. In addition, the memory 820 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices. In this embodiment, the wearable device 800 can run the first system and the second system, and the first system and the second system can share one memory chip, but each of the first system and the second system corresponds to one storage space. The first system and the second system may each use one memory chip.

输入单元830可用于接收输入的数字或字符信息,以及产生与可穿戴设备800的用户设置以及功能控制有关的键信号输入。具体地,输入单元830可包括触控面板831以及其他输入设备832。触控面板831,也可称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板831上或在触控面板831附近的操作),并根据预先设定的程式驱动相应的连接装置。在一个实施例中,触控面板831可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器860,并能接收处理器860发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板831。除了触控面板831,输入单元830还可以包括其他输入设备832。具体地,其他输入设备832可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)等中的一种或多种。本实施例中,用户可通过输入单元直接输入日程信息。进一步地,用户可通过可穿戴设备800的触控面板输出需要设置的日程信息。The input unit 830 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the wearable device 800 . Specifically, the input unit 830 may include a touch panel 831 and other input devices 832 . The touch panel 831, which can also be referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 831 or near the touch panel 831 operation), and drive the corresponding connection device according to the preset program. In one embodiment, the touch panel 831 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 860, and can receive and execute commands sent by the processor 860. In addition, the touch panel 831 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 831 , the input unit 830 may also include other input devices 832 . Specifically, other input devices 832 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), and the like. In this embodiment, the user can directly input schedule information through the input unit. Further, the user can output the schedule information to be set through the touch panel of the wearable device 800 .

显示单元840可用于显示由用户输入的信息或提供给用户的信息以及可穿戴设备800的各种菜单。显示单元840可包括显示面板841。在一个实施例中,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板841。在一个实施例中,触控面板831可覆盖显示面板841,当触控面板831检测到在其上或附近的触摸操作后,传送给处理器860以确定触摸事件的类型,随后处理器860根据触摸事件的类型在显示面板841上提供相应的视觉输出。虽然在图8中,触控面板831与显示面板841是作为两个独立的部件来实现可穿戴设备的输入和输入功能,但是在某些实施例中,可以将触控面板831与显示面板841集成而实现可穿戴设备的输入和输出功能。本实施例中,可穿戴设备800可通过显示面板841显示用户输入的日程信息,当切换到日程信息中的关键字对应的工作模式时,可在显示面板841上显示该工作模式,并显示该工作模式对应的起始时间和终止时间。The display unit 840 may be used to display information input by or provided to the user and various menus of the wearable device 800 . The display unit 840 may include a display panel 841 . In one embodiment, the display panel 841 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. In one embodiment, the touch panel 831 can cover the display panel 841, and when the touch panel 831 detects a touch operation on or near it, it is sent to the processor 860 to determine the type of the touch event, and then the processor 860 according to The type of touch event provides a corresponding visual output on the display panel 841 . Although in FIG. 8, the touch panel 831 and the display panel 841 are used as two independent components to realize the input and input functions of the wearable device, in some embodiments, the touch panel 831 and the display panel 841 can be Integrated to realize the input and output functions of the wearable device. In this embodiment, the wearable device 800 can display the schedule information input by the user through the display panel 841. When switching to the working mode corresponding to the keyword in the schedule information, the working mode can be displayed on the display panel 841, and the The start time and end time corresponding to the working mode.

WiFi属于短距离无线传输技术,可穿戴设备通过WiFi模块850可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图8示出了WiFi模块850,但是可以理解的是,其并不属于可穿戴设备800的必须构成,可以根据需要而省略。本实施例中,可穿戴设备可通过WiFi模块850与移动终端连接,并从移动终端获取日程信息。也可通过WiFi模块850从云端获取移动终端上传的日程信息。WiFi is a short-distance wireless transmission technology. The wearable device can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 850. It provides users with wireless broadband Internet access. Although FIG. 8 shows a WiFi module 850, it can be understood that it is not an essential component of the wearable device 800 and can be omitted as required. In this embodiment, the wearable device can be connected to the mobile terminal through the WiFi module 850, and obtain schedule information from the mobile terminal. The schedule information uploaded by the mobile terminal can also be obtained from the cloud through the WiFi module 850 .

处理器860是可穿戴设备的控制中心,利用各种接口和线路连接整个可穿戴设备的各个部分,通过运行或执行存储在存储器820内的软件程序和/或模块,以及调用存储在存储器820内的数据,执行可穿戴设备的各种功能和处理数据,从而对可穿戴设备进行整体监控。在一个实施例中,处理器860包括第一处理和第二处理器。当可穿戴设备运行第一系统时,第一处理器通过运行或执行存储在存储器820中第一系统对应的软件程序和/或模块,以及调用存储在存储器820中第一系统对应的数据,执行可穿戴设备的各种功能和处理数据,从而对可穿戴设备进行整体监控。The processor 860 is the control center of the wearable device. It uses various interfaces and lines to connect various parts of the entire wearable device. By running or executing software programs and/or modules stored in the memory 820, and calling the software stored in the memory 820 data, perform various functions of the wearable device and process data, so as to monitor the wearable device as a whole. In one embodiment, processor 860 includes a first processor and a second processor. When the wearable device runs the first system, the first processor runs or executes the software program and/or module corresponding to the first system stored in the memory 820, and invokes the data corresponding to the first system stored in the memory 820 to execute Various functions and processing data of the wearable device, so as to monitor the wearable device as a whole.

当可穿戴设备800运行第二系统时,第二处理器通过运行或执行存储在存储器820中第二系统对应的软件程序和/或模块,以及调用存储在存储器820中第二系统对应的数据,执行第二系统对应的功能和处理数据,从而对可穿戴设备进行监控。When the wearable device 800 runs the second system, the second processor runs or executes the software program and/or module corresponding to the second system stored in the memory 820, and calls the data corresponding to the second system stored in the memory 820, Execute the functions corresponding to the second system and process data, so as to monitor the wearable device.

可穿戴设备800还包括给各个部件供电的电源870(比如电池),优选的,电源可以通过电源管理系统与处理器860逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The wearable device 800 also includes a power supply 870 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 860 through the power management system, so as to manage charging, discharging, and power consumption through the power management system. Function.

本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行可穿戴设备的控制方法的步骤。The embodiment of the present application also provides a computer-readable storage medium. One or more non-volatile computer-readable storage media containing computer-executable instructions, when the computer-executable instructions are executed by one or more processors, causing the processors to perform the control method of the wearable device step.

一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行可穿戴设备的控制方法。A computer program product containing instructions, when running on a computer, causes the computer to execute a control method of a wearable device.

本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Synchlink DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present application, and the description thereof is relatively specific and detailed, but should not be construed as limiting the patent scope of the present application. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.

Claims (10)

1.一种可穿戴设备的控制方法,其特征在于,所述可穿戴设备上能运行第一系统和第二系统,所述第一系统的功耗高于所述第二系统,所述方法包括:1. A control method for a wearable device, characterized in that a first system and a second system can be run on the wearable device, and the power consumption of the first system is higher than that of the second system, the method include: 通过所述第一系统获取移动终端的日程信息,并将所述日程信息存储至所述第一系统在存储芯片中所对应的存储空间;Obtaining the schedule information of the mobile terminal through the first system, and storing the schedule information in a storage space corresponding to the first system in the storage chip; 通过所述第一系统获取所述日程信息在所述存储空间中对应的存储地址;Obtaining the storage address corresponding to the schedule information in the storage space through the first system; 通过所述第一系统将所述存储地址发送给所述第二系统,所述第一系统和所述第二系统共享所述存储芯片,且所述第一系统和所述第二系统在所述存储芯片中对应各自的存储空间;所述存储地址用于指示所述第二系统从所述第一系统对应的存储空间获取所述日程信息并进行同步;The storage address is sent to the second system through the first system, the first system and the second system share the storage chip, and the first system and the second system are in the corresponding to their respective storage spaces in the storage chips; the storage address is used to instruct the second system to obtain the schedule information from the storage space corresponding to the first system and perform synchronization; 通过所述第一系统获取所述日程信息中的关键字和时间,所述时间包括起始时间和终止时间;Obtain keywords and time in the schedule information through the first system, where the time includes a start time and an end time; 当达到所述起始时间时,通过所述第一系统确定所述关键字对应的工作模式;When the start time is reached, determine the working mode corresponding to the keyword through the first system; 通过所述第一系统将所述可穿戴设备当前运行的工作模式,切换为所述关键字对应的工作模式;Switching the current working mode of the wearable device to the working mode corresponding to the keyword through the first system; 当所述工作模式满足系统切换条件时,将所述可穿戴设备运行的所述第一系统切换至所述第二系统;When the working mode satisfies a system switching condition, switching the first system running on the wearable device to the second system; 当达到所述终止时间时,通过所述第二系统将所述关键字对应的工作模式切换至原工作模式,并将所述第二系统切换至原运行的所述第一系统。When the end time is reached, switch the working mode corresponding to the keyword to the original working mode through the second system, and switch the second system to the originally running first system. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, characterized in that the method further comprises: 通过所述第一系统将所述日程信息发送给第二系统。Sending the schedule information to a second system through the first system. 3.根据权利要求1至2中任一项所述的方法,其特征在于,在所述通过所述第一系统确定所述关键字对应的工作模式之后,还包括:3. The method according to any one of claims 1 to 2, characterized in that, after determining the working mode corresponding to the keyword through the first system, further comprising: 通过所述第一系统获取预设工作模式,所述预设工作模式对应所述第二系统;Acquire a preset working mode through the first system, and the preset working mode corresponds to the second system; 当所述关键字对应的工作模式与所述预设工作模式相同时,所述关键字对应的工作模式满足系统切换条件;When the working mode corresponding to the keyword is the same as the preset working mode, the working mode corresponding to the keyword satisfies the system switching condition; 当所述关键字对应的工作模式与所述预设工作模式不相同时,所述关键字对应的工作模式不满足系统切换条件。When the working mode corresponding to the keyword is different from the preset working mode, the working mode corresponding to the keyword does not meet the system switching condition. 4.根据权利要求1所述的方法,其特征在于,所述方法还包括:4. The method according to claim 1, wherein the method further comprises: 当所述工作模式满足系统切换条件,且所述可穿戴设备运行的系统为所述第二系统时,所述可穿戴设备运行的系统仍然保持在所述第二系统。When the working mode satisfies the system switching condition and the system running on the wearable device is the second system, the system running on the wearable device remains in the second system. 5.一种可穿戴设备的控制装置,其特征在于,所述可穿戴设备上能运行第一系统和第二系统,所述第一系统的功耗高于所述第二系统,所述装置包括:5. A control device for a wearable device, characterized in that a first system and a second system can run on the wearable device, the power consumption of the first system is higher than that of the second system, and the device include: 同步模块,用于通过所述第一系统获取移动终端的日程信息,并将所述日程信息存储至所述第一系统在存储芯片中所对应的存储空间;通过所述第一系统获取所述日程信息在所述存储空间中对应的存储地址;通过所述第一系统将所述存储地址发送给所述第二系统,所述第一系统和所述第二系统共享所述存储芯片,且所述第一系统和所述第二系统在所述存储芯片中对应各自的存储空间;所述存储地址用于指示所述第二系统从所述第一系统对应的存储空间获取所述日程信息并进行同步;a synchronization module, configured to acquire the schedule information of the mobile terminal through the first system, and store the schedule information in the storage space corresponding to the first system in the memory chip; acquire the schedule information through the first system a storage address corresponding to the schedule information in the storage space; sending the storage address to the second system through the first system, the first system and the second system share the storage chip, and The first system and the second system correspond to respective storage spaces in the storage chip; the storage address is used to instruct the second system to acquire the schedule information from the storage space corresponding to the first system and synchronize; 获取模块,用于通过所述第一系统获取所述日程信息中的关键字和时间,所述时间包括起始时间和终止时间;An acquisition module, configured to acquire keywords and time in the schedule information through the first system, where the time includes a start time and an end time; 确定模块,用于当达到所述起始时间时,通过所述第一系统确定所述关键字对应的工作模式;A determining module, configured to determine the working mode corresponding to the keyword through the first system when the start time is reached; 切换模块,用于通过所述第一系统将所述可穿戴设备当前运行的工作模式,切换为所述关键字对应的工作模式;当所述工作模式满足系统切换条件时,将所述可穿戴设备运行的系统切换至所述第二系统;当达到所述终止时间时,通过所述第一系统将所述关键字对应的工作模式切换至原工作模式,并将所述第二系统切换至原运行的所述第一系统。A switching module, configured to switch the current working mode of the wearable device to the working mode corresponding to the keyword through the first system; when the working mode satisfies the system switching condition, switch the wearable device The system running on the device is switched to the second system; when the end time is reached, the working mode corresponding to the keyword is switched to the original working mode through the first system, and the second system is switched to Originally run the first system. 6.根据权利要求5所述的装置,其特征在于,所述同步模块,还用于通过所述第一系统将所述日程信息发送给第二系统。6. The device according to claim 5, wherein the synchronization module is further configured to send the schedule information to the second system through the first system. 7.根据权利要求5至6中任一项所述的装置,其特征在于,所述装置还包括判断模块;所述判断模块,用于通过所述第一系统获取预设工作模式,所述预设工作模式对应所述第二系统;当所述关键字对应的工作模式与所述预设工作模式相同时,所述关键字对应的工作模式满足系统切换条件;当所述关键字对应的工作模式与所述预设工作模式不相同时,所述关键字对应的工作模式不满足系统切换条件。7. The device according to any one of claims 5 to 6, characterized in that the device further comprises a judging module; the judging module is configured to obtain a preset working mode through the first system, and the The preset working mode corresponds to the second system; when the working mode corresponding to the keyword is the same as the preset working mode, the working mode corresponding to the keyword satisfies the system switching condition; when the keyword corresponds to When the working mode is different from the preset working mode, the working mode corresponding to the keyword does not satisfy the system switching condition. 8.根据权利要求5所述的装置,其特征在于,所述切换模块,还用于当所述工作模式满足系统切换条件,且所述可穿戴设备运行的系统为所述第二系统时,所述可穿戴设备运行的系统仍然保持在所述第二系统。8. The device according to claim 5, wherein the switching module is further configured to: when the working mode satisfies the system switching condition and the system running on the wearable device is the second system, The system operated by the wearable device remains in the second system. 9.一种电子设备,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求1至4中任一项所述的方法的步骤。9. An electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is executed according to any one of claims 1 to 4. The steps of the method. 10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至4中任一项所述方法的步骤。10. A computer-readable storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are realized.
CN201911270863.XA 2019-12-12 2019-12-12 Control method and device of wearable device, electronic device and readable storage medium Active CN112987907B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911270863.XA CN112987907B (en) 2019-12-12 2019-12-12 Control method and device of wearable device, electronic device and readable storage medium
PCT/CN2020/134529 WO2021115254A1 (en) 2019-12-12 2020-12-08 Wearable device control method and apparatus, electronic device, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911270863.XA CN112987907B (en) 2019-12-12 2019-12-12 Control method and device of wearable device, electronic device and readable storage medium

Publications (2)

Publication Number Publication Date
CN112987907A CN112987907A (en) 2021-06-18
CN112987907B true CN112987907B (en) 2022-11-15

Family

ID=76329543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911270863.XA Active CN112987907B (en) 2019-12-12 2019-12-12 Control method and device of wearable device, electronic device and readable storage medium

Country Status (2)

Country Link
CN (1) CN112987907B (en)
WO (1) WO2021115254A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113777962A (en) * 2021-08-25 2021-12-10 青岛海尔智能技术研发有限公司 Device control method, device and storage medium
CN114168105B (en) * 2021-12-08 2023-12-01 深圳市研强物联技术有限公司 Implementation method and medium for audio media playing based on dual-system wearable product
CN116775318A (en) * 2022-03-11 2023-09-19 Oppo广东移动通信有限公司 Dual system status synchronization method, device, electronic equipment and readable storage medium
CN116743911B (en) * 2023-06-26 2025-01-10 青岛海信移动通信技术有限公司 Method and device for determining operation mode of electronic equipment, electronic equipment and computer readable storage medium
CN118118728B (en) * 2024-04-30 2024-07-05 四川天邑康和通信股份有限公司 IPTV set top box data processing method and device, set top box and medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI421675B (en) * 2010-07-21 2014-01-01 Mstar Semiconductor Inc Automatic mode switch portable electronic device
CN104427105A (en) * 2013-08-28 2015-03-18 中兴通讯股份有限公司 Data synchronism method, device, and terminal in dual system
CN103702404B (en) * 2014-01-13 2017-12-29 联想(北京)有限公司 Power consumption mode switching method and device
CN105007369A (en) * 2015-06-11 2015-10-28 广东欧珀移动通信有限公司 Method and mobile terminal for information reminder
CN106293071A (en) * 2016-07-28 2017-01-04 宇龙计算机通信科技(深圳)有限公司 The mode switching method of a kind of wearable device and wearable device
CN106550143A (en) * 2016-10-27 2017-03-29 广东欧珀移动通信有限公司 A mode switching method and mobile terminal
CN106686245B (en) * 2017-01-09 2020-02-07 广东小天才科技有限公司 Working mode adjusting method and device
CN110012148A (en) * 2019-01-23 2019-07-12 努比亚技术有限公司 A kind of bracelet control method, bracelet and computer readable storage medium
CN110209261A (en) * 2019-05-21 2019-09-06 出门问问信息科技有限公司 Intelligent wearable device control method, device, program product and storage medium

Also Published As

Publication number Publication date
CN112987907A (en) 2021-06-18
WO2021115254A1 (en) 2021-06-17

Similar Documents

Publication Publication Date Title
CN112987907B (en) Control method and device of wearable device, electronic device and readable storage medium
CN105632491B (en) Method and electronic device for speech recognition
EP2882234B1 (en) Method, apparatus, equipment and system for controlling turn-on and turn-off of wireless network
EP2733995A1 (en) Control method and device for awaking intelligent terminal
CN106452643B (en) playing control method, device, terminal and playing system
CN104978176A (en) Application program interface calling method and device
CN106373600A (en) An audio synchronous playback method, device, system and terminal
CN106657329A (en) Mobile terminal as well as notification information control method and device
CN106453511A (en) A data backup method and device
CN106411448A (en) Play control method, device and terminal
CN109511139B (en) WIFI control method and device, mobile device and computer-readable storage medium
CN113079245B (en) Incoming call processing method and device, electronic equipment and computer readable storage medium
CN106411447A (en) Play control method, device and terminal
CN108021298B (en) Method and device for pasting information by using shear plate
CN106488391B (en) A data migration method and terminal device
CN106445739B (en) Data migration method and terminal equipment
WO2023169434A1 (en) Communication method and apparatus
CN106502827A (en) A data backup method and device
CN105204891A (en) Download method and download device during shutdown of mobile terminal and mobile terminal
CN107708092B (en) Flow information updating method and device, terminal and computer readable storage medium
CN108541050A (en) Information processing method, device, mobile terminal and computer readable storage medium
CN110046033A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
US12020661B2 (en) Synchronous display blinking
CN111083285A (en) Mobile terminal call positioning system and method
US20150163737A1 (en) Method and device for controlling turn-on and turn-off of wireless network

Legal Events

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