CN104378244A - Switchboard management system and switchboard management method based on web page - Google Patents

Switchboard management system and switchboard management method based on web page Download PDF

Info

Publication number
CN104378244A
CN104378244A CN201410741939.3A CN201410741939A CN104378244A CN 104378244 A CN104378244 A CN 104378244A CN 201410741939 A CN201410741939 A CN 201410741939A CN 104378244 A CN104378244 A CN 104378244A
Authority
CN
China
Prior art keywords
page
client
configuration file
unit
switch
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
CN201410741939.3A
Other languages
Chinese (zh)
Other versions
CN104378244B (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.)
Tianjin Changdatong Technology Co ltd
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201410741939.3A priority Critical patent/CN104378244B/en
Publication of CN104378244A publication Critical patent/CN104378244A/en
Application granted granted Critical
Publication of CN104378244B publication Critical patent/CN104378244B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a switchboard management system and a switchboard management method based on a web page. The system comprises a page communication unit, a timing unit, a monitoring unit, a detecting unit and a page refreshing unit, wherein the page communication unit is communicated with pages of various client sides; the timing unit is used for transmitting an overtime command when overtime is up; the monitoring unit is connected with the timing unit and is used for generating a triggering signal according to the overtime command of the timing unit; the detecting unit is connected with the monitoring unit and is used for detecting a configuration file of a current switchboard; the page refreshing unit is connected with the detecting unit, and is used for transmitting page refreshing commands of the various client sides which are in communication connection with the page refreshing unit under the condition that the detecting unit detects change of the configuration file, so that the pages of the various client sides are refreshed, and data of the pages are updated. When the switchboard is set by the client sides through the pages, settling conflicts among the various client sides are prevented.

Description

Based on exchanger management system and the method for web page
Technical field
The present invention relates to a kind of administrative skill field, particularly relate to a kind of exchanger management system based on web page and method.
Background technology
General switch supports multiple way to manage (as web page, telnet, ssh etc.), also supports that multiple user manages simultaneously.When managing with web page, be easy to there will be problem, such as: user A opens a web page, this page has set1, set2, set3, set4 and set5 option, at this moment, user B also opens a web page on another computer, and user B is arranged set1, but the web page that now user A opens does not have any discovering, when user A is arranged set2, full page is submitted to together, now can override the setting of user B to set1.Therefore multi-user manages the problem existing and arrange conflict simultaneously.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of exchanger management system based on web page and method, manages the problem arranging conflict of existence for solving existing multi-user simultaneously.
For achieving the above object and other relevant objects, the invention provides a kind of exchanger management system based on web page, comprising:
Page communication unit, for setting up Page Service end and being communicated with the page of each client by WebSocket agreement;
Timing unit, for setting time-out time and sending overtime instruction when arriving described time-out time;
Monitoring unit, is connected with described timing unit, for monitoring page communication between described Page Service end and each client and producing triggering signal according to the overtime instruction of described timing unit;
Detecting unit, is connected with described monitoring unit, detects the configuration file of current switch for the triggering signal according to described monitoring unit;
Page furbishing unit, be connected with described detecting unit, obtain when described configuration file has a variation for detecting at described detecting unit and to each client transmission page furbishing instruction established a communications link, carry out page furbishing operation for each client and upgrade page data.
Alternatively, also comprise: memory cell, for storing the initial configuration file of the switch of loading, described detecting unit, according to the triggering signal of described monitoring unit, the configuration file of the switch loaded is detected, comprising: the configuration file reading current switch; The described initial configuration file stored in the described configuration file read and described memory module is compared, to judge whether current described configuration file changes.
Alternatively, described time-out time is 2 seconds to 5 seconds.
Alternatively, described monitoring unit also comprises the connection request of connection state for monitoring each client and new client; Described exchanger management system also comprises: client-side management unit, is connected with described monitoring unit, for recording the link information of new client and upgrading the link information of all clients connected.
Alternatively, described link information comprises IP address and port numbering.
A kind of switch management method based on web page of the present invention, comprising:
Set up Page Service end and communicated with the page of each client by WebSocket agreement, each client that record and switch establish a communications link;
Page Service end in snooping switch and the page communication between each client also send triggering signal when arriving the time-out time preset;
Trigger according to described triggering signal and the configuration file of current described switch is detected, detect and obtain sending page furbishing instruction to each client established a communications link with switch recorded when described configuration file has a variation, carry out page furbishing operation for each client and upgrade page data.
Alternatively, also comprise: the initial configuration file storing the switch loaded, detection is carried out to the configuration file of current described switch and comprises: the configuration file reading current described switch; The described initial configuration file of the described configuration file read and storage is compared, to judge whether current described configuration file changes.
Alternatively, described time-out time is 2 seconds to 5 seconds.
Alternatively, each client that record and switch establish a communications link comprises: record the connection request of new client and the connection state of each client of real-time update.
Alternatively, described link information comprises IP address and port numbering.
As mentioned above, the present invention is based on exchanger management system and the method for web page, there is following beneficial effect:
Real-time listening Page Service end communicates with the page between each client and is detecting that configuration file change just sends refresh page instruction to the client of current all page setup users, effectively solves the problem arranging conflict existed when multi-user manages simultaneously.It is simple that the present invention has realization, advantage easy to use.
Accompanying drawing explanation
Fig. 1 is shown as the system diagram of the exchanger management system that the present invention is based on web page.
Fig. 2 is shown as and the present invention is based on the exchanger management system of web page and the flow chart of method.
Element numbers explanation
11 timing units
12 monitoring units
13 detecting units
14 page furbishing unit
15 page communication units
16 memory cell
17 client-side management unit
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
Refer to Fig. 1, the invention provides a kind of exchanger management system based on web page and method, when switch being arranged by the page for multiple client, prevent from arranging conflict between each client, whether changed by the configuration file detecting switch, and determine whether refreshing instruction is occurred to each client, avoid and between multi-user, conflict is set.The exchanger management system that the present invention is based on web page comprises page communication unit 15, timing unit 11, monitoring unit 12, detecting unit 13, page furbishing unit 14, memory cell 16 and client-side management unit 17.
Page communication unit 15 is for setting up Page Service end and being communicated with the page of each client by WebSocket agreement, and each client, by web page login page service end, is arranged the configuration of switch.
Timing unit 11 is for setting time-out time and sending overtime instruction when reaching time-out time, and this time-out time is 2 seconds to 5 seconds, is preferably 5 seconds.
Monitoring unit 12, is connected with timing unit 11, monitors the page communication between Page Service end 15 and each client, also monitors the overtime instruction generation triggering signal that timing unit 11 sends according to timing unit 11.
Detecting unit 13 is connected with monitoring unit 12, detects the configuration file of current switch for the triggering signal according to monitoring unit 12.
Page furbishing unit 14 is connected with detecting unit 13, for detecting at detecting unit 13 when the configuration file obtaining switch has a variation to each client transmission page furbishing instruction established a communications link, carry out page furbishing operation for each client and upgrade page data, effectively prevent the problem of page setup conflict.
Memory cell 16 is for storing the initial configuration file of the switch of loading, detecting unit 13 is connected with memory cell 16 and page registrar 15, detecting unit 13 detects the configuration file of the switch of device according to the triggering signal of monitoring unit 12, comprise: the configuration file reading current switch, the configuration file of current switch is obtained by reading page registrar 15, the initial configuration file stored in the configuration file of reading and memory cell 16 is compared, to judge whether current configuration file changes.Achieve when reaching time-out time, detecting unit 13 detects current configuration file, if find that there is change, sends page furbishing instruction, make each client refresh web page in time, avoid the problem arranging conflict by page furbishing unit.
Monitoring unit 12 is also for the connection request of the connection state and new client of monitoring each client, client-side management unit 17 is connected with monitoring unit 12, for recording the link information of new client and upgrading the link information of all clients connected.This link information comprises IP address and the port numbering of client.
The present invention separately provides a kind of switch management method based on web page, and the method comprises:
Set up Page Service end and communicated with the page of each client by WebSocket agreement, each client that record and switch establish a communications link;
Page Service end in snooping switch and the page communication between each client also send triggering signal when arriving the time-out time preset;
Trigger according to described starting signal and the configuration file of current switch is detected, detect and obtain sending page furbishing instruction to each client established a communications link with switch recorded when configuration file has a variation, carry out page furbishing operation for each client and upgrade page data.
In addition, above-mentioned switch management method also comprises: the initial configuration file storing the switch loaded, and carries out detection and comprises: the configuration file reading current switch to the configuration file of current switch; The configuration file of reading and the initial configuration file of storage are compared, to judge whether current configuration file changes.If change, send page furbishing instruction, otherwise inoperation.
Preferably, time-out time is 2 seconds to 5 seconds.
Each client that record and switch establish a communications link comprises: record the connection request of new client and the connection state of each client of real-time update.When there being new client to have connection request, by the link information record of new client, leaving web page when the client connected has, the record of this client deleted, guarantee client link information just for real-time accurately.In the present embodiment, the link information of this client comprises IP address and port numbering.
Refer to Fig. 2, it is the switch management method detail flowchart in one embodiment that the present invention is based on web page.Composition graphs 1 and Fig. 2, this switch management method specifically comprises:
First, load configurations file described configuration file is stored in memory cell 16.
Afterwards, set up Page Service end by page communication unit 15, registration logs in this page server, is communicated by the page of WebSocket agreement with each client be connected.Here, each client logs in this page server by web page, communicates with switch, can carry out corresponding setting operation.
In addition, also comprise: set time-out time by timing unit 11.Described time-out time is such as 2 seconds to 5 seconds.
By the page communication between monitoring unit 12 real-time listening Page Service end and each client.In the present embodiment, monitoring mainly comprises two aspects, that is, the change of configuration file and the page request of client.
Below above-mentioned two aspects are described in detail.
Change for configuration file: timing unit 11 is for the instruction of timed sending time-out, and preferably time-out time is set to 5 seconds, often spends 5 seconds and just sends once overtime instruction.Monitoring unit 12 receives this overtime instruction, form triggering signal, detecting unit 13 is sent to detect, detecting unit 13 is by reading current configuration file, initial configuration file in itself and memory cell 16 is compared, if changed, then send refresh command by page furbishing unit 14 to all clients, the link information of all clients is stored in client-side management unit 17, page furbishing instruction, by calling the link information of the client in client-side management unit 17, is sent to each client by page furbishing unit 14.
Page request for client: monitoring unit 12 monitors the connection state whether having the connection request of new client and the client of connection, if there is the connection request of new client, the link information of new client is stored in client-side management unit 17 by monitoring unit 12, and real-time update monitoring is carried out to the client stored in client-side management unit 17, further, if monitoring unit 12 listens to original client connected and is disconnected link, then this client is deleted from the link information client-side management unit 17, guarantee that the client link information in client-side management unit 17 is accurately in real time.
In sum, the present invention is based on exchanger management system and the method for web page, when switch being arranged by the page for multiple client, prevent from arranging conflict between each client, whether changed by the configuration file detecting switch, and determine whether refreshing instruction is occurred to each client, avoid and between multi-user, conflict is set.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (10)

1. based on an exchanger management system for web page, it is characterized in that, comprising:
Page communication unit, for setting up Page Service end and being communicated with the page of each client by WebSocket agreement;
Timing unit, for setting time-out time and sending overtime instruction when arriving described time-out time;
Monitoring unit, is connected with described timing unit, for monitoring page communication between described Page Service end and each client and producing triggering signal according to the overtime instruction of described timing unit;
Detecting unit, is connected with described monitoring unit, detects the configuration file of current switch for the triggering signal according to described monitoring unit;
Page furbishing unit, be connected with described detecting unit, obtain when described configuration file has a variation for detecting at described detecting unit and to each client transmission page furbishing instruction established a communications link, carry out page furbishing operation for each client and upgrade page data.
2. the exchanger management system based on web page according to claim 1, is characterized in that, also comprise:
Memory cell, for storing the initial configuration file of the switch of loading,
Described detecting unit, detects the configuration file of the switch loaded according to the triggering signal of described monitoring unit, comprising:
Read the configuration file of current switch;
The described initial configuration file stored in the described configuration file read and described memory module is compared, to judge whether current described configuration file changes.
3. the exchanger management system based on web page according to claim 1, is characterized in that, described time-out time is 2 seconds to 5 seconds.
4. the exchanger management system based on web page according to claim 1, is characterized in that,
Described monitoring unit also comprises the connection request of connection state for monitoring each client and new client;
Described exchanger management system also comprises: client-side management unit, is connected with described monitoring unit, for recording the link information of new client and upgrading the link information of all clients connected.
5. the exchanger management system based on web page according to claim 4, is characterized in that: described link information comprises IP address and port numbering.
6., based on a switch management method for web page, it is characterized in that: comprising:
Set up Page Service end and communicated with the page of each client by WebSocket agreement, each client that record and switch establish a communications link;
Page Service end in snooping switch and the page communication between each client also send triggering signal when arriving the time-out time preset;
Trigger according to described triggering signal and the configuration file of current described switch is detected, obtain sending page furbishing instruction to each client established a communications link with switch recorded when described configuration file has a variation detecting, carry out page furbishing operation for each client and upgrade page data.
7. the switch management method based on web page according to claim 6, is characterized in that: also comprise: the initial configuration file storing the switch loaded, and carries out detection comprise the configuration file of current described switch:
Read the configuration file of current described switch;
The described initial configuration file of the described configuration file read and storage is compared, to judge whether current described configuration file changes.
8. the switch management method based on web page according to claim 6, is characterized in that: described time-out time is 2 seconds to 5 seconds.
9. the switch management method based on web page according to claim 6, is characterized in that: each client that record and switch establish a communications link comprises: record the connection request of new client and the connection state of each client of real-time update.
10. the switch management method based on web page according to claim 9, is characterized in that: described link information comprises IP address and port numbering.
CN201410741939.3A 2014-12-08 2014-12-08 Exchanger management system based on web page and method Active CN104378244B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410741939.3A CN104378244B (en) 2014-12-08 2014-12-08 Exchanger management system based on web page and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410741939.3A CN104378244B (en) 2014-12-08 2014-12-08 Exchanger management system based on web page and method

Publications (2)

Publication Number Publication Date
CN104378244A true CN104378244A (en) 2015-02-25
CN104378244B CN104378244B (en) 2018-10-12

Family

ID=52556922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410741939.3A Active CN104378244B (en) 2014-12-08 2014-12-08 Exchanger management system based on web page and method

Country Status (1)

Country Link
CN (1) CN104378244B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105591823A (en) * 2016-01-12 2016-05-18 浪潮集团有限公司 Switch remote management method based on OpenAPI
CN105591822A (en) * 2016-01-12 2016-05-18 浪潮集团有限公司 Data collection and analysis method for management of switch
CN105656675A (en) * 2016-01-20 2016-06-08 浪潮集团有限公司 Method for implementing switch system management by using LAMP

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930453A (en) * 2010-07-23 2010-12-29 百度在线网络技术(北京)有限公司 Method and equipment for realizing updating of embedded block of webpage
CN103198142A (en) * 2013-04-17 2013-07-10 华为技术有限公司 Page data updating method, client side and server
CN103530324A (en) * 2013-09-24 2014-01-22 金蝶软件(中国)有限公司 Data updating method and relevant device applied to multiple tabs
CN103853774A (en) * 2012-12-04 2014-06-11 金蝶软件(中国)有限公司 Page data configuration method, device and system
CN104156465A (en) * 2014-08-22 2014-11-19 金石易诚(北京)科技有限公司 Real-time webpage synchronization and background distributed data storage system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930453A (en) * 2010-07-23 2010-12-29 百度在线网络技术(北京)有限公司 Method and equipment for realizing updating of embedded block of webpage
CN103853774A (en) * 2012-12-04 2014-06-11 金蝶软件(中国)有限公司 Page data configuration method, device and system
CN103198142A (en) * 2013-04-17 2013-07-10 华为技术有限公司 Page data updating method, client side and server
CN103530324A (en) * 2013-09-24 2014-01-22 金蝶软件(中国)有限公司 Data updating method and relevant device applied to multiple tabs
CN104156465A (en) * 2014-08-22 2014-11-19 金石易诚(北京)科技有限公司 Real-time webpage synchronization and background distributed data storage system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105591823A (en) * 2016-01-12 2016-05-18 浪潮集团有限公司 Switch remote management method based on OpenAPI
CN105591822A (en) * 2016-01-12 2016-05-18 浪潮集团有限公司 Data collection and analysis method for management of switch
CN105656675A (en) * 2016-01-20 2016-06-08 浪潮集团有限公司 Method for implementing switch system management by using LAMP

Also Published As

Publication number Publication date
CN104378244B (en) 2018-10-12

Similar Documents

Publication Publication Date Title
US10284644B2 (en) Information processing and content transmission for multi-display
CN104113458B (en) The method and device that a kind of mobile terminal is interconnected with intelligent appliance equipment
CA2931150C (en) Automatic inspection and monitoring method based on time domain slotting control
CN102763373B (en) The method and apparatus using the service of local network devices based on remote access
CN109873728A (en) A kind of terminal test method, device and storage medium
CN108763086A (en) Script method for recording, terminal and computer readable storage medium based on remote real machine
CN104581785A (en) Wireless network testing method, testing device and mobile terminal
CN105210339A (en) Method and apparatus for calculating distance in contents delivery network
CN104378244A (en) Switchboard management system and switchboard management method based on web page
CN103414740A (en) Private cloud account configuration method and device
CN105450479A (en) Method and apparatus for monitoring module
CN110515854A (en) Reproducing method, device and the electronic equipment of application exception
CN103595759A (en) Desktop presenting method based on cloud
CN112445700A (en) Test method and device
CN110365587A (en) Communication between devices method, apparatus, equipment and storage medium
CN106559236B (en) Equipment resource management method and device of service board, main control board and frame type equipment
CN103812957A (en) Method and device for managing ARP (Address Resolution Protocol) records
CN104994181A (en) Method for displaying dynamic MAC address table in distributed OLT system
CN105162899A (en) Electronic device for communication within a network and method for operating an electronic device
CN104349202B (en) Video acquiring method and device
CN107682464A (en) A kind of cloud disk data synchronous system
CN107295006A (en) Authentication-exempt accesses URL method and system
CN105554116A (en) Remote interconnection method and system for UPnP (Universal Plug and Play) equipment
CN103023726A (en) Method and system for testing maximum mainframe connection number of network storage device
CN103856490A (en) Shopping website accessed by multiple network speed

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201125

Address after: 318015 no.2-3167, zone a, Nonggang City, no.2388, Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Patentee after: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201217

Address after: 313300 Sunshine Industrial Park, Dipu Town, Anji County, Huzhou City, Zhejiang Province

Patentee after: Zhejiang Anji chair Technology Co.,Ltd.

Address before: 318015 no.2-3167, area a, nonggangcheng, 2388 Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Patentee before: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Switch management system and method based on Web page

Effective date of registration: 20211022

Granted publication date: 20181012

Pledgee: Zhejiang Anji Rural Commercial Bank of the West Branch of Limited by Share Ltd.

Pledgor: Zhejiang Anji chair Technology Co.,Ltd.

Registration number: Y2021330002007

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20221122

Granted publication date: 20181012

Pledgee: Zhejiang Anji Rural Commercial Bank of the West Branch of Limited by Share Ltd.

Pledgor: Zhejiang Anji chair Technology Co.,Ltd.

Registration number: Y2021330002007

PC01 Cancellation of the registration of the contract for pledge of patent right
TR01 Transfer of patent right

Effective date of registration: 20221212

Address after: 300308 Units 601 and 602, Building 1, ZTE Industrial Base, No. 2, Dongqi Road, Dongli District, Tianjin

Patentee after: Tianjin Changdatong Technology Co.,Ltd.

Address before: 313300 Sunshine Industrial Park, Dipu Town, Anji County, Huzhou City, Zhejiang Province

Patentee before: Zhejiang Anji chair Technology Co.,Ltd.

TR01 Transfer of patent right