CN103618707A - WEB front-end rapid calling system used for digitization city management system - Google Patents

WEB front-end rapid calling system used for digitization city management system Download PDF

Info

Publication number
CN103618707A
CN103618707A CN201310586922.0A CN201310586922A CN103618707A CN 103618707 A CN103618707 A CN 103618707A CN 201310586922 A CN201310586922 A CN 201310586922A CN 103618707 A CN103618707 A CN 103618707A
Authority
CN
China
Prior art keywords
interface
ability
iframe
message
information
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.)
Granted
Application number
CN201310586922.0A
Other languages
Chinese (zh)
Other versions
CN103618707B (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.)
Fuzhou Survey Institute Co ltd
Original Assignee
FUZHOU INVESTIGATION AND SURVEYING INSTITUTE
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 FUZHOU INVESTIGATION AND SURVEYING INSTITUTE filed Critical FUZHOU INVESTIGATION AND SURVEYING INSTITUTE
Priority to CN201310586922.0A priority Critical patent/CN103618707B/en
Publication of CN103618707A publication Critical patent/CN103618707A/en
Application granted granted Critical
Publication of CN103618707B publication Critical patent/CN103618707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to the technical field of Web interaction, in particular to a WEB front-end rapid calling system used for a digitization city management system. The WEB front-end rapid calling system comprises a main interface, a plurality of iframe interfaces and a bus control system which can be in data exchange with the main interface and the iframe interfaces, ability and a corresponding calling route of each iframe interface are registered in the bus control system, and the main interface is used for rapidly calling the ability of each iframe interface according to register information stored in the bus control system. The WEB front-end rapid calling system is simple in structure, convenient to use and high in calling speed.

Description

WEB front end quick calling system for managing numeralization city system
Technical field
The present invention relates to Web interaction technique field, particularly a kind of WEB front end quick calling system for managing numeralization city system.
Background technology
In the prior art, a lot of digital information management systems based on Web all adopt multi-work space form, have a lot of tab, and each tab is exactly an iframe page.And downward nested multilayer iframe also in these iframe pages.At work, often need on current page, call a certain ability on other pages, to finish the work, iframe service area content be not fixed to the high-speed traffic between each iframe page, and ability is each other called the problem of having brought.Particularly in managing numeralization city system, very many subsystems have been comprised, each subsystem is relatively independent, but at WEB front end, often need data communication between system and system, therefore, be necessary to design and a kind ofly can between WEB front end multilayer nest iframe, carry out the system of ability quick calling, to simplify, call complexity, the coupling between reduction system.
Summary of the invention
The object of the present invention is to provide a kind of WEB front end quick calling system for managing numeralization city system, this system configuration is simple, easy to use, calls speed fast.
For achieving the above object, technical scheme of the present invention is: a kind of WEB front end quick calling system for managing numeralization city system, comprise main interface, a plurality of iframe interface and can carry out with main interface and each iframe interface the bus control system of exchanges data, each iframe interface is registered respectively its ability having and is called accordingly the ability that ,Zhu interface, path has by each iframe interface of log-on message quick calling of storing in described bus control system in described bus control system.
Further, described bus control system comprises information storage module, Interface Control module and capability control module; Described information storage module is for storing interface information and the ability information that register at described bus control system at each iframe interface; Interface logon message or interface destruction message that described Interface Control module sends for receiving iframe interface, and in described information storage module, deposit or delete interface information in, to register in described bus control system or to destroy corresponding interface and call path; Ability logon message or ability destruction message that described capability control module sends for receiving iframe interface, and in described information storage module, deposit in or delete capability information, to register or to destroy corresponding ability and corresponding interface thereof in described bus control system; Described capability control module is also called message for receiving the ability of main interface transmission, and calls required ability from described bus control system.
Further, described information storage module comprises interface log-on message and these two data structures of ability log-on message; Interface registration information data structure adopts the interface information of Hash table storage registration, the unique identification title that the key value of interface log-on message Hash table is interface, value value is that interface phase is for the path list at main interface, to find the corresponding path of calling by interface; Ability registration information data structure adopts the ability information of Hash table storage registration, the unique identification title that the key value of ability log-on message Hash table is ability, and value value is interface list under ability, with handling capacity, finds corresponding interface.
Further, in the time will registering an iframe interface, described iframe interface sends interface logon message to bus control system, and corresponding interface information deposits in the registration information data structure of interface; In the time will destroying an iframe interface, described iframe interface sends interface to bus control system and destroys message, and corresponding interface information is deleted from the registration information data structure of interface.
The information of described interface logon message transmission comprises the path of calling at the unique identification title at interface and interface; The information of described interface destruction message transmissions comprises the unique identification title at interface.
Further, when an ability will be registered in an iframe interface, described iframe interface is to bus control system transmitting capacity logon message, and corresponding ability information deposits in ability registration information data structure; When an ability will be destroyed in an iframe interface, message is destroyed to bus control system transmitting capacity in described iframe interface, and corresponding ability information is deleted from ability registration information data structure; When an ability will be called in main interface, message is called to bus control system transmitting capacity in described main interface, bus control system is according to the title of the ability that will call, from ability registration information data structure, search corresponding interface, then according to the title at each interface finding, from the registration information data structure of interface, find the corresponding path of calling, call one by one the ability at each interface.
The information of described ability logon message transmission comprises the unique identification title of ability and the unique identification title at interface; The information of described ability destruction message transmissions comprises the unique identification title of ability; The information that described ability is called message transmissions comprises unique identification title and the relevant parameter of ability.
Compared to prior art, the invention has the beneficial effects as follows and designed bus control system as the passage of communicating by letter between each interface, each iframe interface can be carried out interface, ability, be called the registration in path on bus control system, thereby make other interfaces carry out easily and quickly calling of ability by bus control system, and without knowing the position at ability place and calling path, there is very strong practicality and wide application prospect.
Below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
Accompanying drawing explanation
Fig. 1 is the system configuration schematic diagram of the embodiment of the present invention.
Embodiment
The invention provides a kind of WEB front end quick calling system for managing numeralization city system, as shown in Figure 1, comprise main interface, a plurality of iframe interface and can carry out with main interface and each iframe interface the bus control system of exchanges data, bus control system is with javascript language compilation, each iframe interface is registered respectively its ability having and is called accordingly the ability that ,Zhu interface, path has by each iframe interface of log-on message quick calling of storing in described bus control system in described bus control system.
Described bus control system comprises information storage module, Interface Control module and capability control module:
1) information storage module
Described information storage module is for storing interface information and the ability information that register at described bus control system at each iframe interface.
Described information storage module comprises interface log-on message and these two data structures of ability log-on message; Interface registration information data structure adopts the interface information of Hash table storage registration, as shown in table 1 below, the unique identification title that the key value of interface log-on message Hash table is interface, value value is that interface phase is for the path list at main interface, to find the corresponding path of calling by interface.
Table 1 interface log-on message Hash table
Figure 2013105869220100002DEST_PATH_IMAGE002
For example: current interface name is called iframe_000, path with respect to main interface is iframe_0, iframe_00, iframe_000, representing has an iframe interface iframe_0 on main interface, there is an iframe interface iframe_00 the inside, iframe_0 interface, and the inside, iframe_00 interface also has an iframe interface iframe_000, and this is the path of calling of interface iframe_000.
Ability registration information data structure adopts the ability information of Hash table storage registration, as shown in table 2 below, the unique identification title that the key value of ability log-on message Hash table is ability, and value value is interface list under ability, with handling capacity, finds corresponding interface.
Table 2 ability log-on message Hash table
Figure 2013105869220100002DEST_PATH_IMAGE004
2) Interface Control module
Interface logon message or interface destruction message that described Interface Control module sends for receiving iframe interface, and in described information storage module, deposit or delete interface information in, to register in described bus control system or to destroy corresponding interface and call path.
In the time will registering an iframe interface, when loaded for the first time an iframe interface, described iframe interface sends interface logon message to bus control system, and corresponding interface information deposits in the registration information data structure of interface.
In the time will destroying an iframe interface, described iframe interface sends interface to bus control system and destroys message, and corresponding interface information is deleted from the registration information data structure of interface.
The information of described interface logon message transmission comprises the path of calling at the unique identification title at interface and interface; The information of described interface destruction message transmissions comprises the unique identification title at interface.
3) capability control module
Ability logon message or ability destruction message that described capability control module sends for receiving iframe interface, and in described information storage module, deposit in or delete capability information, to register or to destroy corresponding ability and corresponding interface thereof in described bus control system; Described capability control module is also called message for receiving the ability of main interface transmission, and calls required ability from described bus control system.
When an ability will be registered in an iframe interface, described iframe interface is to bus control system transmitting capacity logon message, and corresponding ability information deposits in ability registration information data structure;
When an ability will be destroyed in an iframe interface, message is destroyed to bus control system transmitting capacity in described iframe interface, and corresponding ability information is deleted from ability registration information data structure;
When an ability will be called in main interface, message is called to bus control system transmitting capacity in described main interface, bus control system is according to the title of the ability that will call, from ability registration information data structure, search corresponding interface, then according to the title at each interface finding, from the registration information data structure of interface, find the corresponding path of calling, call one by one the ability at each interface.
The information of described ability logon message transmission comprises the unique identification title of ability and the unique identification title at interface; The information of described ability destruction message transmissions comprises the unique identification title of ability; The information that described ability is called message transmissions comprises unique identification title and the relevant parameter of ability.
Be more than preferred embodiment of the present invention, all changes of doing according to technical solution of the present invention, when the function producing does not exceed the scope of technical solution of the present invention, all belong to protection scope of the present invention.

Claims (7)

1. the WEB front end quick calling system for managing numeralization city system, it is characterized in that: comprise main interface, a plurality of iframe interface and can carry out with main interface and each iframe interface the bus control system of exchanges data, each iframe interface is registered respectively its ability having and is called accordingly the ability that ,Zhu interface, path has by each iframe interface of log-on message quick calling of storing in described bus control system in described bus control system.
2. the WEB front end quick calling system for managing numeralization city system according to claim 1, is characterized in that: described bus control system comprises information storage module, Interface Control module and capability control module;
Described information storage module is for storing interface information and the ability information that register at described bus control system at each iframe interface;
Interface logon message or interface destruction message that described Interface Control module sends for receiving iframe interface, and in described information storage module, deposit or delete interface information in, to register in described bus control system or to destroy corresponding interface and call path;
Ability logon message or ability destruction message that described capability control module sends for receiving iframe interface, and in described information storage module, deposit in or delete capability information, to register or to destroy corresponding ability and corresponding interface thereof in described bus control system; Described capability control module is also called message for receiving the ability of main interface transmission, and calls required ability from described bus control system.
3. the WEB front end quick calling system for managing numeralization city system according to claim 2, is characterized in that: described information storage module comprises interface log-on message and these two data structures of ability log-on message; Interface registration information data structure adopts the interface information of Hash table storage registration, the unique identification title that the key value of interface log-on message Hash table is interface, value value is that interface phase is for the path list at main interface, to find the corresponding path of calling by interface; Ability registration information data structure adopts the ability information of Hash table storage registration, the unique identification title that the key value of ability log-on message Hash table is ability, and value value is interface list under ability, with handling capacity, finds corresponding interface.
4. the WEB front end quick calling system for managing numeralization city system according to claim 3, it is characterized in that: in the time will registering an iframe interface, described iframe interface sends interface logon message to bus control system, and corresponding interface information deposits in the registration information data structure of interface;
In the time will destroying an iframe interface, described iframe interface sends interface to bus control system and destroys message, and corresponding interface information is deleted from the registration information data structure of interface.
5. the WEB front end quick calling system for managing numeralization city system according to claim 4, is characterized in that: the information of described interface logon message transmission comprises the path of calling at the unique identification title at interface and interface; The information of described interface destruction message transmissions comprises the unique identification title at interface.
6. the WEB front end quick calling system for managing numeralization city system according to claim 3, an ability it is characterized in that: when will be registered in an iframe interface, described iframe interface is to bus control system transmitting capacity logon message, and corresponding ability information deposits in ability registration information data structure;
When an ability will be destroyed in an iframe interface, message is destroyed to bus control system transmitting capacity in described iframe interface, and corresponding ability information is deleted from ability registration information data structure;
When an ability will be called in main interface, message is called to bus control system transmitting capacity in described main interface, bus control system is according to the title of the ability that will call, from ability registration information data structure, search corresponding interface, then according to the title at each interface finding, from the registration information data structure of interface, find the corresponding path of calling, call one by one the ability at each interface.
7. the WEB front end quick calling system for managing numeralization city system according to claim 6, is characterized in that: the information of described ability logon message transmission comprises the unique identification title of ability and the unique identification title at interface; The information of described ability destruction message transmissions comprises the unique identification title of ability; The information that described ability is called message transmissions comprises unique identification title and the relevant parameter of ability.
CN201310586922.0A 2013-11-21 2013-11-21 WEB front-end quick calling system for managing numeralization city system Active CN103618707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310586922.0A CN103618707B (en) 2013-11-21 2013-11-21 WEB front-end quick calling system for managing numeralization city system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310586922.0A CN103618707B (en) 2013-11-21 2013-11-21 WEB front-end quick calling system for managing numeralization city system

Publications (2)

Publication Number Publication Date
CN103618707A true CN103618707A (en) 2014-03-05
CN103618707B CN103618707B (en) 2016-08-24

Family

ID=50169411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310586922.0A Active CN103618707B (en) 2013-11-21 2013-11-21 WEB front-end quick calling system for managing numeralization city system

Country Status (1)

Country Link
CN (1) CN103618707B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201562A (en) * 2015-04-30 2016-12-07 深圳市腾讯计算机系统有限公司 A kind of page switching method and device
CN112597408A (en) * 2020-12-28 2021-04-02 恒生电子股份有限公司 System fusion method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101630329A (en) * 2009-08-24 2010-01-20 孟智平 Method and system for interaction of video elements and web page elements in web pages
CN102110168A (en) * 2011-03-16 2011-06-29 深圳市五巨科技有限公司 Method and device for extending functions of mobile terminal browser
CN102339031A (en) * 2010-07-27 2012-02-01 深圳市合信自动化技术有限公司 Method and device for calling subprogram and PLC (Programmable Logic Controller) control system
CN102801876A (en) * 2011-05-24 2012-11-28 中国联合网络通信集团有限公司 Service information centralized processing system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101630329A (en) * 2009-08-24 2010-01-20 孟智平 Method and system for interaction of video elements and web page elements in web pages
CN102339031A (en) * 2010-07-27 2012-02-01 深圳市合信自动化技术有限公司 Method and device for calling subprogram and PLC (Programmable Logic Controller) control system
CN102110168A (en) * 2011-03-16 2011-06-29 深圳市五巨科技有限公司 Method and device for extending functions of mobile terminal browser
CN102801876A (en) * 2011-05-24 2012-11-28 中国联合网络通信集团有限公司 Service information centralized processing system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
百度文库: "struts2实例和详细介绍", 《百度文库》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201562A (en) * 2015-04-30 2016-12-07 深圳市腾讯计算机系统有限公司 A kind of page switching method and device
CN112597408A (en) * 2020-12-28 2021-04-02 恒生电子股份有限公司 System fusion method, device, equipment and storage medium
CN112597408B (en) * 2020-12-28 2023-08-04 恒生电子股份有限公司 System fusion method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN103618707B (en) 2016-08-24

Similar Documents

Publication Publication Date Title
CN105933376A (en) Data manipulation method, server and storage system
CN101944124B (en) Distributed file system management method, device and corresponding file system
CN105701096A (en) Index generation method, data inquiry method, index generation device, data inquiry device and system
CN102142032B (en) Method and system for reading and writing data of distributed file system
CN105025053A (en) Distributed file upload method based on cloud storage technology and system
CN103095758B (en) A kind of method processing file data in distributed file system and this system
CN102737130A (en) Method and system for processing metadata of hadoop distributed file system (HDFS)
CN101261644A (en) Method and device for accessing united resource positioning symbol database
CN103544261A (en) Method and device for managing global indexes of mass structured log data
CN103345361A (en) Group joining method and relevant devices and systems
CN104331428A (en) Storage and access method of small files and large files
CN103744949A (en) Data integrating method and system
CN103778120A (en) Global file identification generation method, generation device and corresponding distributed file system
Von der Weth et al. Multiterm keyword search in NoSQL systems
CN107870982A (en) Data processing method, system and computer-readable recording medium
CN102523196A (en) Information identification method, device and system
CN109525633B (en) Block chain network, message sending method and message receiving method based on block chain network
CN103618707A (en) WEB front-end rapid calling system used for digitization city management system
CN102760137A (en) Distributed full-text search method and distributed full-text search system
CN103812774A (en) TCAM based strategy configuration method, message processing method and corresponding device
CN103064749A (en) Inter-process communication method
CN107220003A (en) A kind of method for reading data and system
CN105095478B (en) The method and device of the creation time of file in a kind of acquisition distributed file system
CN109947759A (en) A kind of data directory method for building up, indexed search method and device
CN106131131A (en) Document transmission method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
CB03 Change of inventor or designer information

Inventor after: Wang Jiandong

Inventor after: Ke Yifeng

Inventor after: Huang Linghong

Inventor after: Huang Dengfeng

Inventor before: Qiu Shengdan

Inventor before: Duan Dongbin

Inventor before: Wei Wenfei

Inventor before: Ke Yifeng

COR Change of bibliographic data
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: No. 188, Hudong Road, Gulou District, Fuzhou, Fujian 350003

Patentee after: Fuzhou Survey Institute Co.,Ltd.

Address before: No. 188, Hudong Road, Gulou District, Fuzhou, Fujian 350003

Patentee before: Fu Zhoushikanceyuan