CN108924176A - A kind of data push method - Google Patents
A kind of data push method Download PDFInfo
- Publication number
- CN108924176A CN108924176A CN201810420157.8A CN201810420157A CN108924176A CN 108924176 A CN108924176 A CN 108924176A CN 201810420157 A CN201810420157 A CN 201810420157A CN 108924176 A CN108924176 A CN 108924176A
- Authority
- CN
- China
- Prior art keywords
- data
- back end
- end data
- significance
- push method
- 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
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000004458 analytical method Methods 0.000 claims abstract description 10
- 238000012545 processing Methods 0.000 claims abstract description 5
- 239000000284 extract Substances 0.000 claims description 6
- 238000000605 extraction Methods 0.000 claims description 6
- 241001269238 Data Species 0.000 claims description 4
- 238000004445 quantitative analysis Methods 0.000 abstract description 3
- 238000011161 development Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000013075 data extraction Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000004044 response 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
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy 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/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
Abstract
The present invention relates to a kind of data push method, the method includes:S1:Preliminary analysis and processing are carried out to the Back end data;S2:The Back end data is pushed to front end.The present invention can carry out significance analysis to complex data and its classification, data-pushing is carried out by significance analysis result, by quantitative analysis, so that the conspicuousness of the tissue of the sequence of push, data and data combines, so that described push the demand that can satisfy client.
Description
【Technical field】
The invention belongs to data-pushing field more particularly to a kind of data push methods.
【Background technique】
With the rapid development of Internet technology, (i.e. webapp generally may be used for many applications based on browser kernel exploitation
To refer to the Application third-party application based on web page technology) since its own development cost is low, is not necessarily to installation, to each
The advantages such as kind mobile device and the adaptation of platform are low in cost are by the favor of user and app provider.WebApp master
It wants business to show with interacting to be carried by Web page substantially, Web page is very flexible, but to some business for needing realtime running,
Existing WebApp is generally using the length for being based on HTTP (Hypertext transfer protocol, hypertext transfer protocol)
Push is connected, i.e., after client establishes the connection between server, server keeps the connection by way of obstruction, is needing
Data are sent to client using the connection being always maintained at when will be to client push data, are accordingly turned off the connection, client
It receives to re-initiate after propelling data and establishes connection, repeated the above process between server and client to realize and be bordering in real time
Information push.In the case where webapp is using long connection push, need to occupy one of connection always, and it is general
Browser default only allow and every server between exist two connections, thus webapp only one connect can be used for for
Offer service is requested at family, and the response performance that will lead to certain operations of webapp reduces, and since long connection needs constantly to beat
Open and close HTTP connection, therefore constantly can occupy and consume system resource.Based on above-mentioned problems, need now a kind of new
Data push method, the present invention can to complex data and its classification carry out significance analysis, pass through significance analysis result
Data-pushing is carried out, by quantitative analysis, so that the conspicuousness of the tissue of the sequence of push, data and data combines, to make
Obtain the demand for pushing and can satisfy client.
【Summary of the invention】
In order to solve the above problem in the prior art, the invention proposes a kind of data push method, this method includes
Following steps:
S1:Preliminary analysis and processing are carried out to the Back end data;
S2:The Back end data is pushed to front end.
Further, the step S1 is specifically, specific:It removes and is not obviously inconsistent logical number in the Back end data
Accordingly and clear data.
Further, the step S1 further includes:Data de-duplication is carried out to the repeated data in the Back end data.
Further, the step S2 is specially:The significance of each Back end data is calculated, and the Back end data is pressed
According to orderly Back end data is formed after significance sequence, the orderly Back end data is pushed to front end in batches.
Further, the significance for calculating each Back end data, specially:Obtain each Back end data it is corresponding after
Hold ranking PM;Obtain the percentage PR of the number of data of each Back end data and unprocessed Back end data;It is calculated based on following formula
The significance IM;IM=PM × PR.
Further, it is described the Back end data is sorted according to significance after form orderly Back end data, specially:It will
The Back end data constitutes orderly Back end data to combining after small sequence according to the size of significance.
Further, since the highest Back end data of significance, successively each Back end data is extracted and described aobvious
The data of the corresponding dynamic quantity of work degree, and the data of the dynamic quantity are stored in orderly Back end data caching;One
After wheel extracts, next round extraction is carried out, until the data in all Back end datas, which are extracted, to be finished.
Further, after every wheel is to the data of Back end data extraction dynamic quantity, lower whorl proposes the Back end data
It takes since until last fetched terminates.
Beneficial effects of the present invention include:Significance analysis can be carried out to complex data and its classification, pass through conspicuousness
It analyzes result and carries out data-pushing, by quantitative analysis, so that sequence, the tissue of data and the conspicuousness knot of data of push
It closes, so that described push the demand that can satisfy client.
【Detailed description of the invention】
Described herein the drawings are intended to provide a further understanding of the invention, constitutes part of this application, but
It does not constitute improper limitations of the present invention, in the accompanying drawings:
Fig. 1 is the flow chart of data push method of the invention.
【Specific embodiment】
Come that the present invention will be described in detail below in conjunction with attached drawing and specific embodiment, illustrative examples therein and says
It is bright to be only used to explain the present invention but not as a limitation of the invention.
A kind of data push method applied by the present invention is described in detail, the method includes following step:
S1:Receive the Back end data from one or more rear ends;Specifically:Front end is asked based on the request transmission of client
The Back end data asked;
Preferably:The rear end is company's public host, portal service engine etc.;
The front end is:Mobile phone, the personal terminal such as notebook;
S2:Preliminary analysis and processing are carried out to the Back end data;Specifically:It removes and is not obviously inconsistent in the Back end data
Logical data and clear data;
Further include:Data de-duplication is carried out to the repeated data in the Back end data;
Contradictory data in the Back end data are deleted completely;
Preferably:The execution of third party's processor is given in the preliminary analysis and processing;
Preferably:Third party's processor is Cloud Server;
S3:The Back end data is pushed to front end;Specifically:The significance of each Back end data is calculated, and will be described
Back end data forms orderly Back end data after sorting according to significance, the orderly Back end data is pushed to front end in batches;
The significance for calculating each Back end data, specially:Obtain the corresponding rear end ranking PM of each Back end data;
Obtain the percentage PR of the number of data of each Back end data and unprocessed Back end data;The significance is calculated based on following formula
IM;IM=PM × PR;
It is described the Back end data is sorted according to significance after form orderly Back end data, specially:By the rear end
Data constitute orderly Back end data to combining after small sequence according to the size of significance;Pass through the premise in data-pushing
Effective tissue of advance row data improves the efficiency that user grasps data and reads;
Preferably:Since the highest Back end data of significance, successively each Back end data is extracted and described significant
The data of corresponding dynamic quantity are spent, and the data of the dynamic quantity are stored in orderly Back end data caching;In a wheel
After extraction, next round extraction is carried out, until the data in all Back end datas, which are extracted, to be finished;
Preferably:After every wheel extracts the data of dynamic quantity to a Back end data, extraction of the lower whorl to the Back end data
Since until last fetched terminates;
The data for extracting dynamic quantity corresponding with the significance, specially:Obtain the aobvious of i-th of Back end data
Work degree IMi calculates the corresponding dynamic quantity FNi of i-th of Back end data based on following formula;It is logical
Such mode is crossed, to each Back end data, dynamic quantity is different, to embody the significance of different Back end datas;
It is described that the orderly Back end data is pushed to front end in batches, specially:Default number of branches are successively obtained from the beginning
Data, and by the data-pushing of the default number of branches to front end, until the orderly Back end data, which pushes, to be finished;
Preferably:The default number of branches are related to the cache size of front end;
Preferably:The dynamic quantity and default number of branches are preset value;
The dynamic quantity and default number of branches are premium customers setting;
The above description is only a preferred embodiment of the present invention, thus it is all according to the configuration described in the scope of the patent application of the present invention,
The equivalent change or modification that feature and principle are done, is included in the scope of the patent application of the present invention.
Claims (8)
1. a kind of data push method, which is characterized in that this method comprises the following steps:
S1:Preliminary analysis and processing are carried out to the Back end data;
S2:The Back end data is pushed to front end.
2. data push method according to claim 1, which is characterized in that the step S1 is specifically, specific:Removal
Logical data and clear data are not obviously inconsistent in the Back end data.
3. data push method according to claim 2, which is characterized in that the step S1 further includes:To the rear end
Repeated data in data carries out data de-duplication.
4. data push method according to claim 3, which is characterized in that the step S2 is specially:After calculating each
The significance of end data, and orderly Back end data is formed after the Back end data is sorted according to significance, by it is described orderly after
End data is pushed to front end in batches.
5. data push method according to claim 4, which is characterized in that described to calculate the significant of each Back end data
Degree, specially:Obtain the corresponding rear end ranking PM of each Back end data;Obtain each Back end data and unprocessed Back end data
Number of data percentage PR;The significance IM is calculated based on following formula;IM=PM × PR.
6. data push method according to claim 5, which is characterized in that it is described by the Back end data according to significance
Orderly Back end data is formed after sequence, specially:By the Back end data according to the size of significance to combining after small sequence
Get up and constitutes orderly Back end data.
7. data push method according to claim 6, which is characterized in that since the highest Back end data of significance,
Successively extract the data of corresponding with significance dynamic quantity for each Back end data, and by the number of the dynamic quantity
According to being stored in orderly Back end data caching;After a wheel extracts, next round extraction is carried out, until all Back end datas
In data extract and finish until.
8. data push method according to claim 7, which is characterized in that every wheel extracts dynamic quantity to a Back end data
Data after, lower whorl is to the extraction of the Back end data since until last fetched terminates.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810420157.8A CN108924176A (en) | 2018-05-04 | 2018-05-04 | A kind of data push method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810420157.8A CN108924176A (en) | 2018-05-04 | 2018-05-04 | A kind of data push method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108924176A true CN108924176A (en) | 2018-11-30 |
Family
ID=64403565
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810420157.8A Pending CN108924176A (en) | 2018-05-04 | 2018-05-04 | A kind of data push method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108924176A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110781387A (en) * | 2019-10-10 | 2020-02-11 | 深圳证券交易所 | Pushing method of stock market snapshot, stock trading system and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6847976B1 (en) * | 2000-06-15 | 2005-01-25 | Terrence B. Peace | Method and apparatus for significance testing and confidence interval construction based on user-specified distribution |
US20060173950A1 (en) * | 2005-01-28 | 2006-08-03 | Roberto Longobardi | Method and system for delivering information with caching based on interest and significance |
US20110231382A1 (en) * | 2010-03-19 | 2011-09-22 | Honeywell International Inc. | Methods and apparatus for analyzing information to identify entities of significance |
CN104618797A (en) * | 2015-02-06 | 2015-05-13 | 腾讯科技(北京)有限公司 | Information processing method and device and client |
US20150169577A1 (en) * | 2012-05-16 | 2015-06-18 | Google Inc. | Prominent display of selective results of book search queries |
CN105045907A (en) * | 2015-08-10 | 2015-11-11 | 北京工业大学 | Method for constructing visual attention-label-user interest tree for personalized social image recommendation |
WO2016074024A1 (en) * | 2014-11-11 | 2016-05-19 | Isee Vc Pty Ltd | Reducing data content on a data stream |
CN106331100A (en) * | 2016-08-24 | 2017-01-11 | 金蝶软件(中国)有限公司 | Method and device for pushing business information to be processed |
WO2017201849A1 (en) * | 2016-05-26 | 2017-11-30 | 宇宙世代信息技术(深圳)有限公司 | Merchandise information pushing method and merchandise information pushing system |
CN107872533A (en) * | 2017-11-29 | 2018-04-03 | 广东欧珀移动通信有限公司 | Information-pushing method, device, server and storage medium |
-
2018
- 2018-05-04 CN CN201810420157.8A patent/CN108924176A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6847976B1 (en) * | 2000-06-15 | 2005-01-25 | Terrence B. Peace | Method and apparatus for significance testing and confidence interval construction based on user-specified distribution |
US20060173950A1 (en) * | 2005-01-28 | 2006-08-03 | Roberto Longobardi | Method and system for delivering information with caching based on interest and significance |
US20110231382A1 (en) * | 2010-03-19 | 2011-09-22 | Honeywell International Inc. | Methods and apparatus for analyzing information to identify entities of significance |
US20150169577A1 (en) * | 2012-05-16 | 2015-06-18 | Google Inc. | Prominent display of selective results of book search queries |
WO2016074024A1 (en) * | 2014-11-11 | 2016-05-19 | Isee Vc Pty Ltd | Reducing data content on a data stream |
CN104618797A (en) * | 2015-02-06 | 2015-05-13 | 腾讯科技(北京)有限公司 | Information processing method and device and client |
CN105045907A (en) * | 2015-08-10 | 2015-11-11 | 北京工业大学 | Method for constructing visual attention-label-user interest tree for personalized social image recommendation |
WO2017201849A1 (en) * | 2016-05-26 | 2017-11-30 | 宇宙世代信息技术(深圳)有限公司 | Merchandise information pushing method and merchandise information pushing system |
CN106331100A (en) * | 2016-08-24 | 2017-01-11 | 金蝶软件(中国)有限公司 | Method and device for pushing business information to be processed |
CN107872533A (en) * | 2017-11-29 | 2018-04-03 | 广东欧珀移动通信有限公司 | Information-pushing method, device, server and storage medium |
Non-Patent Citations (2)
Title |
---|
王金波: "中国移动用户数据分析推送平台的设计与实现", 《微型电脑应用》 * |
黄俊: "基于web图像的视觉模式挖掘研究", 《中国博士学位论文全文数据库》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110781387A (en) * | 2019-10-10 | 2020-02-11 | 深圳证券交易所 | Pushing method of stock market snapshot, stock trading system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018157818A1 (en) | Method and apparatus for inferring preference of user, terminal device, and storage medium | |
WO2015196907A1 (en) | Search pushing method and device which mine user requirements | |
CN101777068B (en) | Web page pre-reading and integrally browsing system for mobile communication equipment terminals and application method thereof | |
CN108846753B (en) | Method and apparatus for processing data | |
CN108984553B (en) | Caching method and device | |
CN110351115A (en) | Reduce method, apparatus, computer equipment and the storage medium of network access time delay | |
US9064013B1 (en) | Application of resource limits to request processing | |
CN110245069B (en) | Page version testing method and device and page display method and device | |
CN103532984B (en) | Data transmission method, device and system of websocket protocol | |
CN103955495B (en) | The method for down loading and device of page child resource | |
CN112527649A (en) | Test case generation method and device | |
CN102523533A (en) | Management method of online video advertisement related to video content | |
CN105404693A (en) | Service clustering method based on demand semantics | |
CN109559178A (en) | Electronic invoice massively billing method, electronic device and readable storage medium storing program for executing | |
CN108924176A (en) | A kind of data push method | |
CN113900907B (en) | Mapping construction method and system | |
CN108595233A (en) | A kind of electronic evidence acquisition method and system based on voice prompt | |
CN110493250A (en) | A kind of WEB front-end ARCGIS resource request processing method and processing device | |
CN109375998B (en) | Processing method in high-concurrency request environment | |
JP2004005655A (en) | Downloading method over the internet | |
CN113378855A (en) | Method for processing multitask, related device and computer program product | |
CN110944015B (en) | Audio remote transmission method, device, server and storage medium | |
WO2012119496A1 (en) | Pre-reading method and equipment | |
CN110022336A (en) | Improve method, storage medium, equipment and the system of Internet resources speed of download | |
CN106302240A (en) | Received server-side client concurrently connects and data processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | 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: 20181130 |