CN104361120B - A kind of page interlock method and system - Google Patents

A kind of page interlock method and system Download PDF

Info

Publication number
CN104361120B
CN104361120B CN201410721188.9A CN201410721188A CN104361120B CN 104361120 B CN104361120 B CN 104361120B CN 201410721188 A CN201410721188 A CN 201410721188A CN 104361120 B CN104361120 B CN 104361120B
Authority
CN
China
Prior art keywords
page
address
unit
marketing
graphical
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
Application number
CN201410721188.9A
Other languages
Chinese (zh)
Other versions
CN104361120A (en
Inventor
陈蕾
涂莹
庄晓丹
金良峰
顾孟雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
State Grid Zhejiang Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Zhejiang Electric Power Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, State Grid Zhejiang Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201410721188.9A priority Critical patent/CN104361120B/en
Publication of CN104361120A publication Critical patent/CN104361120A/en
Application granted granted Critical
Publication of CN104361120B publication Critical patent/CN104361120B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2428Query predicate definition using graphical user interfaces, including menus and forms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • G06F16/152File search processing using file content signatures, e.g. hash values

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Library & Information Science (AREA)
  • Image Generation (AREA)

Abstract

The invention discloses a kind of page interlock method and systems, by after the graphical page of graphics device is initially opened, record the page address of graphical page, when needing second to open graphical page, the hash values of the marketing address of the page address of record are modified, obtain second page address, according to second page address, reopen graphical page, at this time, the graphical page reopened is that the parameter for address of marketing is refreshed, there is no reload full page, avoiding problems after graphical page is initially opened, when opening graphical page again, it needs to reload more information, cause page open speed slower, the problem of influencing working efficiency.

Description

A kind of page interlock method and system
Technical field
The present invention relates to power information field more particularly to a kind of page interlock method and systems.
Background technology
With the rapid development of informatization of power industry, need to carry out letter by graphical interfaces between more and more systems The intuitive displaying of breath, still, further perfect due to graph technology, the expansion of graphical information amount is adjusted between different systems With, check graphics device when, since information content is excessive, cause loading velocity excessively slow, result in every time open graphical page speed All relatively slowly, the problem of working efficiency is low.
Invention content
In view of this, the present invention provides a kind of page interlock method and system, with solve in the prior art different system it Between when opening graphical page every time, opening speed is slower, the problem of influencing working efficiency, and concrete scheme is as follows:
A kind of page interlock method, including:
After being initially opened the graphical page of graphics device, the page address of the graphical page is recorded;
When needing to open the graphical page for the second time, by the hash of the marketing address of the page address of the record Hash values are modified, and obtain second page address;
According to the second page address, the graphical page is reopened.
Further, it is described when needing to open the graphical page for the second time, specially:
The hash values for address of marketing are monitored;
When the hash values for monitoring the marketing address change, beating for the graphical page is opened in transmission for the second time Open instruction.
Further, the hash values of described pair of marketing address are monitored, specially:
Fixed time intervals are monitored the hash values of the marketing address.
Further, the hash hash values of the marketing address of the page address by the record are modified, and are obtained Second page address, specially:
Receive the open instructions;
The hash values of the marketing address of the page address of the record are revised as the hash values after variation, obtain second page Face address.
Further, the marketing address is:The business datum address of GIS locating interfaces.
Further, the marketing address is:Visualization business sends work data address.
Further, the marketing address is:Detect in the act the business datum address at interface.
A kind of page linked system, including:Recording unit, the modification unit being connected with the recording unit, is repaiied with described Change the acquiring unit that unit is connected, the opening unit being connected with the acquiring unit, wherein:
The recording unit is used for after the graphical page of graphics device is initially opened, and records the page of the graphical page Address;
The modification unit is used for when needing to open the graphical page for the second time, changes the page address of the record Marketing address hash hash values;
The acquiring unit is used to modified page address being determined as second page address;
The opening unit is used for according to the second page address, reopens the graphical page.
Further, the modification unit includes:The monitoring unit being connected with the recording unit, with the monitoring unit And the comparing unit that acquiring unit is respectively connected with, wherein:
The monitoring unit is used to be monitored the hash values for address of marketing;
The comparing unit works as comparison result for the hash values of marketing address and original hash values that are monitored described in comparison When showing two hash value differences, the open instructions for opening the graphical page for the second time is sent.
Further, the modification unit further includes:The timing unit being connected with the monitoring unit,
The timing unit is used for after fixed time intervals, sends out control instruction, makes the monitoring unit to marketing ground The hash values of location are monitored.
It can be seen from the above technical proposal that page interlock method disclosed in the present application and system, by being initially opened After the graphical page of graphics device, the page address of graphical page is recorded, when needing second to open graphical page, will be recorded The hash values of marketing address of page address modify, obtain second page address, according to second page address, beat again Graphical page is opened, at this point, the graphical page reopened is that the parameter for address of marketing is refreshed, there is no to entire The page is reloaded, and avoiding problems when being initially opened graphical page and then opening graphical page, need to add again The problem of carrying more information, causing page open speed slower, influence working efficiency.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow chart of page interlock method disclosed by the embodiments of the present invention;
Fig. 2 is a kind of structure diagram of page linked system disclosed by the embodiments of the present invention;
Fig. 3 is a kind of structure diagram for changing unit disclosed by the embodiments of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment shall fall within the protection scope of the present invention.
The invention discloses a kind of page interlock method, flow chart as shown in Figure 1, including:
Step S11, after being initially opened the graphical page of graphics device, the page address of graphical page is recorded;
Step S12, when needing second to open graphical page, by the hash values of the marketing address of the page address of record It modifies, obtains second page address;
When needing second to open graphical page, here, being not limited only to second of opening graphical page, or the Three times, even more multiple opening as long as there is the basis being initially opened, only carries out the refreshing of the page, follow-up nothing in first time Which time the page is reopened again by, be the refreshing to data in the page rather than the refreshing to full page, so as to keep away The problem of page open speed caused by refreshing when having exempted to page furbishing to picture is excessively slow.
The page and the follow-up arbitrary primary opening page are initially opened, is limited between same protocol and the not same area of identical port Page operation, whether and it is identical to be not limited to ip addresses.
Wherein, judge whether that the detailed process for needing to be again turned on graphical page is:The hash values for address of marketing are carried out Monitoring when the hash values for monitoring marketing address change, sends second of open instructions for opening graphical page.
Monitoring to the hash values for address of marketing can be that fixed time intervals monitoring is primary, i.e. the primary marketing address of acquisition Hash values, the set time at interval can be specially 2s.
The hash values of the marketing address of the page address of record are modified, obtain second page address, specially:It connects Open instructions is received, the hash values of the marketing address of the page address of record are revised as the hash values after variation, obtain second page Face address.
Wherein, marketing address can be specially:The business datum address of GIS locating interfaces, visualization business send number evidence Address, the business datum address for detecting in the act interface or examination & approval, power supply plan link business datum address etc..
Now for example, such as:In window.location.hash, location is management address column in javascript Built-in objects, for example location.href is with regard to the url of administration page, with location.href=url can directly by The page orients url;And location.hash can then be used for obtaining or setting the label paper of the page, such as:http:// Location.hash=" the #admin " of domain/#admin.
The hash values only changed in the page in url will not refresh page.
Such as:Load address for the first time:http://10.147.249.140:7001/web/ies/ies/examine/ powerScheme.doAction=init#appNo=123456&taskID=11111&busiType=104& During sysUserName=jxpx001, http can be initiated;When second of loading or follow-up loading every time:http:// 10.147.249.140:7001/web/ies/ies/examine/powerScheme.doAction=init#, first half It is constant, only it need to change latter half appNo=123456&taskID=11111&busiType=104&sysUserName= Jxpx001.
At this point, refresh process only is done to the data in the page, without reloading full page.
Step S13, according to second page address, graphical page is reopened.
Page interlock method disclosed in the present embodiment, by the way that after the graphical page of graphics device is initially opened, record is schemed The page address of the shape page, when needing second to open graphical page, by the hash of the marketing address of the page address of record Value is modified, and obtains second page address, according to second page address, reopens graphical page, at this point, reopen Graphical page is that the parameter for address of marketing is refreshed, being reloaded to full page, this it is avoided that When being initially opened graphical page and then opening graphical page, need to reload more information, cause page open Speed is slower, the problem of influencing working efficiency.
Present embodiment discloses a kind of page linked system, structure diagram as shown in Fig. 2, including:
Recording unit 21, the modification unit 22 being connected with recording unit 21, the acquiring unit 23 being connected with modification unit 22, The opening unit 24 being connected with acquiring unit 23.
Wherein, recording unit 21 is used for after the graphical page of graphics device is initially opened, and records the address of graphical page.
Change the marketing address that unit 22 is used to, when needing second to open graphical page, change the page address of record Hash hash values.
When needing second to open graphical page, here, being not limited only to second of opening graphical page, or the Three times, even more multiple opening as long as there is the basis being initially opened, only carries out the refreshing of the page, follow-up nothing in first time Which time the page is reopened again by, be the refreshing to data in the page rather than the refreshing to full page, so as to keep away The problem of page open speed caused by refreshing when having exempted to page furbishing to picture is excessively slow.
The page and the follow-up arbitrary primary opening page are initially opened, is limited between same protocol and the not same area of identical port Page operation, whether and it is identical to be not limited to ip addresses.
Wherein, the specific structure is shown in FIG. 3 for modification unit 22, including:Monitoring unit 221, with monitoring unit 221 and acquisition The comparing unit 222 that unit is respectively connected with.
Monitoring unit 221 is used to be monitored the hash values for address of marketing.
Comparing unit 222 is used to compare the hash values of marketing address monitored and original hash values, when comparison result is shown During two hash value differences, second of open instructions for opening graphical page is sent.
Modification unit can also include:The timing unit 223 being connected with monitoring unit 221.
Timing unit 223 is used for after fixed time intervals, sends out control instruction, makes monitoring unit to marketing address Hash values are monitored.The set time at interval can be specially 2s.
Acquiring unit 23 is used to modified page address being determined as second page address.
Acquiring unit 23 receives open instructions, after the hash values of the marketing address of the page address of record are revised as variation Hash values, obtain second page address.
Wherein, marketing address can be specially:The business datum address of GIS locating interfaces, visualization business send number evidence Address, the business datum address for detecting in the act interface or examination & approval, power supply plan link business datum address etc..
Now for example, such as:In window.location.hash, location is management address column in javascript Built-in objects, for example location.href is with regard to the url of administration page, with location.href=url can directly by The page orients url;And location.hash can then be used for obtaining or setting the label paper of the page, such as:http:// Location.hash=" the #admin " of domain/#admin.
The hash values only changed in the page in url will not refresh page.
Such as:Load address for the first time:http://10.147.249.140:7001/web/ies/ies/examine/ powerScheme.doAction=init#app No=123456&taskID=11111&busiType=104& During sysUserName=jxpx001, http can be initiated;When second of loading or follow-up loading every time:http:// 10.147.249.140:7001/web/ies/ies/examine/powerScheme.doAction=init#, first half It is constant, only it need to change latter half appNo=123456&taskID=11111&busiType=104&sysUserName= Jxpx001.
At this point, refresh process only is done to the data in the page, without reloading full page.
Opening unit 24 is used to, according to second page address, reopen graphical page.
Page linked system disclosed in the present embodiment, by the way that after the graphical page of graphics device is initially opened, record is schemed The page address of the shape page, when needing second to open graphical page, by the hash of the marketing address of the page address of record Value is modified, and obtains second page address, according to second page address, reopens graphical page, at this point, reopen Graphical page is that the parameter for address of marketing is refreshed, being reloaded to full page, this it is avoided that When being initially opened graphical page and then opening graphical page, need to reload more information, cause page open Speed is slower, the problem of influencing working efficiency.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other The difference of embodiment, just to refer each other for identical similar portion between each embodiment.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related part is said referring to method part It is bright.
Professional further appreciates that, with reference to each exemplary unit of the embodiments described herein description And algorithm steps, can be realized with the combination of electronic hardware, computer software or the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is performed actually with hardware or software mode, specific application and design constraint depending on technical solution.Profession Technical staff can realize described function to each specific application using distinct methods, but this realization should not Think beyond the scope of this invention.
It can directly be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments enables professional and technical personnel in the field to realize or use the present invention. A variety of modifications of these embodiments will be apparent for those skilled in the art, it is as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and the principles and novel features disclosed herein phase one The most wide range caused.

Claims (8)

1. a kind of page interlock method, which is characterized in that including:
After being initially opened the graphical page of graphics device, the page address of the graphical page is recorded;
When needing to open the graphical page for the second time, by the hash hash values of the marketing address of the page address of the record It modifies, obtains second page address, specifically, the hash values of the marketing address of the page address of record are monitored, When the hash values for monitoring the marketing address change, the open instructions for opening the graphical page for the second time is sent;
According to the second page address, the graphical page is reopened so that only data in the page are refreshed, without It is the refreshing to full page.
2. according to the method described in claim 1, it is characterized in that, the hash values of described pair of marketing address are monitored, specifically For:
Fixed time intervals are monitored the hash values of the marketing address.
3. the according to the method described in claim 1, it is characterized in that, marketing address of the page address by the record Hash hash values are modified, and obtain second page address, specially:
Receive the open instructions;
The hash values of the marketing address of the page address of the record are revised as the hash values after variation, with obtaining second page Location.
4. according to the method described in claim 1, it is characterized in that, the marketing address is:The business datum of GIS locating interfaces Address.
5. according to the method described in claim 1, it is characterized in that, the marketing address is:Visualization business sends number according to ground Location.
6. according to the method described in claim 1, it is characterized in that, the marketing address is:Detect in the act the business number at interface According to address.
7. a kind of page linked system, which is characterized in that including:Recording unit, the modification unit being connected with the recording unit, The acquiring unit being connected with the modification unit, the opening unit being connected with the acquiring unit, wherein:
The recording unit is used for after the graphical page of graphics device is initially opened, with recording the page of the graphical page Location;
The modification unit is used for when needing to open the graphical page for the second time, changes the battalion of the page address of the record The hash hash values of address are sold, wherein, the modification unit includes:The monitoring unit being connected with the recording unit, it is and described The comparing unit that monitoring unit and acquiring unit are respectively connected with, the monitoring unit are used to supervise the hash values for address of marketing Control;The comparing unit is used for the hash values of marketing address and original hash values monitored described in comparison, when comparison result is shown During two hash value differences, the open instructions for opening the graphical page for the second time is sent;
The acquiring unit is used to modified page address being determined as second page address;
The opening unit is used for according to the second page address, reopens the graphical page so that only in the page Data are refreshed rather than the refreshing to full page.
8. system according to claim 7, which is characterized in that the modification unit further includes:With the monitoring unit phase Timing unit even,
The timing unit is used for after fixed time intervals, sends out control instruction, makes the monitoring unit to marketing address Hash values are monitored.
CN201410721188.9A 2014-12-02 2014-12-02 A kind of page interlock method and system Active CN104361120B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410721188.9A CN104361120B (en) 2014-12-02 2014-12-02 A kind of page interlock method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410721188.9A CN104361120B (en) 2014-12-02 2014-12-02 A kind of page interlock method and system

Publications (2)

Publication Number Publication Date
CN104361120A CN104361120A (en) 2015-02-18
CN104361120B true CN104361120B (en) 2018-06-12

Family

ID=52528380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410721188.9A Active CN104361120B (en) 2014-12-02 2014-12-02 A kind of page interlock method and system

Country Status (1)

Country Link
CN (1) CN104361120B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7171439B2 (en) * 2002-06-14 2007-01-30 Integrated Device Technology, Inc. Use of hashed content addressable memory (CAM) to accelerate content-aware searches
CN101697131A (en) * 2009-11-04 2010-04-21 中兴通讯股份有限公司 Method and device for dynamically loading relocatable file
CN101963987A (en) * 2010-09-30 2011-02-02 百度在线网络技术(北京)有限公司 Methods and equipments for generating and loading web page file
CN103455547A (en) * 2013-07-05 2013-12-18 百度在线网络技术(北京)有限公司 Method and device for webpage load
CN103984686A (en) * 2013-02-07 2014-08-13 阿里巴巴集团控股有限公司 Page-switching method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7171439B2 (en) * 2002-06-14 2007-01-30 Integrated Device Technology, Inc. Use of hashed content addressable memory (CAM) to accelerate content-aware searches
CN101697131A (en) * 2009-11-04 2010-04-21 中兴通讯股份有限公司 Method and device for dynamically loading relocatable file
CN101963987A (en) * 2010-09-30 2011-02-02 百度在线网络技术(北京)有限公司 Methods and equipments for generating and loading web page file
CN103984686A (en) * 2013-02-07 2014-08-13 阿里巴巴集团控股有限公司 Page-switching method and device
CN103455547A (en) * 2013-07-05 2013-12-18 百度在线网络技术(北京)有限公司 Method and device for webpage load

Also Published As

Publication number Publication date
CN104361120A (en) 2015-02-18

Similar Documents

Publication Publication Date Title
US20220358029A1 (en) Test case reduction for code regression testing
CN102917072B (en) For carrying out the equipment of Data Migration, system and method between data server cluster
US10284684B2 (en) IoT hardware certification
CN105893184B (en) A kind of incremental backup method and device
CN107248418A (en) A kind of method that Rack whole machine cabinets batch carries out NVME disk reliability testings
US9710289B2 (en) Rapid configuration of software
CN109241165A (en) A kind of the determination method, apparatus and equipment of database synchronization delay
US20210083936A1 (en) Method and system for managing virtual datacenters
CN107728983A (en) Double screen operating method and equipment
CN108563540A (en) Server and red flag Compatibility of Operating System test method, system and storage medium
CN104361120B (en) A kind of page interlock method and system
CN103870091B (en) Multi-window display method and its system
Neto et al. The development of a low-cost big data cluster using Apache Hadoop and Raspberry Pi. A complete guide
CN103970507B (en) 64 virtual machines process the method and device of access instruction
US11113450B2 (en) Cognitive font enrichment management for adding system fonts
US8656066B2 (en) Monitoring input/output operations to specific storage locations
CN103997518B (en) A kind of CDN node file synchronisation method and device
US10241886B2 (en) Application performance perception meter
US20150347359A1 (en) Script logging for markup language elements
CN107480033A (en) Virtual machine blue screen detection method and equipment
CN107766385A (en) A kind of method and apparatus for changing virtual disk files form
CN104572655A (en) Data processing method, device and system
CN115686816A (en) Data processing method, related device and equipment
JP6884076B2 (en) Information processing equipment and computer programs
CN104615660A (en) Method and system for monitoring database performance

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant