WO2015074414A1 - Social network information pushing method and apparatus - Google Patents
Social network information pushing method and apparatus Download PDFInfo
- Publication number
- WO2015074414A1 WO2015074414A1 PCT/CN2014/080247 CN2014080247W WO2015074414A1 WO 2015074414 A1 WO2015074414 A1 WO 2015074414A1 CN 2014080247 W CN2014080247 W CN 2014080247W WO 2015074414 A1 WO2015074414 A1 WO 2015074414A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- polling time
- preset
- social network
- time
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000006855 networking Effects 0.000 claims description 41
- 230000000694 effects Effects 0.000 abstract description 3
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/1859—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast adapted to provide push services, e.g. data channels
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/01—Social networking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/53—Network services using third party service providers
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- the present invention relates to the field of Internet information communication, and more particularly to a social network information pushing method and apparatus.
- BACKGROUND With the rapid development of social networks, a large number of users access the Internet through communication terminals to join websites of various social networks, and add or update their own dynamics on social networking websites.
- Social network service providers have established an open platform for social networking sites to apply to a wider range of social information dissemination and to expand their reach.
- the third-party application will obtain and disseminate the user's social network information after being authorized by the user of the service provider's open platform.
- Social network information often requires users to take the initiative to obtain, so that users can not get timely information, and too many human actions affect users' use of social networks.
- Polling mode The application periodically connects with the server and queries whether new information arrives. The frequency of polling needs to be set properly. If the polling frequency is too high, it will consume too much network traffic and user terminal power.
- Polling mode This solution can solve the real-time problem caused by polling, but there are still too many power consumption problems of the user terminal, especially when each application adopts this mode separately.
- Push Persistent connection
- Each user terminal (rather than a single application) only maintains the connection between one application and the transfer server, which is very large. To a certain extent, the network traffic and power consumption of the user terminal are saved.
- the Android platform Cloud to Device Messaging service provided by Google
- third-party push platforms and services can also be used to achieve good push services, but the use of third-party push platforms will bring additional application costs for information push.
- an embodiment of the present invention discloses a social network information pushing method and device, which can push information in real time, and reduce network traffic and power usage of the terminal.
- an embodiment of the present invention provides a social network information pushing method, including: obtaining real-time information in a dynamic polling time from a social networking website according to a current dynamic polling time, and pushing the instant information; acquiring a social networking website The time record information of the latest preset first threshold bar information including the instant information is recorded, and the average polling time of the corresponding push preset second threshold bar information of the social networking site is calculated; the calculated average polling time setting is set. Dynamic polling time for the next round of information for social networking sites. Further, the method further includes: recording, by the social networking site, a duration of the preset second threshold bar information as the current dynamic polling time.
- the method further includes: setting a dynamic polling time to restart.
- the preset second threshold is a value of the number of pieces of information to be determined by the user to be pushed by the information; for different users, different social networking sites, and different time periods, the preset second thresholds are set to be the same or different.
- the preset first threshold is: a quantity of push information that is a preset multiple of the dynamic polling time; or, is not greater than a preset maximum number of records.
- the present invention includes a social network information pushing apparatus, including: a timing unit configured to receive a second notification from a pushing unit, perform timing according to a dynamic polling time, complete timing, and send a first notification to a pushing unit.
- the pushing unit is configured to receive the first notification from the timing unit, obtain the instant information in the dynamic polling time from the social networking website and push, push the completion, and send the second notification to the timing unit;
- An obtaining unit configured to obtain time record information of the latest preset first threshold bar information including the instant information in the social networking website record, and calculate an average polling time of the corresponding preset second threshold bar information of the social networking site, and The average polling time is set to be the dynamic polling time of the next round of information push.
- the timing unit is further configured to: record a duration of the social networking website acquiring the preset second threshold bar information, and send the time to the timing unit as the dynamic polling time. Further, during the dynamic polling time, if the push unit receives an external command and performs information push, the timing unit will re-time according to the dynamic polling time.
- the preset first threshold is: a quantity of push information that is a preset multiple of the dynamic polling time; or, is not greater than a preset maximum number of records.
- the technical solution of the present application provides a social network information pushing method, including: obtaining the social network login permission, including: obtaining the instant information in the dynamic polling time from the social networking website according to the current dynamic polling time, and pushing the instant information; The time history information of the latest preset first threshold bar information including the instant information in the social networking website record, and the average polling time of the corresponding preset second threshold bar information of the social networking site is calculated; the average polling calculated The time is set to the dynamic polling time of the next round of information push by the social networking site.
- the invention further comprises a device corresponding to the method, and the real-time adjustment of the polling time is realized by the invention, so that the information push is related to the frequency of the user social activity, the information push dynamic polling mode is realized, the information push is real-time and reasonable, and the saving is saved.
- FIG. 1 is a flowchart of a method for pushing a social network information according to the present invention
- FIG. 2 is a structural block diagram of a device for pushing a social network information according to the present invention
- 1 is a flowchart of a method for pushing a social network information according to the present invention.
- Step 100 After obtaining a login right of a social network, the method includes: Step 100: Obtain a dynamic polling time from a social networking website according to a current dynamic polling time. Instant messaging within, and push instant messages. Before the step, the method further includes: recording, by the social networking website, a duration of the preset second threshold bar information, as the current dynamic polling time.
- Step 101 Obtain time record information of the latest preset first threshold bar information including the instant information in the social network record, and calculate an average polling time of the corresponding preset second threshold bar information of the social website.
- the preset second threshold is a value of the number of pieces of information to be determined by the user to be pushed by the information; for different users, different social networking sites, and different time periods, the preset second thresholds are set to be the same or different. It should be noted that the preset second threshold may also be a parameter of a default setting obtained by statistical calculation.
- the preset first threshold is: a quantity of push information that is a preset multiple of the dynamic polling time; or, is not greater than a preset maximum number of records.
- Step 102 Set the calculated average polling time as the dynamic polling time of the next round of information push of the social networking website. During the current dynamic polling time, if the user actively accesses the social network and performs information push, the method further includes: setting the dynamic polling time to restart. .
- different first preset thresholds and second preset thresholds may be set for different time periods, different users, etc., for which the corresponding design is implemented under the premise of the method of the present invention, Technical means commonly used by those skilled in the art.
- the method includes: a timing unit configured to receive a second notification from a pushing unit, perform timing according to a dynamic polling time, complete timing, and push the unit. Send the first notification.
- the timing unit is further configured to: record the duration of the social networking website acquiring the preset second threshold bar information, and send the time to the timing unit as the dynamic polling time.
- the pushing unit is configured to receive the first notification from the timing unit, obtain the instant information in the dynamic polling time from the social networking website and push, push the completion, and send the second notification to the timing unit.
- the timing unit will re-time according to the dynamic polling time.
- the external instruction here refers to the instruction generated by the user to access the social networking website, which is consistent with the current message pushing method generated by the social networking website.
- An obtaining unit configured to obtain time record information of the latest preset first threshold bar information including the instant information in the social networking website record, and calculate an average polling time of the corresponding preset second threshold bar information of the social networking site, and The average polling time is set to be the dynamic polling time of the next round of information push.
- the preset first threshold is: a quantity of push information that is a preset multiple of the dynamic polling time; or, is not greater than a preset maximum number of records.
- the device is connected to the mobile terminal or placed on the mobile terminal to implement social website information push.
- the above technical solution provided by the present invention can be applied to a social network information push process, and after obtaining the social network login permission, the instant information in the dynamic polling time is obtained from the social networking site according to the current dynamic polling time, and Pushing the instant information; obtaining the time record information of the latest preset first threshold bar information including the instant information in the social network record, and calculating the average polling of the corresponding push preset second threshold bar information of the social networking site Time; set the calculated average polling time as the technical solution of the dynamic polling time of the next round of information push by the social networking site, real-time adjustment of the polling time, and make the information push related to the frequency of the user's social activities, and realize the information push Dynamic polling mode enables information to be pushed in real time and reasonable, saving network resources and terminal power consumption.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
Disclosed are a social network information pushing method and an apparatus, wherein the method comprises: after obtaining login permission of a social network, based on current dynamic polling time, obtaining instant information in the dynamic polling time from a social network site, and pushing the instant information; obtaining time record information of latest preset first threshold bar information comprising the instant information in a social network site record, and calculating average polling time for pushing preset second threshold bar information corresponding to the social network site; and setting the average polling time obtained from calculation as dynamic polling time of the social network site for information pushing of a next round. The present application also comprises the apparatus corresponding to the method. The method and the apparatus of the present invention implement real-time adjustment of polling time, make information pushing be related to a social activity frequency of a user, implement a dynamic polling way for the information pushing, make the information pushing be in real time and reasonable, and save a network resource and consumption of terminal battery power.
Description
一种社交网络信息推送方法及装置 技术领域 本发明涉及互联网信息通信领域, 尤指一种社交网络信息推送方法及装置。 背景技术 随着社交网络的蓬勃发展, 海量用户通过通信终端访问互联网加入了各种社交网 络的网站, 并在社交网站上添加或更新自身的动态。 社交网络服务商将社交网站的开 放平台建立起来, 应用于更大范围的社交信息传播, 扩大自身的影响范围。 第三方应 用程序在获得服务商开放平台的用户授权后, 将获取并传播用户的社交网络信息。 而 社交网络信息往往需要用户以拉取的方式主动去获取,这样用户获取信息将不够及时, 并且过多的人为操作影响了用户使用社交网络。 因此信息推送技术应运而生, 旨在减 少用户的主动干预, 方便对信息的获取。 目前, 社交网络进行信息推送主要有以下两种方式: (1 ) 轮询 (Pull ) 方式: 应 用程序周期性的与服务器进行连接并查询是否有新的信息到达, 轮询的频率需要合理 设置,如果轮询频率过高,则会过多消耗网络流量和用户终端电量。(2)持久连接 (Push) 方式: 这个方案可以解决由轮询带来的实时性问题, 但仍存在用户终端过多的电量消 耗问题, 特别是每个应用分别采用该方式时。 IOS平台的推送服务虽然采用方式(2), 但其平台需要额外引入一个中转服务器, 每一台用户终端 (而不是单个应用程序) 仅 保持一个应用与中转服务器之间的连接, 这样在很大程度上节约了用户终端的网络流 量与电量消耗。 Android平台上虽然也有类似的服务 (由 Google提供的云到设备信息 (Cloud to Device Messaging) 服务), 但是由于受到社交网站开放平台所提供服务的 限制, 很难在所有 Android终端的社交应用上稳定的使用该服务。 类似的, 还可以通 过第三方推送平台及服务来实现良好的推送服务, 但是第三方推送平台的使用, 会为 信息推送带来额外的应用成本。 由于社交网站开放平台所提供的服务的限制, 在社交网络的开放平台上获取社交 网络信息多采用轮询方式, 该方式实现简单, 不需要依赖额外服务器, 成本低廉。 但 是采用轮询方式往往以固定的周期去请求服务器推送信息, 无论是通过应用程序预设 还是让用户人为设定都存在: 如果周期太大, 获取信息的实时性会降低, 如果周期太 小, 用户终端的网络流量和电量消耗会过高。
发明内容 为了解决上述技术问题,本发明实施例公开了一种社交网络信息推送方法及装置, 能够实时推送信息, 降低网络流量及终端使用电量。 为了达到本申请的目的, 本发明实施例提供一种社交网络信息推送方法, 包括: 按照当前动态轮询时间, 从社交网站获得动态轮询时间内的即时信息, 并推送即 时信息; 获取社交网站记录中包括即时信息在内的最新的预设第一阈值条信息的时间记录 信息, 计算社交网站相应的推送预设第二阈值条信息的平均轮询时间; 将计算得到的平均轮询时间设置为社交网站下一轮信息推送的动态轮询时间。 进一步地, 该方法之前还包括: 记录社交网站获取预设第二阈值条信息的时长, 作为所述当前动态轮询时间。 进一步地, 在当前动态轮询时间内, 如果用户主动访问所述社交网络, 进行信息 推送, 该方法还包括: 设置动态轮询时间重新开始。 进一步地, 预设第二阈值为用户拟确定的进行信息推送的信息条数数值; 对于不同的用户、不同的社交网站及不同的时段,预设第二阈值设相同或不相同。 进一步地, 预设第一阈值为: 与动态轮询时间成预设倍数的推送信息的数量; 或者, 不大于预先设置的记录条数最大值。 另一实施例, 本发明包括一种社交网络信息推送装置, 包括: 计时单元, 设置为接收来自推送单元的第二通知, 按照动态轮询时间进行计时, 计时完成, 向推送单元发送第一通知; 推送单元, 设置为接收来自计时单元的第一通知, 从社交网站上获得动态轮询时 间内的即时信息并推送, 推送完成, 向计时单元发送第二通知;
获取单元, 设置为获取社交网站记录中包括即时信息在内的最新的预设第一阈值 条信息的时间记录信息, 计算社交网站相应的推送预设第二阈值条信息的平均轮询时 间, 并设置所述平均轮询时间为下一轮信息推送的动态轮询时间。 进一步地, 计时单元还设置为: 记录社交网站获取预设第二阈值条信息的时长, 发送该时间给计时单元作为动态轮询时间。 进一步地, 在动态轮询时间内, 如果推送单元接收到外部指令, 进行信息推送时, 所述计时单元将按照动态轮询时间重新计时。 进一步地, 预设第一阈值为: 与动态轮询时间成预设倍数的推送信息的数量; 或者, 不大于预先设置的记录条数最大值。 本申请技术方案提供一种社交网络信息推送方法, 包括: 获得社交网络登录权限 后, 包括: 按照当前动态轮询时间, 从社交网站获得动态轮询时间内的即时信息, 并 推送即时信息; 获取社交网站记录中包括即时信息在内的最新的预设第一阈值条信息 的时间记录信息, 计算社交网站相应的推送预设第二阈值条信息的平均轮询时间; 将 计算得到的平均轮询时间设置为社交网站下一轮信息推送的动态轮询时间。 本发明还 包括与方法相对应的装置, 通过本发明实现对轮询时间的实时调整, 使信息推送与用 户社交活动频率相关, 实现信息推送动态轮询方式, 使信息推送实时、 合理, 节约了 网络资源及终端电量的消耗。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1为本发明社交网络信息推送方法的流程图; 图 2为本发明社交网络信息推送装置的结构框图。
具体实施方式 图 1为本发明社交网络信息推送方法的流程图, 如图 1所示, 获得社交网络登录 权限后, 包括: 步骤 100、 按照当前动态轮询时间, 从社交网站获得动态轮询时间内的即时信息, 并推送即时信息。 本步骤之前, 还包括: 记录所述社交网站获取预设第二阈值条信息的时长, 作为 所述当前动态轮询时间。 步骤 101、 获取社交网站记录中包括即时信息在内的最新的预设第一阈值条信息 的时间记录信息, 计算社交网站相应的推送预设第二阈值条信息的平均轮询时间。 本步骤中, 预设第二阈值为用户拟确定的进行信息推送的信息条数数值; 对于不同的用户、 不同的社交网站及不同的时段, 所述预设第二阈值设相同或不 相同。 需要说明的是, 预设第二阈值也可以是通过统计学计算获得的默认设置的一个参 数。 进一步地, 预设第一阈值为: 与所述动态轮询时间成预设倍数的推送信息的数量; 或者, 不大于预先设置的记录条数最大值。 需要说明的是, 预设第一阈值最小值较预设第二阈值最大值要大, 具体情况根据 实际情况, 不同用户, 不同时段等进行设定。 步骤 102、 将计算得到的平均轮询时间设置为社交网站下一轮信息推送的动态轮 询时间。 在当前动态轮询时间内, 如果用户主动访问所述社交网络, 进行信息推送, 该方 法还包括: 设置所述动态轮询时间重新开始。。
需要说明的是, 本发明方法针对不同的时段、 不同的用户等, 可以设置不同的第 一预设阈值、 第二预设阈值, 对于该部分实现在本发明方法前提下进行相应的设计, 是本领域技术人员常用的技术手段。 图 2为本发明社交网络信息推送装置的结构框图, 如图 2所示, 包括: 计时单元, 设置为接收来自推送单元的第二通知, 按照动态轮询时间进行计时, 计时完成, 向推送单元发送第一通知。 计时单元还设置为: 记录社交网站获取预设第二阈值条信息的时长, 发送该时间 给计时单元作为动态轮询时间。 推送单元, 设置为接收来自计时单元的第一通知, 从社交网站上获得动态轮询时 间内的即时信息并推送, 推送完成, 向计时单元发送第二通知。 在动态轮询时间内, 如果推送单元接收到外部指令, 进行信息推送时, 所述计时 单元将按照动态轮询时间重新计时。 需要说明的是, 这里的外部指令是指, 用户访问 社交网站产生的指令, 这与目前使用社交网站产生的消息推送方法是一致的。 获取单元, 设置为获取社交网站记录中包括即时信息在内的最新的预设第一阈值 条信息的时间记录信息, 计算社交网站相应的推送预设第二阈值条信息的平均轮询时 间, 并设置所述平均轮询时间为下一轮信息推送的动态轮询时间。 预设第一阈值为: 与所述动态轮询时间成预设倍数的推送信息的数量; 或者, 不大于预先设置的记录条数最大值。 该装置连接于移动终端, 或置于移动终端上, 实现社交网站信息推送。 以上所述, 仅为本发明的较佳实例而已, 并非用于限定本发明的保护范围, 本发 明只是列举常用方法。 与本发明原理一致, 在本发明的精神和原则之内, 所做的任何 修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 工业实用性 本发明提供的上述技术方案, 可以应用于社交网络信息推送过程中, 采用获得社 交网络登录权限后, 按照当前动态轮询时间, 从社交网站获得动态轮询时间内的即时 信息, 并推送即时信息; 获取社交网站记录中包括即时信息在内的最新的预设第一阈 值条信息的时间记录信息, 计算社交网站相应的推送预设第二阈值条信息的平均轮询
时间; 将计算得到的平均轮询时间设置为社交网站下一轮信息推送的动态轮询时间的 技术方案, 实现对轮询时间的实时调整, 使信息推送与用户社交活动频率相关, 实现 信息推送动态轮询方式, 使信息推送实时、合理, 节约了网络资源及终端电量的消耗。
TECHNICAL FIELD The present invention relates to the field of Internet information communication, and more particularly to a social network information pushing method and apparatus. BACKGROUND With the rapid development of social networks, a large number of users access the Internet through communication terminals to join websites of various social networks, and add or update their own dynamics on social networking websites. Social network service providers have established an open platform for social networking sites to apply to a wider range of social information dissemination and to expand their reach. The third-party application will obtain and disseminate the user's social network information after being authorized by the user of the service provider's open platform. Social network information often requires users to take the initiative to obtain, so that users can not get timely information, and too many human actions affect users' use of social networks. Therefore, information push technology came into being, aiming at reducing the user's active intervention and facilitating the acquisition of information. At present, there are two main ways for social network information to be pushed: (1) Polling mode: The application periodically connects with the server and queries whether new information arrives. The frequency of polling needs to be set properly. If the polling frequency is too high, it will consume too much network traffic and user terminal power. (2) Persistent connection (Push) mode: This solution can solve the real-time problem caused by polling, but there are still too many power consumption problems of the user terminal, especially when each application adopts this mode separately. Although the push service of the IOS platform adopts the method (2), its platform needs to introduce an additional transfer server. Each user terminal (rather than a single application) only maintains the connection between one application and the transfer server, which is very large. To a certain extent, the network traffic and power consumption of the user terminal are saved. Although there are similar services on the Android platform (Cloud to Device Messaging service provided by Google), it is difficult to stabilize on social applications of all Android terminals due to the limitations of the services provided by the social networking platform. Use of this service. Similarly, third-party push platforms and services can also be used to achieve good push services, but the use of third-party push platforms will bring additional application costs for information push. Due to the limitation of the services provided by the open platform of the social networking website, the social networking information obtained on the open platform of the social network is mostly polled, which is simple to implement, does not need to rely on additional servers, and is low in cost. However, the polling method often requests the server to push information in a fixed cycle, whether it is through the application preset or the user setting: If the period is too large, the real-time performance of the information will be reduced, if the period is too small, The network traffic and power consumption of the user terminal may be too high. SUMMARY OF THE INVENTION In order to solve the above technical problem, an embodiment of the present invention discloses a social network information pushing method and device, which can push information in real time, and reduce network traffic and power usage of the terminal. In order to achieve the purpose of the present application, an embodiment of the present invention provides a social network information pushing method, including: obtaining real-time information in a dynamic polling time from a social networking website according to a current dynamic polling time, and pushing the instant information; acquiring a social networking website The time record information of the latest preset first threshold bar information including the instant information is recorded, and the average polling time of the corresponding push preset second threshold bar information of the social networking site is calculated; the calculated average polling time setting is set. Dynamic polling time for the next round of information for social networking sites. Further, the method further includes: recording, by the social networking site, a duration of the preset second threshold bar information as the current dynamic polling time. Further, in the current dynamic polling time, if the user actively accesses the social network and performs information push, the method further includes: setting a dynamic polling time to restart. Further, the preset second threshold is a value of the number of pieces of information to be determined by the user to be pushed by the information; for different users, different social networking sites, and different time periods, the preset second thresholds are set to be the same or different. Further, the preset first threshold is: a quantity of push information that is a preset multiple of the dynamic polling time; or, is not greater than a preset maximum number of records. In another embodiment, the present invention includes a social network information pushing apparatus, including: a timing unit configured to receive a second notification from a pushing unit, perform timing according to a dynamic polling time, complete timing, and send a first notification to a pushing unit. The pushing unit is configured to receive the first notification from the timing unit, obtain the instant information in the dynamic polling time from the social networking website and push, push the completion, and send the second notification to the timing unit; An obtaining unit, configured to obtain time record information of the latest preset first threshold bar information including the instant information in the social networking website record, and calculate an average polling time of the corresponding preset second threshold bar information of the social networking site, and The average polling time is set to be the dynamic polling time of the next round of information push. Further, the timing unit is further configured to: record a duration of the social networking website acquiring the preset second threshold bar information, and send the time to the timing unit as the dynamic polling time. Further, during the dynamic polling time, if the push unit receives an external command and performs information push, the timing unit will re-time according to the dynamic polling time. Further, the preset first threshold is: a quantity of push information that is a preset multiple of the dynamic polling time; or, is not greater than a preset maximum number of records. The technical solution of the present application provides a social network information pushing method, including: obtaining the social network login permission, including: obtaining the instant information in the dynamic polling time from the social networking website according to the current dynamic polling time, and pushing the instant information; The time history information of the latest preset first threshold bar information including the instant information in the social networking website record, and the average polling time of the corresponding preset second threshold bar information of the social networking site is calculated; the average polling calculated The time is set to the dynamic polling time of the next round of information push by the social networking site. The invention further comprises a device corresponding to the method, and the real-time adjustment of the polling time is realized by the invention, so that the information push is related to the frequency of the user social activity, the information push dynamic polling mode is realized, the information push is real-time and reasonable, and the saving is saved. The consumption of network resources and terminal power. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a flowchart of a method for pushing a social network information according to the present invention; FIG. 2 is a structural block diagram of a device for pushing a social network information according to the present invention. 1 is a flowchart of a method for pushing a social network information according to the present invention. As shown in FIG. 1 , after obtaining a login right of a social network, the method includes: Step 100: Obtain a dynamic polling time from a social networking website according to a current dynamic polling time. Instant messaging within, and push instant messages. Before the step, the method further includes: recording, by the social networking website, a duration of the preset second threshold bar information, as the current dynamic polling time. Step 101: Obtain time record information of the latest preset first threshold bar information including the instant information in the social network record, and calculate an average polling time of the corresponding preset second threshold bar information of the social website. In this step, the preset second threshold is a value of the number of pieces of information to be determined by the user to be pushed by the information; for different users, different social networking sites, and different time periods, the preset second thresholds are set to be the same or different. It should be noted that the preset second threshold may also be a parameter of a default setting obtained by statistical calculation. Further, the preset first threshold is: a quantity of push information that is a preset multiple of the dynamic polling time; or, is not greater than a preset maximum number of records. It should be noted that the preset first threshold minimum value is larger than the preset second threshold maximum value, and the specific situation is set according to actual conditions, different users, different time periods, and the like. Step 102: Set the calculated average polling time as the dynamic polling time of the next round of information push of the social networking website. During the current dynamic polling time, if the user actively accesses the social network and performs information push, the method further includes: setting the dynamic polling time to restart. . It should be noted that, in the method of the present invention, different first preset thresholds and second preset thresholds may be set for different time periods, different users, etc., for which the corresponding design is implemented under the premise of the method of the present invention, Technical means commonly used by those skilled in the art. 2 is a structural block diagram of a social network information pushing apparatus according to the present invention. As shown in FIG. 2, the method includes: a timing unit configured to receive a second notification from a pushing unit, perform timing according to a dynamic polling time, complete timing, and push the unit. Send the first notification. The timing unit is further configured to: record the duration of the social networking website acquiring the preset second threshold bar information, and send the time to the timing unit as the dynamic polling time. The pushing unit is configured to receive the first notification from the timing unit, obtain the instant information in the dynamic polling time from the social networking website and push, push the completion, and send the second notification to the timing unit. During the dynamic polling time, if the push unit receives an external command and performs information push, the timing unit will re-time according to the dynamic polling time. It should be noted that the external instruction here refers to the instruction generated by the user to access the social networking website, which is consistent with the current message pushing method generated by the social networking website. An obtaining unit, configured to obtain time record information of the latest preset first threshold bar information including the instant information in the social networking website record, and calculate an average polling time of the corresponding preset second threshold bar information of the social networking site, and The average polling time is set to be the dynamic polling time of the next round of information push. The preset first threshold is: a quantity of push information that is a preset multiple of the dynamic polling time; or, is not greater than a preset maximum number of records. The device is connected to the mobile terminal or placed on the mobile terminal to implement social website information push. The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. The present invention is merely illustrative of common methods. It is intended that all modifications, equivalents, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the invention. INDUSTRIAL APPLICABILITY The above technical solution provided by the present invention can be applied to a social network information push process, and after obtaining the social network login permission, the instant information in the dynamic polling time is obtained from the social networking site according to the current dynamic polling time, and Pushing the instant information; obtaining the time record information of the latest preset first threshold bar information including the instant information in the social network record, and calculating the average polling of the corresponding push preset second threshold bar information of the social networking site Time; set the calculated average polling time as the technical solution of the dynamic polling time of the next round of information push by the social networking site, real-time adjustment of the polling time, and make the information push related to the frequency of the user's social activities, and realize the information push Dynamic polling mode enables information to be pushed in real time and reasonable, saving network resources and terminal power consumption.
Claims
权 利 要 求 书 一种社交网络信息推送方法, 获得社交网络登录权限后, 包括: 按照当前动态轮询时间, 从社交网站获得动态轮询时间内的即时信息, 并 推送即时信息; Claims for a social network information, after obtaining the social network login permission, the method includes: obtaining the instant information in the dynamic polling time from the social networking website according to the current dynamic polling time, and pushing the instant information;
获取社交网站记录中包括即时信息在内的最新的预设第一阈值条信息的时 间记录信息, 计算社交网站相应的推送预设第二阈值条信息的平均轮询时间; 将计算得到的平均轮询时间设置为社交网站下一轮信息推送的动态轮询时 间。 根据权利要求 1所述的社交网络信息推送方法, 其中, 该方法之前还包括: 记 录所述社交网站获取预设第二阈值条信息的时长,作为所述当前动态轮询时间。 根据权利要求 1所述的社交网络信息推送方法, 其中, 在所述当前动态轮询时 间内, 如果用户主动访问所述社交网络, 进行信息推送, 该方法还包括: 设置所述动态轮询时间重新开始。 根据权利要求 1所述的社交网络信息推送方法, 其中, 所述预设第二阈值为用 户拟确定的进行信息推送的信息条数数值; 对于不同的用户、 不同的社交网站及不同的时段, 所述预设第二阈值设相 同或不相同。 根据权利要求 1所述的社交网络信息推送方法, 其中, 所述预设第一阈值为: 与所述动态轮询时间成预设倍数的推送信息的数 h 或者, 不大于预先设置的记录条数最大值。 一种社交网络信息推送装置, 包括: Obtaining time history information of the latest preset first threshold bar information including the instant information in the social network record, and calculating an average polling time of the corresponding push preset second threshold bar information of the social networking site; The query time is set to the dynamic polling time of the next round of information push by the social networking site. The social network information pushing method according to claim 1, wherein the method further comprises: recording a duration of the social networking website acquiring the preset second threshold bar information as the current dynamic polling time. The social network information pushing method according to claim 1, wherein, in the current dynamic polling time, if the user actively accesses the social network to perform information push, the method further includes: setting the dynamic polling time Restart. The social network information pushing method according to claim 1, wherein the preset second threshold is a number of pieces of information to be determined by the user to be pushed by the information; for different users, different social networking sites, and different time periods, The preset second thresholds are set to be the same or different. The social network information pushing method according to claim 1, wherein the preset first threshold is: a number h of push information that is a preset multiple of the dynamic polling time or is not greater than a preset recording strip. The maximum number. A social network information pushing device includes:
计时单元, 设置为接收来自推送单元的第二通知, 按照动态轮询时间进行 计时, 计时完成, 向推送单元发送第一通知; 推送单元, 设置为接收来自计时单元的第一通知, 从社交网站上获得动态 轮询时间内的即时信息并推送, 推送完成, 向计时单元发送第二通知;
获取单元, 设置为获取社交网站记录中包括即时信息在内的最新的预设第 一阈值条信息的时间记录信息, 计算社交网站相应的推送预设第二阈值条信息 的平均轮询时间,并设置所述平均轮询时间为下一轮信息推送的动态轮询时间。 a timing unit configured to receive a second notification from the push unit, perform timing according to the dynamic polling time, complete timing, and send a first notification to the push unit; the push unit is configured to receive the first notification from the timing unit, from the social networking website The instant information in the dynamic polling time is obtained and pushed, the push is completed, and the second notification is sent to the timing unit; The obtaining unit is configured to obtain time record information of the latest preset first threshold bar information including the instant information in the social networking website record, and calculate an average polling time of the corresponding preset second threshold bar information of the social networking site, and The average polling time is set to be the dynamic polling time of the next round of information push.
7. 根据权利要求 6所述的社交网络信息推送装置,其中,所述计时单元还设置为: 记录社交网站获取预设第二阈值条信息的时长, 发送该时间给计时单元作为动 态轮询时间。 The social network information pushing device according to claim 6, wherein the timing unit is further configured to: record a duration of the social networking website acquiring the preset second threshold bar information, and send the time to the timing unit as the dynamic polling time. .
8. 根据权利要求 6所述的社交网络信息推送装置, 其中, 在动态轮询时间内, 如 果推送单元接收到外部指令, 进行信息推送时, 所述计时单元将按照动态轮询 时间重新计时。 8. The social network information push apparatus according to claim 6, wherein, in the dynamic polling time, if the push unit receives an external command and performs information push, the timing unit re-clocks according to the dynamic polling time.
9. 根据权利要求 6所述的社交网络信息推送装置, 其中, 所述预设第一阈值为: 与所述动态轮询时间成预设倍数的推送信息的数量; 或者, The social network information pushing device according to claim 6, wherein the preset first threshold is: a quantity of push information that is a preset multiple of the dynamic polling time; or
不大于预先设置的记录条数最大值。
Not more than the maximum number of records set in advance.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP14864442.0A EP3073681A4 (en) | 2013-11-20 | 2014-06-18 | Social network information pushing method and apparatus |
US15/037,982 US20160294966A1 (en) | 2013-11-20 | 2014-06-18 | Method and Device for Pushing Social Network Information |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310589656.7A CN104660482A (en) | 2013-11-20 | 2013-11-20 | Method and device for pushing social network information |
CN201310589656.7 | 2013-11-20 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015074414A1 true WO2015074414A1 (en) | 2015-05-28 |
Family
ID=53178886
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/080247 WO2015074414A1 (en) | 2013-11-20 | 2014-06-18 | Social network information pushing method and apparatus |
Country Status (4)
Country | Link |
---|---|
US (1) | US20160294966A1 (en) |
EP (1) | EP3073681A4 (en) |
CN (1) | CN104660482A (en) |
WO (1) | WO2015074414A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105959205A (en) * | 2016-04-29 | 2016-09-21 | 杨夫春 | Chatting records keeping method |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10263941B2 (en) * | 2016-01-29 | 2019-04-16 | Microsoft Technology Licensing, Llc | Managing multiple messages |
CN105872853A (en) * | 2016-05-27 | 2016-08-17 | 乐视控股(北京)有限公司 | Polling control method, device and system |
CN110855731A (en) * | 2018-08-21 | 2020-02-28 | 阿里巴巴集团控股有限公司 | Message processing, pushing and model training method, device, equipment and storage medium |
CN111225029A (en) * | 2019-11-27 | 2020-06-02 | 深圳市道通科技股份有限公司 | Dynamic message pushing method and system and automobile diagnosis server |
CN115022264A (en) * | 2022-06-27 | 2022-09-06 | 北京达佳互联信息技术有限公司 | Message pushing method and device, electronic equipment and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102664826A (en) * | 2012-04-23 | 2012-09-12 | 电信科学技术研究院 | Information notifying method and device |
US20120246580A1 (en) * | 2011-03-22 | 2012-09-27 | Gether, LLC | Social polling |
CN103095753A (en) * | 2011-10-31 | 2013-05-08 | 中兴通讯股份有限公司 | Customer service system and customer service push method |
CN103139047A (en) * | 2011-12-02 | 2013-06-05 | 腾讯科技(深圳)有限公司 | Method of pushing friend recommendation information, client and system |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8041780B2 (en) * | 2007-03-29 | 2011-10-18 | Alcatel Lucent | Method and apparatus for dynamically pushing content over wireless networks |
CN101252499A (en) * | 2008-03-28 | 2008-08-27 | 程凯征 | Mail server dynamic state polling method for checking whether mail server has new mail arrive or not |
CA2798523C (en) * | 2010-11-22 | 2015-02-24 | Seven Networks, Inc. | Aligning data transfer to optimize connections established for transmission over a wireless network |
US8751636B2 (en) * | 2010-12-22 | 2014-06-10 | Facebook, Inc. | Timing for providing relevant notifications for a user based on user interaction with notifications |
WO2012159200A1 (en) * | 2011-05-23 | 2012-11-29 | Coursepeer Inc. | Recommending students to prospective employers based on students' online content |
CN102223381A (en) * | 2011-07-07 | 2011-10-19 | 莫雅静 | Message pushing method, server, client terminal and system |
CN103313228A (en) * | 2012-03-09 | 2013-09-18 | 上海数龙计算机科技有限公司 | Message transmission method under Android system |
WO2014011216A1 (en) * | 2012-07-13 | 2014-01-16 | Seven Networks, Inc. | Dynamic bandwidth adjustment for browsing or streaming activity in a wireless network based on prediction of user behavior when interacting with mobile applications |
CN102882773A (en) * | 2012-10-19 | 2013-01-16 | 杭州也要买电子商务有限公司 | Webpage instant messaging method |
-
2013
- 2013-11-20 CN CN201310589656.7A patent/CN104660482A/en not_active Withdrawn
-
2014
- 2014-06-18 EP EP14864442.0A patent/EP3073681A4/en not_active Withdrawn
- 2014-06-18 US US15/037,982 patent/US20160294966A1/en not_active Abandoned
- 2014-06-18 WO PCT/CN2014/080247 patent/WO2015074414A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120246580A1 (en) * | 2011-03-22 | 2012-09-27 | Gether, LLC | Social polling |
CN103095753A (en) * | 2011-10-31 | 2013-05-08 | 中兴通讯股份有限公司 | Customer service system and customer service push method |
CN103139047A (en) * | 2011-12-02 | 2013-06-05 | 腾讯科技(深圳)有限公司 | Method of pushing friend recommendation information, client and system |
CN102664826A (en) * | 2012-04-23 | 2012-09-12 | 电信科学技术研究院 | Information notifying method and device |
Non-Patent Citations (1)
Title |
---|
See also references of EP3073681A4 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105959205A (en) * | 2016-04-29 | 2016-09-21 | 杨夫春 | Chatting records keeping method |
Also Published As
Publication number | Publication date |
---|---|
EP3073681A1 (en) | 2016-09-28 |
US20160294966A1 (en) | 2016-10-06 |
EP3073681A4 (en) | 2016-11-30 |
CN104660482A (en) | 2015-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015074414A1 (en) | Social network information pushing method and apparatus | |
TWI538537B (en) | Information push method, user terminal device, and system thereof | |
JP6039819B2 (en) | Method and apparatus for negotiating "keep alive" message frequency of applications running on a mobile station | |
EP2698963B1 (en) | Heartbeat cycle obtaining method, terminal, and server | |
WO2017215614A1 (en) | Method, device and system for realising heart beat keepalive | |
TWI376897B (en) | Method and system for selecting a sleep interval to improve battery life | |
CN104813637A (en) | Push service without persistent TCP connection in mobile network | |
WO2014114194A1 (en) | Method, device, and terminal for adjusting heartbeat cycle for application | |
WO2012167664A1 (en) | Method, system and device for supporting application client always online | |
US20160352842A1 (en) | Proxy advertisements in a neighbor aware network | |
Gao et al. | SCoP: Smartphone energy saving by merging push services in fog computing | |
TWI662816B (en) | Network configuration method and network equipment | |
WO2020199805A1 (en) | Method and apparatus for user equipment behaviour parameters provisioning | |
US9693289B2 (en) | Moderating communications within a wireless telecommunications network based on UE power saving modes | |
WO2016191722A1 (en) | Proxy advertisements in a neighbor aware network | |
WO2013143228A1 (en) | Method and system for reducing heartbeat messages | |
WO2016197727A1 (en) | Data transmission method and device | |
JP6730383B2 (en) | Server, mobile communication system, transmission timing control method, and program thereof | |
CN102754490B (en) | Service processing method and apparatus for user equipment in extra low power consumption state | |
CN106559812B (en) | A kind of based reminding method, device and the core net node of end delay calling | |
JP2017525251A (en) | Offloading wireless node authentication with core network | |
JP2015508965A (en) | Apparatus and method for facilitating extended time periods for maintaining a PPP session | |
CN108093394A (en) | Order the method and device of service | |
WO2023071318A1 (en) | Loop detection method and apparatus | |
WO2016106561A1 (en) | Message reporting apparatus and method as well as data sending apparatus and method |
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: 14864442 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 15037982 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
REEP | Request for entry into the european phase |
Ref document number: 2014864442 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2014864442 Country of ref document: EP |