[go: up one dir, main page]

CN116450278A - Calendar updating method, system and medium based on intelligent wearable device - Google Patents

Calendar updating method, system and medium based on intelligent wearable device Download PDF

Info

Publication number
CN116450278A
CN116450278A CN202310715641.4A CN202310715641A CN116450278A CN 116450278 A CN116450278 A CN 116450278A CN 202310715641 A CN202310715641 A CN 202310715641A CN 116450278 A CN116450278 A CN 116450278A
Authority
CN
China
Prior art keywords
calendar
current
information
date
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310715641.4A
Other languages
Chinese (zh)
Other versions
CN116450278B (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.)
Shenzhen Wake Up Technology Co ltd
Original Assignee
Shenzhen Wake Up Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Wake Up Technology Co ltd filed Critical Shenzhen Wake Up Technology Co ltd
Priority to CN202310715641.4A priority Critical patent/CN116450278B/en
Publication of CN116450278A publication Critical patent/CN116450278A/en
Application granted granted Critical
Publication of CN116450278B publication Critical patent/CN116450278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09DRAILWAY OR LIKE TIME OR FARE TABLES; PERPETUAL CALENDARS
    • G09D3/00Perpetual calendars
    • G09D3/12Perpetual calendars electrically operated
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Electric Clocks (AREA)

Abstract

The embodiment of the application provides a calendar updating method, a calendar updating system and a calendar updating medium based on intelligent wearable equipment, wherein the method comprises the following steps: initializing a current environment, acquiring network time information, and setting initial time information of the intelligent wearable equipment according to the network time information; configuring sampling interval time, and collecting current time information of intelligent wearable equipment; performing difference calculation on the current time information and the network time information to obtain a time difference value; comparing the time difference value with a preset time threshold value; if the time difference value is equal to or greater than a preset time threshold value, a calendar updating mode is generated; correcting and updating the calendar of the intelligent wearable equipment according to the calendar updating mode; if the user is smaller than the preset terminal, generating a calendar map, and sending the calendar map to the preset terminal for display; the method comprises the steps of acquiring current time information of intelligent wearing equipment by configuring sampling interval time, comparing the current time information with network time, and updating a calendar in real time by taking time deviation of the intelligent wearing equipment as a basis.

Description

一种基于智能穿戴设备的日历更新方法、系统及介质A calendar update method, system and medium based on smart wearable devices

技术领域technical field

本申请涉及日历更新领域,具体而言,涉及一种基于智能穿戴设备的日历更新方法、系统及介质。The present application relates to the field of calendar update, in particular, to a calendar update method, system and medium based on smart wearable devices.

背景技术Background technique

虽然日历功能在手机上的应用十分广泛,但是在智能穿戴设备的应用比较少,当在使用智能穿戴设备的时候需要查看日期等,需要通过查看手机或电视等其他途径来获取到日期相关信息,非常不便利。Although the calendar function is widely used on mobile phones, it is rarely used in smart wearable devices. When using smart wearable devices, you need to check the date, etc., and you need to obtain date-related information by checking other ways such as mobile phones or TVs. Very inconvenient.

与此同时,要实现该功能需要使用非常大的内存来存储不同月份的日历图数据,非常的占用空间,对于资源紧凑的MCU来说,是非常不友好的。At the same time, to realize this function, it needs to use a very large memory to store the calendar data of different months, which takes up a lot of space and is very unfriendly to an MCU with compact resources.

因此,如何方便快捷读取、占用资源少且可以实时计算出日历图的功能在智能穿戴设备上的实现非常重要,针对上述问题,目前亟待有效的技术解决方案。Therefore, it is very important to realize the functions of convenient and quick reading, less resource consumption and real-time calculation of calendar graphs on smart wearable devices. For the above problems, effective technical solutions are urgently needed.

发明内容Contents of the invention

本申请实施例的目的在于提供一种基于智能穿戴设备的日历更新方法、系统及介质,可以通过配置采样间隔时间,采集智能穿戴设备的当前时间信息,并与网络时间进行比对,将智能穿戴设备的时间偏差为依据对日历进行实时更新的技术。The purpose of the embodiment of the present application is to provide a calendar update method, system and medium based on smart wearable devices. By configuring the sampling interval time, the current time information of the smart wearable device can be collected and compared with the network time, and the smart wearable The time offset of the device is based on the technology of updating the calendar in real time.

本申请实施例还提供了一种基于智能穿戴设备的日历更新方法,包括:The embodiment of the present application also provides a calendar update method based on a smart wearable device, including:

初始化当前环境,获取网络时间信息,根据网络时间信息设定智能穿戴设备的初始时间信息;Initialize the current environment, obtain network time information, and set the initial time information of the smart wearable device according to the network time information;

配置采样间隔时间,采集智能穿戴设备的当前时间信息;Configure the sampling interval to collect the current time information of the smart wearable device;

将当前时间信息与网络时间信息进行差值计算,得到时间差值;Calculate the difference between the current time information and the network time information to obtain the time difference;

将时间差值与预设的时间阈值进行比较;Comparing the time difference with a preset time threshold;

若时间差值等于或大于预设的时间阈值,则生成日历更新方式;If the time difference is equal to or greater than the preset time threshold, a calendar update method is generated;

根据日历更新方式将智能穿戴设备的日历进行修正更新;Correct and update the calendar of the smart wearable device according to the calendar update method;

若小于,则生成日历图,将日历图发送至预设终端进行显示。If it is less than, generate a calendar map and send the calendar map to the preset terminal for display.

可选地,在本申请实施例所述的基于智能穿戴设备的日历更新方法中,所述初始化当前环境,获取网络时间信息,根据网络时间信息设定智能穿戴设备的初始时间信息,包括:Optionally, in the calendar update method based on the smart wearable device described in the embodiment of the present application, the initialization of the current environment, obtaining network time information, and setting the initial time information of the smart wearable device according to the network time information include:

获取初始时间信息,初始时间信息包括当前日历信息,得到当前年份;Get the initial time information, the initial time information includes the current calendar information, and get the current year;

调用日期计算函数判断所述当前年份是否为闰年;Call the date calculation function to judge whether the current year is a leap year;

若是,则当前年份的二月份设定为29天;If so, then February of the current year is set to 29 days;

若否,则当前年份的二月份设定为28天。If not, February of the current year is set to 28 days.

可选地,在本申请实施例所述的基于智能穿戴设备的日历更新方法中,根据所述当前日历信息判断当前年份是否为闰年之后,还包括:Optionally, in the smart wearable device-based calendar updating method described in the embodiment of the present application, after judging whether the current year is a leap year according to the current calendar information, further includes:

根据所述当前日历天数信息根据预设规则进行计算,得到与所述当前日历天数信息对应的星期信息;calculating according to the current calendar days information according to preset rules, to obtain week information corresponding to the current calendar days information;

将所述当前日历天数信息和所述当前日历天数信息对应的星期信息,得到当前月份的日历图信息。The calendar map information of the current month is obtained by combining the current calendar day number information and the week information corresponding to the current calendar day number information.

可选地,在本申请实施例所述的基于智能穿戴设备的日历更新方法中,获取当前日历信息,包括:Optionally, in the smart wearable device-based calendar update method described in the embodiment of the present application, obtaining current calendar information includes:

所述获取当前日历信息的方式包括系统自带的时间或通过日期和时间设置功能或者通过连接蓝牙连接上APP。The way to obtain the current calendar information includes the system's own time or through the date and time setting function or through connecting to an APP through Bluetooth.

可选地,在本申请实施例所述的基于智能穿戴设备的日历更新方法中,所述根据日历更新方式将智能穿戴设备的日历进行修正更新,包括:Optionally, in the calendar update method based on the smart wearable device described in the embodiment of the present application, the correcting and updating the calendar of the smart wearable device according to the calendar update method includes:

触发配置模式,切换日历图不同月份界面,显示预设的月份;Trigger the configuration mode, switch between different month interfaces of the calendar chart, and display the preset month;

采集当前日期信息,判断当前日期信息与预设的日期信息是否一致;Collect current date information, and judge whether the current date information is consistent with the preset date information;

若一致,则退出配置模式,并切换到显示界面;If they are consistent, exit the configuration mode and switch to the display interface;

若不一致,则进行日期的触摸更改;If inconsistent, touch the date to change;

更改日期完成后,判断月份与预设的月份是否一致;After changing the date, judge whether the month is consistent with the preset month;

判断年份与预设的年份是否一致;Determine whether the year is consistent with the preset year;

当日期、月份、年份与预设的日期、预设的月份、预设的年份均一致时,则跳出配置界面,切换至显示界面。When the date, month, and year are consistent with the preset date, preset month, and preset year, the configuration interface will pop up and the display interface will be switched.

可选地,在本申请实施例所述的基于智能穿戴设备的日历更新方法中,所述根据日历更新方式将智能穿戴设备的日历进行修正更新,包括:Optionally, in the calendar update method based on the smart wearable device described in the embodiment of the present application, the correcting and updating the calendar of the smart wearable device according to the calendar update method includes:

触发配置模式,进入配置界面,Trigger the configuration mode to enter the configuration interface,

通过触摸进行调整日历,采集触摸力度;Adjust the calendar by touching and collect the touch strength;

若触摸力度大于第一阈值小于第二阈值时,则进行日期的逐次加一进行更改;If the touch strength is greater than the first threshold and less than the second threshold, the date is changed by adding one by one;

若触摸力度大于第二阈值时,则通过滑动方式进行日期的更改;If the touch force is greater than the second threshold, the date is changed by sliding;

所述滑动方式包括向上滑动与向下滑动,向上滑动过程中,日期逐次加一;The sliding method includes sliding up and sliding down, and during the upward sliding process, the date is incremented one by one;

向下滑动过程中,日期逐次减一。In the process of sliding down, the date will decrease by one.

第二方面,本申请实施例提供了一种基于智能穿戴设备的日历更新系统,该系统包括:存储器及处理器,所述存储器中包括基于智能穿戴设备的日历更新方法的程序,所述基于智能穿戴设备的日历更新方法的程序被所述处理器执行时实现以下步骤:In the second aspect, the embodiment of the present application provides a calendar update system based on a smart wearable device, the system includes: a memory and a processor, the memory includes a program of a calendar update method based on a smart wearable device, and the The following steps are implemented when the program of the calendar update method of the wearable device is executed by the processor:

初始化当前环境,获取网络时间信息,根据网络时间信息设定智能穿戴设备的初始时间信息;Initialize the current environment, obtain network time information, and set the initial time information of the smart wearable device according to the network time information;

配置采样间隔时间,采集智能穿戴设备的当前时间信息;Configure the sampling interval to collect the current time information of the smart wearable device;

将当前时间信息与网络时间信息进行差值计算,得到时间差值;Calculate the difference between the current time information and the network time information to obtain the time difference;

将时间差值与预设的时间阈值进行比较;Comparing the time difference with a preset time threshold;

若时间差值等于或大于预设的时间阈值,则生成日历更新方式;If the time difference is equal to or greater than the preset time threshold, a calendar update method is generated;

根据日历更新方式将智能穿戴设备的日历进行修正更新;Correct and update the calendar of the smart wearable device according to the calendar update method;

若小于,则生成日历图,将日历图发送至预设终端进行显示。If it is less than, generate a calendar map and send the calendar map to the preset terminal for display.

可选地,在本申请实施例所述的基于智能穿戴设备的日历更新系统中,所述初始化当前环境,获取网络时间信息,根据网络时间信息设定智能穿戴设备的初始时间信息,包括:Optionally, in the calendar update system based on the smart wearable device described in the embodiment of the present application, the initialization of the current environment, obtaining network time information, and setting the initial time information of the smart wearable device according to the network time information include:

获取初始时间信息,初始时间信息包括当前日历信息,得到当前年份;Get the initial time information, the initial time information includes the current calendar information, and get the current year;

调用日期计算函数判断所述当前年份是否为闰年;Call the date calculation function to judge whether the current year is a leap year;

若是,则当前年份的二月份设定为29天;If so, then February of the current year is set to 29 days;

若否,则当前年份的二月份设定为28天。If not, February of the current year is set to 28 days.

可选地,在本申请实施例所述的基于智能穿戴设备的日历更新系统中,所述根据日历更新方式将智能穿戴设备的日历进行修正更新,包括:Optionally, in the calendar update system based on the smart wearable device described in the embodiment of the present application, the updating of the calendar of the smart wearable device according to the calendar update method includes:

触发配置模式,切换日历图不同月份界面,显示预设的月份;Trigger the configuration mode, switch between different month interfaces of the calendar chart, and display the preset month;

采集当前日期信息,判断当前日期信息与预设的日期信息是否一致;Collect current date information, and judge whether the current date information is consistent with the preset date information;

若一致,则退出配置模式,并切换到显示界面;If they are consistent, exit the configuration mode and switch to the display interface;

若不一致,则进行日期的触摸更改;If inconsistent, touch the date to change;

更改日期完成后,判断月份与预设的月份是否一致;After changing the date, judge whether the month is consistent with the preset month;

判断年份与预设的年份是否一致;Determine whether the year is consistent with the preset year;

当日期、月份、年份与预设的日期、预设的月份、预设的年份均一致时,则跳出配置界面,切换至显示界面。When the date, month, and year are consistent with the preset date, preset month, and preset year, the configuration interface will pop up and the display interface will be switched.

第三方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质中包括基于智能穿戴设备的日历更新方法程序,所述基于智能穿戴设备的日历更新方法程序被处理器执行时,实现如上述任一项所述的基于智能穿戴设备的日历更新方法的步骤。In the third aspect, the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium includes a calendar update method program based on a smart wearable device, and the calendar update method program based on a smart wearable device is When the processor executes, it realizes the steps of the method for updating the calendar based on the smart wearable device as described in any one of the above.

由上可知,本申请实施例提供的一种基于智能穿戴设备的日历更新方法、系统及介质,通过初始化当前环境,获取网络时间信息,根据网络时间信息设定智能穿戴设备的初始时间信息;配置采样间隔时间,采集智能穿戴设备的当前时间信息;将当前时间信息与网络时间信息进行差值计算,得到时间差值;将时间差值与预设的时间阈值进行比较;若时间差值等于或大于预设的时间阈值,则生成日历更新方式;根据日历更新方式将智能穿戴设备的日历进行修正更新;若小于,则生成日历图,将日历图发送至预设终端进行显示;通过配置采样间隔时间,采集智能穿戴设备的当前时间信息,并与网络时间进行比对,将智能穿戴设备的时间偏差为依据对日历进行实时更新的技术。It can be seen from the above that a calendar update method, system and medium based on a smart wearable device provided by the embodiment of the present application obtains network time information by initializing the current environment, and sets the initial time information of the smart wearable device according to the network time information; configuration Sampling interval time, collect the current time information of the smart wearable device; calculate the difference between the current time information and the network time information to obtain the time difference; compare the time difference with the preset time threshold; if the time difference is equal to or If it is greater than the preset time threshold, a calendar update method will be generated; according to the calendar update method, the calendar of the smart wearable device will be corrected and updated; if it is less than, a calendar map will be generated and sent to the preset terminal for display; by configuring the sampling interval Time, collecting the current time information of the smart wearable device, comparing it with the network time, and updating the calendar in real time based on the time deviation of the smart wearable device.

本申请的其他特征和优点将在随后的说明书阐述,并且,本申请的优点部分地从说明书中变得显而易见,或者通过实施本申请实施例了解。本申请的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present application will be set forth in the following description, and the advantages of the present application will be partially apparent from the description, or can be understood by implementing the embodiments of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

附图说明Description of drawings

为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the accompanying drawings that need to be used in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application, so It should not be regarded as a limitation on the scope, and those skilled in the art can also obtain other related drawings according to these drawings without creative work.

图1为本申请实施例提供的基于智能穿戴设备的日历更新方法的流程图;Fig. 1 is the flow chart of the calendar update method based on the smart wearable device provided by the embodiment of the present application;

图2为本申请实施例提供的基于智能穿戴设备的日历更新方法的设定二月份日期的方法流程图;FIG. 2 is a flow chart of a method for setting a date in February based on a smart wearable device-based calendar update method provided in an embodiment of the present application;

图3为本申请实施例提供的基于智能穿戴设备的日历更新方法的触发配置模式下判断日历准确度的流程图;Fig. 3 is a flow chart of judging the accuracy of the calendar in the trigger configuration mode of the calendar update method based on the smart wearable device provided by the embodiment of the present application;

图4为本申请实施例提供的基于智能穿戴设备的日历更新方法的触摸更改配置的方法流程图;FIG. 4 is a flow chart of a method for changing configuration by touch based on a calendar update method of a smart wearable device provided in an embodiment of the present application;

图5为本申请实施例提供的基于智能穿戴设备的日历更新系统的结构示意图。FIG. 5 is a schematic structural diagram of a calendar update system based on a smart wearable device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all of them. The components of the embodiments of the application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of the present application.

应注意到,相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本申请的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second" and the like are only used to distinguish descriptions, and cannot be understood as indicating or implying relative importance.

请参照图1,图1是本申请一些实施例中的一种基于智能穿戴设备的日历更新方法的流程图。该基于智能穿戴设备的日历更新方法用于终端设备中,该基于智能穿戴设备的日历更新方法,包括以下步骤:Please refer to FIG. 1 , which is a flow chart of a method for updating a calendar based on a smart wearable device in some embodiments of the present application. The calendar update method based on the smart wearable device is used in the terminal device, and the calendar update method based on the smart wearable device includes the following steps:

S101,初始化当前环境,获取网络时间信息,根据网络时间信息设定智能穿戴设备的初始时间信息;S101, initialize the current environment, obtain network time information, and set the initial time information of the smart wearable device according to the network time information;

S102,配置采样间隔时间,采集智能穿戴设备的当前时间信息;S102, configure the sampling interval time, and collect the current time information of the smart wearable device;

S103,将当前时间信息与网络时间信息进行差值计算,得到时间差值;S103, calculating the difference between the current time information and the network time information to obtain a time difference;

S104,将时间差值与预设的时间阈值进行比较;S104, comparing the time difference with a preset time threshold;

若时间差值等于或大于预设的时间阈值,则生成日历更新方式;If the time difference is equal to or greater than the preset time threshold, a calendar update method is generated;

S105,根据日历更新方式将智能穿戴设备的日历进行修正更新;S105. Correct and update the calendar of the smart wearable device according to the calendar update method;

若小于,则生成日历图,将日历图发送至预设终端进行显示。If it is less than, generate a calendar map and send the calendar map to the preset terminal for display.

需要说明的是,在进行日历更新时,为了更好的对判断日历的准确性,可以先将智能穿戴设备的日历进行初始化操作,使网络时间与智能穿戴设备的时间处于同一起始点,当智能穿戴设备使用过程中,由于本身存在的时间差无法避免,使用一段时间后,日历可能会出现偏差,此时,则需要判断网络时间与智能设备的时间之间的差异,以及两者之间变化率,进而可以提前预判日历的偏离时间,进行提前调整,使智能穿戴设备的日历信息处于实时更新的状态。It should be noted that when updating the calendar, in order to better judge the accuracy of the calendar, you can first initialize the calendar of the smart wearable device so that the network time and the time of the smart wearable device are at the same starting point. During the use of wearable devices, due to the unavoidable time difference, the calendar may deviate after a period of use. At this time, it is necessary to judge the difference between the network time and the time of the smart device, as well as the rate of change between the two , and then the deviation time of the calendar can be predicted in advance, and adjusted in advance, so that the calendar information of the smart wearable device is in a state of real-time update.

请参照图2,图2是本申请一些实施例中的一种基于智能穿戴设备的日历更新方法的设定二月份日期的方法流程图。根据本发明实施例,初始化当前环境,获取网络时间信息,根据网络时间信息设定智能穿戴设备的初始时间信息,包括:Please refer to FIG. 2 . FIG. 2 is a flow chart of a method for setting the date of February in a calendar update method based on a smart wearable device in some embodiments of the present application. According to the embodiment of the present invention, the current environment is initialized, the network time information is obtained, and the initial time information of the smart wearable device is set according to the network time information, including:

S201,获取初始时间信息,初始时间信息包括当前日历信息,得到当前年份;S201, acquire initial time information, the initial time information includes current calendar information, and obtain the current year;

S202,调用日期计算函数判断当前年份是否为闰年;S202, call the date calculation function to determine whether the current year is a leap year;

S203,若是,则当前年份的二月份设定为29天;S203, if yes, then set February of the current year as 29 days;

S204,若否,则当前年份的二月份设定为28天。S204, if not, set February of the current year as 28 days.

需要说明的是,在对日历进行更新之前,可以先对当前年份进行闰年判断,判断过程通过当前年份除以4得到的结果若为整数,则判定当前年份为闰年,然后将二月份设置为29天,防止二月份进行更新日历过程中多算一天,造成后续所有的日历都出现错误。It should be noted that before updating the calendar, the current year can be judged as a leap year. If the result obtained by dividing the current year by 4 is an integer, the current year is judged to be a leap year, and then February is set to 29. Days, to prevent an extra day in the process of updating the calendar in February, causing errors in all subsequent calendars.

根据本发明实施例,根据当前日历信息判断当前年份是否为闰年之后,还包括:According to an embodiment of the present invention, after judging whether the current year is a leap year according to the current calendar information, it also includes:

根据当前日历天数信息根据预设规则进行计算,得到与当前日历天数信息对应的星期信息;Calculate according to the current calendar day number information according to preset rules, and obtain the week information corresponding to the current calendar day number information;

将当前日历天数信息和当前日历天数信息对应的星期信息,得到本月份的日历图信息。The current calendar day number information and the week information corresponding to the current calendar day number information are used to obtain the calendar map information of this month.

需要说明的是,在进行日历更新过程中,首先对日期进行更新,更新完成后可以通过随机选择一个日期,通过当前日期对应的星期信息,进行日历更新结果的校准,若与星期信息对应不上,则表示月份或年份出现错误,则再次对月份或年份进行更新调整,此种方式可以实现日历更新的 反向校正。It should be noted that in the process of updating the calendar, the date is first updated. After the update is completed, a date can be randomly selected and the week information corresponding to the current date can be used to calibrate the calendar update result. If the date does not correspond to the week information , it means that there is an error in the month or year, and then update and adjust the month or year again. This method can realize the reverse correction of the calendar update.

根据本发明实施例,获取当前日历信息,包括:According to an embodiment of the present invention, obtaining current calendar information includes:

获取当前日历信息的方式包括系统自带的时间或通过日期和时间设置功能或者通过连接蓝牙连接上APP。The way to obtain the current calendar information includes the system's own time or through the date and time setting function or through connecting to the APP through Bluetooth.

需要说明的是,系统自带的时间可以是通过卫星定位时间,也可以是网络时间,通过连接蓝牙进行连接手机APP,通过手机APP内的时间为智能穿戴设备提供时间依据,方便进行日历的更新。It should be noted that the system’s built-in time can be through satellite positioning time or network time. It can be connected to the mobile phone APP through Bluetooth connection, and the time in the mobile phone APP can provide time basis for smart wearable devices, which is convenient for updating the calendar. .

请参照图3,图3是本申请一些实施例中的一种基于智能穿戴设备的日历更新方法的触发配置模式下判断日历准确度的流程图。根据本发明实施例,根据日历更新方式将智能穿戴设备的日历进行修正更新,包括:Please refer to FIG. 3 . FIG. 3 is a flow chart of judging calendar accuracy in trigger configuration mode of a smart wearable device-based calendar update method in some embodiments of the present application. According to the embodiment of the present invention, the calendar of the smart wearable device is revised and updated according to the calendar update method, including:

S301,触发配置模式,切换日历图不同月份界面,显示预设的月份;S301, triggering the configuration mode, switching between different month interfaces of the calendar graph, and displaying the preset month;

S302,采集当前日期信息,判断当前日期信息与预设的日期信息是否一致;S302, collecting current date information, and judging whether the current date information is consistent with the preset date information;

若一致,则退出配置模式,并切换到显示界面;If they are consistent, exit the configuration mode and switch to the display interface;

若不一致,则进行日期的触摸更改;If inconsistent, touch the date to change;

S303,更改日期完成后,判断月份与预设的月份是否一致;S303, after the date change is completed, it is judged whether the month is consistent with the preset month;

S304,判断年份与预设的年份是否一致;S304, judging whether the year is consistent with the preset year;

S305,当日期、月份、年份与预设的日期、预设的月份、预设的年份均一致时,则跳出配置界面,切换至显示界面。S305, when the date, month, and year are consistent with the preset date, preset month, and preset year, jump out of the configuration interface and switch to the display interface.

需要说明的是,调用日期计算函数,输入当前的日期值,通过判断年份是否是闰年,月份初始值设定一月到十二月对应的天数分别如下:一月为31天、二月为28天、三月为31天、四月为30天、五月为31天、六月为30天、七月为31天、八月为31天、九月为30天、十月为31天、十一月为30天、十二月为31天。其中,只有二月份需要根据是否因为是闰年来判断是否需要更改天数,当确认为闰年,则二月修改为29天。经过以上处理后得到的年月,计算当月的1号对应星期几即可确认出1号的位置, 确认1号位置后,即可根据当月的天数按顺序依次往后显示天数,即可得到本月的日历图。It should be noted that, call the date calculation function, input the current date value, and judge whether the year is a leap year. The initial value of the month is set to correspond to the number of days from January to December as follows: January is 31 days, February is 28 31 days in March, 30 days in April, 31 days in May, 30 days in June, 31 days in July, 31 days in August, 30 days in September, 31 days in October, 30 days in November and 31 days in December. Among them, only February needs to judge whether the number of days needs to be changed based on whether it is a leap year. When it is confirmed as a leap year, then February is revised to 29 days. After the year and month obtained after the above processing, calculate the day of the week corresponding to the 1st of the current month to confirm the position of the 1st. After confirming the position of the 1st, you can display the number of days in sequence according to the number of days in the current month, and you can get this Monthly Calendar Illustration.

请参照图4,图4是本申请一些实施例中的一种基于智能穿戴设备的日历更新方法的触摸更改配置的方法流程图。根据本发明实施例,根据日历更新方式将智能穿戴设备的日历进行修正更新,包括:Please refer to FIG. 4 . FIG. 4 is a flow chart of a method for changing a configuration by touch in a calendar update method based on a smart wearable device in some embodiments of the present application. According to the embodiment of the present invention, the calendar of the smart wearable device is revised and updated according to the calendar update method, including:

S401,触发配置模式,进入配置界面,S401, trigger the configuration mode, enter the configuration interface,

S402,通过触摸进行调整日历,采集触摸力度;S402, adjust the calendar by touching, and collect the touch force;

S403,若触摸力度大于第一阈值小于第二阈值时,则进行日期的逐次加一进行更改;S403, if the touch force is greater than the first threshold and less than the second threshold, the date is changed by incrementing one by one;

S404,若触摸力度大于第二阈值时,则通过滑动方式进行日期的更改;S404, if the touch force is greater than the second threshold, change the date by sliding;

滑动方式包括向上滑动与向下滑动,向上滑动过程中,日期逐次加一;The sliding method includes sliding up and sliding down. During the upward sliding process, the date is incremented one by one;

向下滑动过程中,日期逐次减一。In the process of sliding down, the date will decrease by one.

需要说明的是,手指每滑动一次,日期变化一天,通过设置上下两个方向滑动,可以有效防止当更改日期超过数量时,则可以反向操作,提高操作效率,此外通过外部因素来触发日历图中的不同月份界面切换,如通过触摸上滑动屏幕或者下滑动屏幕来更改月份,更改月份的时候,需要增加判断是否需要切换年份,当月份超过12月以后,年份需要增加一年,当月份小于1月的时候,年份需要减小一年;当日期发生改变后,同样对日历月份进行切换更新,达到查看不同年份或者不同月份的日历图的目的。It should be noted that every time the finger slides, the date changes by one day. By setting up and down two directions of sliding, it can effectively prevent that when the changed date exceeds the number, the reverse operation can be performed to improve the operation efficiency. In addition, the calendar chart is triggered by external factors Switch between different months in the interface. For example, change the month by touching the screen up or down. When changing the month, you need to increase the judgment whether you need to switch the year. When the month exceeds December, the year needs to be added by one year. When the month is less than In January, the year needs to be reduced by one year; when the date changes, the calendar month is also switched and updated to achieve the purpose of viewing the calendar graphs of different years or different months.

根据本发明实施例,获取当前日历信息之前,还包括:According to an embodiment of the present invention, before obtaining the current calendar information, it also includes:

获取当前用户身份信息,对当前用户身份信息进行加密处理,得到当前用户身份的加密数据包;Obtain the current user identity information, encrypt the current user identity information, and obtain the encrypted data packet of the current user identity;

将当前用户身份的加密数据包发送至社区网络服务器中,通过社区网络服务器发送至预设的安全服务器进行解密和验证;Send the encrypted data packet of the current user identity to the social network server, and send it to the preset security server through the social network server for decryption and verification;

得到当前用户身份验证结果信息;Get the current user authentication result information;

将当前用户身份验证结果信息发送至社区网络服务器判断当前用户身份信息是否合法;Send the current user identity verification result information to the community network server to determine whether the current user identity information is legal;

若是,发送设备开启信息至智能穿戴设备。If so, send device activation information to the smart wearable device.

需要说明的是,通过设置加密处理,可以使智能穿戴设备与用于进行匹配,防止其他人恶意篡改日历或其他信息,只有能与智能穿戴设备匹配成功的用户才能对日历进行更改,此外,用户身份数据加密可以有效保护用户的身份数据的安全性,防止因智能穿戴设备丢失造成身份信息的泄露,提高使用安全性。It should be noted that by setting encryption processing, the smart wearable device can be matched with the user to prevent others from maliciously tampering with the calendar or other information. Only users who can successfully match with the smart wearable device can change the calendar. In addition, the user Identity data encryption can effectively protect the security of the user's identity data, prevent the leakage of identity information due to the loss of smart wearable devices, and improve the security of use.

请参照图5,图5是本申请一些实施例中的一种基于智能穿戴设备的日历更新系统的结构示意图。第二方面,本申请实施例提供了一种基于智能穿戴设备的日历更新系统5,该系统包括:存储器51及处理器52,存储器51中包括基于智能穿戴设备的日历更新方法的程序,基于智能穿戴设备的日历更新方法的程序被处理器执行时实现以下步骤:Please refer to FIG. 5 , which is a schematic structural diagram of a calendar update system based on smart wearable devices in some embodiments of the present application. In the second aspect, the embodiment of the present application provides a calendar update system 5 based on a smart wearable device. The system includes: a memory 51 and a processor 52. When the program of the calendar update method of the wearable device is executed by the processor, the following steps are implemented:

初始化当前环境,获取网络时间信息,根据网络时间信息设定智能穿戴设备的初始时间信息;Initialize the current environment, obtain network time information, and set the initial time information of the smart wearable device according to the network time information;

配置采样间隔时间,采集智能穿戴设备的当前时间信息;Configure the sampling interval to collect the current time information of the smart wearable device;

将当前时间信息与网络时间信息进行差值计算,得到时间差值;Calculate the difference between the current time information and the network time information to obtain the time difference;

将时间差值与预设的时间阈值进行比较;Comparing the time difference with a preset time threshold;

若时间差值等于或大于预设的时间阈值,则生成日历更新方式;If the time difference is equal to or greater than the preset time threshold, a calendar update method is generated;

根据日历更新方式将智能穿戴设备的日历进行修正更新;Correct and update the calendar of the smart wearable device according to the calendar update method;

若小于,则生成日历图,将日历图发送至预设终端进行显示。If it is less than, generate a calendar map and send the calendar map to the preset terminal for display.

需要说明的是,在进行日历更新时,为了更好的对判断日历的准确性,可以先将智能穿戴设备的日历进行初始化操作,使网络时间与智能穿戴设备的时间处于同一起始点,当智能穿戴设备使用过程中,由于本身存在的无法,使用一段时间后,日历可能会出现偏差,此时,则需要判断网络时间与智能设备的时间之间的差异,以及两者之间变化率,进而可以提前预判日历的偏离时间,进行提前调整,使智能穿戴设备的日历信息处于实时更新的状态。It should be noted that when updating the calendar, in order to better judge the accuracy of the calendar, you can first initialize the calendar of the smart wearable device so that the network time and the time of the smart wearable device are at the same starting point. During the use of the wearable device, due to its own inability, the calendar may deviate after a period of use. At this time, it is necessary to judge the difference between the network time and the time of the smart device, as well as the rate of change between the two, and then The deviation time of the calendar can be predicted in advance and adjusted in advance so that the calendar information of the smart wearable device is updated in real time.

根据本发明实施例,初始化当前环境,获取网络时间信息,根据网络时间信息设定智能穿戴设备的初始时间信息,包括:According to the embodiment of the present invention, the current environment is initialized, the network time information is obtained, and the initial time information of the smart wearable device is set according to the network time information, including:

获取初始时间信息,初始时间信息包括当前日历信息,得到当前年份;Get the initial time information, the initial time information includes the current calendar information, and get the current year;

调用日期计算函数判断当前年份是否为闰年;Call the date calculation function to determine whether the current year is a leap year;

若是,则当前年份的二月份设定为29天;If so, then February of the current year is set to 29 days;

若否,则当前年份的二月份设定为28天。If not, February of the current year is set to 28 days.

需要说明的是,在对日历进行更新之前,可以先对当前年份进行闰年判断,判断过程通过当前年份除以4得到的结果若为整数,则判定当前年份为闰年,然后将二月份设置为29天,防止二月份进行更新日历过程中多算一天,造成后续所有的日历都出现错误。It should be noted that before updating the calendar, the current year can be judged as a leap year. If the result obtained by dividing the current year by 4 is an integer, the current year is judged to be a leap year, and then February is set to 29. Days, to prevent an extra day in the process of updating the calendar in February, causing errors in all subsequent calendars.

根据本发明实施例,根据日历更新方式将智能穿戴设备的日历进行修正更新,包括:According to the embodiment of the present invention, the calendar of the smart wearable device is revised and updated according to the calendar update method, including:

触发配置模式,切换日历图不同月份界面,显示预设的月份;Trigger the configuration mode, switch between different month interfaces of the calendar chart, and display the preset month;

采集当前日期信息,判断当前日期信息与预设的日期信息是否一致;Collect current date information, and judge whether the current date information is consistent with the preset date information;

若一致,则退出配置模式,并切换到显示界面;If they are consistent, exit the configuration mode and switch to the display interface;

若不一致,则进行日期的触摸更改;If inconsistent, touch the date to change;

更改日期完成后,判断月份与预设的月份是否一致;After changing the date, judge whether the month is consistent with the preset month;

判断年份与预设的年份是否一致;Determine whether the year is consistent with the preset year;

当日期、月份、年份与预设的日期、预设的月份、预设的年份均一致时,则跳出配置界面,切换至显示界面。When the date, month, and year are consistent with the preset date, preset month, and preset year, the configuration interface will pop up and the display interface will be switched.

需要说明的是,调用日期计算函数,输入当前的日期值,通过判断年份是否是闰年,月份初始值设定一月到十二月对应的天数分别如下:一月为31天、二月为28天、三月为31天、四月为30天、五月为31天、六月为30天、七月为31天、八月为31天、九月为30天、十月为31天、十一月为30天、十二月为31天。其中,只有二月份需要根据是否因为是闰年来判断是否需要更改天数,当确认为闰年,则二月修改为29天。经过以上处理后得到的年月,计算当月的1号对应星期几即可确认出1号的位置, 确认1号位置后,即可根据当月的天数按顺序依次往后显示天数,即可得到本月的日历图。It should be noted that, call the date calculation function, input the current date value, and judge whether the year is a leap year. The initial value of the month is set to correspond to the number of days from January to December as follows: January is 31 days, February is 28 31 days in March, 30 days in April, 31 days in May, 30 days in June, 31 days in July, 31 days in August, 30 days in September, 31 days in October, 30 days in November and 31 days in December. Among them, only February needs to judge whether the number of days needs to be changed based on whether it is a leap year. When it is confirmed as a leap year, then February is revised to 29 days. After the year and month obtained after the above processing, calculate the day of the week corresponding to the 1st of the current month to confirm the position of the 1st. After confirming the position of the 1st, you can display the number of days in sequence according to the number of days in the current month, and you can get this Monthly Calendar Illustration.

根据本发明实施例,根据当前日历信息判断当前年份是否为闰年之后,还包括:According to an embodiment of the present invention, after judging whether the current year is a leap year according to the current calendar information, it also includes:

根据当前日历天数信息根据预设规则进行计算,得到与当前日历天数信息对应的星期信息;Calculate according to the current calendar day number information according to preset rules, and obtain the week information corresponding to the current calendar day number information;

将当前日历天数信息和当前日历天数信息对应的星期信息,得到本月份的日历图信息。The current calendar day number information and the week information corresponding to the current calendar day number information are used to obtain the calendar map information of this month.

需要说明的是,在进行日历更新过程中,首先对日期进行更新,更新完成后可以通过随机选择一个日期,通过当前日期对应的星期信息,进行日历更新结果的校准,若与星期信息对应不上,则表示月份或年份出现错误,则再次对月份或年份进行更新调整,此种方式可以实现日历更新的 反向校正。It should be noted that in the process of updating the calendar, the date is first updated. After the update is completed, a date can be randomly selected and the week information corresponding to the current date can be used to calibrate the calendar update result. If the date does not correspond to the week information , it means that there is an error in the month or year, and then update and adjust the month or year again. This method can realize the reverse correction of the calendar update.

根据本发明实施例,获取当前日历信息,包括:According to an embodiment of the present invention, obtaining current calendar information includes:

获取当前日历信息的方式包括系统自带的时间或通过日期和时间设置功能或者通过连接蓝牙连接上APP。The way to obtain the current calendar information includes the system's own time or through the date and time setting function or through connecting to the APP through Bluetooth.

需要说明的是,系统自带的时间可以是通过卫星定位时间,也可以是网络时间,通过连接蓝牙进行连接手机APP,通过手机APP内的时间为智能穿戴设备提供时间依据,方便进行日历的更新。It should be noted that the system’s built-in time can be through satellite positioning time or network time. It can be connected to the mobile phone APP through Bluetooth connection, and the time in the mobile phone APP can provide time basis for smart wearable devices, which is convenient for updating the calendar. .

根据本发明实施例,根据日历更新方式将智能穿戴设备的日历进行修正更新,包括:According to the embodiment of the present invention, the calendar of the smart wearable device is revised and updated according to the calendar update method, including:

触发配置模式,进入配置界面;Trigger the configuration mode and enter the configuration interface;

通过触摸进行调整日历,采集触摸力度;Adjust the calendar by touching and collect the touch strength;

若触摸力度大于第一阈值小于第二阈值时,则进行日期的逐次加一进行更改;If the touch strength is greater than the first threshold and less than the second threshold, the date is changed by adding one by one;

若触摸力度大于第二阈值时,则通过滑动方式进行日期的更改;If the touch force is greater than the second threshold, the date is changed by sliding;

滑动方式包括向上滑动与向下滑动,向上滑动过程中,日期逐次加一;The sliding method includes sliding up and sliding down. During the upward sliding process, the date is incremented one by one;

向下滑动过程中,日期逐次减一。In the process of sliding down, the date will decrease by one.

需要说明的是,手指每滑动一次,日期变化一天,通过设置上下两个方向滑动,可以有效防止当更改日期超过数量时,则可以反向操作,提高操作效率,此外通过外部因素(即手指触摸)来触发日历图中的不同月份界面切换,如通过触摸上滑动屏幕或者下滑动屏幕来更改月份,更改月份的时候,需要增加判断是否需要切换年份,当月份超过12月以后,年份需要增加一年,当月份小于1月的时候,年份需要减小一年;当日期发生改变后,同样对日历月份进行切换更新,达到查看不同年份或者不同月份的日历图的目的。It should be noted that every time the finger slides, the date changes by one day. By setting up and down two directions of sliding, it can effectively prevent that when the number of date changes exceeds the number, the reverse operation can be performed to improve the operation efficiency. In addition, through external factors (ie finger touch ) to trigger the interface switching of different months in the calendar graph, such as changing the month by touching the screen up or down, when changing the month, you need to add a judgment whether you need to switch the year, when the month exceeds December, the year needs to be increased by one Year, when the month is less than January, the year needs to be reduced by one year; when the date changes, the calendar month is also switched and updated to achieve the purpose of viewing the calendar charts of different years or different months.

根据本发明实施例,获取当前日历信息之前,还包括:According to an embodiment of the present invention, before obtaining the current calendar information, it also includes:

获取当前用户身份信息,对当前用户身份信息进行加密处理,得到当前用户身份的加密数据包;Obtain the current user identity information, encrypt the current user identity information, and obtain the encrypted data packet of the current user identity;

将当前用户身份的加密数据包发送至社区网络服务器中,通过社区网络服务器发送至预设的安全服务器进行解密和验证;Send the encrypted data packet of the current user identity to the social network server, and send it to the preset security server through the social network server for decryption and verification;

得到当前用户身份验证结果信息;Get the current user authentication result information;

将当前用户身份验证结果信息发送至社区网络服务器判断当前用户身份信息是否合法;Send the current user identity verification result information to the community network server to determine whether the current user identity information is legal;

若是,发送设备开启信息至智能穿戴设备。If so, send device activation information to the smart wearable device.

需要说明的是,通过设置加密处理,可以使智能穿戴设备与用于进行匹配,防止其他人恶意篡改日历或其他信息,只有能与智能穿戴设备匹配成功的用户才能对日历进行更改,此外,用户身份数据加密可以有效保护用户的身份数据的安全性,防止因智能穿戴设备丢失造成身份信息的泄露,提高使用安全性。It should be noted that by setting encryption processing, the smart wearable device can be matched with the user to prevent others from maliciously tampering with the calendar or other information. Only users who can successfully match with the smart wearable device can change the calendar. In addition, the user Identity data encryption can effectively protect the security of the user's identity data, prevent the leakage of identity information due to the loss of smart wearable devices, and improve the security of use.

本发明第三方面提供了一种计算机可读存储介质,可读存储介质中包括基于智能穿戴设备的日历更新方法程序,基于智能穿戴设备的日历更新方法程序被处理器执行时,实现如上述任一项的基于智能穿戴设备的日历更新方法的步骤。The third aspect of the present invention provides a computer-readable storage medium. The readable storage medium includes a calendar update method program based on a smart wearable device. When the calendar update method program based on a smart wearable device is executed by a processor, any of the above A method for updating a calendar based on a smart wearable device.

本发明公开的一种基于智能穿戴设备的日历更新方法、系统及介质,通过初始化当前环境,获取网络时间信息,根据网络时间信息设定智能穿戴设备的初始时间信息;配置采样间隔时间,采集智能穿戴设备的当前时间信息;将当前时间信息与网络时间信息进行差值计算,得到时间差值;将时间差值与预设的时间阈值进行比较;若时间差值等于或大于预设的时间阈值,则生成日历更新方式;根据日历更新方式将智能穿戴设备的日历进行修正更新;若小于,则生成日历图,将日历图发送至预设终端进行显示;通过配置采样间隔时间,采集智能穿戴设备的当前时间信息,并与网络时间进行比对,将智能穿戴设备的时间偏差为依据对日历进行实时更新的技术。A calendar update method, system and medium based on smart wearable devices disclosed in the present invention obtain network time information by initializing the current environment, and set the initial time information of smart wearable devices according to the network time information; configure the sampling interval time, collect smart The current time information of the wearable device; calculate the difference between the current time information and the network time information to obtain the time difference; compare the time difference with the preset time threshold; if the time difference is equal to or greater than the preset time threshold , the calendar update method is generated; according to the calendar update method, the calendar of the smart wearable device is corrected and updated; if it is less than, a calendar map is generated, and the calendar map is sent to the preset terminal for display; by configuring the sampling interval time, the smart wearable device is collected The current time information is compared with the network time, and the technology of updating the calendar in real time based on the time deviation of the smart wearable device.

在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined or integrated. to another system, or some features may be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms of.

上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元;既可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed to multiple network units; Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention can be integrated into one processing unit, or each unit can be used as a single unit, or two or more units can be integrated into one unit; the above-mentioned integration The unit can be realized in the form of hardware or in the form of hardware plus software functional unit.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned programs can be stored in a readable storage medium. The steps of the method embodiment; and the aforementioned storage medium includes: a removable storage device, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, etc. medium for program code.

或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated units of the present invention are realized in the form of software function modules and sold or used as independent products, they can also be stored in a readable storage medium. Based on this understanding, the essence of the technical solution of the embodiment of the present invention or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for making A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as removable storage devices, ROM, RAM, magnetic disks or optical disks.

Claims (10)

1. A calendar updating method based on an intelligent wearable device, comprising:
initializing a current environment, acquiring network time information, and setting initial time information of the intelligent wearable equipment according to the network time information;
configuring sampling interval time, and collecting current time information of intelligent wearable equipment;
performing difference calculation on the current time information and the network time information to obtain a time difference value;
comparing the time difference value with a preset time threshold value;
if the time difference value is equal to or greater than a preset time threshold value, a calendar updating mode is generated;
correcting and updating the calendar of the intelligent wearable equipment according to the calendar updating mode;
if the user is smaller than the preset terminal, generating a calendar map, and sending the calendar map to the preset terminal for display.
2. The calendar updating method based on the intelligent wearable device according to claim 1, wherein initializing the current environment, acquiring network time information, setting initial time information of the intelligent wearable device according to the network time information, comprises:
acquiring initial time information, wherein the initial time information comprises current calendar information, and obtaining current year;
a date calculation function is called to judge whether the current year is leap year or not;
if so, setting the february of the current year as 29 days;
if not, the month of february in the current year is set to 28 days.
3. The calendar updating method based on the intelligent wearable device according to claim 2, further comprising, after determining whether the current year is leap year according to the current calendar information:
calculating according to the current calendar day information and a preset rule to obtain week information corresponding to the current calendar day information;
and obtaining calendar map information of the current month by the current calendar day information and week information corresponding to the current calendar day information.
4. The smart wearable device-based calendar updating method of claim 3, wherein obtaining current calendar information comprises:
the mode of obtaining the current calendar information comprises the time of the system, a date and time setting function or connecting with an APP through a Bluetooth connection.
5. The calendar updating method based on the intelligent wearable device according to claim 4, wherein the updating the calendar of the intelligent wearable device according to the calendar updating mode comprises:
triggering a configuration mode, switching interfaces of different months of the calendar graph, and displaying preset months;
collecting current date information, and judging whether the current date information is consistent with preset date information or not;
if the configuration modes are consistent, the configuration modes are exited, and the display interface is switched to;
if the date is inconsistent, carrying out touch change on the date;
after the modification date is finished, judging whether the month is consistent with the preset month;
judging whether the year is consistent with the preset year;
when the date, month and year are consistent with the preset date, the preset month and the preset year, the configuration interface is jumped out, and the display interface is switched to.
6. The calendar updating method based on the intelligent wearable device according to claim 5, wherein the updating the calendar of the intelligent wearable device according to the calendar updating mode comprises:
triggering a configuration mode, entering a configuration interface,
calendar adjustment is carried out through touching, and touch force is collected;
if the touch force is larger than the first threshold value and smaller than the second threshold value, successively adding one to date to change;
if the touch force is greater than the second threshold value, date change is carried out in a sliding mode;
the sliding mode comprises upward sliding and downward sliding, and in the upward sliding process, the date is added one by one;
in the downward sliding process, the date is successively reduced by one.
7. A calendar update system based on an intelligent wearable device, the system comprising: the device comprises a memory and a processor, wherein the memory comprises a program of a calendar updating method based on intelligent wearable equipment, and the program of the calendar updating method based on the intelligent wearable equipment realizes the following steps when being executed by the processor:
initializing a current environment, acquiring network time information, and setting initial time information of the intelligent wearable equipment according to the network time information;
configuring sampling interval time, and collecting current time information of intelligent wearable equipment;
performing difference calculation on the current time information and the network time information to obtain a time difference value;
comparing the time difference value with a preset time threshold value;
if the time difference value is equal to or greater than a preset time threshold value, a calendar updating mode is generated;
correcting and updating the calendar of the intelligent wearable equipment according to the calendar updating mode;
if the user is smaller than the preset terminal, generating a calendar map, and sending the calendar map to the preset terminal for display.
8. The smart wearable device-based calendar update system of claim 7, wherein initializing the current environment, obtaining network time information, setting initial time information of the smart wearable device according to the network time information, comprises:
acquiring initial time information, wherein the initial time information comprises current calendar information, and obtaining current year;
a date calculation function is called to judge whether the current year is leap year or not;
if so, setting the february of the current year as 29 days;
if not, the month of february in the current year is set to 28 days.
9. The calendar updating system based on the intelligent wearable device according to claim 8, wherein the updating the calendar of the intelligent wearable device according to the calendar updating mode comprises:
triggering a configuration mode, switching interfaces of different months of the calendar graph, and displaying preset months;
collecting current date information, and judging whether the current date information is consistent with preset date information or not;
if the configuration modes are consistent, the configuration modes are exited, and the display interface is switched to;
if the date is inconsistent, carrying out touch change on the date;
after the modification date is finished, judging whether the month is consistent with the preset month;
judging whether the year is consistent with the preset year;
when the date, month and year are consistent with the preset date, the preset month and the preset year, the configuration interface is jumped out, and the display interface is switched to.
10. A computer readable storage medium, characterized in that a calendar update method program based on a smart wearable device is included in the computer readable storage medium, which when executed by a processor, implements the steps of the calendar update method based on a smart wearable device according to any of claims 1 to 6.
CN202310715641.4A 2023-06-16 2023-06-16 A calendar update method, system and medium based on smart wearable devices Active CN116450278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310715641.4A CN116450278B (en) 2023-06-16 2023-06-16 A calendar update method, system and medium based on smart wearable devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310715641.4A CN116450278B (en) 2023-06-16 2023-06-16 A calendar update method, system and medium based on smart wearable devices

Publications (2)

Publication Number Publication Date
CN116450278A true CN116450278A (en) 2023-07-18
CN116450278B CN116450278B (en) 2023-09-26

Family

ID=87135982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310715641.4A Active CN116450278B (en) 2023-06-16 2023-06-16 A calendar update method, system and medium based on smart wearable devices

Country Status (1)

Country Link
CN (1) CN116450278B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117271043A (en) * 2023-11-17 2023-12-22 深圳市光速时代科技有限公司 Data display method based on intelligent wearable equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1081301A (en) * 1992-06-19 1994-01-26 西屋电气公司 The synchronization of the calendar clock in the distributed processing network system
EP0867788A1 (en) * 1997-03-29 1998-09-30 Junghans Uhren GmbH Calendar for the current date and day of the week
EP1696373A1 (en) * 2005-02-02 2006-08-30 Research In Motion Limited Method and system for dynamic calendar entry adjustment based on daylight savings time changes
CN207096710U (en) * 2017-07-26 2018-03-13 歌尔科技有限公司 A kind of light intelligent watch calibrating installation and light intelligent watch
CN209560295U (en) * 2018-12-24 2019-10-29 深圳市融纳海川科技有限公司 A kind of intelligent wearable device for the 2.4G that band is shown

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1081301A (en) * 1992-06-19 1994-01-26 西屋电气公司 The synchronization of the calendar clock in the distributed processing network system
EP0867788A1 (en) * 1997-03-29 1998-09-30 Junghans Uhren GmbH Calendar for the current date and day of the week
EP1696373A1 (en) * 2005-02-02 2006-08-30 Research In Motion Limited Method and system for dynamic calendar entry adjustment based on daylight savings time changes
CN207096710U (en) * 2017-07-26 2018-03-13 歌尔科技有限公司 A kind of light intelligent watch calibrating installation and light intelligent watch
CN209560295U (en) * 2018-12-24 2019-10-29 深圳市融纳海川科技有限公司 A kind of intelligent wearable device for the 2.4G that band is shown

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117271043A (en) * 2023-11-17 2023-12-22 深圳市光速时代科技有限公司 Data display method based on intelligent wearable equipment
CN117271043B (en) * 2023-11-17 2024-02-02 深圳市光速时代科技有限公司 Data display method based on intelligent wearable equipment

Also Published As

Publication number Publication date
CN116450278B (en) 2023-09-26

Similar Documents

Publication Publication Date Title
KR102221328B1 (en) Cross-blockchain authentication method, apparatus, and electronic device
US8405663B2 (en) Simulated resolution of stopwatch
US20200007544A1 (en) Blockchain-based smart contract call methods and apparatus, and electronic device
CA2707022C (en) Multiple display regions in a unified message inbox
CA2731015C (en) Portable electronic device and method of controlling same for rendering calendar information
EP3206110B1 (en) Method of providing handwriting style correction function and electronic device adapted thereto
US7839723B2 (en) Electronic device and method of controlling reminder notifications
US8577418B2 (en) Systems and methods for presenting conference call participant indentifier images on a display of a mobile device
US20110072372A1 (en) Electronic device and method of controlling the same for determination of free time periods
CN102117393A (en) Mobile terminal and password input method thereof
US12182097B2 (en) Variation recognition between heterogeneous computer systems
KR20150075140A (en) Message control method of electronic apparatus and electronic apparatus thereof
CA2717519A1 (en) Mobile wireless communications device to display closed captions and associated methods
CN116450278B (en) A calendar update method, system and medium based on smart wearable devices
US20130018915A1 (en) Mobile wireless communications device with search shortcut and related methods
US20130006924A1 (en) System and method of associating and maintaining a plurality of contacts stored in a personal information manager application of a portable electronic device
CN114003510A (en) Script testing method, device, equipment and medium based on Mock service
US20130172014A1 (en) Wireless communication system with potential new contacts and related methods
JP6705041B2 (en) Communication terminal, setting method and program
EP2180674A1 (en) Systems and Methods for Presenting Conference Call Participant Identifier Images on a Display of a Mobile Device
WO2016197784A1 (en) Method and device for information exchange
US20210240755A1 (en) Variance Detection between Heterogeneous Computer Systems
CN113194463B (en) Position acquisition method and device
EP3321801A1 (en) Information hiding method and corresponding terminal device
CA2681453C (en) Simulated resolution of stopwatch

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
CP03 Change of name, title or address

Address after: 4208, Tower A, Hongrongyuan North Station Center, Minzhi Street North Station Community, Longhua District, Shenzhen City, Guangdong Province, 518000

Patentee after: Shenzhen Weike Technology Co.,Ltd.

Country or region after: China

Address before: 518109 room 1501, building e, phase II, Xinghe world, Minle community, Minzhi street, Longhua District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN WAKE UP TECHNOLOGY CO.,LTD.

Country or region before: China

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 4208, Tower A, Hongrongyuan North Station Center, Minzhi Street North Station Community, Longhua District, Shenzhen City, Guangdong Province, 518000

Patentee after: SHENZHEN WAKE UP TECHNOLOGY CO.,LTD.

Country or region after: China

Address before: 4208, Tower A, Hongrongyuan North Station Center, Minzhi Street North Station Community, Longhua District, Shenzhen City, Guangdong Province, 518000

Patentee before: Shenzhen Weike Technology Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address