CN105426038A - Picture popularity algorithm based picture pre-loading method for power grid scheduling control system - Google Patents
Picture popularity algorithm based picture pre-loading method for power grid scheduling control system Download PDFInfo
- Publication number
- CN105426038A CN105426038A CN201510731659.9A CN201510731659A CN105426038A CN 105426038 A CN105426038 A CN 105426038A CN 201510731659 A CN201510731659 A CN 201510731659A CN 105426038 A CN105426038 A CN 105426038A
- Authority
- CN
- China
- Prior art keywords
- picture
- file
- queue
- data
- hot value
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5038—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention discloses a picture popularity algorithm based picture pre-loading method for a power grid scheduling control system. The method comprises: dynamically analyzing which graphical files a user pays more attention to by using a file popularity algorithm; pre-parsing and initializing a G file with high popularity and putting the pre-parsed and initialized G file into a pre-loading queue; when the user browses the G file again, a human-computer browser pushing a pre-loaded picture in the queue in priority, so that different workstations can improve picture performance to a large extent according to self demands.
Description
Technical field
The present invention relates to a kind of dispatching of power netwoks control system picture prestrain method based on picture temperature algorithm.
Background technology
The monitored picture used in dispatch automated system comprises tidal current chart, plant stand figure, chart spacing etc., these graphic files often comprise mass data, and these graphic files operate on common workstation usually, because the performance of workstation is general more limited, therefore when processing the figure G file of super large, often figure is browsed smooth not, we can carry out caching process thus improving performance by pre-cache mode under normal conditions, but the picture file quantity in dispatch automated system is very many, all pre-cache process can not be carried out to All Files, and the picture that the user of different role may pay close attention to also there are differences, cannot arrange in advance, therefore cannot be overcome the above problems by simple pre-cache process.
Summary of the invention
The invention provides a kind of dispatching of power netwoks control system picture prestrain method based on picture temperature algorithm, in system operation, gather and analyze the use habit of user, use the performance analysis of file temperature algorithm to go out user and more pay close attention to which graphic file, and the G file of high attention rate is resolved in advance and initialization put into prestrain queue (queue size is according to word station hardware environment configurations), when user browses this G file again, man-machine browser preferentially pushes the prestrain picture in queue, different workstations significantly can be promoted by self-demand and open picture performance, specifically comprise the steps:
(1) in man-machine picture browser execution process, automatically user's use habit is gathered, such as gather for G file the frequency (number of times) that this G file is opened, last time, operation was opened the time interval, and whether file the information such as significant alarm occurs and preserves collection result.
(2) the relative hot value (temperature is higher means that this picture is more paid close attention to by user) of each G file is calculated according to the data gathered in (1), hot value=relating attribute 1* attribute weight+relating attribute 2* attribute weight+...+relating attribute n* attribute weight.
For G picture file, formulate following algorithmic rule according to user's use habit:
Setting " opening G file frequency " attribute weight is 5, and property value equals the number of times be opened in this this operational process of G file;
Setting " whether there is alarm data " attribute weight is 3, when exist in this picture operational process alarm then property value be 1, otherwise property value is 0;
Setting " last time, operation was opened the time interval " attribute weight is 2, and this picture then property value that was opened for nearest three days is 1, otherwise property value is 0;
Such as, if this this operational process of G file is opened, number of times is 4, and this operational process exists alarm once, and is opened within three days, then hot value=the 5*4+3*1+2*1=25 of this G file.
(3) pre-cache queue loads the principle of data is preferentially be loaded in data queue by picture the highest for hot value according to G file hot value, picture data in queue dynamically updates with the change of user's use habit, when queue reaches threshold values size, the high priority data that the temperature of rejecting tail of the queue is minimum loads high temperature data.
(4) after man-machine picture browser starts, adopt asynchronous thread (not affecting original picture start-up course) to load picture temperature information, and load corresponding G file picture example in queue according to picture hot value size order.
(5) when opening picture at every turn, picture browser is according to the prestrain picture that in filename priority match retrieval queue, initialization is good, if there are not the pre-cache data of this picture in queue, then again resolve picture G file generated picture example, then judge that whether this object is stored in pre-cache queue according to the loading data rule of definition in (3).
Beneficial effect of the present invention is: the dispatching of power netwoks control system picture prestrain method based on picture temperature algorithm loads graphic file to original picture browser and carried out larger improvement, can more accurately consumer positioning pay close attention to G file and carry out pre-service, so just make the less resource of common workstation Appropriate application significantly promote the speed opening figure G file.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the dispatching of power netwoks control system picture prestrain method based on picture temperature algorithm of the present invention.
Fig. 2 is that asynchronous thread of the present invention loads picture temperature information flow schematic diagram.
Embodiment
In man-machine picture browser execution process, man-machine system gathers picture temperature association attributes automatically, and the relative hot value of each G file is calculated according to the attribute data gathered, finally according to the size of hot value according to priority by picture example and temperature information stored in the queue of picture pre-cache (picture fever thermometer calculates detailed process as shown in Figure 1), detailed process is as follows:
In man-machine picture browser execution process, when user opens a certain G picture file, man-machine system retrieves picture temperature information corresponding to this file according to the title of this picture file from pre-cache queue, if there is relevant information in pre-cache queue, its " G file is opened the time interval recently " attribute is upgraded, add one to " G file usage frequency " attribute value, if there is not relevant information in pre-cache queue, " G file is opened the time interval recently " attribute and " G file usage frequency " attribute of directly arranging this G file are 1 simultaneously.
After Update attribute value, man-machine system recalculates this picture hot value according to new property value, and hot value=G file usage frequency property value * attribute weight+be opened time interval property value * attribute weight+alarm attributes value * attribute weight recently.
After picture hot value has calculated, need to carry out queuing data renewal according to the hot value priority in queue.If now picture pre-cache queue length is less than threshold values, then man-machine system is directly resolved this G file and is generated picture example, then by picture example and temperature information stored in the queue of picture pre-cache, if picture pre-cache queue length equals threshold values and queue is full, then need current picture hot value and the hot value of all pictures in queue to carry out to sort (descending) compare, finally delete the pre-cache information of the minimum picture of temperature, if current picture produces warning information in operational process, then man-machine system obtains picture temperature information and upgrades " picture alarm attributes " is 1, and recalculate picture hot value and upgrade the order of pre-cache queue.
The temperature of all pictures can be calculated by Real-time Collection by mode man-machine system above, and needed for the dynamic pre-cache of picture temperature picture example, when picture browser starts, man-machine system starts an asynchronous thread and the picture temperature information generated in operational process and picture example is loaded into pre-cache queue, when user opens picture again, picture browser is according to the good prestrain picture (detailed process as shown in Figure 2) of initialization in filename priority match retrieval queue and show in a browser.
In sum, the picture that the present invention relatively can pay close attention to for user in dispatching of power netwoks control system carries out pre-cache, when therefore browsing picture for most of picture eliminate man-machine in the picture of a large amount of repetition resolve initialized computation process, even if thus the workstation realizing operating in relatively low hardware configuration still can keep smooth picture to browse.
Above a kind of dispatching of power netwoks control system picture prestrain method based on picture temperature algorithm provided by the present invention is described in detail.For one of ordinary skill in the art, to any apparent change that it does under the prerequisite not deviating from connotation of the present invention, all by formation to infringement of patent right of the present invention, corresponding legal liabilities will be born.
Claims (1)
1., based on the dispatching of power netwoks control system picture prestrain method of picture temperature algorithm, specifically comprise the steps:
(1) in man-machine picture browser execution process, automatically gather user's use habit, comprise and gather for G file the frequency that this G file is opened, last time, operation was opened the time interval, and whether file the information of significant alarm occurs and preserves collection result;
(2) the relative hot value of each G file is calculated according to the data gathered in step (1), relative hot value=relating attribute 1* attribute weight+relating attribute 2* attribute weight+...+relating attribute n* attribute weight;
(3) pre-cache queue loads the principle of data is preferentially be loaded in data queue by picture the highest for hot value according to G file hot value, picture data in queue dynamically updates with the change of user's use habit, when queue reaches threshold values size, the high priority data that the temperature of rejecting tail of the queue is minimum loads high temperature data;
(4), after man-machine picture browser starts, adopt asynchronous thread to load picture temperature information, and load corresponding G file picture example in queue according to picture hot value size order;
(5) when opening picture at every turn, picture browser is according to the prestrain picture that in filename priority match retrieval queue, initialization is good, if there are not the pre-cache data of this picture in queue, then again resolve picture G file generated picture example, then judge that whether this object is stored in pre-cache queue according to the loading data rule of definition in step (3).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510731659.9A CN105426038A (en) | 2015-11-02 | 2015-11-02 | Picture popularity algorithm based picture pre-loading method for power grid scheduling control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510731659.9A CN105426038A (en) | 2015-11-02 | 2015-11-02 | Picture popularity algorithm based picture pre-loading method for power grid scheduling control system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105426038A true CN105426038A (en) | 2016-03-23 |
Family
ID=55504281
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510731659.9A Pending CN105426038A (en) | 2015-11-02 | 2015-11-02 | Picture popularity algorithm based picture pre-loading method for power grid scheduling control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105426038A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109471803A (en) * | 2018-11-05 | 2019-03-15 | 湖南工学院 | Complex Industrial Systems based on human factors analysis digitize man-machine interface picture configuration method |
CN112784165A (en) * | 2021-01-29 | 2021-05-11 | 北京百度网讯科技有限公司 | Training method of incidence relation estimation model and method for estimating file popularity |
CN113312329A (en) * | 2020-02-26 | 2021-08-27 | 阿里巴巴集团控股有限公司 | Data file scheduling method, device and equipment |
CN112784165B (en) * | 2021-01-29 | 2024-07-19 | 北京百度网讯科技有限公司 | Training method of association relation prediction model and method for predicting file heat |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102541602A (en) * | 2011-12-28 | 2012-07-04 | 用友软件股份有限公司 | Interface preloading device and interface preloading method |
US20130086332A1 (en) * | 2010-05-18 | 2013-04-04 | Lsi Corporation | Task Queuing in a Multi-Flow Network Processor Architecture |
CN103974138A (en) * | 2014-04-15 | 2014-08-06 | 上海聚力传媒技术有限公司 | Method and device for preloading videos in CDN |
CN104731974A (en) * | 2015-04-13 | 2015-06-24 | 上海新炬网络信息技术有限公司 | Dynamic page loading method based on big data stream type calculation |
CN104794004A (en) * | 2015-03-17 | 2015-07-22 | 中国石油天然气集团公司 | Information pre-loading method |
-
2015
- 2015-11-02 CN CN201510731659.9A patent/CN105426038A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130086332A1 (en) * | 2010-05-18 | 2013-04-04 | Lsi Corporation | Task Queuing in a Multi-Flow Network Processor Architecture |
CN102541602A (en) * | 2011-12-28 | 2012-07-04 | 用友软件股份有限公司 | Interface preloading device and interface preloading method |
CN103974138A (en) * | 2014-04-15 | 2014-08-06 | 上海聚力传媒技术有限公司 | Method and device for preloading videos in CDN |
CN104794004A (en) * | 2015-03-17 | 2015-07-22 | 中国石油天然气集团公司 | Information pre-loading method |
CN104731974A (en) * | 2015-04-13 | 2015-06-24 | 上海新炬网络信息技术有限公司 | Dynamic page loading method based on big data stream type calculation |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109471803A (en) * | 2018-11-05 | 2019-03-15 | 湖南工学院 | Complex Industrial Systems based on human factors analysis digitize man-machine interface picture configuration method |
CN109471803B (en) * | 2018-11-05 | 2021-10-01 | 湖南工学院 | Complicated industrial system digital man-machine interface picture configuration method based on human factor reliability |
CN113312329A (en) * | 2020-02-26 | 2021-08-27 | 阿里巴巴集团控股有限公司 | Data file scheduling method, device and equipment |
CN113312329B (en) * | 2020-02-26 | 2024-03-01 | 阿里巴巴集团控股有限公司 | Scheduling method, device and equipment for data files |
CN112784165A (en) * | 2021-01-29 | 2021-05-11 | 北京百度网讯科技有限公司 | Training method of incidence relation estimation model and method for estimating file popularity |
CN112784165B (en) * | 2021-01-29 | 2024-07-19 | 北京百度网讯科技有限公司 | Training method of association relation prediction model and method for predicting file heat |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10831703B2 (en) | Displaying changes to versioned files | |
JP5244911B2 (en) | Dynamically updated virtual list view | |
US20190205056A1 (en) | Transparent data movement between a private cloud and storage ecosystem and another storage system | |
US11132293B2 (en) | Intelligent garbage collector for containers | |
US9043750B2 (en) | Automated generation of two-tier mobile applications | |
US20170323025A1 (en) | Browser acceleration method and browser device having accelerator | |
US11240290B2 (en) | Application download method and apparatus, application sending method and apparatus, and system | |
CN108334585A (en) | A kind of spiders method, apparatus and electronic equipment | |
CN103034518B (en) | The method and browser of loading browser control instrument | |
US9996332B2 (en) | Accurately estimating install time | |
CN107515663A (en) | The method and apparatus for adjusting central processor core running frequency | |
EP3724837A1 (en) | Enhanced processing and communication of file content for analysis | |
US20150207691A1 (en) | Preloading content based on network connection behavior | |
CN106777047A (en) | A kind of metadata read method and its device for distributed system | |
CN102404411A (en) | Data synchronization method of cloud storage system | |
CN105426038A (en) | Picture popularity algorithm based picture pre-loading method for power grid scheduling control system | |
CN109710571A (en) | A kind of document analysis method, equipment and storage medium | |
CN117648383B (en) | Heterogeneous database real-time data synchronization method, device, equipment and medium | |
US20170262550A1 (en) | Caching of a site model in a hierarchical modeling system for network sites | |
US20190384858A1 (en) | Display for network time series data with adaptable zoom intervals | |
CN116303246A (en) | Storage increment statistical method, device, computer equipment and storage medium | |
CN103699524A (en) | Word segmentation method and mobile terminal | |
US10742515B2 (en) | Dynamically customizing time series charts based on contextual data | |
CN112882789A (en) | Information display method and device, electronic equipment and storage medium | |
CN111782208A (en) | Index early warning method and device, computer equipment and storage medium |
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: 20160323 |