CN116450278B - 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 PDFInfo
- Publication number
- CN116450278B CN116450278B CN202310715641.4A CN202310715641A CN116450278B CN 116450278 B CN116450278 B CN 116450278B CN 202310715641 A CN202310715641 A CN 202310715641A CN 116450278 B CN116450278 B CN 116450278B
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 74
- 238000005070 sampling Methods 0.000 claims abstract description 13
- 230000008859 change Effects 0.000 claims description 25
- 230000006870 function Effects 0.000 claims description 18
- 230000008569 process Effects 0.000 claims description 14
- 238000012795 verification Methods 0.000 claims description 12
- 230000004048 modification Effects 0.000 claims description 6
- 238000012986 modification Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000009191 jumping Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09D—RAILWAY OR LIKE TIME OR FARE TABLES; PERPETUAL CALENDARS
- G09D3/00—Perpetual calendars
- G09D3/12—Perpetual calendars electrically operated
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing 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 calendar updating 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
Technical Field
The application relates to the field of calendar updating, in particular to a calendar updating method, a calendar updating system and a calendar updating medium based on intelligent wearable equipment.
Background
Although the calendar function is widely applied to the mobile phone, the calendar function is less applied to the intelligent wearable device, and when the intelligent wearable device is used, the date and the like need to be checked, and the date related information needs to be acquired through other ways such as checking the mobile phone or a television, so that the calendar function is very inconvenient.
Meanwhile, to achieve this function requires the use of a very large memory to store calendar map data for different months, a very space occupation, and a very unfriendly MCU for a compact resource.
Therefore, how to conveniently and quickly read, occupy less resources, and realize the function of calculating the calendar map in real time on the intelligent wearable device is very important, and aiming at the problems, an effective technical solution is needed.
Disclosure of Invention
The embodiment of the application aims to provide a calendar updating method, a calendar updating system and a calendar updating medium based on intelligent wearable equipment, which can acquire current time information of the intelligent wearable equipment by configuring sampling interval time, compare the current time information with network time and update a calendar in real time by taking time deviation of the intelligent wearable equipment as a basis.
The embodiment of the application also provides a calendar updating method based on the intelligent wearable device, which 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.
Optionally, in the calendar updating method based on the intelligent wearable device according to the embodiment of the present application, initializing a current environment, acquiring network time information, and setting initial time information of the intelligent wearable device according to the network time information includes:
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.
Optionally, in the calendar updating method based on the intelligent wearable device according to the embodiment of the present application, after judging whether the current year is leap year according to the current calendar information, the method further includes:
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.
Optionally, in the calendar updating method based on the intelligent wearable device according to the embodiment of the present application, the obtaining current calendar information includes:
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.
Optionally, in the calendar updating method based on the intelligent wearable device according to the embodiment of the present application, the correcting and updating the calendar of the intelligent wearable device according to the calendar updating mode includes:
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.
Optionally, in the calendar updating method based on the intelligent wearable device according to the embodiment of the present application, the correcting and updating the calendar of the intelligent wearable device according to the calendar updating mode includes:
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.
In a second aspect, an embodiment of the present application provides a calendar update system based on an intelligent wearable device, the system including: 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.
Optionally, in the calendar updating system based on the intelligent wearable device according to the embodiment of the present application, initializing a current environment, acquiring network time information, and setting initial time information of the intelligent wearable device according to the network time information includes:
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.
Optionally, in the calendar updating system based on the intelligent wearable device according to the embodiment of the present application, the correcting and updating the calendar of the intelligent wearable device according to the calendar updating mode includes:
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.
In a third aspect, an embodiment of the present application further provides a computer readable storage medium, where a calendar update method program based on an intelligent wearable device is included, where the calendar update method program based on the intelligent wearable device, when executed by a processor, implements the steps of the calendar update method based on the intelligent wearable device as described in any one of the foregoing.
As can be seen from the above, according to the calendar updating method, system and medium based on the intelligent wearable device provided by the embodiment of the application, the network time information is obtained by initializing the current environment, and the initial time information of the intelligent wearable device is set 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.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the embodiments of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a calendar updating method based on an intelligent wearable device, which is provided by an embodiment of the application;
fig. 2 is a flowchart of a method for setting a february date according to a calendar updating method based on an intelligent wearable device provided by an embodiment of the present application;
fig. 3 is a flowchart of determining calendar accuracy in a trigger configuration mode of a calendar updating method based on an intelligent wearable device according to an embodiment of the present application;
FIG. 4 is a flowchart of a method for touch change configuration of a calendar update method based on an intelligent wearable device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a calendar updating system based on an intelligent wearable device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that like reference numerals and letters refer to like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 is a flowchart of a calendar updating method based on an intelligent wearable device according to some embodiments of the application. The calendar updating method based on the intelligent wearable device is used in the terminal device and comprises the following steps:
s101, initializing a current environment, acquiring network time information, and setting initial time information of intelligent wearable equipment according to the network time information;
s102, configuring sampling interval time, and collecting current time information of intelligent wearable equipment;
s103, carrying out difference calculation on the current time information and the network time information to obtain a time difference value;
s104, 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;
s105, correcting and updating the calendar of the intelligent wearable device according to a 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.
It should be noted that, when the calendar is updated, in order to better determine the accuracy of the calendar, the calendar of the intelligent wearable device may be initialized first, so that the network time and the time of the intelligent wearable device are at the same starting point, and when the intelligent wearable device is used, due to unavoidable time difference, the calendar may deviate after a period of use, at this time, the difference between the network time and the time of the intelligent device, and the rate of change between the two may need to be determined, so that the deviation time of the calendar may be pre-determined in advance, and the calendar information of the intelligent wearable device is in a state updated in real time.
Referring to fig. 2, fig. 2 is a flowchart of a method for setting a february date according to a calendar updating method of a smart wearable device according to some embodiments of the present application. According to the embodiment of the application, the current environment is initialized, the network time information is obtained, and the initial time information of the intelligent wearable device is set according to the network time information, which comprises the following steps:
s201, acquiring initial time information, wherein the initial time information comprises current calendar information, and obtaining current year;
s202, calling a date calculation function to judge whether the current year is leap year or not;
s203, if so, setting the february of the current year as 29 days;
if not, S204, the month of February in the current year is set to 28 days.
Before updating the calendar, leap year judgment can be performed on the current year, if the result obtained by dividing the current year by 4 is an integer, the current year is judged to be leap year, and then the february is set to 29 days, so that more than one day in the calendar updating process of the february is prevented, and all subsequent calendars are prevented from being wrong.
According to the embodiment of the application, after judging whether the current year is leap year according to the current calendar information, the method further comprises the following steps:
calculating according to the current calendar day information and preset rules to obtain week information corresponding to the current calendar day information;
and obtaining calendar map information of the month by using the current calendar day information and week information corresponding to the current calendar day information.
In the process of updating the calendar, the date is updated first, after the update is completed, one date can be selected randomly, the calibration of the calendar update result is performed through the week information corresponding to the current date, if the date is not corresponding to the week information, the date indicates that the month or the year is wrong, and the date or the year is updated and adjusted again.
According to an embodiment of the present application, obtaining current calendar information includes:
the mode of acquiring 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.
It should be noted that, the time of the system can be the satellite positioning time or the network time, the mobile phone APP is connected through the connection Bluetooth, the time in the mobile phone APP provides time basis for the intelligent wearable device, and the calendar is updated conveniently.
Referring to fig. 3, fig. 3 is a flowchart of determining calendar accuracy in a trigger configuration mode of a calendar updating method based on an intelligent wearable device according to some embodiments of the application. According to the embodiment of the application, the calendar of the intelligent wearable device is corrected and updated according to the calendar updating mode, which comprises the following steps:
s301, triggering a configuration mode, switching interfaces of different months of a calendar picture, and displaying preset months;
s302, 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;
s303, judging whether the month is consistent with the preset month after the change date is finished;
s304, judging whether the year is consistent with the preset year;
and S305, when the date, month and year are consistent with the preset date, the preset month and the preset year, jumping out of the configuration interface and switching to the display interface.
The date calculation function is called, the current date value is input, and by judging whether the year is leap year or not, the initial value of month is set to the number of days corresponding to one month to december as follows: 31 days for March, 28 days for March, 31 days for March, 30 days for April, 31 days for March, 30 days for June, 31 days for August, 30 days for September, 31 days for October, 30 days for October, and 31 days for October. Only february needs to judge whether to change the number of days according to whether the february is leap year, and if the february is leap year, february is changed to 29 days. The month and year obtained after the treatment are counted, the position of the No. 1 is confirmed by calculating the day of the week corresponding to the No. 1 of the current month, and after the position of the No. 1 is confirmed, the days can be sequentially displayed backwards according to the number of the current month, so that the calendar of the current month can be obtained.
Referring to fig. 4, fig. 4 is a flowchart illustrating a method for touch modification configuration of a calendar update method based on a smart wearable device according to some embodiments of the present application. According to the embodiment of the application, the calendar of the intelligent wearable device is corrected and updated according to the calendar updating mode, which comprises the following steps:
s401, triggering a configuration mode, entering a configuration interface,
s402, calendar adjustment is carried out through touching, and touch force is collected;
s403, 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;
s404, if the touch force is greater than a second threshold value, changing the date 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.
It should be noted that, when the finger slides once, the date changes for one day, by setting up two directions to slide up and down, the reverse operation can be effectively prevented when the change date exceeds the number, the operation efficiency is improved, in addition, the interface switching of different months in the calendar is triggered by external factors, for example, the month is changed by touching the upper sliding screen or the lower sliding screen, when the month is changed, the number of the year needs to be increased to judge whether the year needs to be switched, when the month exceeds 12 months, the year needs to be increased by one year, and when the month is less than 1 month, the year needs to be reduced by one year; when the date is changed, the calendar month is also switched and updated, so that the purpose of viewing calendar pictures of different years or different months is achieved.
According to the embodiment of the application, before acquiring the current calendar information, the method further comprises the following steps:
acquiring current user identity information, and encrypting the current user identity information to obtain an encrypted data packet of the current user identity;
the method comprises the steps of sending an encrypted data packet of a current user identity to a community network server, and sending the encrypted data packet to a preset security server for decryption and verification through the community network server;
obtaining the current user identity verification result information;
transmitting the current user identity verification result information to a community network server to judge whether the current user identity information is legal or not;
if yes, sending equipment starting information to the intelligent wearable equipment.
It should be noted that, through setting up encryption processing, can make intelligent wearing equipment and be used for carrying out the matching, prevent that other people from maliciously tampering calendar or other information, only can with intelligent wearing equipment matching successful user can change the calendar, in addition, user identity data encryption can effectively protect user's identity data's security, prevents to lose the revealing that causes identity information because of intelligent wearing equipment, improves the safety in utilization.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a calendar updating system based on an intelligent wearable device according to some embodiments of the present application. In a second aspect, an embodiment of the present application provides a calendar update system 5 based on an intelligent wearable device, the system comprising: the memory 51 and the processor 52, the memory 51 includes a program based on a calendar updating method of the intelligent wearable device, and the program based on the calendar updating method of the intelligent wearable device realizes the following steps when 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.
It should be noted that, when the calendar is updated, in order to better determine the accuracy of the calendar, the calendar of the intelligent wearable device may be initialized first, so that the network time and the time of the intelligent wearable device are at the same starting point, and when the intelligent wearable device is used, due to the existence of the intelligent wearable device, the calendar may deviate after a period of use, at this time, the difference between the network time and the time of the intelligent device, and the change rate between the network time and the time of the intelligent device, so that the deviation time of the calendar can be pre-determined in advance, and the calendar information of the intelligent wearable device is in a real-time updated state by performing an advance adjustment.
According to the embodiment of the application, the current environment is initialized, the network time information is obtained, and the initial time information of the intelligent wearable device is set according to the network time information, which comprises the following steps:
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.
Before updating the calendar, leap year judgment can be performed on the current year, if the result obtained by dividing the current year by 4 is an integer, the current year is judged to be leap year, and then the february is set to 29 days, so that more than one day in the calendar updating process of the february is prevented, and all subsequent calendars are prevented from being wrong.
According to the embodiment of the application, the calendar of the intelligent wearable device is corrected and updated according to the calendar updating mode, which comprises the following steps:
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.
The date calculation function is called, the current date value is input, and by judging whether the year is leap year or not, the initial value of month is set to the number of days corresponding to one month to december as follows: 31 days for March, 28 days for March, 31 days for March, 30 days for April, 31 days for March, 30 days for June, 31 days for August, 30 days for September, 31 days for October, 30 days for October, and 31 days for October. Only february needs to judge whether to change the number of days according to whether the february is leap year, and if the february is leap year, february is changed to 29 days. The month and year obtained after the treatment are counted, the position of the No. 1 is confirmed by calculating the day of the week corresponding to the No. 1 of the current month, and after the position of the No. 1 is confirmed, the days can be sequentially displayed backwards according to the number of the current month, so that the calendar of the current month can be obtained.
According to the embodiment of the application, after judging whether the current year is leap year according to the current calendar information, the method further comprises the following steps:
calculating according to the current calendar day information and preset rules to obtain week information corresponding to the current calendar day information;
and obtaining calendar map information of the month by using the current calendar day information and week information corresponding to the current calendar day information.
In the process of updating the calendar, the date is updated first, after the update is completed, one date can be selected randomly, the calibration of the calendar update result is performed through the week information corresponding to the current date, if the date is not corresponding to the week information, the date indicates that the month or the year is wrong, and the date or the year is updated and adjusted again.
According to an embodiment of the present application, obtaining current calendar information includes:
the mode of acquiring 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.
It should be noted that, the time of the system can be the satellite positioning time or the network time, the mobile phone APP is connected through the connection Bluetooth, the time in the mobile phone APP provides time basis for the intelligent wearable device, and the calendar is updated conveniently.
According to the embodiment of the application, the calendar of the intelligent wearable device is corrected and updated according to the calendar updating mode, which comprises the following steps:
triggering a configuration mode and 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.
It should be noted that, when the finger slides once, the date changes for one day, by setting up two directions to slide up and down, the reverse operation can be effectively prevented when the change date exceeds the number, the operation efficiency is improved, in addition, the interface switching of different months in the calendar graph is triggered by an external factor (namely finger touch), for example, the month is changed by touching the upper sliding screen or the lower sliding screen, when the month is changed, the number of the year needs to be increased to judge whether the year needs to be switched, when the month exceeds 12 months, the year needs to be increased by one year, and when the month is less than 1 month, the year needs to be reduced by one year; when the date is changed, the calendar month is also switched and updated, so that the purpose of viewing calendar pictures of different years or different months is achieved.
According to the embodiment of the application, before acquiring the current calendar information, the method further comprises the following steps:
acquiring current user identity information, and encrypting the current user identity information to obtain an encrypted data packet of the current user identity;
the method comprises the steps of sending an encrypted data packet of a current user identity to a community network server, and sending the encrypted data packet to a preset security server for decryption and verification through the community network server;
obtaining the current user identity verification result information;
transmitting the current user identity verification result information to a community network server to judge whether the current user identity information is legal or not;
if yes, sending equipment starting information to the intelligent wearable equipment.
It should be noted that, through setting up encryption processing, can make intelligent wearing equipment and be used for carrying out the matching, prevent that other people from maliciously tampering calendar or other information, only can with intelligent wearing equipment matching successful user can change the calendar, in addition, user identity data encryption can effectively protect user's identity data's security, prevents to lose the revealing that causes identity information because of intelligent wearing equipment, improves the safety in utilization.
A third aspect of the present application provides a computer readable storage medium, the readable storage medium including a calendar update method program based on an intelligent wearable device, the calendar update method program based on the intelligent wearable device, when executed by a processor, implementing the steps of the calendar update method based on the intelligent wearable device as any one of the above.
According to the calendar updating method, the calendar updating system and the calendar updating medium based on the intelligent wearing equipment, network time information is acquired by initializing the current environment, and initial time information of the intelligent wearing equipment is set 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.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of units is only one logical function division, and there may be other divisions in actual implementation, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may 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 application may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present application may be stored in a readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the embodiments of the present application may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.
Claims (4)
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;
the correcting and updating the calendar of the intelligent wearable device according to the calendar updating mode comprises the following steps:
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;
the correcting and updating the calendar of the intelligent wearable device according to the calendar updating mode comprises the following steps:
triggering a configuration mode and 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 gradually reduced by one;
before acquiring the current calendar information, the method further comprises the following steps:
acquiring current user identity information, and encrypting the current user identity information to obtain an encrypted data packet of the current user identity;
the method comprises the steps of sending an encrypted data packet of a current user identity to a community network server, and sending the encrypted data packet to a preset security server for decryption and verification through the community network server;
obtaining the current user identity verification result information;
transmitting the current user identity verification result information to a community network server to judge whether the current user identity information is legal or not;
if yes, sending equipment starting information to the intelligent wearable equipment;
initializing a current environment, acquiring network time information, and setting initial time information of intelligent wearable equipment according to the network time information, wherein the method comprises the following steps:
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, setting the february of the current year as 28 days;
after judging whether the current year is leap year according to the current calendar information, the method further comprises the following steps:
acquiring current calendar day information and calculating through a preset rule to acquire 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.
2. The smart wearable device-based calendar updating method of claim 1, 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.
3. 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;
the correcting and updating the calendar of the intelligent wearable device according to the calendar updating mode comprises the following steps:
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;
the correcting and updating the calendar of the intelligent wearable device according to the calendar updating mode comprises the following steps:
triggering a configuration mode and 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 gradually reduced by one;
before acquiring the current calendar information, the method further comprises the following steps:
acquiring current user identity information, and encrypting the current user identity information to obtain an encrypted data packet of the current user identity;
the method comprises the steps of sending an encrypted data packet of a current user identity to a community network server, and sending the encrypted data packet to a preset security server for decryption and verification through the community network server;
obtaining the current user identity verification result information;
transmitting the current user identity verification result information to a community network server to judge whether the current user identity information is legal or not;
if yes, sending equipment starting information to the intelligent wearable equipment;
initializing a current environment, acquiring network time information, and setting initial time information of intelligent wearable equipment according to the network time information, wherein the method comprises the following steps:
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, setting the february of the current year as 28 days;
after judging whether the current year is leap year according to the current calendar information, the method further comprises the following steps:
acquiring current calendar day information and calculating through a preset rule to acquire 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. 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 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310715641.4A CN116450278B (en) | 2023-06-16 | 2023-06-16 | Calendar updating method, system and medium based on intelligent wearable device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310715641.4A CN116450278B (en) | 2023-06-16 | 2023-06-16 | Calendar updating method, system and medium based on intelligent wearable device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116450278A CN116450278A (en) | 2023-07-18 |
CN116450278B true 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 | Calendar updating method, system and medium based on intelligent wearable device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116450278B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117271043B (en) * | 2023-11-17 | 2024-02-02 | 深圳市光速时代科技有限公司 | Data display method based on intelligent wearable equipment |
Citations (5)
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 |
-
2023
- 2023-06-16 CN CN202310715641.4A patent/CN116450278B/en active Active
Patent Citations (5)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN116450278A (en) | 2023-07-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20160314442A1 (en) | Numerical value transfer method, terminal, cloud server and storage medium | |
CN105068974B (en) | Information processing method and electronic equipment | |
CN116450278B (en) | Calendar updating method, system and medium based on intelligent wearable device | |
US9143592B2 (en) | Mobile terminal and method for displaying contact list in order of priority levels | |
US20180062846A1 (en) | Mobile Terminal Privacy Protection Method and Protection Apparatus, and Mobile Terminal | |
CN110502515B (en) | Data acquisition method, device, equipment and computer readable storage medium | |
CN112947830A (en) | Popup window display method and device, computer equipment and storage medium | |
CN102117393A (en) | Mobile terminal and password input method thereof | |
CN107645582B (en) | Information changing method, terminal equipment and computer readable medium | |
EP4191513A1 (en) | Image processing method and apparatus, device and storage medium | |
CN106470270B (en) | Application prompt message processing method and device on mobile terminal | |
CN109347938B (en) | Traffic monitoring method, telephone watch, mobile terminal and server | |
CN107705126B (en) | Transaction instruction processing method and device | |
US20190370252A1 (en) | System and method for tracking events | |
CN112800401B (en) | Privacy processing method, privacy processing device and terminal | |
CN108810056B (en) | Information pushing method and device | |
CN110417979B (en) | Unlocking method, device, terminal and storage medium | |
CN109683798B (en) | Text determination method, terminal and computer readable storage medium | |
CN112182401A (en) | Question pushing method and device | |
CN108512803A (en) | Remind the method and device of change account bound phone number | |
CN108763976B (en) | Information display method based on double screens, mobile terminal and storage medium | |
CN111142752A (en) | Method, system and medium for displaying life style based on picture and vehicle-mounted terminal | |
CN110379051B (en) | Unlocking method, device, terminal and storage medium | |
CN111310138B (en) | Method and device for protecting equipment information security, storage medium and electronic equipment | |
CN111638917A (en) | Application start limiting method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
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 |