CN105282227A - High-efficiency high-stability page real-time data refreshing method - Google Patents
High-efficiency high-stability page real-time data refreshing method Download PDFInfo
- Publication number
- CN105282227A CN105282227A CN201510558524.7A CN201510558524A CN105282227A CN 105282227 A CN105282227 A CN 105282227A CN 201510558524 A CN201510558524 A CN 201510558524A CN 105282227 A CN105282227 A CN 105282227A
- Authority
- CN
- China
- Prior art keywords
- message
- data
- service
- push
- request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
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
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1073—Registration or de-registration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
- H04L65/4061—Push-to services, e.g. push-to-talk or push-to-video
-
- 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/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
Abstract
The invention provides a high-efficiency high-stability page real-time data refreshing method. The conventional mode, that a client end pulls real-time displayed change data so as to actively push data to a server end when background data changes, is improved. A server push technology based on Comet is adopted for message pushing. An observer model is adopted, and a conventional two-layer request-service configuration mode is changed to a three-layer service configuration. Message forwarding middleware is responsible for network transmission of messages, the problems of high coincidence and message obstruction and loss in a large throughput application are solved, and distributed calculation is supported. The high-efficiency high-stability page real-time data refreshing method has the advantages that the problems of increased server end loads and increased network flows caused by that the conventional client end sends requests to the server end on time for obtaining newest change data are solved, the message push delay is reduced, the message push quality is improved, the distributed calculation is supported, and the problems of high coincidence and message obstruction and message distribution loss in the large throughput application are solved.
Description
Technical field
The invention belongs in real-time system the application needing to show the up-to-date delta data in backstage in real time, specifically the page real time data method for refreshing of a kind of high efficiency, high stability.
Background technology
The method shown based on the real-time change data of WEB at present mainly contains following several:
HTTP pulls mode: mainly comprise traditional polling mode and Ajax poll.Traditional polling mode is the refresh function utilizing meta label inside HTML, carries out the reprinting of the page after a certain interval, moves in circles with this.The experience brought to people when its disadvantage is page brush is very poor, and the pressure of server also can be larger.Ajax polling mode is asynchronous response mechanism, although the visual experience that above-mentioned traditional polling mode is brought can be solved, but it remains by continual customer end A jax request, go to find the data variation of service end, therefore the time delay of client display data and the large shortcoming of server end load pressure still unresolved.
Socket implementation, Applet as the XMLSocket class or Java that utilize Flash connects to set up Socket, realize the server push of full duplex, the interface then communicated by Flash or Applet and JavaScript realizes final data-pushing.But this mode needs the support of Flash or JVM, is equally not too appropriate to terminal use.
Real-time application system mostly presents the characteristic that height is concurrent, high-throughput, heavy load are applied in addition, in the service of various types of messages, has higher requirement to the task treatment effeciency of asking, data publication efficiency and stability etc.Current various types of messages service mostly adopts the mode of two-tier system to carry out, namely the mode that requesting party directly sends request to service provider is carried out, the shortcoming of this kind of processing method is after service provider at a time collapses and restarts, current message service processing method cannot make data or service requester obtain data or service in time, and after requesting party must resubmit request task, could again obtain data or service, add the burden of requesting party and service provider; Message request and service adopt the mode of two-tier system that coupling between system module is strengthened in addition, poor expandability.There is the problems such as message distribution efficiency is low, poor stability, poor expandability in therefore traditional two-layer messenger service solution.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, the page real time data method for refreshing of a kind of high efficiency, high stability is provided.
Technical scheme of the present invention realizes in the following manner, and its feature is:
(1), improve traditional client and pull the real-time delta data mode that shows for the server end active push when back-end data changes; Message push adopts " server push " technology based on Comet, adopts observer's model: client sends request, and subscribes to interested event; Server end is that each client distributes a session id as mark, and event source can be sent in the event queue of subscriber in the mode of multicast the new event produced;
Adopt Open Framework pushlet;
(2), to improve traditional two-layer " request-service " architecture mode be three layers of service architecture, i.e. " request-message forwards-serves " three-tier architecture; Message forwards the Internet Transmission that middleware is responsible for message, solves the problem such as clogged with messages, loss in high concurrent, large throughput application, supports Distributed Calculation, have message buffering mechanism, ensure the stability of transmission of messages, improve message push quality;
Mainly comprise in the middle of message distribution: the modules such as message subscribing, message distribution, news release;
The registration of message subscribing component primary responsibility subscribe request, transmission and subscription data correctly return;
Detailed process is: after subscribe request task sends, and subscribes to component and service request task is registered, and the solicited message with service codes and filter condition is sent to message distribution component; After messenger service subscription component receives the return data of message distribution component, according to service codes and log-on message, return data are returned to corresponding requestor;
Message distribution component major function comprises: message parse, message distribution, subscription information are registered and cancelled subscriptions.
Advantage of the present invention is:
(1), solve that conventional client timed sending request obtains to service end service end load increase that up-to-date delta data brings, network traffics increase problem.
(2), reduce message push delay, improve message push quality.
(3), support Distributed Calculation, solve clogged with messages, message distribution in high concurrent, high-throughput application and lose problem.
(4), have employed three layers of " request-service " Framework Model, effectively improve under traditional two-layer Framework Model when service provider at a time collapse restart after the information drop-out instability problem brought.
(5), have employed three layers of " request-message forwards-service " Framework Model, effectively improve the degree of modularity of system, enhance the extensibility of system.
Embodiment
Below the page real time data method for refreshing of a kind of high efficiency of the present invention, high stability is described in detail below.
The page real time data method for refreshing of a kind of high efficiency of the present invention, high stability, its feature is:
(1) improve traditional client and pull the real-time delta data mode that shows for the server end active push when back-end data changes.Message push adopts " server push " technology based on Comet, adopts observer's model: client sends request, and subscribes to interested event; Server end is that each client distributes a session id as mark, and event source can be sent to the new event produced in the event queue of subscriber in the mode of multicast.Specific implementation adopts Open Framework pushlet.
" server push " technology of employing tool has the following advantages:
Reduce client and show up-to-date delta data propelling movement delay.
Client obtains up-to-date delta data without the need to timing to sending request, and server end load pressure is little.
Client need not install any plug-in unit.
(2) improving traditional two-layer " request-service " architecture mode is three layers of service architecture, i.e. " request-message forwards-service " three-tier architecture.Message forwards the Internet Transmission that middleware is responsible for message, solves the problem such as clogged with messages, loss in high concurrent, large throughput application, supports Distributed Calculation, have message buffering mechanism, ensure the stability of transmission of messages, improve message push quality.
Mainly comprise between part in message distribution: the modules such as message subscribing, message distribution, news release.
The registration of message subscribing component primary responsibility subscribe request, transmission and subscription data correctly return.Detailed process is: after subscribe request task sends, and subscribes to component and service request task is registered, and the solicited message with service codes and filter condition is sent to message distribution component; After messenger service subscription component receives the return data of message distribution component, according to service codes and log-on message, return data are returned to corresponding requestor.
Message distribution component major function comprises: message parse, message distribution, subscription information are registered and cancelled subscriptions.
Messenger service issue component mainly realize the reception of subscribe request, parsing and subscription data return.
Adopt pieces in separate modular message distribution to solve network transmission problems to have the following advantages:
Support distributed treatment.
There is message buffering mechanism, can effectively avoid because certain one end collapses the information drop-out problem brought.
Support high concurrent, high-throughput.
Extensibility is good.
Its processing and fabricating of page real time data method for refreshing of a kind of high efficiency of the present invention, high stability is very simple and convenient, can process to specifications.
Except the technical characteristic described in specification, be the known technology of those skilled in the art.
Claims (1)
1. a page real time data method for refreshing for high efficiency, high stability, is characterized in that:
(1), improve traditional client and pull the real-time delta data mode that shows for the server end active push when back-end data changes; Message push adopts " server push " technology based on Comet, adopts observer's model: client sends request, and subscribes to interested event; Server end is that each client distributes a session id as mark, and event source can be sent in the event queue of subscriber in the mode of multicast the new event produced;
Adopt Open Framework pushlet;
(2), to improve traditional two-layer " request-service " architecture mode be three layers of service architecture, i.e. " request-message forwards-serves " three-tier architecture; Message forwards the Internet Transmission that middleware is responsible for message, solves the problem such as clogged with messages, loss in high concurrent, large throughput application, supports Distributed Calculation, have message buffering mechanism, ensure the stability of transmission of messages, improve message push quality;
Mainly comprise in the middle of message distribution: the modules such as message subscribing, message distribution, news release;
The registration of message subscribing component primary responsibility subscribe request, transmission and subscription data correctly return;
Detailed process is: after subscribe request task sends, and subscribes to component and service request task is registered, and the solicited message with service codes and filter condition is sent to message distribution component; After messenger service subscription component receives the return data of message distribution component, according to service codes and log-on message, return data are returned to corresponding requestor;
Message distribution component major function comprises: message parse, message distribution, subscription information are registered and cancelled subscriptions.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510558524.7A CN105282227A (en) | 2015-09-06 | 2015-09-06 | High-efficiency high-stability page real-time data refreshing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510558524.7A CN105282227A (en) | 2015-09-06 | 2015-09-06 | High-efficiency high-stability page real-time data refreshing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105282227A true CN105282227A (en) | 2016-01-27 |
Family
ID=55150532
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510558524.7A Pending CN105282227A (en) | 2015-09-06 | 2015-09-06 | High-efficiency high-stability page real-time data refreshing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105282227A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107819855A (en) * | 2017-11-14 | 2018-03-20 | 成都路行通信息技术有限公司 | A kind of message distributing method and device |
CN108400927A (en) * | 2018-01-22 | 2018-08-14 | 广州欧赛斯信息科技有限公司 | A kind of information push method and device for high concurrent message |
CN108600092A (en) * | 2018-05-03 | 2018-09-28 | 山东汇贸电子口岸有限公司 | A kind of software systems cooperation device and method based on event message mechanism |
CN108681550A (en) * | 2018-03-30 | 2018-10-19 | 北京奇艺世纪科技有限公司 | Page furbishing method, the control method of device and page furbishing, device |
CN108712476A (en) * | 2018-04-27 | 2018-10-26 | 华迪计算机集团有限公司 | A kind of method and system carrying out data update based on push technology |
CN109151056A (en) * | 2018-09-26 | 2019-01-04 | 携程计算机技术(上海)有限公司 | Information push method and system based on Canal |
CN109379446A (en) * | 2018-12-24 | 2019-02-22 | 杭州复杂美科技有限公司 | Block method for pushing, block acquisition methods, equipment and storage medium |
WO2020000144A1 (en) * | 2018-06-25 | 2020-01-02 | Nokia Shanghai Bell Co., Ltd. | Methods and apparatuses for internet content pushing service in a wireless mobile communication system |
CN111669447A (en) * | 2020-06-16 | 2020-09-15 | 中国建设银行股份有限公司 | Page display method, device, equipment and medium |
CN112231620A (en) * | 2020-10-28 | 2021-01-15 | 江苏睿孜星智控科技有限公司 | Data pushing and displaying method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7817039B2 (en) * | 2004-12-22 | 2010-10-19 | Sap Aktiengesellschaft | Dynamic display of RFID and sensor data |
KR101029788B1 (en) * | 2010-10-22 | 2011-04-19 | 삼성탈레스 주식회사 | Method for delivering message between layers of middleware and computer readable medium recording program for performing the method |
CN102035893A (en) * | 2010-12-23 | 2011-04-27 | 中国农业银行股份有限公司 | Method and system for pushing data actively by server |
CN103347006A (en) * | 2013-06-20 | 2013-10-09 | 同济大学 | Control system and control method for networking cooperation virtual experiment |
CN104243611A (en) * | 2014-09-30 | 2014-12-24 | 浪潮软件股份有限公司 | Distribution thought based message service middleware system |
-
2015
- 2015-09-06 CN CN201510558524.7A patent/CN105282227A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7817039B2 (en) * | 2004-12-22 | 2010-10-19 | Sap Aktiengesellschaft | Dynamic display of RFID and sensor data |
KR101029788B1 (en) * | 2010-10-22 | 2011-04-19 | 삼성탈레스 주식회사 | Method for delivering message between layers of middleware and computer readable medium recording program for performing the method |
CN102035893A (en) * | 2010-12-23 | 2011-04-27 | 中国农业银行股份有限公司 | Method and system for pushing data actively by server |
CN103347006A (en) * | 2013-06-20 | 2013-10-09 | 同济大学 | Control system and control method for networking cooperation virtual experiment |
CN104243611A (en) * | 2014-09-30 | 2014-12-24 | 浪潮软件股份有限公司 | Distribution thought based message service middleware system |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107819855B (en) * | 2017-11-14 | 2020-07-28 | 成都路行通信息技术有限公司 | Message distribution method and device |
CN107819855A (en) * | 2017-11-14 | 2018-03-20 | 成都路行通信息技术有限公司 | A kind of message distributing method and device |
CN108400927A (en) * | 2018-01-22 | 2018-08-14 | 广州欧赛斯信息科技有限公司 | A kind of information push method and device for high concurrent message |
CN108400927B (en) * | 2018-01-22 | 2021-01-26 | 广州欧赛斯信息科技有限公司 | Message pushing method and device for high-concurrency messages |
CN108681550A (en) * | 2018-03-30 | 2018-10-19 | 北京奇艺世纪科技有限公司 | Page furbishing method, the control method of device and page furbishing, device |
CN108712476A (en) * | 2018-04-27 | 2018-10-26 | 华迪计算机集团有限公司 | A kind of method and system carrying out data update based on push technology |
CN108712476B (en) * | 2018-04-27 | 2021-11-02 | 华迪计算机集团有限公司 | Method and system for updating data based on push technology |
CN108600092A (en) * | 2018-05-03 | 2018-09-28 | 山东汇贸电子口岸有限公司 | A kind of software systems cooperation device and method based on event message mechanism |
WO2020000144A1 (en) * | 2018-06-25 | 2020-01-02 | Nokia Shanghai Bell Co., Ltd. | Methods and apparatuses for internet content pushing service in a wireless mobile communication system |
US11533380B2 (en) | 2018-06-25 | 2022-12-20 | Nokia Technologies Oy | Methods and apparatuses for internet content pushing service in a wireless mobile communication system |
CN109151056A (en) * | 2018-09-26 | 2019-01-04 | 携程计算机技术(上海)有限公司 | Information push method and system based on Canal |
CN109151056B (en) * | 2018-09-26 | 2021-11-19 | 携程计算机技术(上海)有限公司 | Method and system for pushing messages based on Canal |
CN109379446A (en) * | 2018-12-24 | 2019-02-22 | 杭州复杂美科技有限公司 | Block method for pushing, block acquisition methods, equipment and storage medium |
CN111669447A (en) * | 2020-06-16 | 2020-09-15 | 中国建设银行股份有限公司 | Page display method, device, equipment and medium |
CN112231620A (en) * | 2020-10-28 | 2021-01-15 | 江苏睿孜星智控科技有限公司 | Data pushing and displaying method |
CN112231620B (en) * | 2020-10-28 | 2023-11-03 | 南京科远智慧科技集团股份有限公司 | Data pushing and displaying method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105282227A (en) | High-efficiency high-stability page real-time data refreshing method | |
CN106453288B (en) | A kind of distributed micro services frame system that supporting asynchronous mode and its implementation | |
CN103945003B (en) | A kind of method that WebRTC clients connect dynamic adaptive selection | |
CN102148817B (en) | Network equipment configuration method, client, server and network system | |
US8442062B2 (en) | Group communication system using media server having distributed structure and method thereof | |
CN103780681A (en) | High real-time Web application system and data real-time pushing method thereof | |
Zhang et al. | Research and development of real-time monitoring system based on WebSocket technology | |
CN105357286B (en) | A kind of real-time messages orientation method for pushing based on Web | |
CN102299810B (en) | Method and system for notifying group change event | |
CN103312751A (en) | Instant messaging method based on browser | |
CN104378436A (en) | Information push system and method based on server push | |
CN106131138A (en) | A kind of display data real time propelling movement system and method based on non-obstruction queue | |
CN105897691A (en) | Method, apparatus, and system for connection of IoT device to network | |
WO2012151980A1 (en) | Service processing server, system, and method | |
AU2006203017A1 (en) | Information exchange system and management server, terminal unit, and method for reducing network load used in the same | |
CN109040017B (en) | Intelligent customer service system based on MQTT and HTTP and implementation method | |
CN108683653A (en) | A kind of active message push system based on WebSocket | |
CN107395686A (en) | The method, apparatus and system of the long connection of switching | |
CN203504603U (en) | Server configuration of mobile Internet voice community | |
CN110087227A (en) | A kind of system and method for the distributed presentation business based on IMS architecture | |
CN101753621A (en) | Method and system for actively pushing data to browser through server | |
CN103139658A (en) | Passive media flow distribution method for live video distribution network | |
CN103338160B (en) | Based on optimization system and the optimization method of the polling service of buffer queue | |
CN105162687A (en) | WEB-based real-time message push method | |
CN102638731A (en) | Method and system for optimizing broadcasting-on-demand of user |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160127 |