WO2016026293A1 - 消息发送方法及装置 - Google Patents

消息发送方法及装置 Download PDF

Info

Publication number
WO2016026293A1
WO2016026293A1 PCT/CN2015/074608 CN2015074608W WO2016026293A1 WO 2016026293 A1 WO2016026293 A1 WO 2016026293A1 CN 2015074608 W CN2015074608 W CN 2015074608W WO 2016026293 A1 WO2016026293 A1 WO 2016026293A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
time
message
sub
sliding
Prior art date
Application number
PCT/CN2015/074608
Other languages
English (en)
French (fr)
Inventor
刘国明
Original Assignee
小米科技有限责任公司
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 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Priority to BR112015018379-4A priority Critical patent/BR112015018379B1/pt
Priority to RU2015124377A priority patent/RU2619203C2/ru
Priority to JP2016543314A priority patent/JP6159891B2/ja
Priority to KR1020157012978A priority patent/KR101676216B1/ko
Priority to MX2015006949A priority patent/MX354030B/es
Priority to US14/804,539 priority patent/US9628966B2/en
Publication of WO2016026293A1 publication Critical patent/WO2016026293A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/58Message adaptation for wireless communication

Definitions

  • the present disclosure relates to the field of computer technologies, and in particular, to a message sending method and apparatus.
  • the terminal may obtain the edited message and display the time selection list, which includes a year selection option, a month selection option, a date selection option, and a time selection option, and each time selection option includes several Options and an up button for selecting the previous option of the current option and a down button for selecting the next option of the current option; receiving the various options selected by the user by pressing the up button and the down button to get the message sending time
  • the message and the message sending time are correspondingly stored; when the system time is reached until the message sending time is reached, the message is sent.
  • the user When editing the message sending time, the user needs to select the option in each time selection option by pressing the up button and the down button multiple times, which causes the terminal to set the message sending time to consume a large amount of time, and the setting efficiency is low.
  • the present disclosure provides a message sending method and apparatus.
  • a message sending method is applied to a terminal that includes a touch screen, including:
  • the message is sent when the system time of the terminal is monitored to reach the transmission time.
  • the determining, according to the operation signal, a sending time of the message includes:
  • the time of the transmission includes at least one time item, obtaining, for each time item, a sub-operation signal corresponding to the time item in the operation signal, and determining a value of the corresponding time item according to the sub-operation signal; Narrative operation
  • the signal is a signal triggered by a sub-operation included in the single operation, and the time item is at least one of year, month, day, hour, minute, and second;
  • the determining, according to the sub-operation signal, a value of a corresponding time item including:
  • the sub-operation signal is a sliding signal, determining a value of the time item according to a sliding distance of the sliding signal, where the sliding distance is positively correlated with a value of the time item;
  • the sub-operation signal is a dwell signal
  • the value of the time item is determined according to the dwell time of the dwell signal, and the dwell time is positively correlated with the value of the time item.
  • the determining, according to the operation signal, a sending time of the message further includes:
  • the value of the time item determined according to the sub-operation signal is displayed in real time.
  • the acquiring the sub-operation signal corresponding to the time item in the operation signal includes:
  • the operation signal includes at least one sliding signal and at least one staying signal and each of the staying signals is adjacent to the two sliding signals respectively, determining the i-th sub-operation signal of the operation signal as the ith time item Corresponding sub-operation signal, the sub-operation signal is a sliding signal or a stay signal;
  • the operation signal includes at least two sliding signals and the sliding directions of the adjacent sliding signals are different, determining the i-th sliding signal of the operation signal as the sub-operation signal corresponding to the ith time item;
  • the operating signal includes at least two sliding signals and at least one staying signal and each of the staying signals is adjacent to the two sliding signals, respectively, when the staying duration of each of the staying signals exceeds a predetermined threshold, the operating signal is The i-th sliding signal in the determination is determined as a sub-operation signal corresponding to the i-th time item;
  • the method further includes:
  • the determining signal After performing the single operation, detecting whether a determination signal is received, the determining signal is used to determine that the obtained transmission time is accurate;
  • the message content is edited to obtain the message
  • the step of acquiring the operation signal that the user performs a single operation trigger on the touch screen is triggered.
  • the method further includes:
  • the message is edited according to the edit signal.
  • a message sending apparatus for use in a terminal including a touch screen, including:
  • a signal acquisition module configured to acquire an operation signal triggered by a user performing a single operation on the touch screen
  • a time determining module configured to determine a sending time of the message according to the operation signal acquired by the signal acquiring module
  • the message sending module is configured to send the message when the system time when the terminal is monitored to reach the sending time determined by the time determining module.
  • the time determining module includes:
  • a value determining sub-module configured to: when each of the time items includes at least one time item, acquire, for each time item, a sub-operation signal corresponding to the time item in the operation signal, and determine, according to the sub-operation signal a value of the corresponding time item;
  • the sub-operation signal is a signal triggered by a sub-operation included in the single operation, and the time item is at least one of year, month, day, hour, minute, and second;
  • a time determination sub-module configured to combine values of all time items determined by the value determination sub-module into the transmission time.
  • the value determining submodule includes:
  • a first determining submodule configured to determine a value of the time item according to a sliding distance of the sliding signal when the sub-operation signal is a sliding signal, where the sliding distance is positively correlated with a value of the time item ;
  • a second determining submodule configured to determine a value of the time item according to a dwell time of the dwell signal when the sub operation signal is a dwell signal, wherein the dwell time is positively correlated with the time item .
  • the time determining module further includes:
  • a real-time display sub-module configured to display in real time a value of the time item determined according to the sub-operation signal.
  • the value determining submodule includes:
  • a third determining submodule configured to: when the operation signal includes at least one sliding signal and at least one dwell signal and each dwell signal is adjacent to the two sliding signals respectively, the i th sub-operation in the operation signal The signal is determined as a sub-operation signal corresponding to the ith time item, and the sub-operation signal is a sliding signal or a stay signal;
  • a fourth determining submodule configured to determine the i th sliding signal of the operation signal as the ith one when the operation signal includes at least two sliding signals and the sliding directions of the adjacent sliding signals are different a sub-operation signal corresponding to the time item;
  • a fifth determining submodule configured to exceed a dwell time of each dwell signal when the operation signal includes at least two sliding signals and at least one dwell signal and each dwell signal is adjacent to the two sliding signals respectively
  • the i-th sliding signal of the operation signal is determined as a sub-operation signal corresponding to the ith time item
  • the device further includes:
  • a signal detecting module configured to detect whether a determination signal is received after performing the single operation, and the determining signal is used to determine that the obtained sending time is accurate;
  • a message generating module configured to: when the signal detecting module detects that the determining signal is received, edit the message content to obtain the message;
  • the operation triggering module is configured to trigger an operation of acquiring the operation signal triggered by the user to perform a single operation on the touch screen when the signal detection module detects that the determination signal is not received.
  • the device further includes:
  • a message storage module configured to add the message to a delayed sending queue, where the delayed sending queue is configured to store a message to be sent;
  • a signal receiving module configured to receive an edit signal of the message stored in the delayed message queue by the message storage module
  • the message editing module is configured to edit the message according to the edit signal received by the signal receiving module.
  • a message transmitting apparatus which is applied to a terminal including a touch screen, and includes:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the message is sent when the system time of the terminal is monitored to reach the transmission time.
  • FIG. 1 is a flowchart of a message sending method according to an exemplary embodiment.
  • FIG. 2A is a flowchart of a message sending method according to another exemplary embodiment.
  • FIG. 2B is a schematic diagram of a message list page shown according to the present exemplary embodiment.
  • FIG. 2C is a schematic diagram of a first single operation shown in accordance with the present exemplary embodiment.
  • 2D is a schematic diagram of a second single operation shown in accordance with the present exemplary embodiment.
  • 2E is a schematic diagram of a third single operation shown in accordance with the present exemplary embodiment.
  • FIG. 2F is a schematic diagram of an inquiry of message editing shown according to the present exemplary embodiment.
  • FIG. 3 is a flowchart of a message sending apparatus according to an exemplary embodiment.
  • FIG. 4 is a flowchart of a message transmitting apparatus according to another exemplary embodiment.
  • FIG. 5 is a block diagram of a message transmitting apparatus, according to an exemplary embodiment.
  • FIG. 1 is a flowchart of a method for sending a message, which is applied to a terminal including a touch screen, according to an exemplary embodiment. As shown in FIG. 1, the message sending method includes the following steps.
  • step 101 an operation signal that the user performs a single operation trigger on the touch screen is acquired.
  • a single operation refers to an operation performed on a touch screen by a user's finger from the time of touching the touch screen to leaving the touch screen.
  • step 102 the transmission time of the message is determined based on the operation signal.
  • the message may be a short message edited by an application such as a short message, or an instant message edited by an instant messaging tool. This embodiment does not limit the type of the message.
  • the message content may include at least one of text, picture, audio or video.
  • step 103 a message is sent when the system time of the listening terminal reaches the transmission time.
  • the terminal can delay sending the message. Therefore, after determining the sending time of the message and the message, the terminal can monitor the system time. When the terminal monitors that the system time reaches the sending time of the message, the terminal sends the message.
  • the terminal can determine the sending time of the message according to a single operation, without selecting the option in each time selection option by pressing the up button and the down button multiple times to determine the sending time of the message, which greatly saves The time taken to set the transmission time improves the efficiency of setting the message.
  • the present disclosure provides a message sending method, which is obtained by acquiring an operation signal triggered by a user performing a single operation on a touch screen; determining a sending time of a message according to an operation signal; and when a system time of monitoring the terminal reaches a sending time Sending a message, you can get the operation signal triggered by a single operation of the user on the touch screen to edit the sending time of the message, without having to press the up button and the down button to select the option in each time selection option. Editing the sending time of the message solves the problem that it takes a lot of time to edit the sending time by pressing the up button and the down button multiple times, and the setting efficiency is low, and the effect of improving the setting efficiency of the message is achieved.
  • FIG. 2A is a flowchart of a method for sending a message, which is applied to a terminal including a touch screen, according to another exemplary embodiment. As shown in FIG. 2A, the message sending method includes the following steps.
  • step 201 an operation signal that the user performs a single operation trigger on the touch screen is acquired.
  • a single operation refers to an operation performed on a touch screen by a user's finger from the time of touching the touch screen to leaving the touch screen.
  • the sub-operation can be performed on the touch screen, the sub-operation
  • the operation can be a sliding operation or a dwell operation.
  • the user can perform a sliding operation; or, the user can perform two sliding operations and the end position of the first sliding operation is the starting position of the second sliding operation, or the user can perform sliding
  • the operation and the stay operation and the end position of the slide operation are the operation positions of the stay operation, etc., and the embodiment does not limit the operation mode of the single operation.
  • the terminal can record the sub-operation signals of each sub-operation in a single operation, and combine the sub-operation signals into the single operation according to the execution order of the sub-operations.
  • Corresponding operation signal For example, when a single operation performed by the user on the touch screen includes one sliding operation, the terminal may record a sliding signal triggered by the sliding operation, and determine the sliding signal as an operation signal. For another example, when a single operation performed by the user on the touch screen includes a sliding operation and a stay operation sequentially performed, the terminal may record the sliding signal triggered by the sliding operation, and then record the stay signal triggered by the staying operation, and The slip signal and the dwell signal are combined into an operation signal.
  • the trigger condition for the terminal to acquire the operation signal may also be set in advance.
  • the terminal acquires an operation signal after receiving the trigger signal, or the terminal acquires an operation signal on a predetermined page.
  • the predetermined page may be a message list page.
  • the message list page may include at least one message list, and each message list may be a message that the user communicates with other users.
  • the message list page includes a message list A and a message list B
  • the message list A is a message for communication between the user and Mr. Li
  • the message list B is a message for communication between the user and the manager Wang.
  • the message list page can include a message list that is a message that the user communicates with one other user.
  • the message list includes a message C and a message D.
  • the message C is a message sent by the user to the manager at 13 o'clock
  • the message D is a message sent by the manager to the user at 14 o'clock.
  • the terminal may detect whether to enter the predetermined page, and after the terminal detects that the predetermined page is entered, acquire an operation signal triggered by the user performing a single operation on the touch screen.
  • step 202 the transmission time of the message is determined based on the operation signal.
  • the terminal may determine the sending time of the message according to the operation signal, and the sending time is used to delay sending the message.
  • the message may be a short message edited by an application such as a short message, or an instant message edited by an instant messaging tool. This embodiment does not limit the type of the message.
  • determining the sending time of the message according to the operation signal includes:
  • the transmission time includes at least one time item, obtain, for each time item, a sub-operation signal corresponding to the time item in the operation signal, and determine a value of the corresponding time item according to the sub-operation signal;
  • the sub-operation signal is a single operation
  • the signal triggered by the sub-operation included, the time item is at least one of year, month, day, hour, minute, and second;
  • the sending time is composed of time items such as year, month, day, hour, minute, second, etc.
  • a sub-operation can be set for each time item, and the value of the time item is determined according to the sub-operation signal of the sub-operation. For example, it is possible to determine the hour by sliding the signal, determine the minute by the stay signal, and the like.
  • the terminal After determining the value of each time item, the terminal The values of the various time items can be combined into a transmission time. For example, the number of hours determined according to the sliding operation is 10, and the number of minutes determined according to the staying operation is 10, then it can be determined that the sending time is 10:10.
  • the sub-operation signal corresponding to the time item Before determining the value of the time item, the sub-operation signal corresponding to the time item is also acquired. Therefore, acquiring the sub-operation signal corresponding to the time item in the operation signal includes:
  • the operation signal includes at least one sliding signal and at least one staying signal and each of the staying signals is adjacent to the two sliding signals respectively, determining the i-th sub-operation signal in the operation signal as corresponding to the ith time item a sub-operation signal, the sub-operation signal being a slip signal or a dwell signal;
  • the i-th sliding signal is determined as a sub-operation signal corresponding to the i-th time item
  • the operational signal includes at least one sliding signal and at least one dwell signal and each dwell signal is adjacent to the two sliding signals, respectively.
  • a dwell operation is performed after each slide operation is performed, and a slide operation is performed after each dwell operation is performed. That is, there is one pause operation between every two sliding operations. Since the operation types of adjacent sub-operations are different, the terminal can distinguish the time items according to the type of the sub-operation signals, that is, the sliding signal and the stay signal can be used to determine the value of the time item, and therefore, one of the operation signals can be used.
  • the sub-operation signal corresponds to a time item. That is, the i-th sub-operation signal corresponds to the i-th time item, and i is a natural number.
  • a single operation first performs a first sliding operation, and then a stop operation is performed at an end position of the first sliding operation, and then the operation position of the staying operation is The starting position performs a second sliding operation. Since each sub-operation is performed sequentially, the first sub-operation signal in the operation signal is the first slip signal, the second sub-operation signal is the stay signal, and the third operation signal is the second slip signal. .
  • the first slip signal corresponds to the first time item
  • the dwell signal corresponds to the second time item
  • the second slip signal corresponds to the third time item.
  • the last dwell signal is adjacent to the previous slip signal.
  • the operation signal includes at least two sliding signals and adjacent sliding signals have different sliding directions. Since the sliding directions of the adjacent sliding operations are different, the terminal can distinguish the time items according to the sliding direction of the sliding signal, that is, each sliding signal can be used to determine the value of the time item, and therefore, one of the operating signals can be slid.
  • the signal corresponds to a time item. That is, the i-th sliding signal corresponds to the i-th time item, and i is a natural number.
  • the single operation first performs the first sliding operation upward, and then the end position of the first sliding operation is used as the starting position to perform the second sliding operation to the right. Because each sub-operation is in order Executed, therefore, the first sub-operation signal in the operation signal is the first sliding signal, and the second sub-operation signal is the second sliding signal. Therefore, the first sliding signal corresponds to the first time item and the second sliding signal corresponds to the second time item.
  • the upward arrow indicates the first sliding operation; the right arrow indicates the second sliding operation.
  • the operational signal includes at least two sliding signals and at least one dwell signal and each dwell signal is adjacent to the two sliding signals, respectively.
  • a dwell operation is performed after each slide operation is performed, and a slide operation is performed after each dwell operation is performed. That is, there is one pause operation between every two sliding operations. Since the two sliding operations are separated by the pause operation, the terminal can distinguish the time items according to the sliding signal, that is, each sliding signal can be used to determine the value of the time item, and therefore, one of the operation signals can be slid.
  • the signal corresponds to a time item. That is, the i-th sliding signal corresponds to the i-th time item, and i is a natural number.
  • a single operation first performs a first sliding operation, and then a stop operation is performed at an end position of the first sliding operation, and then the operation position of the staying operation is The starting position performs a second sliding operation.
  • the terminal After obtaining the stay signal, the terminal further needs to detect whether the stay duration of the stay signal exceeds a predetermined threshold; if it is detected that the stay duration exceeds a predetermined threshold, determining that the sliding operation performed thereafter is a new sliding operation; if the detected staying time does not exceed
  • the predetermined threshold is determined, and it is determined that the sliding operation performed thereafter is used to modify the last sliding operation, that is, the sliding operation performed thereafter is still the last sliding operation.
  • the predetermined threshold may be set and modified by the user, for example, setting the predetermined threshold to 3 seconds, or modifying the predetermined threshold to 5 seconds or the like.
  • the operation signal includes the first slip signal and the second slip signal. Therefore, the first sliding signal corresponds to the first time item and the second sliding signal corresponds to the second time item.
  • the lower arrow indicates the first sliding operation; the dot indicates the staying operation; the upper arrow indicates the second sliding operation.
  • the sliding direction can also be determined according to the arrangement of the messages in the message list. For example, when the messages in the message list are arranged from the top to the bottom in the order of time from morning to night, the latest message is arranged at the bottom of the message list, since the sending time is after the receiving time of the latest message, therefore, The operation of sliding up from the bottom of the message list is determined as a single operation, and the larger the upward sliding distance, the more the transmission time is delayed.
  • the latest message is arranged at the top of the message list, since the sending time is after the receiving time of the latest message, therefore,
  • the operation of sliding down from the top of the message list is determined as a single operation, and the larger the downward sliding distance, the later the transmission time.
  • the sub-operation signal is a sliding signal and stays.
  • the signal is described as an example, and the value of the corresponding time item is determined according to the sub-operation signal, including:
  • the sub-operation signal is a sliding signal
  • the value of the time item is determined according to the sliding distance of the sliding signal, and the sliding distance is positively correlated with the value of the time item
  • the sub-operation signal is a dwell signal
  • the sliding distance is positively correlated with the value of the time item.
  • the terminal can preset the positive correlation between the sliding distance and the value of the time item, and the time item is an hour as an example.
  • the value of the time item can be calculated in real time according to the sliding distance. For example, when the sliding distance is 3 mm, the value of the calculation time item is 1 hour, and when the sliding distance is 6 mm, the value of the calculation time item is 2 hours, etc.; or The sliding distance can be divided into granularity, and the value of the time item can be adjusted according to the granularity of the sliding distance.
  • the setting time item value is 1 hour
  • the sliding distance is 3-6 mm
  • the setting time is set.
  • the value of the item is 2 hours or the like, and the embodiment is not limited.
  • the terminal can also set the positive correlation between the duration of the stay and the value of the time item.
  • the setting method is as above, and no further description is made.
  • the value of the time item can also be displayed. That is, the message sending method provided in this embodiment further includes: displaying the value of the time item determined according to the sub-operation signal in real time.
  • the terminal may also calculate the time item in real time according to the sub-operation signal during the sub-operation of the user performing the single operation, and display the time item so that the user can display the time according to the time.
  • the item determines whether to continue to increase the time item or decrease the time item.
  • the terminal can determine the sending time of the message according to a single operation, without selecting the options in each time selection option by pressing the up button and the down button multiple times, the sending time of the message is determined greatly. It saves the time spent setting the sending time and improves the setting efficiency of the message.
  • step 203 after performing a single operation, detecting whether a determination signal is received, the determination signal is used to determine that the obtained transmission time is accurate; if it is detected that the determination signal is received, step 204 is performed; if the detection is performed; If the determination signal is not received, step 201 is triggered.
  • the terminal After determining the transmission time according to the operation signal, the terminal also needs to determine whether the transmission time is accurate. At this time, the terminal may detect whether the determination signal is received, and if it is detected that the determination signal is received, proceed to step 204; if it is detected that the determination signal is not received, acquire the operation signal again, and determine again according to the re-acquired operation signal.
  • the sending time that is, step 201 is performed.
  • the terminal can edit the message after determining the sending time. Therefore, the terminal can also obtain the determining signal according to whether the message is edited or not.
  • the terminal may display the inquiry information of “whether or not to edit the message based on the transmission time” in the display interface, and provide the “Yes” option and “No”. Option.
  • the terminal receives the signal triggered by the user clicking the “Yes” option, it is determined that the sending time is accurate, and the signal is determined as the determining signal; when the terminal receives the signal triggered by the user clicking the “No” option, determining that the sending time is inaccurate , no confirmation signal was received.
  • step 204 the message content is edited to obtain a message.
  • the terminal can edit the message content in the corresponding application to get the message.
  • the message may be a short message edited by an application such as a short message, or an instant message edited by an instant messaging tool. This embodiment does not limit the type of the message.
  • the message content may include at least one of text, picture, audio or video.
  • step 204 needs to be performed before step 205.
  • the trigger condition of the edit message may be that the terminal receives the trigger signal, or the terminal receives the predetermined operation signal or the like in the message list page, and the predetermined operation signal may be a long press signal, Double click on the signal, etc.
  • step 205 a message is sent when the system time of the listening terminal reaches the transmission time.
  • the terminal can delay sending the message. Therefore, after determining the sending time of the message and the message, the terminal can buffer the message and monitor the system time. When the terminal monitors that the system time reaches the sending time of the message, the terminal pairs The message is sent.
  • the terminal may also add the message to the delayed transmission queue for storage before sending the message.
  • the terminal adds the message from the delay sending queue to the instant sending queue, and then sends the message in the instant sending queue.
  • the terminal may also display the message to the user through a predetermined UI (User Interface).
  • the editing signal may be triggered, and after receiving the editing signal, the terminal edits the message according to the editing signal.
  • the terminal may add or delete the message content of the message, or the terminal may advance or delay the sending time of the message, and the implementation does not limit the manner in which the message is edited. Since the terminal can edit the content of the message, the error content in the message can be corrected, the transmission of the error message is avoided, and the accuracy of the message is improved.
  • the present disclosure provides a message sending method, which is obtained by acquiring an operation signal triggered by a user performing a single operation on a touch screen; determining a sending time of a message according to an operation signal; and when a system time of monitoring the terminal reaches a sending time Sending a message, you can get the operation signal triggered by a single operation of the user on the touch screen to edit the sending time of the message, without having to press the up button and the down button to select the option in each time selection option. Editing the sending time of the message solves the problem that it takes a lot of time to edit the sending time by pressing the up button and the down button multiple times, and the setting efficiency is low, and the effect of improving the setting efficiency of the message is achieved.
  • the delayed sending queue is used to store the message to be sent; the editing signal for the message stored in the delayed message queue is received; and the message is edited according to the editing signal
  • the message can be edited before the system time reaches the sending time, the error content in the message is corrected, the error message is avoided, and the accuracy of the message is improved.
  • FIG. 3 is a flowchart of a message sending apparatus, which may be applied to a terminal including a touch screen, according to an exemplary embodiment.
  • the message sending apparatus includes: a signal acquiring module 301, The time determination module 302 and the message sending module 303.
  • the signal acquisition module 301 is configured to acquire an operation signal triggered by a user to perform a single operation on the touch screen;
  • the time determining module 302 is configured to determine a sending time of the message according to the operation signal acquired by the signal acquiring module 301;
  • the message sending module 303 is configured to send a message when the system time of the terminal is detected to reach the sending time determined by the time determining module 302.
  • the present disclosure provides a message sending apparatus that acquires an operation signal triggered by a user performing a single operation on a touch screen; determines a transmission time of a message according to an operation signal; and when a system time of monitoring the terminal reaches a transmission time Sending a message, you can get the operation signal triggered by a single operation of the user on the touch screen to edit the sending time of the message, without having to press the up button and the down button to select the option in each time selection option. Editing the sending time of the message solves the problem that it takes a lot of time to edit the sending time by pressing the up button and the down button multiple times, and the setting efficiency is low, and the effect of improving the setting efficiency of the message is achieved.
  • FIG. 4 is a flowchart of a message transmitting apparatus, which may be applied to a terminal including a touch screen, according to another exemplary embodiment.
  • the message sending apparatus includes: a signal acquiring module 301, a time determining module 302, and a message sending module 303.
  • the signal acquisition module 301 is configured to acquire an operation signal triggered by a user to perform a single operation on the touch screen;
  • the time determining module 302 is configured to determine a sending time of the message according to the operation signal acquired by the signal acquiring module 301;
  • the message sending module 303 is configured to send a message when the system time of the terminal is detected to reach the sending time determined by the time determining module 302.
  • the time determining module 302 includes: a value determining submodule 3021 and a time determining submodule 3022.
  • the value determining sub-module 3021 is configured to, when the sending time includes at least one time item, obtain a sub-operation signal corresponding to the time item in the operation signal for each time item, and determine a value of the corresponding time item according to the sub-operation signal.
  • the sub-operation signal is a signal triggered by a sub-operation included in a single operation, and the time item is at least one of year, month, day, hour, minute, and second;
  • the time determination sub-module 3022 is configured to combine the values of all time items determined by the value determination sub-module 3021 into a transmission time.
  • the value determining submodule 3021 includes: a first determining submodule 30211 and/or a second determining submodule 30212.
  • the first determining sub-module 30211 is configured to determine a value of the time item according to a sliding distance of the sliding signal when the sub-operation signal is a sliding signal, and the sliding distance is positively correlated with the value of the time item;
  • the second determining sub-module 30212 is configured to determine a value of the time item according to the dwell time of the dwell signal when the sub-operation signal is a dwell signal, and the dwell duration is positively correlated with the value of the time item.
  • the time determining module 302 further includes: a real-time display sub-module 3023.
  • the real-time display sub-module 3023 is configured to display a value of a time item determined according to the sub-operation signal in real time.
  • the value determining submodule 3021 includes: a third determining submodule 30213 or a fourth determining submodule 30214 or a fifth determining submodule 30215.
  • the third determining sub-module 30213 is configured to determine an ith sub-operation signal in the operation signal when the operation signal includes at least one sliding signal and at least one staying signal and each of the staying signals is adjacent to the two sliding signals respectively
  • the sub-operation signal is a slip signal or a stay signal
  • the fourth determining sub-module 30214 is configured to determine the i-th sliding signal in the operation signal as the ith time item when the operation signal includes at least two sliding signals and the sliding directions of the adjacent sliding signals are different. Corresponding sub-operation signal;
  • the fifth determining sub-module 30215 is configured to: when the operation signal includes at least two sliding signals and at least one staying signal, and each of the staying signals is adjacent to the two sliding signals respectively, the staying time of each staying signal exceeds When the threshold is predetermined, the i-th sliding signal in the operation signal is determined as the sub-operation signal corresponding to the ith time item;
  • the message sending apparatus further includes: a signal detecting module 304, a message generating module 305, and an operation triggering module 306.
  • the signal detection module 304 is configured to detect whether a determination signal is received after performing a single operation, and the determination signal is used to determine that the obtained transmission time is accurate;
  • the message generating module 305 is configured to: when the signal detecting module 304 detects that the determining signal is received, edit the message content to obtain a message;
  • the operation triggering module 306 is configured to trigger an operation of acquiring an operation signal that the user performs a single operation trigger on the touch screen when the signal detection module 304 detects that the determination signal is not received.
  • the message sending apparatus further includes: a message storage module 307, a signal receiving module 308, and a message editing module 309.
  • the message storage module 307 is configured to add a message to the delayed sending queue, and the delayed sending queue is configured to store the message to be sent;
  • the signal receiving module 308 is configured to receive an edit signal to the message stored by the message storage module 307 in the delayed message queue;
  • the message editing module 309 is configured to edit the message according to the edit signal received by the signal receiving module 308.
  • the present disclosure provides a message sending apparatus that acquires an operation signal triggered by a user performing a single operation on a touch screen; determines a transmission time of a message according to an operation signal; and when a system time of monitoring the terminal reaches a transmission time Sending a message, you can get the operation signal triggered by a single operation of the user on the touch screen to edit the sending time of the message, without having to press the up button and the down button to select the option in each time selection option. Editing the sending time of the message solves the problem that it takes a lot of time to edit the sending time by pressing the up button and the down button multiple times, and the setting efficiency is low, and the effect of improving the setting efficiency of the message is achieved.
  • the delayed sending queue is used to store the message to be sent; the editing signal for the message stored in the delayed message queue is received; and the message is edited according to the editing signal
  • the message can be edited before the system time reaches the sending time, the error content in the message is corrected, the error message is avoided, and the accuracy of the message is improved.
  • FIG. 5 is a block diagram of a message transmitting apparatus 500, according to an exemplary embodiment.
  • device 500 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • apparatus 500 can include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, And a communication component 516.
  • Processing component 502 typically controls the overall operation of device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 502 can include one or more processors 518 to execute instructions to perform all or part of the steps described above.
  • processing component 502 can include one or more modules to facilitate interaction between component 502 and other components.
  • processing component 502 can include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502.
  • Memory 504 is configured to store various types of data to support operation at device 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 504 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM Electrically erasable programmable read only memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 506 provides power to various components of device 500.
  • Power component 506 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 500.
  • the multimedia component 508 includes a screen between the device 500 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 508 includes a front camera and/or a rear camera. When the device 500 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 510 is configured to output and/or input an audio signal.
  • audio component 510 includes a microphone (MIC) that is configured to receive an external audio signal when device 500 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 504 or via Communication component 516 sends.
  • audio component 510 also includes a speaker for outputting an audio signal.
  • the I/O interface 512 provides an interface between the processing component 502 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 514 includes one or more sensors for providing device 500 with various aspects of status assessment.
  • sensor assembly 514 can detect an open/closed state of device 500, a relative positioning of components, such as the display and keypad of device 500, and sensor component 514 can also detect a change in position of one component of device 500 or device 500. The presence or absence of user contact with device 500, device 500 orientation or acceleration/deceleration, and temperature variation of device 500.
  • Sensor assembly 514 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 514 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 516 is configured to facilitate wired or wireless communication between device 500 and other devices.
  • the device 500 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 516 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 516 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • apparatus 500 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 504 comprising instructions executable by processor 518 of apparatus 500 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)
  • Electric Clocks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本公开关于一种消息发送方法及装置,属于计算机技术领域。所述方法应用于包含有触摸屏的终端中,包括:获取用户在所述触摸屏上执行单次操作触发的操作信号;根据所述操作信号确定消息的发送时间;当监听到所述终端的系统时间达到所述发送时间时,发送所述消息。所述装置包括:信号获取模块、时间确定模块和消息发送模块。本公开可解决编辑消息发送时间时,用户需要通过多次按下向上按钮和向下按钮来选择每个时间选择选项中的选项,导致终端设置消息发送时间需要消耗大量时间,设置效率较低的问题,达到了提高消息的设置效率的效果。

Description

消息发送方法及装置
本申请基于申请号为201410410385.9、申请日为2014年8月19日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及计算机技术领域,特别涉及一种消息发送方法及装置。
背景技术
随着消息应用的普及越来越广泛,人们逐渐从传统的电话交流演进到通过消息应用进行交流,人们可以利用消息应用进行日常工作事务的沟通。在进行日常工作事务的沟通时,人们可能需要在某个指定日期和指定时刻发送即时消息。
在延时发送消息时,终端可以获取编辑的消息,并对时间选择列表进行显示,该时间选择列表包括年份选择选项、月份选择选项、日期选择选项和时刻选择选项,每个时间选择选项包括若干个选项以及用于选择当前选项的上一个选项的向上按钮和用于选择当前选项的下一个选项的向下按钮;接收用户通过按下向上按钮和向下按钮选择的各个选项,得到消息发送时间;将消息和消息发送时间进行对应存储;在监听到系统时间达到消息发送时间时,对该消息进行发送。
公开人在实现本公开的过程中,发现相关技术中至少存在以下缺陷:
在编辑消息发送时间时,用户需要通过多次按下向上按钮和向下按钮来选择每个时间选择选项中的选项,导致终端设置消息发送时间需要消耗大量时间,设置效率较低。
发明内容
为解决在编辑消息发送时间时,用户需要通过多次按下向上按钮和向下按钮来选择每个时间选择选项中的选项,导致终端设置消息发送时间需要消耗大量时间,设置效率较低的问题,本公开提供了一种消息发送方法及装置。
根据本公开实施例的第一方面,提供一种消息发送方法,应用于包含有触摸屏的终端中,包括:
获取用户在所述触摸屏上执行单次操作触发的操作信号;
根据所述操作信号确定消息的发送时间;
当监听到所述终端的系统时间达到所述发送时间时,发送所述消息。
可选的,所述根据所述操作信号确定消息的发送时间,包括:
若所述发送时间包括至少一个时间项,则对于每个时间项,获取所述操作信号中与所述时间项对应的子操作信号,根据所述子操作信号确定对应的时间项的数值;所述子操作 信号是所述单次操作所包括的子操作触发的信号,所述时间项为年、月、日、时、分、秒中的至少一种;
将所有时间项的数值组合成所述发送时间。
可选的,所述根据所述子操作信号确定对应的时间项的数值,包括:
若所述子操作信号是滑动信号,则根据所述滑动信号的滑动距离确定所述时间项的数值,所述滑动距离与所述时间项的数值呈正相关关系;
若所述子操作信号是停留信号,则根据所述停留信号的停留时长确定所述时间项的数值,所述停留时长与所述时间项的数值呈正相关关系。
可选的,所述根据所述操作信号确定消息的发送时间,还包括:
实时显示根据所述子操作信号确定的所述时间项的数值。
可选的,所述获取所述操作信号中与所述时间项对应的子操作信号,包括:
若所述操作信号包括至少一个滑动信号和至少一个停留信号且每个停留信号分别与两个滑动信号相邻,则将所述操作信号中的第i个子操作信号确定为与第i个时间项对应的子操作信号,所述子操作信号为滑动信号或停留信号;
若所述操作信号包括至少两个滑动信号且相邻的滑动信号的滑动方向不同,则将所述操作信号中的第i个滑动信号确定为与第i个时间项对应的子操作信号;
若所述操作信号包括至少两个滑动信号和至少一个停留信号且每个停留信号分别与两个滑动信号相邻,则在每个停留信号的停留时长均超过预定阈值时,将所述操作信号中的第i个滑动信号确定为与第i个时间项对应的子操作信号;
其中,i为自然数。
可选的,所述方法,还包括:
在执行完所述单次操作后,检测是否接收到确定信号,所述确定信号用于确定得到的所述发送时间是准确的;
若检测出接收到所述确定信号,则编辑消息内容,得到所述消息;
若检测出未接收到所述确定信号,则触发执行所述获取用户在所述触摸屏上执行单次操作触发的操作信号的步骤。
可选的,所述方法,还包括:
将所述消息添加到延时发送队列中,所述延时发送队列用于存储待发送的消息;
接收对在所述延时消息队列中存储的所述消息的编辑信号;
根据所述编辑信号对所述消息进行编辑。
根据本公开实施例的第二方面,提供一种消息发送装置,应用于包含有触摸屏的终端中,包括:
信号获取模块,被配置为获取用户在所述触摸屏上执行单次操作触发的操作信号;
时间确定模块,被配置为根据所述信号获取模块获取到的所述操作信号确定消息的发送时间;
消息发送模块,被配置为在监听到所述终端的系统时间达到所述时间确定模块确定的所述发送时间时,发送所述消息。
可选的,所述时间确定模块,包括:
数值确定子模块,被配置为在所述发送时间包括至少一个时间项时,对于每个时间项,获取所述操作信号中与所述时间项对应的子操作信号,根据所述子操作信号确定对应的时间项的数值;所述子操作信号是所述单次操作所包括的子操作触发的信号,所述时间项为年、月、日、时、分、秒中的至少一种;
时间确定子模块,被配置为将所述数值确定子模块确定的所有时间项的数值组合成所述发送时间。
可选的,所述数值确定子模块,包括:
第一确定子模块,被配置为在所述子操作信号是滑动信号时,根据所述滑动信号的滑动距离确定所述时间项的数值,所述滑动距离与所述时间项的数值呈正相关关系;
第二确定子模块,被配置为在所述子操作信号是停留信号时,根据所述停留信号的停留时长确定所述时间项的数值,所述停留时长与所述时间项的数值呈正相关关系。
可选的,所述时间确定模块,还包括:
实时显示子模块,被配置为实时显示根据所述子操作信号确定的所述时间项的数值。
可选的,所述数值确定子模块,包括:
第三确定子模块,被配置为在所述操作信号包括至少一个滑动信号和至少一个停留信号且每个停留信号分别与两个滑动信号相邻时,将所述操作信号中的第i个子操作信号确定为与第i个时间项对应的子操作信号,所述子操作信号为滑动信号或停留信号;
第四确定子模块,被配置为在所述操作信号包括至少两个滑动信号且相邻的滑动信号的滑动方向不同时,将所述操作信号中的第i个滑动信号确定为与第i个时间项对应的子操作信号;
第五确定子模块,被配置为在所述操作信号包括至少两个滑动信号和至少一个停留信号且每个停留信号分别与两个滑动信号相邻时,在每个停留信号的停留时长均超过预定阈值时,将所述操作信号中的第i个滑动信号确定为与第i个时间项对应的子操作信号;
其中,i为自然数。
可选的,所述装置,还包括:
信号检测模块,被配置为在执行完所述单次操作后,检测是否接收到确定信号,所述确定信号用于确定得到的所述发送时间是准确的;
消息生成模块,被配置为在所述信号检测模块检测出接收到所述确定信号时,编辑消息内容,得到所述消息;
操作触发模块,被配置为在所述信号检测模块检测出未接收到所述确定信号时,触发执行所述获取用户在所述触摸屏上执行单次操作触发的操作信号的操作。
可选的,所述装置,还包括:
消息存储模块,被配置为将所述消息添加到延时发送队列中,所述延时发送队列用于存储待发送的消息;
信号接收模块,被配置为接收对所述消息存储模块在所述延时消息队列中存储的所述消息的编辑信号;
消息编辑模块,被配置为根据所述信号接收模块接收到的所述编辑信号对所述消息进行编辑。
根据本公开实施例的第三方面,提供一种消息发送装置,其特征在于,应用于包含有触摸屏的终端中,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
获取用户在所述触摸屏上执行单次操作触发的操作信号;
根据所述操作信号确定消息的发送时间;
当监听到所述终端的系统时间达到所述发送时间时,发送所述消息。
本公开的实施例提供的技术方案可以包括以下有益效果:
通过获取用户在触摸屏上执行单次操作触发的操作信号;根据操作信号确定消息的发送时间;当监听到终端的系统时间达到发送时间时,发送消息,可以获取用户在触摸屏上的单次操作所触发的操作信号来编辑消息的发送时间,而不需要通过多次按下向上按钮和向下按钮选择每个时间选择选项中的选项来编辑消息的发送时间,解决了通过多次按下向上按钮和向下按钮来编辑发送时间需要消耗大量时间,设置效率较低的问题,达到了提高消息的设置效率的效果。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并于说明书一起用于解释本公开的原理。
图1是根据一示例性实施例示出的一种消息发送方法的流程图。
图2A是根据另一示例性实施例示出的一种消息发送方法的流程图。
图2B是根据本示例性实施例示出的消息列表页面的示意图。
图2C是根据本示例性实施例示出的第一种单次操作的示意图。
图2D是根据本示例性实施例示出的第二种单次操作的示意图。
图2E是根据本示例性实施例示出的第三种单次操作的示意图。
图2F是根据本示例性实施例示出的消息编辑的询问示意图。
图3是根据一示例性实施例示出的一种消息发送装置的流程图。
图4是根据另一示例性实施例示出的一种消息发送装置的流程图。
图5是根据一示例性实施例示出的一种用于消息发送装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
图1是根据一示例性实施例示出的一种消息发送方法的流程图,该消息发送方法应用于包含有触摸屏的终端中。如图1所示,该消息发送方法包括以下步骤。
在步骤101中,获取用户在触摸屏上执行单次操作触发的操作信号。
单次操作是指用户的手指从接触触摸屏到离开触摸屏的过程中,在触摸屏上执行的操作。
在步骤102中,根据操作信号确定消息的发送时间。
本实施例中,消息可以是通过短信等应用程序编辑的短消息,也可以是通过即时通讯工具编辑的即时消息,本实施例不限定消息的类型。其中,消息内容可以包括文本、图片、音频或视频中的至少一种。
在步骤103中,当监听到终端的系统时间达到发送时间时,发送消息。
由于终端可以延时发送消息,因此,在确定了消息和消息的发送时间后,终端可以对系统时间进行监听,在终端监听到系统时间达到消息的发送时间时,终端对消息进行发送。
本实施例中,终端可以根据单次操作确定消息的发送时间,而不需要通过多次按下向上按钮和向下按钮来选择每个时间选择选项中的选项,确定消息的发送时间,大大节省了设置发送时间所消耗的时间,提高了消息的设置效率。
综上所述,本公开提供的一种消息发送方法,通过获取用户在触摸屏上执行单次操作触发的操作信号;根据操作信号确定消息的发送时间;当监听到终端的系统时间达到发送时间时,发送消息,可以获取用户在触摸屏上的单次操作所触发的操作信号来编辑消息的发送时间,而不需要通过多次按下向上按钮和向下按钮选择每个时间选择选项中的选项来编辑消息的发送时间,解决了通过多次按下向上按钮和向下按钮来编辑发送时间需要消耗大量时间,设置效率较低的问题,达到了提高消息的设置效率的效果。
图2A是根据另一示例性实施例示出的一种消息发送方法的流程图,该消息发送方法应用于包含有触摸屏的终端中。如图2A所示,该消息发送方法包括以下步骤。
在步骤201中,获取用户在触摸屏上执行单次操作触发的操作信号。
单次操作是指用户的手指从接触触摸屏到离开触摸屏的过程中,在触摸屏上执行的操作。其中,用户在触摸屏上执行单次操作时,可以在触摸屏上执行至少一种子操作,该子 操作可以是滑动操作或停留操作。比如,在单次操作过程中,用户可以执行一次滑动操作;或,用户可以执行两次滑动操作且第一次滑动操作的终点位置是第二次滑动操作的起点位置,或,用户可以执行滑动操作和停留操作且滑动操作的终点位置是停留操作的操作位置等,本实施例不限定单次操作的操作方式。
由于不同的单次操作会触发不同的操作信号,因此,终端可以对单次操作中每项子操作的子操作信号进行记录,将子操作信号按照子操作的执行顺序组合成与该单次操作对应的操作信号。比如,当用户在触摸屏上执行的单次操作包括一次滑动操作时,终端可以对滑动操作所触发的滑动信号进行记录,将该滑动信号确定为操作信号。又比如,当用户在触摸屏上执行的单次操作包括顺序执行的滑动操作和停留操作时,终端可以对滑动操作所触发的滑动信号进行记录,再对停留操作所触发的停留信号进行记录,将滑动信号和停留信号组合成操作信号。
为了避免终端将用户在触摸屏上执行的所有单次操作都确定为操作信号,还可以预先设置终端获取操作信号的触发条件。比如,终端在接收到触发信号后获取操作信号,或,终端在预定页面上获取操作信号等。其中,该预定页面可以是消息列表页面。
请参考图2B所示的消息列表页面的示意图,本实施例中,消息列表页面中可以包括至少一个消息列表,每个消息列表可以是用户与其他用户之间通信的消息。图2B(1)中,消息列表页面包括消息列表A和消息列表B,消息列表A是用户与李先生之间通信的消息,消息列表B是用户与王经理之间通信的消息。或,消息列表页面可以包括一个消息列表,该消息列表是用户与一个其他用户之间通信的消息。图2B(2)中,消息列表包括消息C和消息D,消息C是用户在13点向王经理发送的消息,消息D是王经理在14点向用户发送的消息。
当触发条件是终端在预定页面上获取操作信号时,终端可以检测是否进入预定页面,在终端检测出进入到预定页面后,获取用户在触摸屏上执行单次操作所触发的操作信号。
在步骤202中,根据操作信号确定消息的发送时间。
在获取到操作信号后,终端可以根据操作信号确定消息的发送时间,该发送时间用于延时发送消息。其中,消息可以是通过短信等应用程序编辑的短消息,也可以是通过即时通讯工具编辑的即时消息,本实施例不限定消息的类型。
本实施例中,根据操作信号确定消息的发送时间,包括:
1)若发送时间包括至少一个时间项,则对于每个时间项,获取操作信号中与时间项对应的子操作信号,根据子操作信号确定对应的时间项的数值;子操作信号是单次操作所包括的子操作触发的信号,时间项为年、月、日、时、分、秒中的至少一种;
2)将所有时间项的数值组合成发送时间。
由于发送时间是由年、月、日、时、分、秒等时间项组成的,因此,可以为每一个时间项设置一个子操作,根据该子操作的子操作信号来确定时间项的数值。比如,可以通过滑动信号来确定小时,通过停留信号来确定分钟等。在确定出每个时间项的数值后,终端 可以将各个时间项的数值组合成发送时间。比如,根据滑动操作确定的小时数是10,根据停留操作确定的分钟数是10,则可以确定发送时间是10点10分。
其中,在确定时间项的数值之前,还需要获取与该时间项对应的子操作信号,因此,获取操作信号中与时间项对应的子操作信号,包括:
1)若操作信号包括至少一个滑动信号和至少一个停留信号且每个停留信号分别与两个滑动信号相邻,则将操作信号中的第i个子操作信号确定为与第i个时间项对应的子操作信号,该子操作信号为滑动信号或停留信号;
2)若操作信号包括至少两个滑动信号且相邻的滑动信号的滑动方向不同,则将操作信号中的第i个滑动信号确定为与第i个时间项对应的子操作信号;
3)若操作信号包括至少两个滑动信号和至少一个停留信号且每个停留信号分别与两个滑动信号相邻,则在每个停留信号的停留时长均超过预定阈值时,将操作信号中的第i个滑动信号确定为与第i个时间项对应的子操作信号;
其中,i为自然数。
第一种,操作信号包括至少一个滑动信号和至少一个停留信号且每个停留信号分别与两个滑动信号相邻。在单次操作中,每执行一个滑动操作之后执行停留操作,每执行一个停留操作之后执行滑动操作。即,每两个滑动操作之间间隔一个停留操作。由于相邻的子操作的操作类型不同,因此,终端可以根据子操作信号的类型区分时间项,即滑动信号和停留信号都可以用来确定时间项的数值,因此,可以将操作信号中的一个子操作信号对应一个时间项。即,第i个子操作信号对应于第i个时间项,i为自然数。
以单次操作包括两个滑动操作和一个停留操作为例,则单次操作先执行第一次滑动操作,再在第一次滑动操作的终点位置执行停留操作,再以停留操作的操作位置为起始位置执行第二次滑动操作。由于各项子操作是顺序执行的,因此,操作信号中的第一个子操作信号是第一个滑动信号、第二个子操作信号是停留信号、第三个在操作信号是第二个滑动信号。因此,第一个滑动信号对应于第一个时间项,停留信号对应于第二个时间项,第二个滑动信号对应于第三个时间项。请参考图2C所示的第一种单次操作的示意图,其中,下方的箭头表示第一次的滑动操作,圆点表示停留操作,上方的箭头表示第二次的滑动操作。
在实际实现时,当最后一次执行的是停留操作时,最后一个停留信号与前一个滑动信号相邻。
第二种,操作信号包括至少两个滑动信号且相邻的滑动信号的滑动方向不同。由于相邻的滑动操作的滑动方向不同,因此,终端可以根据滑动信号的滑动方向区分时间项,即每一个滑动信号都可以用来确定时间项的数值,因此,可以将操作信号中的一个滑动信号对应一个时间项。即,第i个滑动信号对应于第i个时间项,i为自然数。
以单次操作包括两个滑动操作为例,则单次操作先向上执行第一次滑动操作,再将第一次滑动操作的终点位置作为起始位置向右执行第二次滑动操作。由于各项子操作是顺序 执行的,因此,操作信号中的第一个子操作信号是第一个滑动信号、第二个子操作信号是第二个滑动信号。因此,第一个滑动信号对应于第一个时间项,第二个滑动信号对应于第二个时间项。请参考图2D所示的第二种单次操作的示意图,其中,向上的箭头表示第一次的滑动操作;向右的箭头表示第二次的滑动操作。
第三种,操作信号包括至少两个滑动信号和至少一个停留信号且每个停留信号分别与两个滑动信号相邻。在单次操作中,每执行一个滑动操作之后执行停留操作,每执行一个停留操作之后执行滑动操作。即,每两个滑动操作之间间隔一个停留操作。由于两个滑动操作之间是通过停留操作间隔的,因此,终端可以根据滑动信号区分时间项,即每一个滑动信号都可以用来确定时间项的数值,因此,可以将操作信号中的一个滑动信号对应一个时间项。即,第i个滑动信号对应于第i个时间项,i为自然数。
以单次操作包括两个滑动操作和一个停留操作为例,则单次操作先执行第一次滑动操作,再在第一次滑动操作的终点位置执行停留操作,再以停留操作的操作位置为起始位置执行第二次滑动操作。在获取到停留信号之后,终端还需要检测停留信号的停留时长是否超过预定阈值;若检测出停留时长超过预定阈值,则确定之后执行的滑动操作是新的滑动操作;若检测出停留时长未超过预定阈值,则确定之后执行的滑动操作用于修改上一次的滑动操作,即,之后执行的滑动操作仍然是上一次的滑动操作。预定阈值可以由用户设置和修改,比如,将预定阈值设置为3秒,或,将预定阈值修改为5秒等。
若停留时长超过预定阈值,则由于各项子操作是顺序执行的,因此,操作信号包括第一个滑动信号和第二个滑动信号。因此,第一个滑动信号对应于第一个时间项,第二个滑动信号对应于第二个时间项。请参考图2E所示的第三种单次操作的示意图。其中,下方的箭头表示第一次的滑动操作;圆点表示停留操作;上方的箭头表示第二次的滑动操作。
由于操作信号用于确定延迟的发送时间,因此,为了保持单次操作和发送时间的一致性,还可以根据消息列表中消息的排列方式确定滑动方向。比如,当消息列表中的消息是按照时间从早到晚的顺序从上往下排列的,则消息列表的最下方排列的是最新消息,由于发送时间在最新消息的接收时间之后,因此,可以将从消息列表的底部向上滑动的操作确定为单次操作,且向上滑动距离越大,发送时间越延后。反之,当消息列表中的消息是按照时间从晚到早的顺序从上往下排列的,则消息列表的最上方排列的是最新消息,由于发送时间在最新消息的接收时间之后,因此,可以将从消息列表的顶部向下滑动的操作确定为单次操作,且向下滑动距离越大,发送时间越延后。
在确定出与时间项对应的子操作信号后,由于子操作信号有很多种,因此,根据子操作信号确定时间项的数值的方法有很多种,本实施例以子操作信号为滑动信号和停留信号为例进行说明,则根据子操作信号确定对应的时间项的数值,包括:
1)若子操作信号是滑动信号,则根据滑动信号的滑动距离确定时间项的数值,滑动距离与时间项的数值呈正相关关系;
2)若子操作信号是停留信号,则根据停留信号的停留时长确定时间项的数值,停留 时长与时间项的数值呈正相关关系。
当终端是根据滑动距离确定时间项时,滑动距离与时间项的数值呈正相关关系。终端可以预先设置滑动距离和时间项的数值的正相关关系,以时间项是小时为例进行说明。其中,可以根据滑动距离实时计算时间项的数值,比如,滑动距离为3毫米时,计算时间项的数值为1小时,滑动距离为6毫米时,计算时间项的数值为2小时等等;或者,可以对滑动距离划分粒度,根据滑动距离的粒度调整时间项的数值,比如,滑动距离为1-3毫米时,设置时间项的数值为1小时,滑动距离为3-6毫米时,设置时间项的数值为2小时等等,本实施例不作限定。同理,终端还可以对停留时长和时间项的数值的正相关关系进行设置,设置方法如上,不作赘述。
需要补充说明的是,在根据子操作信号确定时间项的数值的过程中,还可以对时间项的数值进行显示。即,本实施例提供的消息发送方法,还包括:实时显示根据子操作信号确定的时间项的数值。
为了提高对发送时间的设置效率,终端还可以在用户执行单次操作的子操作的过程中,根据用于子操作信号实时计算时间项,并对时间项进行显示,以便用户可以根据显示的时间项确定是继续增大时间项还是减小时间项。
本实施例中,由于终端可以根据单次操作确定消息的发送时间,而不需要通过多次按下向上按钮和向下按钮来选择每个时间选择选项中的选项,确定消息的发送时间,大大节省了设置发送时间所消耗的时间,提高了消息的设置效率。
在步骤203中,在执行完单次操作后,检测是否接收到确定信号,该确定信号用于确定得到的发送时间是准确的;若检测出接收到确定信号,则触发执行步骤204;若检测出未接收到确定信号,则触发执行步骤201。
在根据操作信号确定了发送时间之后,终端还需要确定该发送时间是否准确。此时,终端可以检测是否接收到确定信号,若检测出接收到确定信号,则继续执行步骤204;若检测出未接收到确定信号,则再次获取操作信号,根据再次获取到的操作信号再次确定发送时间,即,执行步骤201。
需要补充说明的是,终端可以在确定了发送时间之后再编辑消息,因此,终端还可以根据是否编辑消息的询问来获取确定信号。请参考图2F所示的消息编辑的询问示意图,在接收确定信号之前,终端可以在显示界面中显示“是否编辑基于此发送时间的消息”的询问信息,并提供“是”选项和“否”选项。当终端接收到用户点击“是”选项触发的信号时,确定该发送时间准确,将该信号确定为确定信号;当终端接收到用户点击“否”选项触发的信号时,确定该发送时间不准确,未收到确定信号。
在步骤204中,编辑消息内容,得到消息。
终端可以在对应的应用程序中编辑消息内容,得到消息。本实施例中,消息可以是通过短信等应用程序编辑的短消息,也可以是通过即时通讯工具编辑的即时消息,本实施例不限定消息的类型。其中,消息内容可以包括文本、图片、音频或视频中的至少一种。
本实施例中,步骤204需要在步骤205之前执行,本实施例不限定步骤204和步骤201-203之间的先后执行顺序。其中,当步骤204在步骤201之前执行时,编辑消息的触发条件可以是终端接收到触发信号,或,终端在消息列表页面中接收到预定操作信号等,该预定操作信号可以是长按信号、双击信号等。
在步骤205中,当监听到终端的系统时间达到发送时间时,发送消息。
由于终端可以延时发送消息,因此,在确定了消息和消息的发送时间后,终端可以对消息进行缓存,并对系统时间进行监听,在终端监听到系统时间达到消息的发送时间时,终端对消息进行发送。
需要补充说明的是,本实施例提供的消息发送方法,还包括:
1)将得到的消息添加到延时发送队列中,该延时发送队列用于存储待发送的消息;
2)接收对在延时消息队列中存储的消息的编辑信号;
3)根据编辑信号对消息进行编辑。
在发送消息之前,终端还可以将该消息添加到延时发送队列中进行存储。当监听到系统时间得到发送时间时,终端将该消息从延时发送队列中添加到即时发送队列中,再对即时发送队列中的消息进行发送。
可选的,在终端将消息存储到延时发送队列后,若系统时间还没有达到发送时间,则终端还可以通过预定UI(User Interface,用户界面)向用户展示该消息。若用户需要对消息进行编辑,则可以触发编辑信号,终端接收到编辑信号后,根据编辑信号对该消息进行编辑。比如,终端可以对该消息的消息内容进行添加或删除,或,终端可以对该消息的发送时间进行提前或延后,本实施不限定对消息的编辑方式。由于终端可以对消息内容进行编辑,可以对消息中的错误内容进行纠正,避免了对错误消息的发送,提高了消息的准确性。
综上所述,本公开提供的一种消息发送方法,通过获取用户在触摸屏上执行单次操作触发的操作信号;根据操作信号确定消息的发送时间;当监听到终端的系统时间达到发送时间时,发送消息,可以获取用户在触摸屏上的单次操作所触发的操作信号来编辑消息的发送时间,而不需要通过多次按下向上按钮和向下按钮选择每个时间选择选项中的选项来编辑消息的发送时间,解决了通过多次按下向上按钮和向下按钮来编辑发送时间需要消耗大量时间,设置效率较低的问题,达到了提高消息的设置效率的效果。
另外,通过将得到的消息添加到延时发送队列中,该延时发送队列用于存储待发送的消息;接收对在延时消息队列中存储的消息的编辑信号;根据编辑信号对消息进行编辑,可以在系统时间达到发送时间之前对消息进行编辑,对消息中的错误内容进行纠正,避免了错误消息的发送,提高了消息的准确性。
图3是根据一示例性实施例示出的一种消息发送装置的流程图,该消息发送装置可以应用于包含有触摸屏的终端中。如图3所示,该消息发送装置包括:信号获取模块301、 时间确定模块302和消息发送模块303。
该信号获取模块301,被配置为获取用户在触摸屏上执行单次操作触发的操作信号;
该时间确定模块302,被配置为根据信号获取模块301获取的操作信号确定消息的发送时间;
该消息发送模块303,被配置为当监听到终端的系统时间达到时间确定模块302确定的发送时间时,发送消息。
综上所述,本公开提供的一种消息发送装置,通过获取用户在触摸屏上执行单次操作触发的操作信号;根据操作信号确定消息的发送时间;当监听到终端的系统时间达到发送时间时,发送消息,可以获取用户在触摸屏上的单次操作所触发的操作信号来编辑消息的发送时间,而不需要通过多次按下向上按钮和向下按钮选择每个时间选择选项中的选项来编辑消息的发送时间,解决了通过多次按下向上按钮和向下按钮来编辑发送时间需要消耗大量时间,设置效率较低的问题,达到了提高消息的设置效率的效果。
图4是根据另一示例性实施例示出的一种消息发送装置的流程图,该消息发送装置可以应用于包含有触摸屏的终端中。如图4所示,该消息发送装置包括:信号获取模块301、时间确定模块302和消息发送模块303。
该信号获取模块301,被配置为获取用户在触摸屏上执行单次操作触发的操作信号;
该时间确定模块302,被配置为根据信号获取模块301获取的操作信号确定消息的发送时间;
该消息发送模块303,被配置为当监听到终端的系统时间达到时间确定模块302确定的发送时间时,发送消息。
可选的,时间确定模块302,包括:数值确定子模块3021和时间确定子模块3022。
该数值确定子模块3021,被配置为在发送时间包括至少一个时间项时,对于每个时间项,获取操作信号中与时间项对应的子操作信号,根据子操作信号确定对应的时间项的数值;子操作信号是单次操作所包括的子操作触发的信号,时间项为年、月、日、时、分、秒中的至少一种;
该时间确定子模块3022,被配置为将数值确定子模块3021确定的所有时间项的数值组合成发送时间。
可选的,数值确定子模块3021,包括:第一确定子模块30211和/或第二确定子模块30212。
该第一确定子模块30211,被配置为在子操作信号是滑动信号时,根据滑动信号的滑动距离确定时间项的数值,滑动距离与时间项的数值呈正相关关系;
该第二确定子模块30212,被配置为在子操作信号是停留信号时,根据停留信号的停留时长确定时间项的数值,停留时长与时间项的数值呈正相关关系。
可选的,时间确定模块302,还包括:实时显示子模块3023。
该实时显示子模块3023,被配置为实时显示根据子操作信号确定的时间项的数值。
可选的,数值确定子模块3021,包括:第三确定子模块30213或第四确定子模块30214或第五确定子模块30215。
该第三确定子模块30213,被配置为在操作信号包括至少一个滑动信号和至少一个停留信号且每个停留信号分别与两个滑动信号相邻时,将操作信号中的第i个子操作信号确定为与第i个时间项对应的子操作信号,子操作信号为滑动信号或停留信号;
该第四确定子模块30214,被配置为在操作信号包括至少两个滑动信号且相邻的滑动信号的滑动方向不同时,将操作信号中的第i个滑动信号确定为与第i个时间项对应的子操作信号;
该第五确定子模块30215,被配置为在操作信号包括至少两个滑动信号和至少一个停留信号且每个停留信号分别与两个滑动信号相邻时,在每个停留信号的停留时长均超过预定阈值时,将操作信号中的第i个滑动信号确定为与第i个时间项对应的子操作信号;
其中,i为自然数。
可选的,本实施例提供的消息发送装置,还包括:信号检测模块304、消息生成模块305和操作触发模块306。
该信号检测模块304,被配置为在执行完单次操作后,检测是否接收到确定信号,确定信号用于确定得到的发送时间是准确的;
消息生成模块305,被配置为在信号检测模块304检测出接收到确定信号时,编辑消息内容,得到消息;
操作触发模块306,被配置为在信号检测模块304检测出未接收到确定信号时,触发执行获取用户在触摸屏上执行单次操作触发的操作信号的操作。
可选的,本实施例提供的消息发送装置,还包括:消息存储模块307、信号接收模块308和消息编辑模块309。
该消息存储模块307,被配置为将消息添加到延时发送队列中,延时发送队列用于存储待发送的消息;
该信号接收模块308,被配置为接收对消息存储模块307在延时消息队列中存储的消息的编辑信号;
该消息编辑模块309,被配置为根据信号接收模块308接收的编辑信号对消息进行编辑。
综上所述,本公开提供的一种消息发送装置,通过获取用户在触摸屏上执行单次操作触发的操作信号;根据操作信号确定消息的发送时间;当监听到终端的系统时间达到发送时间时,发送消息,可以获取用户在触摸屏上的单次操作所触发的操作信号来编辑消息的发送时间,而不需要通过多次按下向上按钮和向下按钮选择每个时间选择选项中的选项来编辑消息的发送时间,解决了通过多次按下向上按钮和向下按钮来编辑发送时间需要消耗大量时间,设置效率较低的问题,达到了提高消息的设置效率的效果。
另外,通过将得到的消息添加到延时发送队列中,该延时发送队列用于存储待发送的消息;接收对在延时消息队列中存储的消息的编辑信号;根据编辑信号对消息进行编辑,可以在系统时间达到发送时间之前对消息进行编辑,对消息中的错误内容进行纠正,避免了错误消息的发送,提高了消息的准确性。
图5是根据一示例性实施例示出的一种用于消息发送装置500的框图。例如,装置500可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图5,装置500可以包括以下一个或多个组件:处理组件502,存储器504,电源组件506,多媒体组件508,音频组件510,输入/输出(I/O)的接口512,传感器组件514,以及通信组件516。
处理组件502通常控制装置500的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件502可以包括一个或多个处理器518来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件502可以包括一个或多个模块,便于处理组件502和其他组件之间的交互。例如,处理组件502可以包括多媒体模块,以方便多媒体组件508和处理组件502之间的交互。
存储器504被配置为存储各种类型的数据以支持在装置500的操作。这些数据的示例包括用于在装置500上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器504可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件506为装置500的各种组件提供电力。电源组件506可以包括电源管理系统,一个或多个电源,及其他与为装置500生成、管理和分配电力相关联的组件。
多媒体组件508包括在所述装置500和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件508包括一个前置摄像头和/或后置摄像头。当装置500处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件510被配置为输出和/或输入音频信号。例如,音频组件510包括一个麦克风(MIC),当装置500处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器504或经由 通信组件516发送。在一些实施例中,音频组件510还包括一个扬声器,用于输出音频信号。
I/O接口512为处理组件502和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件514包括一个或多个传感器,用于为装置500提供各个方面的状态评估。例如,传感器组件514可以检测到装置500的打开/关闭状态,组件的相对定位,例如所述组件为装置500的显示器和小键盘,传感器组件514还可以检测装置500或装置500一个组件的位置改变,用户与装置500接触的存在或不存在,装置500方位或加速/减速和装置500的温度变化。传感器组件514可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件514还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件514还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件516被配置为便于装置500和其他设备之间有线或无线方式的通信。装置500可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件516经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件516还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置500可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器504,上述指令可由装置500的处理器518执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
本领域技术人员在考虑说明书及实践这里的公开的后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (15)

  1. 一种消息发送方法,其特征在于,用于包含有触摸屏的终端中,包括:
    获取用户在所述触摸屏上执行单次操作触发的操作信号;
    根据所述操作信号确定消息的发送时间;
    当监听到所述终端的系统时间达到所述发送时间时,发送所述消息。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述操作信号确定消息的发送时间,包括:
    若所述发送时间包括至少一个时间项,则对于每个时间项,获取所述操作信号中与所述时间项对应的子操作信号,根据所述子操作信号确定对应的时间项的数值;所述子操作信号是所述单次操作所包括的子操作触发的信号,所述时间项为年、月、日、时、分、秒中的至少一种;
    将所有时间项的数值组合成所述发送时间。
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述子操作信号确定对应的时间项的数值,包括:
    若所述子操作信号是滑动信号,则根据所述滑动信号的滑动距离确定所述时间项的数值,所述滑动距离与所述时间项的数值呈正相关关系;
    若所述子操作信号是停留信号,则根据所述停留信号的停留时长确定所述时间项的数值,所述停留时长与所述时间项的数值呈正相关关系。
  4. 根据权利要求2或3所述的方法,其特征在于,所述方法,还包括:
    实时显示根据所述子操作信号确定的所述时间项的数值。
  5. 根据权利要求2所述的方法,其特征在于,所述获取所述操作信号中与所述时间项对应的子操作信号,包括:
    若所述操作信号包括至少一个滑动信号和至少一个停留信号且每个停留信号分别与两个滑动信号相邻,则将所述操作信号中的第i个子操作信号确定为与第i个时间项对应的子操作信号,所述子操作信号为滑动信号或停留信号;
    若所述操作信号包括至少两个滑动信号且相邻的滑动信号的滑动方向不同,则将所述操作信号中的第i个滑动信号确定为与第i个时间项对应的子操作信号;
    若所述操作信号包括至少两个滑动信号和至少一个停留信号且每个停留信号分别与两个滑动信号相邻,则在每个停留信号的停留时长均超过预定阈值时,将所述操作信号中的第i个滑动信号确定为与第i个时间项对应的子操作信号;
    其中,i为自然数。
  6. 根据权利要求1所述的方法,其特征在于,所述方法,还包括:
    在执行完所述单次操作后,检测是否接收到确定信号,所述确定信号用于确定得到的所述发送时间是准确的;
    若检测出接收到所述确定信号,则编辑消息内容,得到所述消息;
    若检测出未接收到所述确定信号,则触发执行所述获取用户在所述触摸屏上执行单次操作触发的操作信号的步骤。
  7. 根据权利要求1所述的方法,其特征在于,所述方法,还包括:
    将所述消息添加到延时发送队列中,所述延时发送队列用于存储待发送的消息;
    接收对在所述延时消息队列中存储的所述消息的编辑信号;
    根据所述编辑信号对所述消息进行编辑。
  8. 一种消息发送装置,其特征在于,用于包含有触摸屏的终端中,包括:
    信号获取模块,被配置为获取用户在所述触摸屏上执行单次操作触发的操作信号;
    时间确定模块,被配置为根据所述信号获取模块获取到的所述操作信号确定消息的发送时间;
    消息发送模块,被配置为在监听到所述终端的系统时间达到所述时间确定模块确定的所述发送时间时,发送所述消息。
  9. 根据权利要求8所述的装置,其特征在于,所述时间确定模块,包括:
    数值确定子模块,被配置为在所述发送时间包括至少一个时间项时,对于每个时间项,获取所述操作信号中与所述时间项对应的子操作信号,根据所述子操作信号确定对应的时间项的数值;所述子操作信号是所述单次操作所包括的子操作触发的信号,所述时间项为年、月、日、时、分、秒中的至少一种;
    时间确定子模块,被配置为将所述数值确定子模块确定的所有时间项的数值组合成所述发送时间。
  10. 根据权利要求9所述的装置,其特征在于,所述数值确定子模块,包括:
    第一确定子模块,被配置为在所述子操作信号是滑动信号时,根据所述滑动信号的滑动距离确定所述时间项的数值,所述滑动距离与所述时间项的数值呈正相关关系;
    第二确定子模块,被配置为在所述子操作信号是停留信号时,根据所述停留信号的停留时长确定所述时间项的数值,所述停留时长与所述时间项的数值呈正相关关系。
  11. 根据权利要求9或10所述的装置,其特征在于,所述时间确定模块,还包括:
    实时显示子模块,被配置为实时显示根据所述子操作信号确定的所述时间项的数值。
  12. 根据权利要求9所述的装置,其特征在于,所述数值确定子模块,包括:
    第三确定子模块,被配置为在所述操作信号包括至少一个滑动信号和至少一个停留信号且每个停留信号分别与两个滑动信号相邻时,将所述操作信号中的第i个子操作信号确定为与第i个时间项对应的子操作信号,所述子操作信号为滑动信号或停留信号;
    第四确定子模块,被配置为在所述操作信号包括至少两个滑动信号且相邻的滑动信号的滑动方向不同时,将所述操作信号中的第i个滑动信号确定为与第i个时间项对应的子操作信号;
    第五确定子模块,被配置为在所述操作信号包括至少两个滑动信号和至少一个停留信号且每个停留信号分别与两个滑动信号相邻时,在每个停留信号的停留时长均超过预定阈值时,将所述操作信号中的第i个滑动信号确定为与第i个时间项对应的子操作信号;
    其中,i为自然数。
  13. 根据权利要求8所述的装置,其特征在于,所述装置,还包括:
    信号检测模块,被配置为在执行完所述单次操作后,检测是否接收到确定信号,所述确定信号用于确定得到的所述发送时间是准确的;
    消息生成模块,被配置为在所述信号检测模块检测出接收到所述确定信号时,编辑消息内容,得到所述消息;
    操作触发模块,被配置为在所述信号检测模块检测出未接收到所述确定信号时,触发执行所述获取用户在所述触摸屏上执行单次操作触发的操作信号的操作。
  14. 根据权利要求8所述的装置,其特征在于,所述装置,还包括:
    消息存储模块,被配置为将所述消息添加到延时发送队列中,所述延时发送队列用于存储待发送的消息;
    信号接收模块,被配置为接收对所述消息存储模块在所述延时消息队列中存储的所述消息的编辑信号;
    消息编辑模块,被配置为根据所述信号接收模块接收到的所述编辑信号对所述消息进行编辑。
  15. 一种消息发送装置,其特征在于,应用于包含有触摸屏的终端中,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    获取用户在所述触摸屏上执行单次操作触发的操作信号;
    根据所述操作信号确定消息的发送时间;
    当监听到所述终端的系统时间达到所述发送时间时,发送所述消息。
PCT/CN2015/074608 2014-08-19 2015-03-19 消息发送方法及装置 WO2016026293A1 (zh)

Priority Applications (6)

Application Number Priority Date Filing Date Title
BR112015018379-4A BR112015018379B1 (pt) 2014-08-19 2015-03-19 Método e dispositivo para enviar uma mensagem
RU2015124377A RU2619203C2 (ru) 2014-08-19 2015-03-19 Способ и устройство для отправки сообщений
JP2016543314A JP6159891B2 (ja) 2014-08-19 2015-03-19 メッセージ送信方法、メッセージ送信装置、プログラム及び記録媒体
KR1020157012978A KR101676216B1 (ko) 2014-08-19 2015-03-19 메시지 발송 방법, 장치, 프로그램 및 기록매체
MX2015006949A MX354030B (es) 2014-08-19 2015-03-19 Método y dispositivo para enviar un mensaje.
US14/804,539 US9628966B2 (en) 2014-08-19 2015-07-21 Method and device for sending message

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410410385.9 2014-08-19
CN201410410385.9A CN104238853B (zh) 2014-08-19 2014-08-19 消息发送方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/804,539 Continuation US9628966B2 (en) 2014-08-19 2015-07-21 Method and device for sending message

Publications (1)

Publication Number Publication Date
WO2016026293A1 true WO2016026293A1 (zh) 2016-02-25

Family

ID=52227054

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/074608 WO2016026293A1 (zh) 2014-08-19 2015-03-19 消息发送方法及装置

Country Status (8)

Country Link
EP (1) EP2988458B1 (zh)
JP (1) JP6159891B2 (zh)
KR (1) KR101676216B1 (zh)
CN (1) CN104238853B (zh)
BR (1) BR112015018379B1 (zh)
MX (1) MX354030B (zh)
RU (1) RU2619203C2 (zh)
WO (1) WO2016026293A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238853B (zh) * 2014-08-19 2017-07-14 小米科技有限责任公司 消息发送方法及装置
US9628966B2 (en) 2014-08-19 2017-04-18 Xiaomi Inc. Method and device for sending message
CN105978801A (zh) * 2016-07-13 2016-09-28 北京小米移动软件有限公司 发送消息的方法及装置
CN106453949B (zh) * 2016-11-17 2019-07-26 维沃移动通信有限公司 一种创建日程的方法及移动终端
CN109829142A (zh) * 2018-12-28 2019-05-31 努比亚技术有限公司 一种信息处理方法、移动终端及计算机可读存储介质
JP7454426B2 (ja) 2020-03-30 2024-03-22 株式会社日本総合研究所 検索装置及び方法、並びにプログラム

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1413043A (zh) * 2001-10-11 2003-04-23 英业达集团(上海)电子技术有限公司 具有定时发送短消息功能的移动通信装置与方法
CN101576801A (zh) * 2008-05-08 2009-11-11 Lg电子株式会社 终端及其控制方法
CN103257822A (zh) * 2012-02-16 2013-08-21 三星麦迪森株式会社 用于显示图像的方法和设备
CN104238853A (zh) * 2014-08-19 2014-12-24 小米科技有限责任公司 消息发送方法及装置

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08249125A (ja) * 1995-03-14 1996-09-27 Yaskawa Electric Corp ポインタによる数値入力方法
JPH1188950A (ja) * 1997-09-05 1999-03-30 Sanyo Electric Co Ltd 携帯電話装置とその基地局
US6044275A (en) * 1998-03-23 2000-03-28 Ericsson Inc. System and method for time defined delivery of short message service messages
JP2002197031A (ja) * 2000-12-26 2002-07-12 Nec Corp 文字メール送信機能付き携帯情報端末装置
JP2004128589A (ja) * 2002-09-30 2004-04-22 Seiko Epson Corp 携帯電話と携帯電話の基地局システムとメール処理用コンピュータプログラム
RU39415U1 (ru) * 2004-04-15 2004-07-27 Лапшин Виктор Викторович Система для проведения интерактивного сеанса
JP2008089355A (ja) * 2006-09-29 2008-04-17 Kenwood Corp 経路入力装置
US8106890B2 (en) * 2008-04-07 2012-01-31 International Business Machines Corporation Slide based technique for inputting a sequence of numbers for a computing device
US20110191675A1 (en) * 2010-02-01 2011-08-04 Nokia Corporation Sliding input user interface
CN102467337A (zh) * 2010-11-19 2012-05-23 比亚迪股份有限公司 触摸式移动终端的时间设定方法及移动终端
US9471145B2 (en) * 2011-01-06 2016-10-18 Blackberry Limited Electronic device and method of displaying information in response to a gesture
JP2012225873A (ja) * 2011-04-22 2012-11-15 Nippon Syst Wear Kk 時刻設定装置、時刻設定方法、時刻設定プログラム、および該プログラムを格納したコンピュータ可読媒体
JP6034649B2 (ja) * 2012-10-16 2016-11-30 キヤノン株式会社 情報処理装置、情報処理装置の制御方法、及びプログラム

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1413043A (zh) * 2001-10-11 2003-04-23 英业达集团(上海)电子技术有限公司 具有定时发送短消息功能的移动通信装置与方法
CN101576801A (zh) * 2008-05-08 2009-11-11 Lg电子株式会社 终端及其控制方法
CN103257822A (zh) * 2012-02-16 2013-08-21 三星麦迪森株式会社 用于显示图像的方法和设备
CN104238853A (zh) * 2014-08-19 2014-12-24 小米科技有限责任公司 消息发送方法及装置

Also Published As

Publication number Publication date
CN104238853A (zh) 2014-12-24
BR112015018379B1 (pt) 2022-09-20
RU2619203C2 (ru) 2017-05-12
BR112015018379A2 (pt) 2017-07-18
CN104238853B (zh) 2017-07-14
RU2015124377A (ru) 2017-01-10
MX354030B (es) 2018-02-07
KR101676216B1 (ko) 2016-11-14
JP2016537748A (ja) 2016-12-01
KR20160031994A (ko) 2016-03-23
EP2988458B1 (en) 2023-06-07
JP6159891B2 (ja) 2017-07-05
MX2015006949A (es) 2016-05-20
EP2988458A1 (en) 2016-02-24

Similar Documents

Publication Publication Date Title
US10649648B2 (en) Method and apparatus for screen capture processing
WO2016026293A1 (zh) 消息发送方法及装置
WO2016023340A1 (zh) 一种切换摄像头的方法和装置
EP2928169B1 (en) Method for voice calling, method for voice playing and devices thereof
CN105845124B (zh) 音频处理方法及装置
WO2016062006A1 (zh) 拍摄控制方法及装置
WO2017036039A1 (zh) 远程协助方法和客户端
WO2017084183A1 (zh) 信息显示方法与装置
WO2015188588A1 (zh) 应用程序的删除提示方法和装置
WO2017036037A1 (zh) 拍摄控制方法和装置
WO2016112699A1 (zh) 切换显示模式的方法及装置
WO2017128723A1 (zh) 获取位置信息的方法及装置
US11361586B2 (en) Method for sending warning information, storage medium and terminal
WO2017088260A1 (zh) 睡眠状态检测方法、装置及系统
WO2016008244A1 (zh) 健康数据显示方法及装置
WO2017096783A1 (zh) 账户管理方法及装置
WO2017088247A1 (zh) 输入处理方法、装置及设备
WO2016155232A1 (zh) 号码标记方法及装置
WO2016029648A1 (zh) 文件备份方法和装置
US9628966B2 (en) Method and device for sending message
WO2016015403A1 (zh) 一种接入wi-fi网络的方法及装置
WO2016078394A1 (zh) 一种提醒语音通话的方法及装置
WO2017088259A1 (zh) 屏幕保护方法及装置
WO2017054354A1 (zh) 信息处理方法及装置
WO2016082461A1 (zh) 推荐信息获取方法、终端及服务器

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 20157012978

Country of ref document: KR

Kind code of ref document: A

Ref document number: 2016543314

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: MX/A/2015/006949

Country of ref document: MX

ENP Entry into the national phase

Ref document number: 2015124377

Country of ref document: RU

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15834559

Country of ref document: EP

Kind code of ref document: A1

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112015018379

Country of ref document: BR

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 112015018379

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20150731

122 Ep: pct application non-entry in european phase

Ref document number: 15834559

Country of ref document: EP

Kind code of ref document: A1