Movatterモバイル変換


[0]ホーム

URL:


CN103561379A - Alarm clock setting method and mobile terminal - Google Patents

Alarm clock setting method and mobile terminal
Download PDF

Info

Publication number
CN103561379A
CN103561379ACN201310509016.0ACN201310509016ACN103561379ACN 103561379 ACN103561379 ACN 103561379ACN 201310509016 ACN201310509016 ACN 201310509016ACN 103561379 ACN103561379 ACN 103561379A
Authority
CN
China
Prior art keywords
alarm clock
related information
mobile terminal
setter
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310509016.0A
Other languages
Chinese (zh)
Inventor
熊凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics China R&D Center
Samsung Electronics 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 Samsung Electronics China R&D Center, Samsung Electronics Co LtdfiledCriticalSamsung Electronics China R&D Center
Priority to CN201310509016.0ApriorityCriticalpatent/CN103561379A/en
Publication of CN103561379ApublicationCriticalpatent/CN103561379A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

Translated fromChinese

本发明公开了一种闹钟设置方法,该方法包括:任一移动终端作为闹钟设置者,确定闹钟被设置者的名单,并将闹钟相关信息发送给所述名单中的闹钟被设置者;在接收到闹钟被设置者发送的闹钟设置成功的消息时,确定该闹钟被设置者成功设置闹钟;该移动终端作为闹钟被设置者,接收到闹钟相关信息时,根据该闹钟相关信息进行闹钟设置,完成闹钟设置时,向闹钟设置者发送闹钟设置成功的消息。基于同样的发明构思,本发明还提出一种移动终端,能够通过移动终端之间的通信实现对作为闹钟被设置者的移动终端闹钟的设置。

Figure 201310509016

The invention discloses a method for setting an alarm clock. The method includes: any mobile terminal, as the alarm clock setter, determines the list of alarm clock setters, and sends alarm clock related information to the alarm clock setters in the list; When the alarm clock setting success message is sent by the alarm clock setter, it is determined that the alarm clock setter has successfully set the alarm clock; as the alarm clock setter, when the mobile terminal receives the alarm clock related information, the alarm clock is set according to the alarm clock related information, and the alarm clock is completed. When the alarm clock is set, send a message that the alarm clock is set successfully to the alarm clock setter. Based on the same inventive concept, the present invention also proposes a mobile terminal capable of setting the alarm clock of the mobile terminal as the alarm clock setter through communication between the mobile terminals.

Figure 201310509016

Description

Translated fromChinese
一种闹钟设置方法和移动终端A kind of alarm clock setting method and mobile terminal

技术领域technical field

本发明涉及通信技术领域,特别涉及一种闹钟设置方法和移动终端。The invention relates to the technical field of communication, in particular to an alarm clock setting method and a mobile terminal.

背景技术Background technique

目前,智能终端的应用市场中,闹钟软件均是针对个人定制,设计的目标场景也是针对个人。At present, in the application market of smart terminals, alarm clock software is customized for individuals, and the target scenarios are also designed for individuals.

虽然最近也出现一些具有社交功能的闹钟软件,能够获取与自己闹钟时间一致的用户数据,但也未能实现对其他用户的闹钟进行设置同步。Although some alarm clock software with social functions has appeared recently, which can obtain user data consistent with its own alarm clock time, it has not been able to synchronize the settings of other users' alarm clocks.

另外一些定时提醒的应用,如电子邮件定时发送、定时短信等等,虽然能够在指定时间将提醒信息发送给目标终端,但是需要多次在通讯录中选择目标终端的用户,操作性较差,且只会提醒一次,错过之后不会再提醒。另外,目标终端对于该类提醒只能被动接受,不能主动接受或者主动拒绝。Other regular reminder applications, such as regular sending of e-mails, regular short messages, etc., although the reminder information can be sent to the target terminal at a specified time, the user who needs to select the target terminal in the address book many times has poor operability. And it will only be reminded once, and will not be reminded again if you miss it. In addition, the target terminal can only passively accept such reminders, and cannot actively accept or reject them.

目前应用市场中,都是针对个人需求定制的闹钟应用,未出现为他人设置闹钟的闹钟同步应用。In the current application market, there are all alarm clock applications customized for individual needs, and there is no alarm clock synchronization application that sets alarm clocks for others.

发明内容Contents of the invention

有鉴于此,本发明提供一种闹钟设置方法和移动终端,能够通过移动终端之间的通信实现对作为闹钟被设置者的移动终端闹钟的设置。In view of this, the present invention provides an alarm clock setting method and a mobile terminal, capable of setting the alarm clock of the mobile terminal as the alarm clock setter through communication between the mobile terminals.

为解决上述技术问题,本发明的技术方案是这样实现的:In order to solve the problems of the technologies described above, the technical solution of the present invention is achieved in the following way:

一种闹钟设置方法,应用于包括两个以上移动终端的系统中,所述方法包括:A method for setting an alarm clock, applied to a system comprising more than two mobile terminals, the method comprising:

任一移动终端作为闹钟设置者,确定闹钟被设置者的名单,并将闹钟相关信息发送给所述名单中的闹钟被设置者;在接收到闹钟被设置者发送的闹钟设置成功的消息时,确定该闹钟被设置者成功设置闹钟;Any mobile terminal, as the alarm clock setter, determines the list of the alarm clock setters, and sends the alarm clock related information to the alarm clock setters in the list; when receiving the alarm clock setting success message sent by the alarm clock setter, Make sure that the alarm clock is successfully set by the person who set the alarm clock;

该移动终端作为闹钟被设置者,接收到闹钟相关信息时,根据该闹钟相关信息进行闹钟设置,完成闹钟设置时,向闹钟设置者发送闹钟设置成功的消息。As the alarm clock setter, the mobile terminal sets the alarm clock according to the alarm clock related information when receiving the alarm clock related information, and sends a message that the alarm clock setting is successful to the alarm clock setter when the alarm clock setting is completed.

一种移动终端,该移动终端包括:发送单元、接收确定单元和处理单元;A mobile terminal, comprising: a sending unit, a receiving determination unit, and a processing unit;

所述发送单元,用于本移动终端作为闹钟设置者时,确定闹钟被设置者的名单;并将闹钟相关信息发送给所述确定单元确定的名单中的闹钟被设置者;用于本本移动终端作为闹钟被设置者时,所述处理单元完成闹钟设置时,向闹钟设置者发送闹钟设置成功的消息;The sending unit is used for determining the list of the alarm clock setters when the mobile terminal is the alarm clock setter; and sending the alarm clock related information to the alarm clock setters in the list determined by the determination unit; used for the mobile terminal of the notebook As the person who sets the alarm clock, when the processing unit finishes setting the alarm clock, it sends a message that the alarm clock setting is successful to the alarm clock setter;

所述接收确定单元,用于本移动终端作为闹钟设置者时,在接收到闹钟被设置者发送的闹钟设置成功的消息时,确定该闹钟被设置者成功设置闹钟;用于本移动终端作为闹钟被设置者时,接收闹钟相关信息;The receiving determination unit is used for determining that the alarm clock has been successfully set by the alarm clock setter when the mobile terminal is used as the alarm clock setter when receiving the alarm clock setting success message sent by the alarm clock setter; it is used for the mobile terminal as the alarm clock When set, receive alarm clock related information;

所述处理单元,用于本移动终端作为闹钟设置者时,根据所述接收确定单元接收到的闹钟相关信息进行闹钟设置。The processing unit is used to set the alarm clock according to the alarm clock related information received by the receiving determination unit when the mobile terminal is the alarm clock setter.

综上所述,本发明通过作为闹钟设置者的移动终端将闹钟相关信息,发送给作为闹钟被设置者的移动终端,使闹钟被设置者根据闹钟相关信息进行闹钟的设置,并反馈设置成功的消息给闹钟设置者。能够通过移动终端之间的通信实现对作为闹钟被设置者的移动终端闹钟的设置。In summary, the present invention sends the alarm clock related information to the mobile terminal as the alarm clock setter through the mobile terminal as the alarm clock setter, so that the alarm clock setter can set the alarm clock according to the alarm clock related information, and feedback the successful setting Message to the alarm setter. The setting of the alarm clock of the mobile terminal as the alarm clock setter can be realized through the communication between the mobile terminals.

附图说明Description of drawings

图1为本发明实施例中闹钟设置方法流程示意图;Fig. 1 is a schematic flow chart of an alarm clock setting method in an embodiment of the present invention;

图2为本发明具体实施例中闹钟设置方法流程示意图;Fig. 2 is a schematic flow chart of an alarm clock setting method in a specific embodiment of the present invention;

图3为本发明具体实施例中系统示意图;Fig. 3 is a schematic diagram of the system in a specific embodiment of the present invention;

图4为本发明具体实施例中应用于上述技术的移动终端的结构示意图。Fig. 4 is a schematic structural diagram of a mobile terminal applied to the above technology in a specific embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案及优点更加清楚明白,以下参照附图并举实施例,对本发明所述方案作进一步地详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the solutions of the present invention will be further described in detail below with reference to the accompanying drawings and examples.

本发明实施例中提出一种闹钟设置方法,应用于包括两个以上移动终端的系统中。作为闹钟设置者的移动终端将闹钟相关信息,发送给作为闹钟被设置者的移动终端,使闹钟被设置者根据闹钟相关信息进行闹钟的设置,并反馈设置成功的消息给闹钟设置者。能够通过移动终端之间的通信实现对作为闹钟被设置者的移动终端闹钟的设置。In the embodiment of the present invention, a method for setting an alarm clock is proposed, which is applied to a system including more than two mobile terminals. The mobile terminal as the alarm clock setter sends the alarm clock related information to the mobile terminal as the alarm clock setter, so that the alarm clock setter can set the alarm clock according to the alarm clock related information, and feeds back a successful setting message to the alarm clock setter. The setting of the alarm clock of the mobile terminal as the alarm clock setter can be realized through the communication between the mobile terminals.

本发明具体实施例中的移动终端可以为手机、PAD、平板电脑等能够设置闹钟且具有通信功能的移动终端。The mobile terminal in the specific embodiment of the present invention may be a mobile terminal capable of setting an alarm clock and having a communication function, such as a mobile phone, a PAD, and a tablet computer.

参见图1,图1为本发明实施例中闹钟设置方法流程示意图。具体步骤为:Referring to FIG. 1 , FIG. 1 is a schematic flowchart of a method for setting an alarm clock in an embodiment of the present invention. The specific steps are:

步骤101,系统中的移动终端作为闹钟设置者时,确定闹钟被设置者的名单,并将闹钟相关信息发送给所述名单中的闹钟被设置者;在接收到闹钟被设置者发送的闹钟设置成功的消息时,确定该闹钟被设置者成功设置闹钟。Step 101, when the mobile terminal in the system is the alarm clock setter, determine the list of the alarm clock setters, and send the alarm clock related information to the alarm clock setters in the list; When a successful message is received, it is determined that the alarm clock has been successfully set by the person who set the alarm clock.

在一个系统中,任一移动终端既可以作为某个闹钟的闹钟设置者,也可以作为某个闹钟的闹钟被设置者。In one system, any mobile terminal can be both the alarm clock setter and the alarm clock setter of a certain alarm clock.

作为闹钟设置者的移动终端可以设置发送的闹钟相关信息对应的闹钟,也可以不设置发送的闹钟相关信息对应的闹钟。其中,闹钟相关信息包含设置的时间,提醒内容等信息。The mobile terminal as the alarm clock setter may set the alarm clock corresponding to the sent alarm clock related information, or may not set the alarm clock corresponding to the sent alarm clock related information. Wherein, the information related to the alarm clock includes information such as the set time, reminder content, and the like.

确定的闹钟被设置者的名单,可以是用户输入,也可以在移动终端中配置的移动终端的标识中选择。该名单中可以包括一个或多个闹钟被设置者。The list of determined alarm clock setters can be input by the user, or can be selected from the identifiers of the mobile terminal configured in the mobile terminal. The list may include one or more alarm clock setters.

移动终端在发送闹钟相关信息时,至少可以通过两种方式进行发送,具体实现如下:When the mobile terminal sends alarm-related information, it can send it in at least two ways, and the specific implementation is as follows:

第一种,采用网络通信的方式进行闹钟相关信息的发送。The first one is to send the related information of the alarm clock by means of network communication.

该移动终端作为闹钟设置者时,配置作为闹钟被设置者的移动终端的用户标识。其中,用户标识可以为手机号码、移动终端的APP的用户ID等能够唯一标识该移动终端的用户标识。When the mobile terminal is used as the alarm clock setter, the user identification of the mobile terminal as the alarm clock setter is configured. Wherein, the user identifier may be a mobile phone number, a user ID of an APP of the mobile terminal, etc., which can uniquely identify the mobile terminal.

如跟团旅游时,导游所持的移动终端作为闹钟设置者,团员所持的移动终端作为闹钟被设置者。此时,导游所持的移动终端需配置各团员所持的移动终端的用户标识。For example, when traveling with a group, the mobile terminal held by the tour guide is used as the alarm clock setter, and the mobile terminal held by the group members is used as the alarm clock setter. At this time, the mobile terminal held by the tour guide needs to be configured with the user identification of the mobile terminal held by each group member.

作为闹钟设置者的移动终端,需要将闹钟相关信息发送给作为闹钟被设置者的移动终端时,获取这些闹钟被设置者当前的IP地址。各移动终端的IP地址是动态变化的,因此,需根据配置的移动终端的用户标识在服务器上查找闹钟被设置者当前的IP地址。When the mobile terminal as the alarm clock setter needs to send alarm clock related information to the mobile terminal as the alarm clock setters, the current IP addresses of the alarm clock setters are acquired. The IP address of each mobile terminal changes dynamically, therefore, the current IP address of the person whose alarm clock is set needs to be searched on the server according to the configured user identification of the mobile terminal.

各移动终端预先会在服务器上进行注册,服务器存储并实时更新各移动终端的用户标识对应的IP地址。Each mobile terminal will register with the server in advance, and the server stores and updates the IP address corresponding to the user identification of each mobile terminal in real time.

作为闹钟设置者的移动终端对闹钟相关信息进行加密,并将加密后的闹钟相关信息封装为用户数据包协议(User Datagram Protocol,UDP)报文或传输控制协议(Transmission Control Protocol,TCP)报文,发送给确定的名单中的闹钟被设置者;其中,所述UDP报文或TCP报文的目的IP地址为,根据配置的移动终端的用户标识在服务器上获取的该移动终端当前的IP地址。As the alarm clock setter, the mobile terminal encrypts the alarm clock related information, and encapsulates the encrypted alarm clock related information into a User Datagram Protocol (UDP) message or a Transmission Control Protocol (Transmission Control Protocol, TCP) message , sent to the person whose alarm clock is set in the determined list; wherein, the destination IP address of the UDP message or TCP message is the current IP address of the mobile terminal obtained on the server according to the configured user identification of the mobile terminal .

采用数据通信的方式收发闹钟相关信息时,收发相关报文时的端口选择端口大于49151的端口号。端口号0-65535为有效端口号。When data communication is used to send and receive alarm clock related information, the port selection port when sending and receiving related messages is greater than the port number of 49151. Port numbers 0-65535 are valid port numbers.

第二种,采用短信或微信的方式将闹钟相关信息发送。The second method is to send the related information of the alarm clock by SMS or WeChat.

该移动终端作为闹钟设置者时,配置作为闹钟被设置者的移动终端的用户标识。When the mobile terminal is used as the alarm clock setter, the user identification of the mobile terminal as the alarm clock setter is configured.

如果配置的用户标识为电话号码时,采用短信的方式或微信的方式发送;如果配置的用户标识为微信号码时,采用微信的方式发送。If the configured user ID is a phone number, it will be sent by SMS or WeChat; if the configured user ID is a WeChat number, it will be sent by WeChat.

该移动终端作为闹钟设置者,通过配置的作为闹钟设置者的移动终端的用户标识,将闹钟相关信息以短息或微信的形式发送给确定的名单中的闹钟被设置者。The mobile terminal, as the alarm clock setter, sends the alarm clock related information to the alarm clock setters in the determined list in the form of SMS or WeChat through the configured user identification of the mobile terminal as the alarm clock setter.

步骤102,该移动终端作为闹钟被设置者,接收到闹钟相关信息时,根据该闹钟相关信息进行闹钟设置,设置完成时向闹钟设置者发送闹钟设置成功的消息。Step 102 , the mobile terminal, as the alarm clock setter, sets the alarm clock according to the alarm clock related information when receiving the alarm clock related information, and sends a message that the alarm clock setting is successful to the alarm clock setter when the setting is completed.

由于作为闹钟设置者有两种方式发送闹钟相关信息,那么作为闹钟被设置者接收到的闹钟相关信息的形式也存在两种。接收到不同形式的闹钟相关信息,进行不同的处理,具体处理如下:Since there are two ways for the alarm clock setter to send the alarm clock related information, there are also two forms of the alarm clock related information received by the alarm clock setter. Different forms of alarm clock related information are received and processed differently. The specific processing is as follows:

第一种,如果接收到的是UPD报文或TCP报文时,解封装该UDP报文或TCP报文,并进行相应解密,获得闹钟相关信息,根据该闹钟相关信息进行闹钟设置。The first one is that if a UPD message or a TCP message is received, the UDP message or TCP message is decapsulated, and correspondingly decrypted to obtain alarm clock related information, and the alarm clock is set according to the alarm clock related information.

第二种,如果接收到以短信或微信的形式发送的闹钟相关信息时,读取该短信中的闹钟相关信息,并根据该闹钟相关信息进行闹钟设置。The second method is to read the alarm clock related information in the short message and set the alarm clock according to the alarm clock related information when receiving the alarm clock related information sent in the form of SMS or WeChat.

在具体实现时,移动终端上可以配置授权读取某些用户标识对应的移动终端的短信息或微信。During specific implementation, the mobile terminal may be configured to authorize reading of short messages or WeChat messages of mobile terminals corresponding to certain user identifiers.

本发明具体实现时,实现环境不受区域影响,如作为闹钟设置者的移动终端和作为闹钟被设置者的移动终端不在同一个时区,作为闹钟被设置者的移动终端接收到并获取闹钟相关信息时,需要进行时间换算后,再设置对应的闹钟。When the present invention is actually implemented, the realization environment is not affected by the area. For example, the mobile terminal as the alarm clock setter and the mobile terminal as the alarm clock setter are not in the same time zone, and the mobile terminal as the alarm clock setter receives and acquires alarm clock related information. , you need to convert the time before setting the corresponding alarm clock.

下面结合附图,结合具体实施例详细说明本发明具体实施例中如何实现闹钟设置。参见图2,图2为本发明具体实施例中闹钟设置方法流程示意图。具体步骤为:How to implement the alarm clock setting in specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. Referring to FIG. 2 , FIG. 2 is a schematic flowchart of a method for setting an alarm clock in a specific embodiment of the present invention. The specific steps are:

步骤201,作为闹钟设置者的移动终端,确定闹钟被设置者的名单。Step 201, the mobile terminal as the alarm clock setter determines the list of alarm clock setters.

步骤202,作为闹钟设置者的移动终端,将闹钟相关信息发送给所述名单上的闹钟被设置者。Step 202, the mobile terminal as the alarm clock setter sends the alarm clock related information to the alarm clock setters on the list.

步骤203,作为闹钟被设置者的移动终端,接收到闹钟相关信息。Instep 203, the mobile terminal, which is the person who sets the alarm clock, receives related information about the alarm clock.

步骤204,作为闹钟被设置者的移动终端,若确定发送该闹钟相关信息的闹钟设置者的信息在所述白名单中,执行步骤208。Step 204, if the mobile terminal as the person who sets the alarm clock determines that the information of the alarm clock setter who sent the alarm clock related information is in the white list,step 208 is executed.

步骤205,作为闹钟被设置者的移动终端,若确定发送该闹钟相关信息的闹钟设置者的信息在所述黑名单中,结束本流程。Step 205, if the mobile terminal as the person who sets the alarm clock determines that the information of the alarm clock setter who sent the alarm clock related information is in the blacklist, this process ends.

步骤206,作为闹钟被设置者的移动终端,若发送该闹钟相关信息的闹钟设置者的信息不在黑名单中且不在白名单中时,确定是否允许设置该闹钟相关信息对应的闹钟,如果时,执行步骤207;否则,执行步骤209。Step 206, as the mobile terminal of the alarm clock setter, if the information of the alarm clock setter who sent the alarm clock related information is not in the blacklist and not in the white list, determine whether to allow the alarm clock corresponding to the alarm clock related information to be set, if so, Go to step 207; otherwise, go to step 209.

步骤207,作为闹钟被设置者的移动终端,将发送闹钟相关信息的闹钟设置者的信息加入白名单,执行步骤208。In step 207, the mobile terminal, which is the person who sets the alarm clock, adds the information of the alarm clock setter who sends the alarm clock related information to the white list, and executesstep 208.

在具体实现时,可以给白名单设置时间权限。如跟团旅游,可以设置该白名单的有效权限时间为旅游时间;如会议提醒的白名单,白名单的有效权限时间可以设置为工作日;如果是家庭出行计划等,家庭白名单,可以设置有效权限时间为永久等。During specific implementation, time permissions can be set for the whitelist. If you are traveling with a group, you can set the effective permission time of the white list as the travel time; for the white list of meeting reminders, the valid permission time of the white list can be set to weekdays; if it is a family travel plan, etc., the family white list can be set The effective permission time is permanent and so on.

步骤208,作为闹钟被设置者的移动终端,根据该闹钟相关信息进行闹钟设置,设置完成时向闹钟设置者发送闹钟设置成功的消息。Step 208, the mobile terminal as the person who sets the alarm clock sets the alarm clock according to the relevant information of the alarm clock, and sends a message that the alarm clock setting is successful to the alarm clock setter when the setting is completed.

步骤209,作为闹钟被设置者的移动终端,确定是否将发送闹钟相关信息的闹钟设置者的信息加入黑名单,如果是,执行步骤210;否则,执行步骤211。Step 209 , the mobile terminal as the person who sets the alarm clock determines whether to add the information of the alarm clock setter who sent the alarm clock related information to the blacklist, if yes, executestep 210 ; otherwise, executestep 211 .

步骤210,作为闹钟被设置者的移动终端,将发送闹钟相关信息的闹钟设置者的信息加入黑名单,结束本流程。Step 210, the mobile terminal as the person who sets the alarm clock adds the information of the alarm clock setter who sends the alarm clock related information to the blacklist, and ends this process.

步骤211,作为闹钟被设置者的移动终端,向发送闹钟相关信息的闹钟设置者的移动终端发送拒绝消息。Instep 211, the mobile terminal of the alarm clock setter sends a rejection message to the mobile terminal of the alarm clock setter who sent the alarm clock related information.

步骤212,作为闹钟设置者的移动终端,接收到闹钟设置成功的消息时,确定该闹钟被设置者成功设置闹钟,结束本流程。Step 212, when the mobile terminal as the alarm clock setter receives the message that the alarm clock is set successfully, it determines that the alarm clock setter has successfully set the alarm clock, and ends this process.

步骤213,作为闹钟设置者的移动终端,接收到拒绝的消息,或预设时间内未接收到消息时,确定该闹钟被设置者未设置闹钟相关信息对应的闹钟。Step 213, when the mobile terminal as the alarm clock setter receives a message of rejection, or does not receive a message within a preset time, determine that the alarm clock setter has not set an alarm clock corresponding to the alarm clock related information.

参见图3,图3为本发明具体实施例中系统示意图。图3中包括5个移动终端,其中移动终端1作为移动终端2和移动终端3的闹钟设置者,移动终端2作为移动终端4和移动终端5的闹钟设置者,移动终端2和移动终端3相对于移动终端1作为闹钟被设置者,移动终端4和移动终端5相对于移动终端2作为闹钟被设置者。Referring to Fig. 3, Fig. 3 is a schematic diagram of a system in a specific embodiment of the present invention. 3 includes five mobile terminals, wherein mobile terminal 1 is the alarm clock setter of mobile terminal 2 and mobile terminal 3, mobile terminal 2 is the alarm clock setter of mobile terminal 4 and mobile terminal 5, and mobile terminal 2 and mobile terminal 3 are opposite The mobile terminal 1 serves as the alarm clock setter, and the mobile terminal 4 and the mobile terminal 5 serve as the alarm clock setters with respect to the mobile terminal 2 .

移动终端1需要使移动终端2和移动终端3设置一个闹钟时,将闹钟相关信息分别发送给移动终端2和移动终端3。When mobile terminal 1 needs to set an alarm clock for mobile terminal 2 and mobile terminal 3, it sends alarm clock related information to mobile terminal 2 and mobile terminal 3 respectively.

移动终端2接收到移动终端1发送的闹钟相关信息时,若确定本地的白名单中存在移动终端1的信息时,根据该闹钟相关信息进行闹钟设置,并向移动终端1发送闹钟设置成功的消息。When the mobile terminal 2 receives the alarm clock-related information sent by the mobile terminal 1, if it is determined that the information of the mobile terminal 1 exists in the local white list, the alarm clock is set according to the alarm clock related information, and sends a message that the alarm clock is set successfully to the mobile terminal 1 .

若移动终端2确定本地的黑名单中存在移动终端1的信息时,向发送闹钟相关信息的闹钟设置者发送拒绝消息。If the mobile terminal 2 determines that there is information about the mobile terminal 1 in the local blacklist, it sends a rejection message to the alarm clock setter who sent the alarm clock related information.

若移动终端2确定本地黑名单和白名单中均不存在移动终端1的信息时,确定是否允许设置该闹钟相关信息对应的闹钟,如果是,将发送闹钟相关信息的闹钟设置者的信息加入白名单,根据该闹钟相关信息进行闹钟设置,并向移动终端1发送闹钟设置成功的消息;否则,将发送闹钟相关信息的闹钟设置者的信息加入黑名单,并向发送闹钟相关信息的闹钟设置者发送拒绝消息。If mobile terminal 2 determines that there is no information of mobile terminal 1 in the local blacklist and whitelist, determine whether to allow the alarm clock corresponding to the alarm clock related information to be set, if yes, add the information of the alarm clock setter who sends the alarm clock related information to the white list list, set the alarm clock according to the relevant information of the alarm clock, and send a message that the alarm clock setting is successful to the mobile terminal 1; Send a rejection message.

本发明具体实施例中闹钟设置具有可传递性,被同步闹钟相关信息的移动终端在设置闹钟成功时,可以向其他移动终端同步该闹钟相关信息。具体实现过程如下:In the specific embodiment of the present invention, the setting of the alarm clock is transmissible, and the mobile terminal whose alarm clock-related information is synchronized can synchronize the alarm clock-related information to other mobile terminals when the alarm clock is successfully set. The specific implementation process is as follows:

移动终端1接收到移动终端2发送的闹钟设置成功的消息,确定移动终端2成功设置闹钟。接收到移动终端2发送的拒绝消息时,确定移动终端2未设置对应的闹钟。The mobile terminal 1 receives the message that the alarm clock is set successfully sent by the mobile terminal 2, and determines that the mobile terminal 2 successfully sets the alarm clock. When the rejection message sent by the mobile terminal 2 is received, it is determined that the mobile terminal 2 has not set a corresponding alarm clock.

移动终端3接收到闹钟相关信息时,处理过程和移动终端2相似,这里不再详细描述。When the mobile terminal 3 receives the alarm clock-related information, the processing procedure is similar to that of the mobile terminal 2, and will not be described in detail here.

假设该系统中还包括移动终端4和移动终端5,移动终端2上如果配置了根据移动终端1发送的闹钟相关信息设置闹钟时,需将该闹钟相关信息发送给移动终端4和移动终端5,即该移动终端2针对该闹钟相关信息对应的闹钟,存在闹钟被设置者。Assuming that the system also includes a mobile terminal 4 and a mobile terminal 5, if the mobile terminal 2 is configured to set an alarm clock according to the alarm clock related information sent by the mobile terminal 1, the alarm clock related information needs to be sent to the mobile terminal 4 and the mobile terminal 5, That is, the mobile terminal 2 has an alarm clock setter for the alarm clock corresponding to the alarm clock related information.

移动终端2将移动终端1发送的闹钟相关信息,分别发送给移动终端4和移动终端5。移动终端4和移动终端5接收到闹钟相关信息后,处理过程同移动终端2类似,只是交互对象是同移动终端2,而不是移动终端1。The mobile terminal 2 sends the alarm clock-related information sent by the mobile terminal 1 to the mobile terminal 4 and the mobile terminal 5 respectively. After the mobile terminal 4 and the mobile terminal 5 receive the relevant information of the alarm clock, the processing process is similar to that of the mobile terminal 2, except that the interactive object is the same as the mobile terminal 2 instead of the mobile terminal 1.

这种实现可应用的场景为分层、分组管理。如一个大的导游团,一个团长,5个组长。团长所持的移动终端为上述实例中的移动终端1,5个组长中的一个组长所持的移动终端为移动终端2;该组长的所管理的组员所持的移动终端为移动终端4和移动终端5。The applicable scenarios for this implementation are hierarchical and group management. Such as a large tour guide group, one group leader, five group leaders. The mobile terminal held by the group leader is mobile terminal 1 in the above example, and the mobile terminal held by one of the five group leaders is mobile terminal 2; the mobile terminal held by the team members managed by the group leader is mobile terminal 4 and mobile terminal 5.

本发明具体实施例中,闹钟设置过程还具有延迟性。具体实现如下:In a specific embodiment of the present invention, the alarm clock setting process also has a delay. The specific implementation is as follows:

移动终端1在向移动终端2和移动终端3发送闹钟相关信息时,还可携带上延时设置闹钟相关信息对应的闹钟的延时时间。When the mobile terminal 1 sends the alarm clock related information to the mobile terminal 2 and the mobile terminal 3, it may also carry the delay time of the alarm clock corresponding to the alarm clock related information.

移动终端2和移动终端3接收到闹钟相关信息时,在延时时间到时再根据闹钟相关信息进行闹钟设置。When the mobile terminal 2 and the mobile terminal 3 receive the relevant information of the alarm clock, they will set the alarm clock according to the relevant information of the alarm clock when the delay time expires.

在具体实现时,闹钟设置者还可以发送信息修改已设置的闹钟,或删除已设置的闹钟。以修改已设置的闹钟为例:In actual implementation, the alarm clock setter can also send a message to modify the set alarm clock, or delete the set alarm clock. Take modifying the alarm clock that has been set as an example:

移动终端1若需要修改已设置在移动终端2和移动终端3上的闹钟时,向移动终端2和移动终端3发送修改对应闹钟的闹钟相关信息。If the mobile terminal 1 needs to modify the alarm clocks that have been set on the mobile terminal 2 and the mobile terminal 3, it will send the alarm clock related information for modifying the corresponding alarm clocks to the mobile terminal 2 and the mobile terminal 3.

移动终端2接收到修改闹钟的闹钟相关信息时,使用该修改闹钟的闹钟相关信息,修改本地已设置的相关闹钟;并向移动终端4和移动终端5发送修改闹钟的闹钟相关信息。When the mobile terminal 2 receives the alarm clock related information for modifying the alarm clock, it uses the alarm clock related information for modifying the alarm clock to modify the related alarm clock that has been set locally; and sends the alarm clock related information for modifying the alarm clock to the mobile terminal 4 and mobile terminal 5.

移动终端3、移动终端4和移动终端5的处理过程同移动终端2的处理过程类似,不再详细描述。The processing procedures of the mobile terminal 3 , the mobile terminal 4 and the mobile terminal 5 are similar to the processing procedures of the mobile terminal 2 and will not be described in detail.

基于同样的发明构思,本申请还提出一种移动终端。参见图4,图4为本发明具体实施例中应用于上述技术的移动终端的结构示意图。该移动终端包括:发送单元401、接收确定单元402和处理单元403。Based on the same inventive concept, this application also proposes a mobile terminal. Referring to FIG. 4 , FIG. 4 is a schematic structural diagram of a mobile terminal applied to the above technology in a specific embodiment of the present invention. The mobile terminal includes: a sendingunit 401 , areceiving determining unit 402 and aprocessing unit 403 .

发送单元401,用于本移动终端作为闹钟设置者时,确定闹钟被设置者的名单;并将闹钟相关信息发送给所述确定单元确定的名单中的闹钟被设置者;用于本本移动终端作为闹钟被设置者时,处理单元403完成闹钟设置时,向闹钟设置者发送闹钟设置成功的消息。The sendingunit 401 is used for determining the list of alarm clock setters when the mobile terminal is the alarm clock setter; and sending the alarm clock related information to the alarm clock setters in the list determined by the determination unit; used for this mobile terminal as the alarm clock setter. When the alarm clock is set, theprocessing unit 403 sends a message that the alarm clock is set successfully to the alarm clock setter when the alarm clock setting is completed.

接收确定单元402,用于本移动终端作为闹钟设置者时,在接收到闹钟被设置者发送的闹钟设置成功的消息时,确定该闹钟被设置者成功设置闹钟;用于本移动终端作为闹钟被设置者时,接收闹钟相关信息。The receivingdetermination unit 402 is used to determine that the alarm clock has been successfully set by the alarm clock setter when the mobile terminal is used as the alarm clock setter and receives the alarm clock setting success message sent by the alarm clock setter; Receive alarm related information when setter.

处理单元403,用于本移动终端作为闹钟设置者时,根据接收确定单元402接收到的闹钟相关信息进行闹钟设置。Theprocessing unit 403 is configured to set the alarm clock according to the alarm clock related information received by thereception determination unit 402 when the mobile terminal is the alarm clock setter.

较佳地,Preferably,

接收确定单元402,进一步用于本移动终端作为闹钟被设置者时,在接收到闹钟相关信息之后,确定是否允许设置该闹钟相关信息对应的闹钟;确定是否将发送闹钟相关信息的闹钟设置者的信息加入黑名单;用于本移动终端作为闹钟设置者时,接收到闹钟被设置者发送的拒绝消息,或预设时间内未接收到闹钟成功设置的消息时,确定该闹钟被设置者未设置该闹钟相关信息对应的闹钟。The receivingdetermination unit 402 is further used for when the mobile terminal is used as the alarm clock setter, after receiving the alarm clock related information, to determine whether to allow setting the alarm clock corresponding to the alarm clock related information; to determine whether to send the alarm clock related information. The information is added to the blacklist; when the mobile terminal is the alarm clock setter, when it receives the rejection message sent by the alarm clock setter, or does not receive the message that the alarm clock is successfully set within the preset time, it is determined that the alarm clock is not set by the alarm clock setter The alarm clock corresponding to the alarm clock related information.

处理单元403,进一步用于若接收确定单元402确定是允许设置该闹钟相关信息对应的闹钟时,将发送闹钟相关信息的闹钟设置者的信息加入白名单,并执行所述根据该闹钟相关信息进行闹钟设置的操作;若所述确定单元确定将发送闹钟相关信息的闹钟设置者的信息加入黑名单时,将发送闹钟相关信息的闹钟设置者的信息加入黑名单。Theprocessing unit 403 is further configured to add the information of the alarm clock setter who sends the alarm clock related information to the white list if thereceiving determining unit 402 determines that the alarm clock corresponding to the alarm clock related information is allowed to be set, and execute the above-mentioned alarm clock related information. The operation of setting the alarm clock: if the determining unit determines that the information of the alarm clock setter who sends the alarm clock related information is added to the blacklist, the information of the alarm clock setter who sends the alarm clock related information is added to the blacklist.

发送单元401,进一步用于本移动终端作为闹钟被设置者,且接收确定单元402确定不将发送闹钟相关信息的闹钟设置者的信息加入黑名单时,向发送闹钟相关信息的闹钟设置者发送拒绝消息。The sendingunit 401 is further used for the mobile terminal as the person who sets the alarm clock, and when the receivingdetermination unit 402 determines not to add the information of the alarm clock setter who sends the alarm clock related information to the blacklist, send a rejection message to the alarm clock setter who sent the alarm clock related information. information.

较佳地,Preferably,

接收确定单元402,进一步用于本移动终端作为闹钟被设置者时,在确定是否允许设置该闹钟相关信息对应的闹钟之前,确定发送该闹钟相关信息的闹钟设置者的信息是否在所述白名单中,是否在所述黑名单中。The receivingdetermination unit 402 is further used for determining whether the information of the alarm clock setter who sent the alarm clock related information is in the white list before determining whether the alarm clock corresponding to the alarm clock related information is allowed to be set when the mobile terminal is used as the alarm clock setter , whether it is in the blacklist.

处理单元403,进一步用于当接收确定单元402确定发送该闹钟相关信息的闹钟设置者的信息在所述白名单中时,执行根据该闹钟相关信息进行闹钟设置的操作;若接收确定单元402确定发送该闹钟相关信息的闹钟设置者的信息在所述黑名单中,结束操作;若确定发送该闹钟相关信息的闹钟设置者的信息不在所述白名单中,且不在所述黑名单中,执行所述确定是否允许设置该闹钟相关信息对应的闹钟,及后续操作。Theprocessing unit 403 is further configured to perform an operation of setting the alarm clock according to the alarm clock related information when thereceiving determining unit 402 determines that the information of the alarm clock setter who sent the alarm clock related information is in the white list; if thereceiving determining unit 402 determines that The information of the alarm clock setter who sent the alarm clock related information is in the blacklist, end the operation; if it is determined that the information of the alarm clock setter who sent the alarm clock related information is not in the white list, and is not in the blacklist, execute The determining whether the alarm clock corresponding to the alarm clock related information is allowed to be set, and subsequent operations.

较佳地,该移动终端进一步包括:配置单元404。Preferably, the mobile terminal further includes: aconfiguration unit 404 .

配置单元404,用于本移动终端作为闹钟设置者时,配置作为闹钟被设置者的移动终端的用户标识。Theconfiguration unit 404 is configured to configure the user identifier of the mobile terminal as the alarm clock setter when the mobile terminal is the alarm clock setter.

发送单元401,具体用于对闹钟相关信息进行加密,并将加密后的闹钟相关信息封装为UDP报文或TCP报文,发送给作为闹钟被设置者的移动终端;其中,所述UDP报文或TCP报文的目的IP地址为,根据配置单元404配置的移动终端的用户标识在服务器上获取的该移动终端的IP地址。The sendingunit 401 is specifically used to encrypt the alarm clock-related information, and encapsulate the encrypted alarm clock-related information into a UDP message or a TCP message, and send it to the mobile terminal as the person who sets the alarm clock; wherein, the UDP message Or the destination IP address of the TCP message is the IP address of the mobile terminal acquired on the server according to the user identifier of the mobile terminal configured by theconfiguration unit 404 .

接收确定单元402,具体用于接收到UDP报文或TCP报文时,解封装该UDP报文或TCP报文,并进行相应的解密,获得闹钟相关信息,根据该闹钟相关信息进行闹钟设置。The receivingdetermination unit 402 is specifically used for decapsulating the UDP message or the TCP message when receiving the UDP message or the TCP message, and performing corresponding decryption to obtain related information of the alarm clock, and setting the alarm clock according to the related information of the alarm clock.

较佳地,该移动终端进一步包括:配置单元404。Preferably, the mobile terminal further includes: aconfiguration unit 404 .

配置单元404,用于本移动终端作为闹钟设置者时,配置作为闹钟被设置者的移动终端的用户标识。Theconfiguration unit 404 is configured to configure the user identifier of the mobile terminal as the alarm clock setter when the mobile terminal is the alarm clock setter.

发送单元401,具体用于通过配置单元404配置的作为闹钟设置者的移动终端的用户标识,将闹钟相关信息以短息或微信的形式发送给所述名单中的闹钟被设置者对应的移动终端。The sendingunit 401 is specifically configured to send the alarm clock related information to the mobile terminal corresponding to the alarm clock setter in the list in the form of a short message or WeChat through the user identification of the mobile terminal configured by theconfiguration unit 404 as the alarm clock setter .

接收确定单元402,具体用于接收以短息或微信的形式发送的闹钟相关信息时,读取该短信中的闹钟相关信息,并根据该闹钟相关信息进行闹钟设置。Thereceiving determining unit 402 is specifically configured to read the alarm clock related information in the short message and set the alarm clock according to the alarm clock related information when receiving the alarm clock related information sent in the form of SMS or WeChat.

较佳地,Preferably,

接收确定单元402,进一步用于本移动终端作为闹钟被设置者,在处理单元403根据该闹钟相关信息进行闹钟设置时,确定本移动终端针对该闹钟相关信息对应的闹钟,是否存在闹钟被设置者。Thereception determining unit 402 is further used for the mobile terminal as the person who sets the alarm clock. When theprocessing unit 403 performs alarm clock setting according to the alarm clock related information, it is determined whether the mobile terminal has an alarm clock corresponding to the alarm clock related information. Whether there is an alarm clock set person .

发送单元401,进一步用于本移动终端作为闹钟被设置者,且在所述接收单元确定本移动终端针对该闹钟相关信息对应的闹钟,存在闹钟被设置者时,将该闹钟相关信息送给本移动终端对应的闹钟被设置者进行闹钟设置。The sendingunit 401 is further used for the mobile terminal as the alarm clock setter, and when the receiving unit determines that the alarm clock corresponding to the alarm clock related information of the mobile terminal exists, the alarm clock related information is sent to the mobile terminal. The alarm clock corresponding to the mobile terminal is set by the setter.

较佳地,Preferably,

发送单元401,进一步用于本移动终端作为闹钟设置者,在向作为闹钟被设置者发送闹钟相关信息时,携带延时设置该闹钟相关信息对应的闹钟的延时时间。The sendingunit 401 is further used for the mobile terminal, as the alarm clock setter, to carry the delay time of setting the alarm clock corresponding to the alarm clock related information when sending the alarm clock related information to the alarm clock setter.

处理单元403,进一步用于本移动终端作为闹钟被设置者,在确定根据接收到闹钟相关信息设置闹钟时,在接收的闹钟相关信息中携带的延时时间到时再根据闹钟相关信息进行闹钟设置。Theprocessing unit 403 is further used for the mobile terminal as the person who sets the alarm clock. When it is determined to set the alarm clock according to the received alarm clock related information, when the delay time carried in the received alarm clock related information expires, the alarm clock is set according to the alarm clock related information. .

上述实施例的单元可以集成于一体,也可以分离部署;可以合并为一个单元,也可以进一步拆分成多个子单元。The units in the above embodiments can be integrated or deployed separately; they can be combined into one unit, or can be further split into multiple sub-units.

综上所述,本发明通过作为闹钟设置者的移动终端将闹钟相关信息,发送给作为闹钟被设置者的移动终端,使闹钟被设置者根据闹钟相关信息进行闹钟的设置,并反馈设置成功的消息给闹钟设置者。能够通过移动终端之间的通信实现对作为闹钟被设置者的移动终端闹钟的设置。In summary, the present invention sends the alarm clock related information to the mobile terminal as the alarm clock setter through the mobile terminal as the alarm clock setter, so that the alarm clock setter can set the alarm clock according to the alarm clock related information, and feedback the successful setting Message to the alarm setter. The setting of the alarm clock of the mobile terminal as the alarm clock setter can be realized through the communication between the mobile terminals.

本发明具体实施例中利用网络通信,使移动终端之间实现了闹钟的同步,为移动终端的使用者提供了功能完善的闹钟解决方案,满足了使用者在出行、工作、生活中遇到的各类闹钟需求,为使用者提供了便利,同时也提升了移动终端的使用价值。In the specific embodiment of the present invention, network communication is used to realize the synchronization of alarm clocks between mobile terminals, providing a fully functional alarm clock solution for mobile terminal users, and meeting the needs of users in travel, work and life. The demand for various alarm clocks provides convenience for users, and also improves the use value of mobile terminals.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (14)

Translated fromChinese
1.一种闹钟设置方法,应用于包括两个以上移动终端的系统中,其特征在于,所述方法包括:1. A method for setting an alarm clock, applied to a system comprising more than two mobile terminals, characterized in that the method comprises:任一移动终端作为闹钟设置者,确定闹钟被设置者的名单,并将闹钟相关信息发送给所述名单中的闹钟被设置者;在接收到闹钟被设置者发送的闹钟设置成功的消息时,确定该闹钟被设置者成功设置闹钟;Any mobile terminal, as the alarm clock setter, determines the list of the alarm clock setters, and sends the alarm clock related information to the alarm clock setters in the list; when receiving the alarm clock setting success message sent by the alarm clock setter, Make sure that the alarm clock is successfully set by the person who set the alarm clock;该移动终端作为闹钟被设置者,接收到闹钟相关信息时,根据该闹钟相关信息进行闹钟设置,完成闹钟设置时,向闹钟设置者发送闹钟设置成功的消息。As the alarm clock setter, the mobile terminal sets the alarm clock according to the alarm clock related information when receiving the alarm clock related information, and sends a message that the alarm clock setting is successful to the alarm clock setter when the alarm clock setting is completed.2.根据权利要求1所述的方法,其特征在于,所述接收到闹钟相关信息之后,所述根据该闹钟相关信息进行闹钟设置,之前,所述方法进一步包括:2. The method according to claim 1, characterized in that, after receiving the alarm clock related information, the alarm clock is set according to the alarm clock related information, and before that, the method further comprises:确定是否允许设置该闹钟相关信息对应的闹钟,如果是,将发送闹钟相关信息的闹钟设置者的信息加入白名单,并执行所述根据该闹钟相关信息进行闹钟设置;否则,确定是否将发送闹钟相关信息的闹钟设置者的信息加入黑名单;如果是,将发送闹钟相关信息的闹钟设置者的信息加入黑名单;否则,向发送闹钟相关信息的闹钟设置者发送拒绝消息;Determine whether the alarm clock corresponding to the alarm clock related information is allowed to be set, if so, add the information of the alarm clock setter who sends the alarm clock related information to the white list, and perform the alarm clock setting according to the alarm clock related information; otherwise, determine whether to send the alarm clock Add the information of the alarm clock setter of relevant information to the blacklist; if yes, add the information of the alarm clock setter who sent the alarm clock related information to the blacklist; otherwise, send a rejection message to the alarm clock setter who sent the alarm clock related information;该移动终端作为闹钟设置者时,接收到闹钟被设置者发送的拒绝消息,或预设时间内未接收到闹钟成功设置的消息时,确定该闹钟被设置者未设置该闹钟相关信息对应的闹钟。When the mobile terminal, as the alarm clock setter, receives a rejection message sent by the alarm clock setter, or does not receive a message that the alarm clock is successfully set within a preset time, it is determined that the alarm clock setter has not set the alarm clock corresponding to the alarm clock related information .3.根据权利要求2所述的方法,其特征在于,所述接收到闹钟相关信息之后,所述确定是否允许设置该闹钟相关信息对应的闹钟,之前,所述方法进一步包括:3. The method according to claim 2, wherein after said receiving the alarm clock related information, said determining whether the alarm clock corresponding to the alarm clock related information is allowed to be set, before, said method further comprises:若确定发送该闹钟相关信息的闹钟设置者的信息在所述白名单中,执行所述根据该闹钟相关信息进行闹钟设置,及后续步骤;If it is determined that the information of the alarm clock setter who sent the alarm clock related information is in the white list, perform the alarm clock setting according to the alarm clock related information, and subsequent steps;若确定发送该闹钟相关信息的闹钟设置者的信息在所述黑名单中,结束本流程;If it is determined that the information of the alarm clock setter who sent the alarm clock related information is in the blacklist, end this process;若确定发送该闹钟相关信息的闹钟设置者的信息不在所述白名单中,且不在所述黑名单中,执行所述确定是否允许设置该闹钟相关信息对应的闹钟,及后续步骤。If it is determined that the information of the alarm clock setter who sent the alarm clock related information is not in the white list and not in the black list, perform the determining whether to allow setting of the alarm clock corresponding to the alarm clock related information, and subsequent steps.4.根据权利要求1-3任意一项所述的方法,其特征在于,所述方法进一步包括:该移动终端作为闹钟设置者时,配置作为闹钟被设置者的移动终端的用户标识;4. The method according to any one of claims 1-3, characterized in that the method further comprises: when the mobile terminal is used as the alarm clock setter, configuring the user identification of the mobile terminal as the alarm clock setter;所述将闹钟相关信息发送给所述名单中的闹钟被设置者对应的移动终端,包括:对闹钟相关信息进行加密,并将加密后的闹钟相关信息封装为用户数据包协议UDP报文或传输控制协议TCP报文,发送给作为闹钟被设置者的移动终端;其中,所述UDP报文或TCP报文的目的因特网协议IP地址为,根据配置的移动终端的用户标识在服务器上获取的该移动终端的IP地址;The sending the alarm clock related information to the mobile terminal corresponding to the alarm clock setter in the list includes: encrypting the alarm clock related information, and encapsulating the encrypted alarm clock related information into a User Data Packet Protocol UDP message or transmission The control protocol TCP message is sent to the mobile terminal as the set person of the alarm clock; wherein, the destination Internet Protocol IP address of the UDP message or TCP message is the IP address obtained on the server according to the user identification of the mobile terminal configured. IP address of the mobile terminal;所述接收到闹钟相关信息时,根据该闹钟相关信息进行闹钟设置,包括:When the alarm clock related information is received, the alarm clock setting is performed according to the alarm clock related information, including:接收到UDP报文或TCP报文时,解封装该UDP报文或TCP报文,并进行相应的解密,获得闹钟相关信息,根据该闹钟相关信息进行闹钟设置。When a UDP message or a TCP message is received, the UDP message or TCP message is decapsulated, and corresponding decryption is performed to obtain alarm clock related information, and the alarm clock is set according to the alarm clock related information.5.根据权利要求1-3任意一项所述的方法,其特征在于,所述方法进一步包括:该移动终端作为闹钟设置者时,配置作为闹钟被设置者的移动终端的用户标识;5. The method according to any one of claims 1-3, characterized in that the method further comprises: when the mobile terminal is used as the alarm clock setter, configuring the user identification of the mobile terminal as the alarm clock setter;所述将闹钟相关信息发送给所述名单中的闹钟被设置者对应的移动终端,包括:通过配置的作为闹钟设置者的移动终端的用户标识,将闹钟相关信息以短息或微信的形式发送给所述名单中的闹钟被设置者对应的移动终端;The sending of the alarm clock related information to the mobile terminal corresponding to the alarm clock setter in the list includes: sending the alarm clock related information in the form of short message or WeChat through the configured user identification of the mobile terminal as the alarm clock setter Give the mobile terminal corresponding to the person whose alarm clock is set in the list;所述接收到闹钟相关信息时,根据该闹钟相关信息进行闹钟设置,包括:When the alarm clock related information is received, the alarm clock setting is performed according to the alarm clock related information, including:接收以短息或微信的形式发送的闹钟相关信息时,读取该短信中的闹钟相关信息,并根据该闹钟相关信息进行闹钟设置。When receiving alarm clock-related information sent in the form of a short message or WeChat, read the alarm clock-related information in the short message, and set the alarm clock according to the alarm clock-related information.6.根据权利要求1-3任意一项所述的方法,其特征在于,所述该移动终端作为闹钟被设置者,接收到闹钟相关信息时,根据该闹钟相关信息进行闹钟设置时,所述方法进一步包括:6. The method according to any one of claims 1-3, characterized in that, when the mobile terminal, as the alarm clock setter, receives the alarm clock related information, when setting the alarm clock according to the alarm clock related information, the The method further includes:若确定本移动终端针对该闹钟相关信息对应的闹钟,存在闹钟被设置者,将该闹钟相关信息送给本移动终端对应的闹钟被设置者进行闹钟设置。If the mobile terminal determines that there is an alarm clock setter corresponding to the alarm clock related information, the mobile terminal sends the alarm clock related information to the alarm clock setter corresponding to the mobile terminal to set the alarm clock.7.根据权利要求1-3任意一项所述的方法,其特征在于,所述方法进一步包括:7. The method according to any one of claims 1-3, wherein the method further comprises:该移动终端作为闹钟设置者,在向作为闹钟被设置者发送闹钟相关信息时,携带延时设置该闹钟相关信息对应的闹钟的延时时间;As the alarm clock setter, when the mobile terminal sends the alarm clock related information to the alarm clock setter, it carries the delay time of the alarm clock corresponding to the alarm clock related information;该移动终端作为闹钟被设置者,在确定根据接收到闹钟相关信息设置闹钟时,在接收的闹钟相关信息中携带的延时时间到时再根据闹钟相关信息进行闹钟设置。The mobile terminal, as the person who sets the alarm clock, determines to set the alarm clock according to the received alarm clock related information, and then sets the alarm clock according to the alarm clock related information when the delay time carried in the received alarm clock related information expires.8.一种移动终端,其特征在于,该移动终端包括:发送单元、接收确定单元和处理单元;8. A mobile terminal, characterized in that the mobile terminal comprises: a sending unit, a receiving determination unit and a processing unit;所述发送单元,用于本移动终端作为闹钟设置者时,确定闹钟被设置者的名单;并将闹钟相关信息发送给所述确定单元确定的名单中的闹钟被设置者;用于本本移动终端作为闹钟被设置者时,所述处理单元完成闹钟设置时,向闹钟设置者发送闹钟设置成功的消息;The sending unit is used for determining the list of the alarm clock setters when the mobile terminal is the alarm clock setter; and sending the alarm clock related information to the alarm clock setters in the list determined by the determination unit; used for the mobile terminal of the notebook As the person who sets the alarm clock, when the processing unit finishes setting the alarm clock, it sends a message that the alarm clock setting is successful to the alarm clock setter;所述接收确定单元,用于本移动终端作为闹钟设置者时,在接收到闹钟被设置者发送的闹钟设置成功的消息时,确定该闹钟被设置者成功设置闹钟;用于本移动终端作为闹钟被设置者时,接收闹钟相关信息;The receiving determination unit is used for determining that the alarm clock has been successfully set by the alarm clock setter when the mobile terminal is used as the alarm clock setter when receiving the alarm clock setting success message sent by the alarm clock setter; it is used for the mobile terminal as the alarm clock When set, receive alarm clock related information;所述处理单元,用于本移动终端作为闹钟设置者时,根据所述接收确定单元接收到的闹钟相关信息进行闹钟设置。The processing unit is used to set the alarm clock according to the alarm clock related information received by the receiving determination unit when the mobile terminal is the alarm clock setter.9.根据权利要求8所述的移动终端,其特征在于,9. The mobile terminal according to claim 8, characterized in that,所述接收确定单元,进一步用于本移动终端作为闹钟被设置者时,在接收到闹钟相关信息之后,确定是否允许设置该闹钟相关信息对应的闹钟;确定是否将发送闹钟相关信息的闹钟设置者的信息加入黑名单;用于本移动终端作为闹钟设置者时,接收到闹钟被设置者发送的拒绝消息,或预设时间内未接收到闹钟成功设置的消息时,确定该闹钟被设置者未设置该闹钟相关信息对应的闹钟;The receiving determination unit is further used for when the mobile terminal is used as the setter of the alarm clock, after receiving the alarm clock related information, to determine whether the alarm clock corresponding to the alarm clock related information is allowed to be set; to determine whether the alarm clock setter who sends the alarm clock related information When the mobile terminal is the alarm clock setter, when it receives a rejection message from the alarm clock setter, or does not receive a message that the alarm clock has been successfully set within the preset time, it is determined that the alarm clock is set by the alarm clock. Set the alarm clock corresponding to the alarm clock related information;所述处理单元,进一步用于若所述接收确定单元确定是允许设置该闹钟相关信息对应的闹钟时,将发送闹钟相关信息的闹钟设置者的信息加入白名单,并执行所述根据该闹钟相关信息进行闹钟设置的操作;若所述确定单元确定将发送闹钟相关信息的闹钟设置者的信息加入黑名单时,将发送闹钟相关信息的闹钟设置者的信息加入黑名单;The processing unit is further configured to add the information of the alarm clock setter who sends the alarm clock related information to the white list if the receiving determination unit determines that the alarm clock corresponding to the alarm clock related information is allowed to be set, and execute the alarm clock related information based on the alarm clock related information. information to perform alarm clock setting operations; if the determining unit determines that the information of the alarm clock setter who sends the alarm clock related information is added to the blacklist, the information of the alarm clock setter who sends the alarm clock related information is added to the blacklist;所述发送单元,进一步用于本移动终端作为闹钟被设置者,且所述接收确定单元确定不将发送闹钟相关信息的闹钟设置者的信息加入黑名单时,向发送闹钟相关信息的闹钟设置者发送拒绝消息。The sending unit is further used for the mobile terminal as the person who sets the alarm clock, and when the receiving determination unit determines not to add the information of the alarm clock setter who sends the alarm clock related information to the blacklist, send the alarm clock related information to the alarm clock setter who sends the alarm clock related information Send a rejection message.10.根据权利要求9所述的移动终端,其特征在于,10. The mobile terminal according to claim 9, characterized in that,所述接收确定单元,进一步用于本移动终端作为闹钟被设置者时,在确定是否允许设置该闹钟相关信息对应的闹钟之前,确定发送该闹钟相关信息的闹钟设置者的信息是否在所述白名单中,是否在所述黑名单中;The receiving determination unit is further used to determine whether the information of the alarm clock setter who sent the alarm clock related information is in the white In the list, whether it is in the blacklist;所述处理单元,进一步用于当所述接收确定单元确定发送该闹钟相关信息的闹钟设置者的信息在所述白名单中时,执行根据该闹钟相关信息进行闹钟设置的操作;若所述接收确定单元确定发送该闹钟相关信息的闹钟设置者的信息在所述黑名单中,结束操作;若确定发送该闹钟相关信息的闹钟设置者的信息不在所述白名单中,且不在所述黑名单中,执行所述确定是否允许设置该闹钟相关信息对应的闹钟,及后续操作。The processing unit is further configured to perform an operation of setting the alarm clock according to the alarm clock related information when the receiving determining unit determines that the information of the alarm clock setter who sent the alarm clock related information is in the white list; if the receiving The determining unit determines that the information of the alarm clock setter who sent the alarm clock related information is in the blacklist, and ends the operation; if it is determined that the information of the alarm clock setter who sent the alarm clock related information is not in the white list and is not in the blacklist , performing the determination of whether the alarm clock corresponding to the alarm clock related information is allowed to be set, and subsequent operations.11.根据权利要求8-10任意一项所述的移动终端,其特征在于,该移动终端进一步包括:配置单元;11. The mobile terminal according to any one of claims 8-10, characterized in that the mobile terminal further comprises: a configuration unit;所述配置单元,用于本移动终端作为闹钟设置者时,配置作为闹钟被设置者的移动终端的用户标识;The configuration unit is used to configure the user identity of the mobile terminal as the alarm clock setter when the mobile terminal is used as the alarm clock setter;所述发送单元,具体用于对闹钟相关信息进行加密,并将加密后的闹钟相关信息封装为用户数据包协议UDP报文或传输控制协议TCP报文,发送给作为闹钟被设置者的移动终端;其中,所述UDP报文或TCP报文的目的因特网协议IP地址为,根据所述配置单元配置的移动终端的用户标识在服务器上获取的该移动终端的IP地址;The sending unit is specifically used to encrypt the alarm clock related information, and encapsulate the encrypted alarm clock related information into a user data packet protocol UDP message or a transmission control protocol TCP message, and send it to the mobile terminal as the alarm clock setter ; Wherein, the destination Internet Protocol IP address of the UDP message or TCP message is the IP address of the mobile terminal obtained on the server according to the user identification of the mobile terminal configured by the configuration unit;所述接收确定单元,具体用于接收到UDP报文或TCP报文时,解封装该UDP报文或TCP报文,并进行相应的解密,获得闹钟相关信息,根据该闹钟相关信息进行闹钟设置。The receiving determination unit is specifically used to decapsulate the UDP message or TCP message when receiving the UDP message or TCP message, and perform corresponding decryption to obtain alarm clock related information, and set the alarm clock according to the alarm clock related information .12.根据权利要求8-10任意一项所述的移动终端,其特征在于,该移动终端进一步包括:配置单元;12. The mobile terminal according to any one of claims 8-10, characterized in that the mobile terminal further comprises: a configuration unit;所述配置单元,用于本移动终端作为闹钟设置者时,配置作为闹钟被设置者的移动终端的用户标识;The configuration unit is used to configure the user identity of the mobile terminal as the alarm clock setter when the mobile terminal is used as the alarm clock setter;所述发送单元,具体用于通过所述配置单元配置的作为闹钟设置者的移动终端的用户标识,将闹钟相关信息以短息或微信的形式发送给所述名单中的闹钟被设置者对应的移动终端;The sending unit is specifically configured to send the alarm clock related information in the form of a short message or WeChat to the corresponding alarm clock setter in the list through the user identification of the mobile terminal configured by the configuration unit as the alarm clock setter. mobile terminal;所述接收确定单元,具体用于接收以短息或微信的形式发送的闹钟相关信息时,读取该短信中的闹钟相关信息,并根据该闹钟相关信息进行闹钟设置。The receiving determination unit is specifically configured to read the alarm clock related information in the short message when receiving the alarm clock related information sent in the form of short message or WeChat, and set the alarm clock according to the alarm clock related information.13.根据权利要求8-10任意一项所述的移动终端,其特征在于,13. The mobile terminal according to any one of claims 8-10, characterized in that,所述接收确定单元,进一步用于本移动终端作为闹钟被设置者,在所述处理单元根据该闹钟相关信息进行闹钟设置时,确定本移动终端针对该闹钟相关信息对应的闹钟,是否存在闹钟被设置者;The receiving determination unit is further used for the mobile terminal as the person who sets the alarm clock. When the processing unit performs alarm clock setting according to the alarm clock related information, it is determined whether there is an alarm clock corresponding to the alarm clock related information in the mobile terminal. setter;所述发送单元,进一步用于本移动终端作为闹钟被设置者,且在所述接收单元确定本移动终端针对该闹钟相关信息对应的闹钟,存在闹钟被设置者时,将该闹钟相关信息送给本移动终端对应的闹钟被设置者进行闹钟设置。The sending unit is further used for the mobile terminal as the alarm clock setter, and when the receiving unit determines that the alarm clock corresponding to the alarm clock related information of the mobile terminal exists, the alarm clock related information is sent to The alarm clock corresponding to the mobile terminal is set by the person who sets the alarm clock.14.根据权利要求8-10任意一项所述的移动终端,其特征在于,14. The mobile terminal according to any one of claims 8-10, characterized in that,所述发送单元,进一步用于本移动终端作为闹钟设置者,在向作为闹钟被设置者发送闹钟相关信息时,携带延时设置该闹钟相关信息对应的闹钟的延时时间;The sending unit is further used for the mobile terminal, as the alarm clock setter, to carry the delay time of setting the alarm clock corresponding to the alarm clock related information when sending the alarm clock related information to the alarm clock setter;所述处理单元,进一步用于本移动终端作为闹钟被设置者,在确定根据接收到闹钟相关信息设置闹钟时,在接收的闹钟相关信息中携带的延时时间到时再根据闹钟相关信息进行闹钟设置。The processing unit is further used for the mobile terminal as the person who sets the alarm clock. When it is determined to set the alarm clock according to the received alarm clock related information, when the delay time carried in the received alarm clock related information expires, the alarm clock is set according to the alarm clock related information. set up.
CN201310509016.0A2013-10-242013-10-24Alarm clock setting method and mobile terminalPendingCN103561379A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310509016.0ACN103561379A (en)2013-10-242013-10-24Alarm clock setting method and mobile terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310509016.0ACN103561379A (en)2013-10-242013-10-24Alarm clock setting method and mobile terminal

Publications (1)

Publication NumberPublication Date
CN103561379Atrue CN103561379A (en)2014-02-05

Family

ID=50015505

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310509016.0APendingCN103561379A (en)2013-10-242013-10-24Alarm clock setting method and mobile terminal

Country Status (1)

CountryLink
CN (1)CN103561379A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104468990A (en)*2014-11-222015-03-25广东欧珀移动通信有限公司Alarm clock setting method and terminal
CN104580706A (en)*2014-12-172015-04-29惠州Tcl移动通信有限公司Mobile terminal and reserve information processing method based on instant message
CN105306704A (en)*2015-10-102016-02-03陆俊Mobile terminal alarm clock control method and mobile terminal
CN105516222A (en)*2014-09-242016-04-20小米科技有限责任公司Prompting method and device
CN105812546A (en)*2014-12-302016-07-27Tcl集团股份有限公司Alarm clock control method and alarm clock control device
CN105828275A (en)*2016-02-022016-08-03乐卡汽车智能科技(北京)有限公司Terminal data sharing method and device
CN106055414A (en)*2016-05-172016-10-26珠海市魅族科技有限公司Data sharing method and user equipment
CN106790993A (en)*2016-11-232017-05-31深圳哈乐派科技有限公司A kind of remote prompting method and device
CN107277279A (en)*2017-07-192017-10-20河南神州数码索贝科技有限公司A kind of terminal alarm clock reminds the method and device set
CN107357161A (en)*2017-08-302017-11-17吴清瑶Electronic alarm clock and calibration method during a kind of school quick by Quick Response Code
CN107809544A (en)*2017-11-162018-03-16珠海格力电器股份有限公司Alarm clock reminding method and device
CN110049197A (en)*2019-05-302019-07-23涂哲A kind of based reminding method and communicating terminal
CN114356164A (en)*2022-01-052022-04-15维沃移动通信有限公司Sharing method and sharing device

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101212733A (en)*2006-12-272008-07-02上海基信通讯技术有限公司Method for setting a short message for calendar reminding automatically on mobile telephone
CN101315543A (en)*2008-06-282008-12-03黄更Network digital alarm clock, long-range control method and signal synchronous transmission method
CN102624915A (en)*2012-03-232012-08-01中兴通讯股份有限公司 A kind of alarm clock cloud service method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101212733A (en)*2006-12-272008-07-02上海基信通讯技术有限公司Method for setting a short message for calendar reminding automatically on mobile telephone
CN101315543A (en)*2008-06-282008-12-03黄更Network digital alarm clock, long-range control method and signal synchronous transmission method
CN102624915A (en)*2012-03-232012-08-01中兴通讯股份有限公司 A kind of alarm clock cloud service method and system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105516222A (en)*2014-09-242016-04-20小米科技有限责任公司Prompting method and device
CN104468990A (en)*2014-11-222015-03-25广东欧珀移动通信有限公司Alarm clock setting method and terminal
CN104580706A (en)*2014-12-172015-04-29惠州Tcl移动通信有限公司Mobile terminal and reserve information processing method based on instant message
CN104580706B (en)*2014-12-172019-05-21惠州Tcl移动通信有限公司A kind of mobile terminal and the reservation information processing method based on instant message
CN105812546A (en)*2014-12-302016-07-27Tcl集团股份有限公司Alarm clock control method and alarm clock control device
CN105812546B (en)*2014-12-302020-11-06Tcl科技集团股份有限公司 Alarm clock control method and alarm clock control device
CN105306704B (en)*2015-10-102018-11-23深圳中琛源科技股份有限公司Mobile terminal alarm clock control method and mobile terminal
CN105306704A (en)*2015-10-102016-02-03陆俊Mobile terminal alarm clock control method and mobile terminal
CN105828275A (en)*2016-02-022016-08-03乐卡汽车智能科技(北京)有限公司Terminal data sharing method and device
CN106055414A (en)*2016-05-172016-10-26珠海市魅族科技有限公司Data sharing method and user equipment
CN106790993A (en)*2016-11-232017-05-31深圳哈乐派科技有限公司A kind of remote prompting method and device
CN107277279A (en)*2017-07-192017-10-20河南神州数码索贝科技有限公司A kind of terminal alarm clock reminds the method and device set
CN107357161A (en)*2017-08-302017-11-17吴清瑶Electronic alarm clock and calibration method during a kind of school quick by Quick Response Code
CN107809544A (en)*2017-11-162018-03-16珠海格力电器股份有限公司Alarm clock reminding method and device
CN110049197A (en)*2019-05-302019-07-23涂哲A kind of based reminding method and communicating terminal
CN114356164A (en)*2022-01-052022-04-15维沃移动通信有限公司Sharing method and sharing device

Similar Documents

PublicationPublication DateTitle
CN103561379A (en)Alarm clock setting method and mobile terminal
US10412061B2 (en)Method and system for encrypted communications
JP7086327B2 (en) Securely transfer user information between applications
US9876772B1 (en)Encrypting and transmitting data
KR102395799B1 (en)Method and Apparatus for Supporting Secure Chat
CN105187372B (en)A kind of data processing method based on mobile application entrance, device and system
WO2021016259A1 (en)Systems and methods of salutation protocol to communicate using a private overlay peer to peer network
US20170033925A1 (en)Methods and apparatus for implementing a communications system secured using one-time pads
US9654288B1 (en)Securing group communications
CN105706416B (en) User equipment and computer readable medium for network access
CN107211049A (en)Pre-cache on WAP
US20170374044A1 (en)Messenger application systems and methods
US10291621B2 (en)System, information processing apparatus, and storage medium
JP2020526991A (en) Techniques for multi-agent messaging
JP4897503B2 (en) Account linking system, account linking method, linkage server device
CN104202736A (en)Mobile terminal short message end-to-end encryption method oriented to Android system
CN105451298A (en)Network-sharing method and system, network access method and system, and electronic device
CN104184652B (en)Method and system for information interaction between terminals
CN112055977A (en)Service slice activation method, service slice activation device and storage medium
JP2015095896A (en)Method for encrypting and decrypting file using telephone number
EP4525402A1 (en)Method, system, and non-transitory computer-readable recording medium for providing messenger service
US9571462B1 (en)Extensible personality-based messaging system in a distributed computerized infrastructure for establishing a social network
US20120272233A1 (en)Automatic creating method of group application and couple application
CN105992312A (en)Wireless network accessing method and system and access point device
CN110460567A (en) A method and device for identity authentication

Legal Events

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

Application publication date:20140205

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp