WO2017071531A1 - 一种发送信息的方法及装置 - Google Patents

一种发送信息的方法及装置 Download PDF

Info

Publication number
WO2017071531A1
WO2017071531A1 PCT/CN2016/102830 CN2016102830W WO2017071531A1 WO 2017071531 A1 WO2017071531 A1 WO 2017071531A1 CN 2016102830 W CN2016102830 W CN 2016102830W WO 2017071531 A1 WO2017071531 A1 WO 2017071531A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
sending
user
server
sent
Prior art date
Application number
PCT/CN2016/102830
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 JP2018522512A priority Critical patent/JP6591067B2/ja
Priority to EP16858966.1A priority patent/EP3370373B1/en
Priority to KR1020187015348A priority patent/KR102067766B1/ko
Priority to ES16858966T priority patent/ES2807925T3/es
Priority to SG11201803582WA priority patent/SG11201803582WA/en
Priority to PL16858966T priority patent/PL3370373T3/pl
Publication of WO2017071531A1 publication Critical patent/WO2017071531A1/zh
Priority to US15/963,613 priority patent/US10798042B2/en

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/21Monitoring or handling of messages
    • H04L51/23Reliability checks, e.g. acknowledgments or fault reporting
    • 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/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • 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/21Monitoring or handling of messages
    • H04L51/234Monitoring or handling of messages for tracking messages
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • 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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • 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/56Unified messaging, e.g. interactions between e-mail, instant messaging or converged IP messaging [CPM]

Definitions

  • the present application relates to the field of computer technologies, and in particular, to a method and an apparatus for transmitting information.
  • the way to send information through a mobile communication network such as the way information is sent via SMS, MMS, etc.
  • the sending mode can enable the user to quickly obtain the information sent by the sender, and the obtained information has high real-time performance, but the disadvantage of this method is that the cost of transmitting the information is relatively high.
  • the first method of sending information over the Internet may monitor whether the user receives the information sent by using the first sending manner, where the first sending manner includes sending the information by using a Transmission Control Protocol (TCP) long connection.
  • TCP Transmission Control Protocol
  • the first sending mode does not require the user to actively view. Since the first transmission mode transmits information through the network, the cost is relatively small, and the information sent by the sender to the user in this manner can be actively popped up on the terminal used by the user, so there is no need to The user actively views.
  • this method requires the user to install the client related to the information push, and the server can push the information to the user.
  • the client installed by the user needs to be online in real time and cannot shield the information sent by the sender, so as to be effective.
  • Receiving the information sent by the sender the user can not receive and view the information sent by the sender to the user in the first sending manner, thereby reducing the convenience of the user when viewing the information.
  • the second method of sending information over the Internet Through the second transmission mode, the sender cannot monitor Whether the user receives the information sent by the second sending mode, and the second sending mode requires the user to actively view, for example, sending the mail, the station letter, and the instant messaging information.
  • the transmission path of the second transmission mode is similar to the first transmission mode, and therefore, the cost is relatively small, and compared with the first transmission mode, the user can conveniently send the sender before in this way. The information is viewed.
  • the user when viewing the information sent by the sender, the user usually needs to actively enter the application (Application, APP) related to the second sending mode or log in to the related mailbox to view the obtained information, that is, the user is not If you actively view the information in the APP and the mailbox, you will not be able to obtain the information sent by the sender in real time.
  • Application Application
  • the sender For the sender, the main concern is the premise that the information can be effectively transmitted to the receiver.
  • the choice of how to send can minimize the cost of sending information. Therefore, for some information with low real-time requirements, in order to save the cost of transmitting information as much as possible, the sender generally uses the first or second transmission method for transmitting information through the Internet to send information to the user.
  • the second sending manner may only send the information to the user once, and if the user sends the information to the user by using the first sending manner, if the user does not If the user logs in online, the user can no longer receive and view the information. Therefore, when the sender sends the information in the first sending mode, the information needs to be sent to the user periodically.
  • the client used by the user automatically returns an acknowledgement message to the sender to notify that the information has been received, so
  • the sender can monitor whether the user receives the information sent by the sender in the first sending manner within a preset time period. If yes, the sender does not need to periodically send the information by using the first sending manner; otherwise, the sender Information needs to be sent to the user over the mobile communication network.
  • the embodiment of the present application provides a method and an apparatus for transmitting information, which are used to solve the problem of sending information in the prior art. This will increase the cost of sending messages by the sender, and it will cause a waste of resources required to send the information.
  • the server determines the information to be sent and the waiting time corresponding to the information
  • the sending manner includes: the server is capable of monitoring whether the user receives the first sending manner of the information, and the server cannot monitor whether the user is Receiving the second transmission mode of the information;
  • the information is not transmitted through the mobile communication network; otherwise, the information is transmitted through the mobile communication network.
  • Determining a time module configured to determine information to be sent and a waiting time corresponding to the information
  • a determining mode module configured to determine a sending manner of sending the information over the Internet; wherein the sending manner includes: the device is capable of monitoring whether the user receives the first sending manner of the information, and the device The second transmission mode of whether the user receives the information cannot be monitored;
  • a sending module configured to send the information to a user in a first sending manner, and send information that adds a response response identifier to the user in a second sending manner;
  • An adding module configured to add a preset response response identifier to the determined information, and instruct the sending module to send, to the user, information that the response response identifier is added in a second sending manner;
  • a monitoring module configured to monitor whether the user receives and views the first sending manner during the waiting time Sending the information, and according to the response response identifier, monitoring whether the user receives and views the information sent by the second sending manner during the waiting time; if the user is monitored and received during the waiting time
  • the information sent in the first sending manner or the second sending manner instructs the sending module not to send the information through the mobile communication network; otherwise, instructing the sending module to send the information through the mobile communication network.
  • a receiving module configured to receive information sent by the server
  • a determining module configured to determine whether the information carries a response response identifier
  • a sending module configured to: when the judgment result of the determining module is yes, return an acknowledgement message corresponding to the response response identifier to the server, so that the server does not send the acknowledgement message after receiving the acknowledgement message Information; when the judgment result of the judging module is no, the confirmation message is not returned to the server.
  • An embodiment of the present application provides a method and an apparatus for transmitting information, where the server sends information to a user in a first sending manner and a second sending manner, and monitors whether the user is in a waiting time.
  • the information transmitted in the first transmission mode and the second transmission mode is received and viewed, and if so, the information is not transmitted to the user through the mobile communication network, and if not, the information is transmitted to the user through the mobile communication network.
  • the information is sent by the foregoing method, so that the server can effectively monitor whether the user sends the information sent by the server in the second sending manner during the waiting time, and after monitoring the information, the user does not use the mobile communication network to the user.
  • sending information can effectively reduce the cost of transmitting information and save resources required for transmitting information.
  • FIG. 1 is a process of sending information according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of an information sending process corresponding to FIG. 1 according to an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of an apparatus for sending information according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of another apparatus for transmitting information according to an embodiment of the present disclosure.
  • the application aims to monitor whether a user receives and views information sent by a second sending method such as mail, station letter, instant communication, etc. within a waiting time, which requires the server to preset before sending the information in the second sending mode.
  • the response response identifier is added to the information to be sent, and the response response identifier is added in the second transmission mode.
  • the information is sent to the user.
  • the terminal used by the user recognizes that the information sent by the second sending mode carries the response response identifier, the terminal can automatically reply to the corresponding confirmation message, so that the server knows that the user has received and viewed the second.
  • the information sent by the sending method can be used to send the information through the mobile communication network, such as short messages and multimedia messages, so as to save the resources consumed by the sending information.
  • FIG. 1 is a process for sending information according to an embodiment of the present disclosure, which specifically includes the following steps:
  • S101 The server determines information to be sent and a waiting time corresponding to the information.
  • the server usually sends some information such as bank transfer notices, entertainment news, game advertisements, etc. to the user, and before sending the information to the user, the server needs to determine the specific content of the information, and therefore, implemented in the present application.
  • the server when the server sends information to the user, it may first determine the information that needs to be sent to the user.
  • the server may determine a waiting time corresponding to the sending of the information.
  • the server may send the information to the user by using a certain sending manner, where the waiting time may be It is determined according to factors such as the size of the transmitted information, the type of the information content, and the like.
  • the server can determine a short waiting time, so that the server adopts a certain time during the waiting time.
  • the sending method sends this information to the user.
  • the information to be sent determined by the server is multimedia information such as pictures and videos, since the multimedia information usually has a large amount of data, the server can determine a relatively long waiting time.
  • S102 Determine a sending manner of sending the information by using the Internet, where the sending manner includes: the server is capable of monitoring whether the user receives the first sending manner of the information, and the server cannot monitor the Whether the user receives the second transmission mode of the information.
  • the server may determine a sending manner of sending the information, where the server may determine that the sending manner of sending the information is detectable. Whether the user receives the first sending manner of the information sent by the server, and cannot detect whether the user receives the second sending manner of the information sent by the server. Of course, only the first sending manner or the second sending manner may be determined. One kind.
  • the server may first determine the sending manner of sending the information, because the sender can reduce the cost required to send the information as much as possible, so the sender can use the Internet as a transmission path through the server.
  • Sending the information wherein the server can determine the sending mode used to send the information according to the specific type of the information. For example, if the server needs to send a small amount of information to the user, the server can The sending manner of sending the information is determined as a first sending method for transmitting information through a TCP long connection such as information push. If the server needs to send a large amount of information to the user, the server may send the information.
  • the mode is determined to be a second transmission method such as transmitting information by at least one of mail, station letter, and instant communication.
  • the server may also determine the sending manner of sending the information as the foregoing two sending manners. That is, the information is transmitted to the user by the first transmission method and the second transmission method, that is, regardless of the type of the information, the information is transmitted to the user by the two types of transmission.
  • S103 Send the information to the user in a first transmission manner.
  • the server may transmit the determined information to be sent to the user to the user in a first transmission manner in which information is transmitted through a TCP long connection, such as information push.
  • the server when the server sends information to the user by using a TCP long connection to send information, such as information push, the user terminal automatically returns a response after receiving the information, so that the server receives the message. After responding to the response, it can be known that the user has received the information that the server sends to the user in the first sending manner. Therefore, when the server sends the information to the user (ie, the terminal used by the user) in the first sending manner, the information is not needed. By performing any processing, the information to be transmitted determined by step S101 can be directly transmitted through the first transmission mode.
  • the server may periodically send the information to be sent determined by the server to the user in the first sending manner according to the set time interval.
  • S104 Add a preset response response identifier to the determined information, and send information that the response response identifier is added to the user in a second sending manner.
  • the server may add a preset response response identifier to the information sent to the user.
  • the terminal used by the user can identify the response response identifier carried in the information, and after identifying the response response identifier, can automatically return the confirmation corresponding to the response response identifier.
  • the response response identifier may be an identifier, that is, the server and the terminal may pre-appoint an identifier as the response response identifier, and if the terminal recognizes that the identifier sent by the server carries the identifier, the response is returned to the server. Confirm the message.
  • the server may send the information to the user in the second sending manner. Specifically, after the information is sent to the user by using a second sending manner, such as mail, in-station letter, instant messaging, etc., the user can receive and view the information by logging in to the corresponding software or client, and therefore, the server can pass the second In the sending mode, only the information that the response response identifier is added is sent to the user once.
  • a second sending manner such as mail, in-station letter, instant messaging, etc.
  • step S101 the sequence in which the server sends the information of the response response identifier added by the second transmission mode and the information to be transmitted that is directly determined by the first transmission mode to be sent in step S101 may be in any order.
  • S105 Monitor whether the user receives and views the information sent by the first sending manner during the waiting time, and according to the response response identifier, monitor whether the user receives and views the waiting time.
  • the information sent by the second transmission method is not limited to:
  • the server When the server directly transmits the information to be transmitted determined by the step S101 to the user in the first transmission mode, the user is monitored whether the information is received during the waiting time. Specifically, when the terminal used by the user receives the information sent by the server in the first sending manner, the server returns a response response, and after receiving the response, the server can learn that the user receives the server and sends the first response. The way the information is sent to the user, so the information can no longer be sent to the user in any way.
  • the server When the server sends the information that adds the response response identifier to the user in the second sending manner, it will monitor whether the user receives and views the information according to the response response identifier during the waiting time. Specifically, when the user receives and views the information, the terminal used by the user recognizes that the information carries the response response identifier, and may return a confirmation message corresponding to the response response identifier to the server, and the server receives the information. After the confirmation message, it can be known that the user has received and viewed the information sent by the server to the user in the second transmission mode.
  • the method for the server to monitor whether the user receives and views the information sent by the second sending manner in the waiting time may be: the server monitors whether the user is received within the waiting time (ie, the terminal used by the user) The returned response response identifies a corresponding confirmation message, and if so, it is determined that the user is monitored and received during the waiting time. The information sent in the second transmission mode. Otherwise, it is determined that the user is not monitored to receive and view the information transmitted in the second transmission mode.
  • S106 If it is monitored that the user receives and views the information sent by the first sending manner or the second sending manner within the waiting time, the information is not sent by the mobile communication network; otherwise, the information is sent by using the mobile communication network. information.
  • the server When the server detects that the user receives and views the information sent by the server in the first sending manner or the second sending manner, the server does not send the same to the user in the sending manner of sending the information through the mobile communication network. If, during the waiting time, the user does not monitor and receives the information sent by the server in the first sending manner or the second sending manner, the sending manner of sending the information through the mobile communication network may send the same to the user. information.
  • the sending manner of sending information through the mobile communication network described in the present application may be a sending manner such as a short message or a multimedia message.
  • the server determines that the information to be sent is a text message by the above step S101, and determines that the waiting time corresponding to the text information is within 2015.10.19 to 2015.10.20, the server adds the response response identifier to the above step S104.
  • the text information the text information to which the response response identifier is added is transmitted to the user in the second transmission mode, and the server transmits the text information in which the response response identifier is not added to the user in the first transmission mode through the above-described step S103.
  • the server monitors whether the response response corresponding to the first transmission mode returned by the user is received in the waiting time, and whether the monitoring is received within the waiting time.
  • the text message may not be sent to the user in the manner of sending the information through the mobile communication network. If the above response is not received within the waiting time and the above confirmation message is not received, the text information can be transmitted to the user via the mobile communication network to transmit the information.
  • the server does not send the information to the user in the first sending mode even if the user does not receive the information sent by the server in the first sending manner within the waiting time, and when the monitoring is After the user does not receive the information sent by the server in the first transmission mode within the waiting time, when the waiting time is reached, the user does not send the information to the user in the manner of sending the information through the mobile communication network, thereby effectively reducing the transmission.
  • the server uses the first transmission method such as information push.
  • the first transmission method such as information push.
  • the user sends the information, it needs to be periodically sent within the waiting time. If the user has received and viewed the information sent by the server in the first sending mode or the second sending mode within the waiting time, then the periodicity does not need to be repeated.
  • the information is sent in the first sending manner. Therefore, in the embodiment of the present application, if the server monitors that the user receives and views the information sent by the first sending manner or the second sending manner, the server does not The first transmission method sends information to the user.
  • step S102 shown in FIG. 1 when the server determines the transmission method of transmitting information via the Internet, it may be determined based on the protocol adopted by each transmission method. Specifically, the server may pre-save a protocol used by each of the sending manners of sending information through the Internet, and whether it can monitor the correspondence table of the information received by the user, and determine, according to the correspondence table, which sending manner is capable of monitoring whether the user receives the information.
  • the first transmission mode of the transmitted information which transmission mode is the second transmission mode that cannot monitor whether the user receives the transmitted information, as shown in Table 1.
  • Table 1 is a table of correspondence between a protocol used for transmitting a message transmitted through the Internet and whether a user can monitor information received by the user according to an embodiment of the present application.
  • the server can determine that the information is pushed as the first transmission mode, and the mail and instant communication are the second transmission mode.
  • FIG. 2 is a schematic diagram of the information sending process corresponding to FIG. 1 according to an embodiment of the present application, and specifically includes the following steps:
  • S201 Receive information sent by the server.
  • step S202 Determine whether the response response identifier is carried in the information, and if yes, execute step S203; otherwise, execute step S204.
  • S203 Return an acknowledgement message corresponding to the response response identifier to the server, so that the server does not send the information after receiving the acknowledgement message;
  • the information sent by the server received by the terminal may be sent by one or more of the first and second transmission modes and the transmission manner of the information transmitted by the mobile communication network.
  • the subsequent steps S202 to S204 need not be performed, and if the information received by the terminal is the server If the second transmission method (message method such as mail, station communication, instant communication, etc.) is sent, it is necessary to determine whether to return an acknowledgment message to the server through subsequent steps S202 to S204, and if the information received by the terminal is the server passes the first If the transmission method (transmission method such as information push) is transmitted, the terminal does not need to perform subsequent steps S202 to S204, and can directly return a response to the server.
  • the transmission method transmission method such as information push
  • the terminal may first determine whether the information is sent by the server by using the second sending mode. If yes, the following steps S202-S204 may be used to determine whether to return the confirmation to the server. Message, otherwise, it is not necessary to determine whether to return a confirmation message to the server through subsequent steps S202-S204.
  • step S203 shown in FIG. 2 the step of the terminal returning the confirmation message to the server may also be triggered by the user's designated operation.
  • the second sending method is a mail
  • the user may not return a confirmation message to the server, but when the user clicks the mail, It is determined that the user performs the specified operation, and the terminal is triggered to return a confirmation message to the server.
  • the second sending mode is instant messaging
  • the user may not return a confirmation message to the server, but when the user opens
  • the chat interface corresponding to the instant messaging information it is determined that the user performs the specified operation, and the triggering terminal returns a confirmation message to the server.
  • the embodiment of the present application further provides two devices for sending information, as shown in FIG. 3 and FIG. 4 .
  • FIG. 3 is a schematic structural diagram of an apparatus for sending information according to an embodiment of the present disclosure, which specifically includes:
  • Determining a time module 301 configured to determine information to be sent and a waiting time corresponding to the information
  • a determining mode module 302 configured to determine a sending manner of sending the information over the Internet, where the sending manner includes: the device is capable of monitoring whether the user receives the first sending manner of the information, and the The device cannot monitor whether the user receives the second transmission mode of the information;
  • the sending module 303 is configured to send the information to the user in the first sending manner, and send the information that adds the response response identifier to the user in the second sending manner;
  • the adding module 304 is configured to add a preset response response identifier to the determined information, and instruct the sending module 303 to send information that adds the response response identifier to the user in a second sending manner.
  • the monitoring module 305 is configured to monitor whether the user receives and views the first sending in the waiting time The information sent by the mode, and according to the response response identifier, monitoring whether the user receives and views the information sent by the second sending manner during the waiting time; if the user is monitored and received during the waiting time The information transmitted in the first transmission mode or the second transmission mode instructs the transmitting module 303 not to transmit the information through the mobile communication network; otherwise, the transmitting module 303 is instructed to transmit the information through the mobile communication network.
  • the first sending manner includes: sending a sending manner by using a transmission control protocol TCP long connection;
  • the second sending manner includes: sending a message by using at least one of a mail, a station letter, and an instant communication;
  • the sending module 304 is specifically configured to send information that the response response identifier is added to the user in a second sending manner.
  • the monitoring module 305 is specifically configured to: monitor whether a confirmation message corresponding to the response response identifier returned by the user is received within the waiting time; if yes, determine to monitor that the user receives and views the waiting time. The information sent in the second transmission mode; otherwise, it is determined that the user has not been monitored to receive and view the information transmitted in the second transmission mode within the waiting time.
  • the sending module 303 is specifically configured to send the information to the user in a first sending manner according to the set time interval.
  • the monitoring module 305 is further configured to: when the user receives the information sent by the first sending manner or the second sending manner, the sending module 303 is no longer instructed to pass the mobile communication.
  • the network sends information to the user.
  • FIG. 4 is a schematic structural diagram of another apparatus for transmitting information according to an embodiment of the present disclosure.
  • the receiving module 401 is configured to receive information sent by the server;
  • the determining module 402 is configured to determine whether the information carries the response response identifier.
  • the sending module 403 is configured to: when the determining result of the determining module 402 is YES, return an acknowledgement message corresponding to the response response identifier to the server, so that the server does not send the acknowledgement message after receiving the acknowledgement message.
  • An embodiment of the present application provides a method and an apparatus for transmitting information, where the server sends information to a user in a first sending manner and a second sending manner, and monitors whether the user is in a waiting time.
  • the sending method sends a message to the user.
  • Sending information by the above method enables the server to effectively monitor whether the user has viewed the information sent by the server in the second sending mode during the waiting time, and monitors the user. After the information is viewed, the information is not sent to the user by sending the information through the mobile communication network. Compared with the prior art, the cost of sending the information can be effectively reduced, and the resources required for transmitting the information are saved.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例提供一种发送信息的方法及装置,以解决现有技术中发送信息方式会增大发送方发送信息的成本,浪费发送信息所需资源的问题。该方法服务器在发送信息的等待时间内,分别以第一发送方式和第二发送方式向用户发送信息,并在等待时间内,监测用户是否接收并查看以第一发送方式和第二发送方式发送的信息,若是,则不通过移动通信网络向用户发送信息,若否,则通过移动通信网络向用户发送信息。通过上述方法发送信息可使服务器在等待时间内监测到用户是否对服务器以第二发送方式发送的信息进行查看,并在监测到用户查看信息后,不再通过移动通信网络向用户发送信息,相对于现有技术而言可有效减少发送信息成本,节约发送信息所需资源。

Description

一种发送信息的方法及装置
本申请要求2015年10月30日递交的申请号为201510729163.8、发明名称为“一种发送信息的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,尤其涉及一种发送信息的方法及装置。
背景技术
随着信息时代的快速发展,人们对信息的需求与日俱增,为了满足人们对信息日益增加的需求,信息服务运营商及开发人员为用户提供了多种获取信息的方式,使得用户在获取信息时,可根据不同的情况来选择合适的获取信息的方式,进而大大降低了由于受一些外界因素的影响(如,移动通信信号不稳定)使得用户无法获取信息的可能性,为用户在获取信息时提供了方便。
对于现有的发送信息的方式来说,主要有以下三种发送方式:
通过移动通信网络发送信息的方式,如通过短信、彩信等发送信息的方式。该发送方式可以使用户快速获取发送方发送的信息,并且获取的信息实时性较高,但这种方式的不足之处在于,发送信息的成本相对较高。
通过互联网发送信息的第一发送方式。通过所述的第一发送方式,发送方可监测用户是否接收到以第一发送方式发送的信息,所述的第一发送方式包括通过传输控制协议(Transmission Control Protocol,TCP)长连接来发送信息,如,信息推送等发送方式。该第一发送方式不需要用户主动查看。该第一发送方式由于是通过网络来发送信息的,因此,所花费的成本相对较少,并且,发送方通过这种方式向用户发送的信息可在用户所使用的终端上主动弹出,因此无需用户主动查看。但是,这种方式需要用户安装与信息推送相关的客户端,服务器才能向用户进行信息推送,同时,还要求用户所安装的客户端需要实时在线并且不能屏蔽发送方发送过来的信息,才能有效的接收到发送方发送过来的信息,不仅如此,用户也无法接收并查看发送方之前采用第一发送方式向用户发送的信息,从而降低了用户在查看信息时的便利性。
通过互联网发送信息的第二发送方式。通过所述的第二发送方式,发送方不能监测 用户是否接收到以第二发送方式发送的信息,所述的第二发送方式需要用户主动查看,如通过发送邮件、站内信以及即时通讯信息发送信息的方式。该第二发送方式的传输途径与第一发送方式相似,因此,所花费的成本也相对较少,并且,与第一发送方式相比,用户可以方便的对发送方之前通过这种方式发送过来的信息进行查看。但是,用户在查看发送方发送过来的信息时,通常需要主动进入与第二种发送方式相关的应用(Application,APP)或是登录相关的邮箱来对获取的信息进行查看,即,用户在不主动查看APP以及邮箱中的信息的情况下,将无法及时获取发送方实时发送过来的信息。
从上述说明的三种发送信息的方式可以看出,各种发送信息的方式都存在一定的差异,其中,对于发送方而言,其主要关注的是在保证信息能够有效发送给接收方的前提下,选择怎样的发送方式能够尽可能的降低发送信息所花费的成本的问题。因此,对于一些实时性要求不高的信息,为了尽可能的节省发送信息的成本,发送方一般优先采用上述通过互联网发送信息的第一或第二发送方式来向用户发送信息。
具体的,发送方优先采用上述第一或第二发送方式向用户发送信息时,采用第二发送方式可只向用户发送一次信息,而由于采用第一发送方式向用户发送信息时,若用户不在线,则即使用户后续登录,也不能再接收并查看该信息,因此,发送方采用第一发送方式发送信息时,需要周期性的向用户发送信息。又因为采用诸如信息推送的第一发送方式向用户发送信息时,其发送的信息一旦被用户接收,则用户使用的客户端会自动向发送方返回确认消息,以通知该信息已经被接收,因此,发送方可监测用户是否在预设的时间段内接收到了发送方采用第一发送方式发送的信息,若是,则发送方无需再周期性的采用第一发送方式发送信息,否则,发送方则需要通过移动通信网络向用户发送信息。
但是,通过上述过程可以看出,如果用户在预设的时间段内接收并查看了发送方采用第二发送方式(如邮箱、站内信等方式)发送的信息,而并未在预设的时间段内接收发送方采用第一发送方式发送的信息,则由于采用第二发送方式发送信息时,发送方不能够监测用户是否接收到以第二发送方式发送的信息,因此,发送方仍会采用成本较高的通过移动通信网络来发送信息的发送方式再次向用户发送信息,这不仅增大了发送信息的成本,而且也造成了发送信息所需资源的浪费。
发明内容
本申请实施例提供一种发送信息的方法及装置,用以解决现有技术中的发送信息方 式会增大发送方发送信息时的成本,而且会造成发送信息所需资源浪费的问题。
本申请实施例提供的一种发送信息的方法,包括:
服务器确定待发送的信息以及所述信息对应的等待时间;
确定通过互联网发送所述信息的发送方式;其中,所述发送方式包括:所述服务器能够监测所述用户是否接收到所述信息的第一发送方式,以及,所述服务器不能监测所述用户是否接收到所述信息的第二发送方式;
以第一发送方式向用户发送所述信息;
将预设的应答响应标识添加到确定出的所述信息中,并以第二发送方式向用户发送添加了所述应答响应标识的信息;
监测所述用户是否在所述等待时间内接收并查看了以第一发送方式发送的信息,并根据所述应答响应标识,监测所述用户是否在所述等待时间内接收并查看了以第二发送方式发送的信息;
若监测到用户在所述等待时间内接收并查看了以第一发送方式或第二发送方式发送的信息,则不通过移动通信网络发送所述信息,否则,通过移动通信网络发送所述信息。
本申请实施例提供的一种发送信息的方法,包括:
接收服务器发送的信息;
判断所述信息中是否携带有应答响应标识;
若是,则将所述应答响应标识对应的确认消息返回给所述服务器,使所述服务器在接收到所述确认消息后不再发送所述信息;
否则,不向所述服务器返回确认消息。
本申请实施例提供的一种发送信息的装置,包括:
确定时间模块,用于确定待发送的信息以及所述信息对应的等待时间;
确定方式模块,用于确定通过互联网发送所述信息的发送方式;其中,所述发送方式包括:所述装置能够监测所述用户是否接收到所述信息的第一发送方式,以及,所述装置不能监测所述用户是否接收到所述信息的第二发送方式;
发送模块,用于以第一发送方式向用户发送所述信息,以第二发送方式向用户发送添加了应答响应标识的信息;
添加模块,用于将预设的应答响应标识添加到确定出的所述信息中,并指示所述发送模块以第二发送方式向用户发送添加了所述应答响应标识的信息;
监测模块,用于监测所述用户是否在所述等待时间内接收并查看了以第一发送方式 发送的信息,并根据所述应答响应标识,监测所述用户是否在所述等待时间内接收并查看了以第二发送方式发送的信息;若监测到用户在所述等待时间内接收并查看了以第一发送方式或第二发送方式发送的信息,则指示所述发送模块不通过移动通信网络发送所述信息,否则,指示所述发送模块通过移动通信网络发送所述信息。
本申请实施例提供的一种发送信息的装置,包括:
接收模块,用于接收服务器发送的信息;
判断模块,用于判断所述信息中是否携带有应答响应标识;
发送模块,用于当所述判断模块的判断结果为是时,将所述应答响应标识对应的确认消息返回给所述服务器,使所述服务器在接收到所述确认消息后不再发送所述信息;当所述判断模块的判断结果为否时,不向所述服务器返回确认消息。
本申请实施例提供一种发送信息的方法及装置,该方法服务器在发送信息的等待时间内,分别以第一发送方式和第二发送方式向用户发送信息,并在等待时间内,监测用户是否接收并查看了以第一发送方式和第二发送方式发送的信息,若是,则不通过移动通信网络向用户发送信息,若否,则通过移动通信网络向用户发送信息。通过上述方法发送信息可使服务器在等待时间内有效的监测到用户是否对服务器以第二发送方式发送的信息进行了查看,并在监测到用户查看了信息后,不再通过移动通信网络向用户发送信息,相对于现有技术来说,可有效减少发送信息的成本,节约发送信息所需的资源。
附图说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1为本申请实施例提供的发送信息的过程;
图2为本申请实施例提供的对应于图1的信息发送过程;
图3为本申请实施例提供的一种发送信息的装置结构示意图;
图4为本申请实施例提供的另一种发送信息的装置结构示意图。
具体实施方式
本申请旨在监控用户是否在等待时间内接收并查看了以诸如邮件、站内信、即时通信等第二发送方式发送的信息,这就需要服务器在以第二发送方式发送信息之前,将预设的应答响应标识添加到要发送的信息中,再以第二发送方式将添加了应答响应标识的 信息发送给用户,用户所使用的终端在识别出以第二发送方式发送的信息中携带有应答响应标识时,可自动回复相应的确认消息,使服务器获知该用户已经接收并查看了以第二发送方式发送的信息,进而可不再以诸如短信、彩信等通过移动通信网络发送信息的方式来发送该信息,达到节约发送信息所消耗的资源的目的。
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
图1为本申请实施例提供的发送信息的过程,具体包括以下步骤:
S101:服务器确定待发送的信息以及所述信息对应的等待时间。
在实际应用中,服务器通常会向用户发送一些诸如银行转账通知、娱乐新闻、游戏广告等信息,而在向用户发送这些信息之前,服务器需要先确定这些信息的具体内容,因此,在本申请实施例中,服务器在向用户发送信息时,可以先确定需要向用户发送的信息。
而服务器在向用户发送信息的过程中,可能存在服务器与用户之间的网络通信连接不佳,用户接收信息的客户端或应用不在线的情况,致使用户不能够及时接收到服务器发送过来的信息。为了提高用户接收到服务器所发送的信息的成功率,服务器可确定一个发送信息所对应的等待时间,在该等待时间内,服务器可采用一定的发送方式向用户发送信息,其中,该等待时间可以根据所发送的信息的大小、信息内容的类别等因素来确定。
例如,假设服务器确定的待发送的信息是一个文本信息,由于文本信息通常所占用的数据量都较小,所以,服务器可确定一个较短的等待时间,使得在该等待时间内,服务器采用一定的发送方式向用户发送该信息。而如果服务器确定的待发送的信息是图片、视频等多媒体信息,则由于多媒体信息通常数据量较大,因此服务器可确定相对较长的等待时间。
S102:确定通过互联网发送所述信息的发送方式;其中,所述发送方式包括:所述服务器能够监测所述用户是否接收到所述信息的第一发送方式,以及,所述服务器不能监测所述用户是否接收到所述信息的第二发送方式。
当服务器通过步骤S101确定出了待发送的信息以及该信息对应的等待时间后,可确定发送该信息的发送方式,其中,服务器可将发送该信息的发送方式确定为能够监测到 用户是否接收到服务器发送的该信息的第一发送方式,以及不能监测到用户是否接收到服务器发送的该信息的第二发送方式,当然,也可只确定第一发送方式或第二发送方式中的一种。
具体的,服务器向用户发送信息之前,可先确定发送该信息的发送方式,由于发送方为了能够尽可能的降低发送该信息所需的成本,因此,发送方可通过服务器,以互联网为传输途径,来发送该信息,其中,服务器可根据该信息的具体类型,来确定发送该信息所使用的发送方式,例如,假设服务器需向用户发送的是一个信息量较小的信息,则服务器可将发送该信息的发送方式确定为诸如信息推送等通过TCP长连接来发送信息的第一发送方式,若服务器需向用户发送的是一个信息量较大的信息,则服务器可将发送该信息的发送方式确定为诸如通过邮件、站内信、即时通信中至少一种来发送信息的第二发送方式。而为了使用户能够在服务器确定的所述等待时间内尽可能的接收并查看服务器所发送的信息,在本申请实施例中,服务器也可将发送该信息的发送方式确定为上述两种发送方式,即通过第一发送方式以及第二发送方式,分别向用户发送该信息,也即,无论该信息为何种类型,均以这两种发送分别向用户发送该信息。
S103:以第一发送方式向用户发送所述信息。
服务器可将确定的需向用户发送的信息以信息推送等通过TCP长连接来发送信息的第一发送方式向用户发送该信息。
由于在现有技术中,服务器以信息推送等通过TCP长连接来发送信息的第一发送方式向用户发送信息时,用户终端在接收到信息后会自动返回一个应答响应,使得服务器在接收到该应答响应后即可获知用户已经接收了服务器以第一发送方式向用户发送的信息,因此,服务器在以第一发送方式向用户(即,用户所使用的终端)发送信息时,无需对该信息进行任何处理,即可通过该第一发送方式直接发送通过步骤S101确定出的待发送的信息。具体的,由于通过诸如信息推送等第一发送方式向用户发送信息时,如果用户当前不在线(即,未登录相应的客户端),则即使后续用户上线,也不能接收到服务器之前通过第一发送方式发送的信息,因此,服务器通过第一发送方式发送信息时,可按照设定的时间间隔,周期性的以第一发送方式向用户发送服务器确定出的待发送的信息。
S104:将预设的应答响应标识添加到确定出的所述信息中,并以第二发送方式向用户发送添加了所述应答响应标识的信息。
由于本申请旨在监控用户是否在等待时间内接收并查看了以诸如邮件、站内信、即 时通信等第二发送方式发送的信息,为了能够有效的监测用户是否接收并查看了服务器通过该第二发送方式发送的信息,服务器可在向用户发送的信息中添加一个预设的应答响应标识,使得用户所使用的终端在接收到服务器发送的信息后,能够识别出该信息中所携带的应答响应标识,并在识别出该应答响应标识后,可自动返回与该应答响应标识对应的确认消息,使服务器获知该用户已经接收并查看了该信息。
其中,该应答响应标识具体可以是一个标识符,也即,服务器与终端可预先约定一个标识符作为应答响应标识,如果终端识别出服务器发送的信息中携带该标识符,则向服务器返回响应的确认消息。
而服务器将预设的应答响应标识添加到确定出的待发送的信息后,可以第二发送方式向用户发送该信息。具体的,由于通过诸如邮件、站内信、即时通信等第二发送方式向用户发送了信息后,用户只要登录相应的软件或客户端,就可以接收并查看该信息,因此,服务器可通过第二发送方式,只向用户发送一次添加了应答响应标识的信息。
需要说明的是,服务器通过第二发送方式发送添加了应答响应标识的信息和通过第一发送方式直接发送步骤S101确定出的待发送的信息的顺序可以是任意顺序。
S105:监测所述用户是否在所述等待时间内接收并查看了以第一发送方式发送的信息,并根据所述应答响应标识,监测所述用户是否在所述等待时间内接收并查看了以第二发送方式发送的信息。
当服务器以第一发送方式向用户直接发送通过步骤S101确定出的待发送的信息时,将在上述的等待时间内,监测用户是否接收到了该信息。具体的,当用户所使用的终端接收到服务器以第一发送方式发送的信息时,将向服务器返回一个应答响应,而服务器在接收到该应答响应后,可获知用户接收到了服务器以第一发送方式向用户发送的信息,因此可不再以任何方式向用户发送信息。
而当服务器以第二发送方式向用户发送添加了应答响应标识的信息时,将在上述的等待时间内,根据该应答响应标识监测用户是否接收并查看了该信息。具体的,当用户接收并查看了该信息时,用户所使用的终端识别出该信息中携带有应答响应标识,则可向服务器返回一个与该应答响应标识对应的确认消息,而服务器在接收到该确认消息后,可获知用户已经接收并查看了服务器以第二发送方式向用户发送的信息。也就是说,服务器监测用户是否在等待时间内接收并查看了以第二发送方式发送的信息的方法具体可以是:服务器监测是否在该等待时间内接收到该用户(即,用户所使用的终端)返回的该应答响应标识对应的确认消息,若是,则确定监测到用户在等待时间内接收并查看了 以第二发送方式发送的信息,否则,确定未监测到用户在等待时间内接收并查看了以第二发送方式发送的信息。
S106:若监测到用户在所述等待时间内接收并查看了以第一发送方式或第二发送方式发送的信息,则不通过移动通信网络发送所述信息,否则,通过移动通信网络发送所述信息。
当服务器在所述等待时间内,监测到用户接收并查看了服务器以第一发送方式或第二发送方式发送的信息时,则不再以通过移动通信网络来发送信息的发送方式向用户发送相同的信息,若在等待时间内,未监测到用户接收并查看了服务器以第一发送方式或第二发送方式发送的信息时,则可以通过移动通信网络来发送信息的发送方式向用户发送相同的信息。其中,本申请中所述的通过移动通信网络来发送信息的发送方式可以是诸如短信、彩信等发送方式。
例如,假设服务器通过上述步骤S101确定待发送的信息为一个文本信息,并确定该文本信息对应的等待时间为2015.10.19~2015.10.20内,则服务器通过上述步骤S104,将应答响应标识添加到该文本信息中,并以第二发送方式向用户发送添加了应答响应标识的文本信息,同时,服务器通过上述步骤S103,以第一发送方式向用户发送未添加应答响应标识的文本信息。分别以第一和第二发送方式发送了信息后,服务器则通过步骤S105,监测是否在等待时间内接收到用户返回的与第一发送方式相对应的应答响应,监测是否在等待时间内接收到用户返回的与应答响应标识相对应的确认消息,若在等待时间内接收到了上述的应答响应或确认消息,则可不再以通过移动通信网络来发送信息的发送方式向用户发送该文本信息,若在等待时间内未接收到上述的应答响应,也未接收到上述的确认消息,则可以通过移动通信网络来发送信息的发送方式向用户发送该文本信息。
通过上述说明的发送信息的方式,可在所述等待时间内对用户是否接收并查看了服务器以第二发送方式发送的信息进行监测,当监测到用户在该等待时间内接收并查看了服务器以第二发送方式发送的信息时,使得服务器即使监测到用户在该等待时间内未接收到服务器以第一发送方式发送的信息,也不再以第一发送方式向用户发送信息,并且当监测到用户在该等待时间内未接收到服务器以第一发送方式发送的信息后,在到达等待时间时,也不再以通过移动通信网络来发送信息的发送方式向用户发送信息,从而有效降低了发送信息的成本,并节约了发送信息所需的资源。
进一步的,由于在图1所示的过程中,服务器以诸如信息推送等第一发送方式向用 户发送信息时,需要在等待时间内周期性的发送,而如果在等待时间内用户已经接收并查看了服务器以第一发送方式或第二发送方式发送的信息,则此时也无需再周期性的以第一发送方式发送信息,因此,在本申请实施例中,如果服务器在等待时间内,监测到用户接收并查看了以第一发送方式或第二发送方式发送的信息时,不再以第一发送方式向用户发送信息。
另外,在图1所示的步骤S102中,服务器确定通过互联网发送信息的发送方式时,也可基于各发送方式所采用的协议来确定。具体的,服务器可预先保存各通过互联网发送信息的发送方式所采用的协议与是否能够监测用户接收到信息的对应关系表,并根据该对应关系表,确定哪种发送方式是能够监测用户是否接收到所发送的信息的第一发送方式,哪种发送方式是不能监测用户是否接收到所发送的信息的第二发送方式,如表1所示。
表1为本申请实施例提供的通过互联网发送信息的发送方式所采用的协议与是否能够监测用户接收到信息的对应关系表。
表1
Figure PCTCN2016102830-appb-000001
根据预先保存的上述表1,服务器可确定信息推送为第一发送方式,邮件和即时通信为第二发送方式。
图2为本申请实施例提供的对应于图1的信息发送过程,具体包括以下步骤:
S201:接收服务器发送的信息。
S202:判断所述信息中是否携带有应答响应标识,若是,则执行步骤S203,否则,执行步骤S204。
S203:将所述应答响应标识对应的确认消息返回给所述服务器,使所述服务器在接收到所述确认消息后不再发送所述信息;
S204:不向所述服务器返回确认消息。
在图2所示的步骤S201中,终端接收到的服务器发送的信息可能是服务器通过第一、第二发送方式以及通过移动通信网络来发送信息的发送方式中的一种或几种发送的。如 果终端接收到的信息是服务器通过移动通信网络来发送信息的发送方式(短信、彩信等发送方式)发送的,则可无需再执行后续的步骤S202~S204,如果终端接收到的信息是服务器通过第二发送方式(邮件、站内信、即时通信等发送方式)发送的,则需要通过后续的步骤S202~S204,来判断是否要向服务器返回确认消息,如果终端接收到的信息是服务器通过第一发送方式(信息推送等发送方式)发送的,则终端也无需再执行后续的步骤S202~S204,可直接向服务器返回应答响应。
也即,终端通过步骤S201接收到服务器发送的信息后,可先判断该信息是否为服务器通过第二发送方式发送的,若是,则可通过后续的步骤S202~S204来判断是否要向服务器返回确认消息,否则,无需通过后续的步骤S202~S204来判断是否要向服务器返回确认消息。
另外,在图2所示的步骤S203中,终端向服务器返回确认消息的步骤也可以由用户的指定操作来触发。例如,假设第二发送方式为邮件,则用户登录邮件客户端后,接收到服务器通过发送的携带应答响应标识的邮件时,可暂不向服务器返回确认消息,而当用户点击该邮件时,则确定用户执行了指定操作,此时触发终端向服务器返回确认消息。
再如,假设第二发送方式为即时通信,则用户登录即时通信客户端后,接收到服务器发送的携带应答响应标识的即时通信信息时,也可暂不向服务器返回确认消息,而当用户打开该即时通信信息对应的聊天界面时,则确定用户执行了指定操作,此时触发终端向服务器返回确认消息。
以上为本申请实施例提供的发送信息的方法,基于同样的思路,本申请实施例还提供两种发送信息的装置,如图3、图4所示。
图3为本申请实施例提供的一种发送信息的装置结构示意图,具体包括:
确定时间模块301,用于确定待发送的信息以及所述信息对应的等待时间;
确定方式模块302,用于确定通过互联网发送所述信息的发送方式;其中,所述发送方式包括:所述装置能够监测所述用户是否接收到所述信息的第一发送方式,以及,所述装置不能监测所述用户是否接收到所述信息的第二发送方式;
发送模块303,用于以第一发送方式向用户发送所述信息,以第二发送方式向用户发送添加了应答响应标识的信息;
添加模块304,用于将预设的应答响应标识添加到确定出的所述信息中,并指示所述发送模块303以第二发送方式向用户发送添加了所述应答响应标识的信息。
监测模块305,用于监测所述用户是否在所述等待时间内接收并查看了以第一发送 方式发送的信息,并根据所述应答响应标识,监测所述用户是否在所述等待时间内接收并查看了以第二发送方式发送的信息;若监测到用户在所述等待时间内接收并查看了以第一发送方式或第二发送方式发送的信息,则指示所述发送模块303不通过移动通信网络发送所述信息,否则,指示所述发送模块303通过移动通信网络发送所述信息。
所述第一发送方式包括:通过传输控制协议TCP长连接发送信息的发送方式;
所述第二发送方式包括:通过邮件、站内信、即时通信中的至少一种发送信息的发送方式;
所述发送模块304具体用于,以第二发送方式,向用户发送一次添加了所述应答响应标识的信息。
所述监测模块305具体用于,监测是否在所述等待时间内接收到所述用户返回的所述应答响应标识对应的确认消息;若是,则确定监测到用户在所述等待时间内接收并查看了以第二发送方式发送的信息;否则,确定未监测到用户在所述等待时间内接收并查看了以第二发送方式发送的所述信息。
所述发送模块303具体用于,按照设定的时间间隔,以第一发送方式向用户发送所述信息;
所述监测模块305还用于,当在所述等待时间内,监测到所述用户接收到以第一发送方式或第二发送方式发送的信息时,不再指示所述发送模块303通过移动通信网络向用户发送信息。
图4为本申请实施例提供的另一种发送信息的装置结构示意图。
接收模块401,用于接收服务器发送的信息;
判断模块402,用于判断所述信息中是否携带有应答响应标识;
发送模块403,用于当所述判断模块402的判断结果为是时,将所述应答响应标识对应的确认消息返回给所述服务器,使所述服务器在接收到所述确认消息后不再发送所述信息;当所述判断模块402的判断结果为否时,不向所述服务器返回确认消息。
本申请实施例提供一种发送信息的方法及装置,该方法服务器在发送信息的等待时间内,分别以第一发送方式和第二发送方式向用户发送信息,并在等待时间内,监测用户是否接收并查看了以第一发送方式和第二发送方式发送的信息,若是,则不以通过移动通信网络来发送信息的发送方式向用户发送信息,若否,则以通过移动通信网络来发送信息的发送方式向用户发送信息。通过上述方法发送信息可使服务器在等待时间内有效的监测到用户是否对服务器以第二发送方式发送的信息进行了查看,并在监测到用户 查看了信息后,不再以通过移动通信网络来发送信息的发送方式向用户发送信息,相对于现有技术来说,可有效减少发送信息的成本,节约发送信息所需的资源。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。

Claims (12)

  1. 一种发送信息的方法,其特征在于,包括:
    服务器确定待发送的信息以及所述信息对应的等待时间;
    确定通过互联网发送所述信息的发送方式;其中,所述发送方式包括:所述服务器能够监测所述用户是否接收到所述信息的第一发送方式,以及,所述服务器不能监测所述用户是否接收到所述信息的第二发送方式;
    以第一发送方式向用户发送所述信息;
    将预设的应答响应标识添加到确定出的所述信息中,并以第二发送方式向用户发送添加了所述应答响应标识的信息;
    监测所述用户是否在所述等待时间内接收并查看了以第一发送方式发送的信息,并根据所述应答响应标识,监测所述用户是否在所述等待时间内接收并查看了以第二发送方式发送的信息;
    若监测到用户在所述等待时间内接收并查看了以第一发送方式或第二发送方式发送的信息,则不通过移动通信网络发送所述信息,否则,通过移动通信网络发送所述信息。
  2. 如权利要求1所述的方法,其特征在于,所述第一发送方式包括:通过传输控制协议TCP长连接发送信息的发送方式;
    所述第二发送方式包括:通过邮件、站内信、即时通信中的至少一种发送信息的发送方式。
  3. 如权利要求2所述的方法,其特征在于,以第二发送方式向用户发送添加了所述应答响应标识的信息,具体包括:
    以第二发送方式,向用户发送一次添加了所述应答响应标识的信息。
  4. 如权利要求3所述的方法,其特征在于,根据所述应答响应标识,监测所述用户是否在所述等待时间内接收到以第二发送方式发送的信息,具体包括:
    监测是否在所述等待时间内接收到所述用户返回的所述应答响应标识对应的确认消息;
    若是,则确定监测到用户在所述等待时间内接收到以第二发送方式发送的信息;
    否则,确定未监测到用户在所述等待时间内接收到以第二发送方式发送的所述信息。
  5. 如权利要求1~4中任意一项所述的方法,其特征在于,以第一发送方式向用户 发送所述信息,具体包括:
    按照设定的时间间隔,以第一发送方式向用户发送所述信息;
    所述方法还包括:
    当在所述等待时间内,监测到所述用户接收到以第一发送方式或第二发送方式发送的信息时,不再以第一发送方式向用户发送信息。
  6. 一种发送信息的方法,其特征在于,包括:
    接收服务器发送的信息;
    判断所述信息中是否携带有应答响应标识;
    若是,则将所述应答响应标识对应的确认消息返回给所述服务器,使所述服务器在接收到所述确认消息后不再发送所述信息;
    否则,不向所述服务器返回确认消息。
  7. 一种发送信息的装置,其特征在于,包括:
    确定时间模块,用于确定待发送的信息以及所述信息对应的等待时间;
    确定方式模块,用于确定通过互联网发送所述信息的发送方式;其中,所述发送方式包括:所述装置能够监测所述用户是否接收到所述信息的第一发送方式,以及,所述装置不能监测所述用户是否接收到所述信息的第二发送方式;
    发送模块,用于以第一发送方式向用户发送所述信息,以第二发送方式向用户发送添加了应答响应标识的信息;
    添加模块,用于将预设的应答响应标识添加到确定出的所述信息中,并指示所述发送模块以第二发送方式向用户发送添加了所述应答响应标识的信息;
    监测模块,用于监测所述用户是否在所述等待时间内接收并查看了以第一发送方式发送的信息,并根据所述应答响应标识,监测所述用户是否在所述等待时间内接收并查看了以第二发送方式发送的信息;若监测到用户在所述等待时间内接收并查看了以第一发送方式或第二发送方式发送的信息,则指示所述发送模块不通过移动通信网络发送所述信息,否则,指示所述发送模块通过移动通信网络发送所述信息。
  8. 如权利要求7所述的装置,其特征在于,所述第一发送方式包括:通过传输控制协议TCP长连接发送信息的发送方式;
    所述第二发送方式包括:通过邮件、站内信、即时通信中的至少一种发送信息的发送方式。
  9. 如权利要求8所述的装置,其特征在于,所述发送模块具体用于,以第二发送 方式,向用户发送一次添加了所述应答响应标识的信息。
  10. 如权利要求9所述的装置,其特征在于,所述监测模块具体用于,监测是否在所述等待时间内接收到所述用户返回的所述应答响应标识对应的确认消息;若是,则确定监测到用户在所述等待时间内接收并查看了以第二发送方式发送的信息;否则,确定未监测到用户在所述等待时间内接收并查看了以第二发送方式发送的所述信息。
  11. 如权利要求7~10中任意一项所述的装置,其特征在于,所述发送模块具体用于,按照设定的时间间隔,以第一发送方式向用户发送所述信息;
    所述监测模块还用于,当在所述等待时间内,监测到所述用户接收到以第一发送方式或第二发送方式发送的信息时,不再指示所述发送模块通过移动通信网络向用户发送信息。
  12. 一种发送信息的装置,其特征在于,包括:
    接收模块,用于接收服务器发送的信息;
    判断模块,用于判断所述信息中是否携带有应答响应标识;
    发送模块,用于当所述判断模块的判断结果为是时,将所述应答响应标识对应的确认消息返回给所述服务器,使所述服务器在接收到所述确认消息后不再发送所述信息;当所述判断模块的判断结果为否时,不向所述服务器返回确认消息。
PCT/CN2016/102830 2015-10-30 2016-10-21 一种发送信息的方法及装置 WO2017071531A1 (zh)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP2018522512A JP6591067B2 (ja) 2015-10-30 2016-10-21 情報送信方法及び装置
EP16858966.1A EP3370373B1 (en) 2015-10-30 2016-10-21 Method and apparatus for sending information
KR1020187015348A KR102067766B1 (ko) 2015-10-30 2016-10-21 정보 전송 방법 및 장치
ES16858966T ES2807925T3 (es) 2015-10-30 2016-10-21 Método y aparato para enviar información
SG11201803582WA SG11201803582WA (en) 2015-10-30 2016-10-21 Information sending method and apparatus
PL16858966T PL3370373T3 (pl) 2015-10-30 2016-10-21 Sposób i urządzenie do wysyłania informacji
US15/963,613 US10798042B2 (en) 2015-10-30 2018-04-26 Information sending method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510729163.8 2015-10-30
CN201510729163.8A CN106656729B (zh) 2015-10-30 2015-10-30 一种发送信息的方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/963,613 Continuation US10798042B2 (en) 2015-10-30 2018-04-26 Information sending method and apparatus

Publications (1)

Publication Number Publication Date
WO2017071531A1 true WO2017071531A1 (zh) 2017-05-04

Family

ID=58629834

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/102830 WO2017071531A1 (zh) 2015-10-30 2016-10-21 一种发送信息的方法及装置

Country Status (9)

Country Link
US (1) US10798042B2 (zh)
EP (1) EP3370373B1 (zh)
JP (1) JP6591067B2 (zh)
KR (1) KR102067766B1 (zh)
CN (1) CN106656729B (zh)
ES (1) ES2807925T3 (zh)
PL (1) PL3370373T3 (zh)
SG (1) SG11201803582WA (zh)
WO (1) WO2017071531A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019503767A (ja) * 2015-12-22 2019-02-14 アクセス・バスキュラー・インコーポレイテッドAccess Vascular, Inc. 高強度生体材

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355524A (zh) * 2007-07-24 2009-01-28 华为技术有限公司 一种消息处理方法、系统、服务器和终端
US20100070588A1 (en) * 2008-09-15 2010-03-18 Yahoo! Inc. Reliability for instant messaging based on end point acknowledgements
CN102427604A (zh) * 2011-12-02 2012-04-25 电信科学技术研究院 MTC Device触发消息的投递确认方法和设备
CN104753761A (zh) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 消息的处理方法、服务器及系统

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020120697A1 (en) * 2000-08-14 2002-08-29 Curtis Generous Multi-channel messaging system and method
JP3866506B2 (ja) 2000-12-04 2007-01-10 株式会社エヌ・ティ・ティ・ドコモ 電子メールの配信制御方法及びメールサーバ
JP3892437B2 (ja) * 2002-12-20 2007-03-14 株式会社大和証券グループ本社 金融情報通知システム、方法及びプログラム、情報処理システム及び方法
JP2005117244A (ja) * 2003-10-06 2005-04-28 Iwatsu Electric Co Ltd 無線パケット通信方式
EP2232899B1 (en) 2007-12-31 2019-03-13 Bklk Ltd. Method and apparatus for rapid awareness, recognition and response to digital messages
SG157991A1 (en) * 2008-07-04 2010-01-29 3Rd Brand Pte Ltd Company Regi Extended messaging platform
US8599734B1 (en) * 2008-09-30 2013-12-03 Meru Networks TCP proxy acknowledgements
US8799385B2 (en) * 2011-03-31 2014-08-05 Loment, Inc. Delivery control for email communicated among multiple end user communication devices
JP2015106358A (ja) * 2013-12-02 2015-06-08 日立アプライアンス株式会社 リモートアクセスシステムおよび宅内機器制御装置
US9996316B2 (en) * 2015-09-28 2018-06-12 Amazon Technologies, Inc. Mediation of wakeword response for multiple devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355524A (zh) * 2007-07-24 2009-01-28 华为技术有限公司 一种消息处理方法、系统、服务器和终端
US20100070588A1 (en) * 2008-09-15 2010-03-18 Yahoo! Inc. Reliability for instant messaging based on end point acknowledgements
CN102427604A (zh) * 2011-12-02 2012-04-25 电信科学技术研究院 MTC Device触发消息的投递确认方法和设备
CN104753761A (zh) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 消息的处理方法、服务器及系统

Also Published As

Publication number Publication date
CN106656729A (zh) 2017-05-10
KR102067766B1 (ko) 2020-01-20
EP3370373A4 (en) 2018-10-31
ES2807925T3 (es) 2021-02-24
JP6591067B2 (ja) 2019-10-16
CN106656729B (zh) 2019-11-22
US20180248833A1 (en) 2018-08-30
US10798042B2 (en) 2020-10-06
JP2018533797A (ja) 2018-11-15
EP3370373B1 (en) 2020-06-03
KR20180075655A (ko) 2018-07-04
EP3370373A1 (en) 2018-09-05
PL3370373T3 (pl) 2020-10-19
SG11201803582WA (en) 2018-05-30

Similar Documents

Publication Publication Date Title
US11451505B2 (en) Storage and processing of ephemeral messages
KR102167613B1 (ko) 메시지 푸시 방법 및 장치
US9591524B2 (en) Method and apparatus for transmitting data in network system, and data transmission system
CN108833950B (zh) 一种弹幕消息下发方法、服务器、系统和存储介质
WO2021237433A1 (zh) 消息推送方法、装置、电子设备及计算机可读介质
WO2014071734A1 (en) Method and apparatus for message synchronization in instant messaging applications
CN106713126B (zh) 一种内外网间电子邮件信息单向传输方法及系统
WO2011144167A1 (zh) 一种即时通讯的方法、装置和系统
WO2016090995A1 (zh) 页面与长连接服务器间的通信方法及客户端
CN104410562A (zh) 一种能够与业务进行关联的即时信息处理方法
WO2014152076A1 (en) Retry and snapshot enabled cross-platform synchronized communication queue
WO2014190841A1 (en) Data recovery method, device and system using same
US8213580B2 (en) Automated message conversion based on availability of bandwidth
CN111541555A (zh) 群聊优化方法及相关产品
WO2017071531A1 (zh) 一种发送信息的方法及装置
TWI513236B (zh) 一種即時通訊應用中的會話通知方法、裝置及系統
US20140324987A1 (en) Method for communicating with a public id and public id assistant device
CN105024908A (zh) 一种推送im信息的方法和系统、服务器以及平台
CN111327511B (zh) 即时通讯方法、系统、终端设备与存储介质
CN108881774B (zh) 多媒体网络通话的呼叫系统及方法
CN113168330A (zh) 客户端软件后退
WO2017121267A1 (zh) 一种资源传输方法及装置
KR101579525B1 (ko) 웹 서비스 어댑터 및 이를 포함하는 통합 sns 게이트웨이
KR20140140756A (ko) 스마트폰을 이용한 무료 문자메시지 발송 시스템
CN102024195A (zh) 一种用于班主任班级管理系统的数据发送处理方法

Legal Events

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

Ref document number: 16858966

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2018522512

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 11201803582W

Country of ref document: SG

ENP Entry into the national phase

Ref document number: 20187015348

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 2016858966

Country of ref document: EP