CN102117209B - Method for processing intermediate data at a regular time in WEB system - Google Patents
Method for processing intermediate data at a regular time in WEB system Download PDFInfo
- Publication number
- CN102117209B CN102117209B CN201010595250.6A CN201010595250A CN102117209B CN 102117209 B CN102117209 B CN 102117209B CN 201010595250 A CN201010595250 A CN 201010595250A CN 102117209 B CN102117209 B CN 102117209B
- Authority
- CN
- China
- Prior art keywords
- data
- web system
- data processing
- thread
- automatic
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000033772 system development Effects 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
Abstract
The invention discloses a method for processing and calculating intermediate data at a regular time in a WEB system. The method comprises the following steps: automatically starting an immediate data calculation thread and processing and calculating the data at a fixed time and storing the data into a database; and enabling an operator to adopt a calculation thread of mutually starting the immediate data to calculate the immediate data again or complementally calculate the immediate data according to the execution results of the automatic calculation thread of processing the immediate data. The method is applied to a B/C system. The method provides the functions of not only automatically calculating and processing the immediate data in the WEB system at a fixed time, but also manually starting, calculating and processing the immediate data, so that the statistical results of the immediate data required by the system are more accurate and complete, and the operation is more effective and simpler, thereby facilitating using for a user.
Description
Technical field
The present invention relates to system development and the application of WEB technology, to the method for middle data timing process in espespecially a kind of WEB system.
Background technology
For many years, in the project development implementation process of electric system, WEB systematic difference is more and more extensive, and the function that simultaneously will realize in WEB system is also more and more abundanter.In early days due to the limitation of WEB technology, the implementation method for the self-timing process of some raw data is barely satisfactory, and execution efficiency is poor, and the effect of realization is also undesirable.
So just need a kind of more efficiently, practical, the implementation method that the high efficiency self-timing process to intermediate data calculates, the method for realization is more convenient, and effectively, execution efficiency is higher, and the operation circle page of user is more friendly, simple and direct simultaneously.
Summary of the invention
For with above-mentioned situation, the object of this method is provide the implementation method to middle data timing process in a convenience, efficiently WEB system, and makes the automatic process of data more convenient, and efficiency is higher, and user operation is more friendly.
For achieving the above object, technical scheme of the present invention is: to the method for middle data timing process in a kind of WEB system, said method comprising the steps of: after S1:WEB system cloud gray model, automatic data processing thread starts automatically, reads the configuration file of data processing needs; S2: according to configuration parameter, the timing of automatic data processing thread performs the process of data, and result is preserved; S3: manually initiate data in client and mend calculation processing threads; S4: after service end receives client-requested, the specified requirements sent according to client is reruned to corresponding data or is mended calculation operation; Data are preserved by S5: after having processed.
As improvement, in described step S1, described automatic data processing thread, when WEB system brings into operation, starts automatically, after thread starts, reads the configuration file of data processing, and described configuration file comprises and defining the correlation parameter of different pieces of information.
As improvement, in described step S2, automatic data processing thread, according to configuration parameter, processes corresponding data, different to the statistical computation frequency of different pieces of information, and according to the actual needs statistical computation respectively of user, after statistical computation completes, data are preserved.
As improvement, in described step S3, system provides the thread manually starting intermediate data process.
As improvement, in described step S4, the parameter that server end sends according to client and condition, start data processing threads.
As improvement, in described step S5, when preserving data, data exist, replace legacy data; Data do not exist, and directly preserve.
As improvement, in described step S5, after data processing threads processes data, preserve data, terminate thread.
It is more easy, effective that the object of the embodiment of the present invention is to provide one, the method for data self-timing process efficiently.
The invention has the beneficial effects as follows: this method is by starting automatic data processing thread and---perform data processing and---initiate data and mend calculation processing threads---service end carries out reruning or mend calculation operation---steps such as data preservation, achieve simple and direct in WEB system, efficient to middle data timing computing, and user operation is more friendly.Therefore, have more efficient data-handling capacity and execution efficiency based in the electric system of the method, the method more improves the stability of electric system.
Accompanying drawing explanation
Fig. 1 is the process flow diagram that system realizes.
Embodiment
Below in conjunction with the drawings and specific embodiments, the utility model is further elaborated.
As shown in Figure 1, method to middle data timing process in a kind of WEB of the present invention system, be applicable to B/S system regions, the method step is successively: after WEB system brings into operation, automatic data processing thread starts automatically, after thread starts, read the configuration documentation of data processing needs, mainly the correlation parameter of different pieces of information is defined in configuration documentation.2 automatic data processing threads are according to configuration parameter, timing performs the process of data, different to the statistical computation frequency of different pieces of information, according to the actual needs statistical computation respectively of user, some data are added up once for one hour, have plenty of one day, have plenty of January and add up once, and result statistical computation completed is saved in database.WEB system provides the thread manually starting intermediate data process for operating personnel, and operating personnel manually initiate data in client and mend and calculate processing threads.After service end receives client-requested, the parameter sent according to client and condition, rerun to corresponding data or mend calculation operation, after manually starting thread, artificial data processing threads is can not intervention states, until thread terminates.After data processing threads processes data, when preserving data, data exist, replace legacy data; Data do not exist, and directly preserve, and terminate thread.
More simple and direct, convenient, effectively, simultaneously also more friendly in the operation of user interface in the processing capacity that this method makes the server based on WEB realizes intermediate data.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (4)
1. in WEB system to a method for middle data timing process, it is characterized in that, said method comprising the steps of:
After S1:WEB system cloud gray model, automatic data processing thread starts automatically, reads the configuration file of data processing needs;
S2: according to configuration parameter, the timing of automatic data processing thread performs the process of intermediate data, and result is preserved;
S3: manually initiate data in client and mend calculation processing threads;
S4: after service end receives client-requested, the specified requirements sent according to client is reruned to corresponding intermediate data or is mended calculation operation;
These data are preserved by S5: after having processed;
In described step S2, automatic data processing thread, according to configuration parameter, processes corresponding intermediate data, different to the statistical computation frequency of different pieces of information, and according to the actual needs statistical computation respectively of user, after statistical computation completes, data are preserved.
2. the method to middle data timing process in WEB system according to claim 1, it is characterized in that, in described step S1, described automatic data processing thread is when WEB system brings into operation, automatic startup, after thread starts, read the configuration file of data processing, described configuration file comprises and defining the correlation parameter of different pieces of information.
3. the method to middle data timing process in WEB system according to claim 1, is characterized in that, in described step S5, when preserving data, data exist, replace legacy data; Data do not exist, and directly preserve.
4. the method to middle data timing process in WEB system according to claim 1, is characterized in that, in described step S5, after data processing threads processes data, preserves data, terminate thread.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010595250.6A CN102117209B (en) | 2010-12-20 | 2010-12-20 | Method for processing intermediate data at a regular time in WEB system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010595250.6A CN102117209B (en) | 2010-12-20 | 2010-12-20 | Method for processing intermediate data at a regular time in WEB system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102117209A CN102117209A (en) | 2011-07-06 |
CN102117209B true CN102117209B (en) | 2015-04-22 |
Family
ID=44215991
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010595250.6A Active CN102117209B (en) | 2010-12-20 | 2010-12-20 | Method for processing intermediate data at a regular time in WEB system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102117209B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102254001A (en) * | 2011-07-14 | 2011-11-23 | 青岛海信网络科技股份有限公司 | Efficient data management method and system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7207067B2 (en) * | 2002-11-12 | 2007-04-17 | Aol Llc | Enforcing data protection legislation in Web data services |
US7756833B2 (en) * | 2004-09-22 | 2010-07-13 | Microsoft Corporation | Method and system for synthetic backup and restore |
CN101335541B (en) * | 2008-06-12 | 2012-05-23 | 中兴通讯股份有限公司 | Method implementing data synchronization between main and spare circuit board |
CN101426052A (en) * | 2008-12-05 | 2009-05-06 | 上海闻泰电子科技有限公司 | Backup and importing method for address book and short message of mobile terminal |
CN101719306B (en) * | 2009-10-30 | 2012-01-04 | 深圳市科陆电子科技股份有限公司 | Parallel electric quantity data acquisition method |
-
2010
- 2010-12-20 CN CN201010595250.6A patent/CN102117209B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN102117209A (en) | 2011-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108536761B (en) | Report data query method and server | |
CN103605664B (en) | Massive dynamic data fast query method meeting different time granularity requirements | |
CN103092938A (en) | Method for intelligently cleaning garbage file of secure digital (SD) card of Android mobile phone | |
CN103926994A (en) | ME based dynamic server energy consumption management and correction method | |
CN104683472A (en) | Data transmission method capable of supporting large data volume | |
CN103312544A (en) | Method, equipment and system for controlling terminals during log file reporting | |
CN105677763A (en) | Image quality evaluating system based on Hadoop | |
CN104391748A (en) | Mapreduce computation process optimization method | |
CN102110040A (en) | Method of BMC for adjusting CPU alarm temperature based on CPUs with different powers | |
CN110572464A (en) | Bottom layer resource state synchronization method and device, cloud platform system and storage medium | |
CN104461710A (en) | Method and device for processing tasks | |
CN110674066B (en) | Universal board card information acquisition method and device | |
CN104461404A (en) | Metadata storage method, device and system | |
CN102117209B (en) | Method for processing intermediate data at a regular time in WEB system | |
CN105357297A (en) | Data caching system and method | |
CN105824687A (en) | Method and apparatus for automatically tuning performance of Java virtual machine | |
CN104731716A (en) | Data storage method | |
CN104346378B (en) | A kind of method, apparatus and system for realizing complex data processing | |
CN108846960B (en) | Management method and system of shared intelligent cabinet and electronic equipment | |
CN105653680A (en) | Method and system for storing data on the basis of document database | |
EP2889789A1 (en) | Replication description model for data distribution | |
CN114201369A (en) | Server cluster management method and device, electronic equipment and storage medium | |
CN106547642B (en) | Data storage backup method and device | |
CN103530239A (en) | Method for improving performance of communication server by using memory pool | |
CN203882180U (en) | Object monitoring system based on Internet-of-things |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C53 | Correction of patent for invention or patent application | ||
CB03 | Change of inventor or designer information |
Inventor after: Yang Zhong Inventor after: Yan Yuzhen Inventor after: Huang Youping Inventor before: Yang Zhong |
|
COR | Change of bibliographic data |
Free format text: CORRECT: INVENTOR; FROM: YANG ZHONG TO: YANG ZHONG YAN YUZHEN HUANG YOUPING |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |