CN106407293A - Data report management method and device under C/S mode - Google Patents

Data report management method and device under C/S mode Download PDF

Info

Publication number
CN106407293A
CN106407293A CN201610758747.2A CN201610758747A CN106407293A CN 106407293 A CN106407293 A CN 106407293A CN 201610758747 A CN201610758747 A CN 201610758747A CN 106407293 A CN106407293 A CN 106407293A
Authority
CN
China
Prior art keywords
data
report
inquiry
html
server
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
Application number
CN201610758747.2A
Other languages
Chinese (zh)
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.)
CHENGDU COLASOFT Co Ltd
Original Assignee
CHENGDU COLASOFT 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 CHENGDU COLASOFT Co Ltd filed Critical CHENGDU COLASOFT Co Ltd
Priority to CN201610758747.2A priority Critical patent/CN106407293A/en
Publication of CN106407293A publication Critical patent/CN106407293A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Abstract

The invention relates to the field of network monitoring and management, and provides a data report management method and a data report management device under a C/S mode. Under the C/S mode, a client downloads a report from a server, and the report is stored into the client and finally opened at the client. According to the method provided by the invention, a server report querying and issuing step comprises: the server receives a report query time command and a query content command sent by the client, acquires report query time and query content and compares the report query time and the query content with all information of a data table in a server database to acquire corresponding data, and issues the data to the client; and a client report management step comprises: the data issued by the server is received, the data is assembled into an html format file and related resources, and an html static webpage is displayed, and meanwhile the html file and the related resources are locally stored according to a report storage path.

Description

A kind of based on the data sheet management method under C/S model and device
Technical field
The present invention relates to Networked Control and Management field, especially relate to a kind of based on the data sheet management under C/S model Method and device.
Background technology
It is desirable to intuitively check the indices situation in network in network monitoring and network management, need to network Middle items statistical data is analyzed and contrasts, and more crucial is to need each item data keeping records to be got off, to work remittance Report.
But it is generally all by B/S architecture mode in prior art, on web page, server end is from data base Call the report messages of storage, then carry out the operation such as display processing.Such mode of operation makes server process data Less efficient, and cause to run burden to server.When needing to carry out relevant treatment to html data, server to be expended Many resources.
Content of the invention
The technical problem to be solved is:The problem existing for prior art, provides one kind to be based on C/S model Under data sheet management method and device.Support that, under C/S model, client downloads form from server, and stores client End, finally opens form in client.Due to C/S model inquiry entrance in the client, user intuitively sees for convenience The form content inquiring, so the form inquiring should be shown in the client.Furthermore, user needs for these forms Backup and report leader, so also should have preservation management function.This invention is based on C/S model it is achieved that downloading from server Specified form, and preservation management is to local disk function.
The technical solution used in the present invention is as follows:
A kind of included based on the data sheet management method under C/S model:
Report query request step, arranges form store path, setting report query time and inquiry content;Looked into according to form Inquiry time and the inquiry all locally stored interim forms of content traversal, search and this report query time and inquiry content Consistent related statements, if it is found, then carrying out this query time and inquiring about the corresponding corresponding form html static state of content The display of webpage, otherwise and send query time order and inquiry contents command to server report inquiry issue step;
Server report inquiry issues step, receives the order of report query time and inquiry contents command, parses query time Order and inquiry contents command, obtain report query time and inquiry content, according in report query time and inquiry Hold and compare with the tables of data every terms of information in the data base of server, if there is this query time in tables of data in data base In section, with the inquiry corresponding data of content, then issue this data to Client Reports management process;Otherwise, terminate;
Client Reports management process, receives the data issuing, is assembled into html formatted file and related resource, carries out form The display of html static Web page;According to form store path, html file and related resource guarantor are carried out locally stored simultaneously.
Further, the data that server lookup obtains, can dress up html file and related resource by server group Afterwards, it is handed down to client, then pass through Client Reports management process, to load html form by using CHtmlView class File and related resource file display html static Web page;Html file and related resource are saved in local storage simultaneously Interior.
Further, after Client Reports management process, also include file backup and report management process, Ji Jiangbao There is the html file in locally-stored area and after related resource carries out data compression, report Terminal Server Client and supervised in real time Control.
Further, in described Client Reports management process, the display of form html static Web page is to use CHtmlView class, to load html formatted file and related resource file, carries out html static Web page and shows.
Further, described interim form sets up process is:Client Reports management process the reception server report query Issue the data that step issues, be assembled into html formatted file and related resource and preserve html formatted file and related resource, Form query time, inquiry content and html formatted file and the one-to-one form of related resource;Tables of data sets up process It is:Set up the form of one-to-one relationship according to query time, inquiry content and related statements data, be stored in server data In storehouse.
A kind of included based on the data sheet managing device under C/S model:
Report query request module, arranges form store path, setting report query time and inquiry content;Looked into according to form Inquiry time and the inquiry all locally stored interim forms of content traversal, search and this report query time and inquiry content Consistent related statements, if it is found, then carrying out this query time and inquiring about the corresponding corresponding form html static state of content The display of webpage, otherwise sends query time order and inquiry contents command issues module to server report inquiry;
Server report inquiry issues module, receives the order of report query time and inquiry contents command, parses query time Order and inquiry contents command, obtain report query time and inquiry content, according in report query time and inquiry Hold and compare with the tables of data every terms of information in the data base of server, if there is this query time in tables of data in data base In section, with the inquiry corresponding data of content, then issue this data to Client Reports management module;Otherwise, terminate;
Client Reports management module, receives the data issuing, is assembled into html formatted file and related resource, carries out form The display of html static Web page;According to form store path, html file and related resource guarantor are carried out locally stored simultaneously.
Further, the data that server lookup obtains, can dress up html file and related resource by server group Afterwards, it is handed down to client, then pass through Client Reports management module, to load html form by using CHtmlView class File and related resource file display html static Web page;Html file and related resource are saved in local storage simultaneously Interior.
A kind of also include file backup and report management module based on the data sheet management method under C/S model, will After the html file being saved in locally-stored area and related resource carry out data compression, report Terminal Server Client and carry out in real time Monitoring.
Further, in described Client Reports management module, the display of form html static Web page is to use CHtmlView class, to load html formatted file and related resource file, carries out html static Web page and shows.
Further, described interim form sets up process is:Client Reports management module the reception server report query Issue the data that module issues, be assembled into html formatted file and related resource and preserve html formatted file and related resource, Form query time, inquiry content and html formatted file and the one-to-one form of related resource;Tables of data sets up process It is:Set up the form of one-to-one relationship according to query time, inquiry content and related statements data, be stored in server data In storehouse.
In sum, due to employing technique scheme, the invention has the beneficial effects as follows:
1)Due to C/S model inquiry entrance in the client, user can be facilitated intuitively to see the form content inquiring, possess Based on C/S model client direct display data form ability.
2)Inquiry report time can be changed in real time, content simultaneously updates in client.
3)User needs to backup for these forms and report Terminal Server Client(Remotely check), so also should have preservation Management function.
3)This invention is based on C/S model and specifies form it is achieved that downloading from server, and preservation management is to locally-stored work( Energy.
4)Form is supported separately to deposit, all operations that the IE such as printing supports.
5)Form path is that user oneself is arranged, convenient management.
Brief description
Examples of the present invention will be described by way of reference to the accompanying drawings, wherein:
Fig. 1 is flow process interaction figure of the present invention.
Specific embodiment
All features disclosed in this specification, or disclosed all methods or during step, except mutually exclusive Feature and/or step beyond, all can combine by any way.
Any feature disclosed in this specification, unless specifically stated otherwise, all can be equivalent or there is similar purpose by other Alternative features are replaced.I.e., unless specifically stated otherwise, each feature is a series of equivalent or one of similar characteristics example ?.
Related description of the present invention:
1st, form forms by html with requisition for resource, can easily support all IE expanded functions, such as print etc. removed right Form has such management function.
2nd, server can be according to the static html file of data genaration, and the resource such as the picture needing.
In html file, the independent path of resource is relative path, facilitates html to call.
3. client can will be locally downloading to html file and related resource from server.
4. each result of downloading is saved in different files, convenient during management.
5. MFC application program can be loaded using CHtmlView class and show html static Web page, and its using method can Consult MSDN.
6th, report query request module and Client Reports management module are run in the client;Server report is inquired about Issue module to run in the server.
Embodiment one:
Step 1. user passes through report query request module and arranges form storing path, query time in client, inquires about content. Travel through all locally stored interim forms, search its report name and report with this query time html consistent with inquiry content Table, if it is found, the display of form html static Web page, otherwise sends query time and inquiry contents command is entered to server Row inquiry.(This processes the process performance consumption that can reduce the network transmission server between client and server, and The speed that the form of client is shown also can have very big lifting)
Query time and content are issued module as parameter to server report inquiry and initiate inquiry by step 2..
The inquiry of step 3. server report issues module and is required according to time and content, inquires data.By inquire Data is activation is to client.
Step 4. Client Reports management module utilizes data assembling html and required resource;By the data receiving Store under the storing path that user specifies.Open the html file under storing path using CHtmlView.
The invention is not limited in aforesaid specific embodiment.The present invention expands to and any discloses in this manual New feature or any new combination, and the arbitrary new method of disclosure or the step of process or any new combination.

Claims (10)

1. a kind of based on the data sheet management method under C/S model it is characterised in that include:
Report query request step, arranges form store path, setting report query time and inquiry content;Looked into according to form Inquiry time and the inquiry all locally stored interim forms of content traversal, search and this report query time and inquiry content Consistent related statements, if it is found, then carrying out this query time and inquiring about the corresponding corresponding form html static state of content The display of webpage, otherwise and send query time order and inquiry contents command to server report inquiry issue step;
Server report inquiry issues step, receives the order of report query time and inquiry contents command, parses query time Order and inquiry contents command, obtain report query time and inquiry content, according in report query time and inquiry Hold and compare with the tables of data every terms of information in the data base of server, if there is this query time in tables of data in data base In section, with the inquiry corresponding data of content, then issue this data to Client Reports management process;Otherwise, terminate;
Client Reports management process, receives the data issuing, is assembled into html formatted file and related resource, carries out form The display of html static Web page;According to form store path, html file and related resource guarantor are carried out locally stored simultaneously.
2. according to claim 1 a kind of based on the data sheet management method under C/S model it is characterised in that server Inquire about the data obtaining, client can be handed down to, then pass through after server group dresses up html file and related resource Client Reports management process, to load html formatted file by using CHtmlView class and related resource file shows Html static Web page;Html file and related resource are saved in local storage simultaneously.
3. according to claim 1 and 2 a kind of based on the data sheet management method under C/S model it is characterised in that After Client Reports management process, also include file backup and report management process, will be saved in locally-stored area After html file and related resource carry out data compression, report Terminal Server Client and carry out monitor in real time.
4. according to claim 1 a kind of based on the data sheet management method under C/S model it is characterised in that described visitor In the Report Server Management step of family end the display of form html static Web page be loaded using CHtmlView class html formatted file and Related resource file, carries out html static Web page and shows.
5. according to claim 1 a kind of based on the data sheet management method under C/S model it is characterised in that described face When form set up process and be:Client Reports management process the reception server report query issues the data that step issues, assembling For html formatted file and related resource and preserve html formatted file and related resource, formed query time, inquiry content with And html formatted file and the one-to-one form of related resource;Tables of data sets up process:According to query time, inquiry content Set up the form of one-to-one relationship with related statements data, be stored in server database.
6. a kind of based on the data sheet managing device under C/S model it is characterised in that include:
Report query request module, arranges form store path, setting report query time and inquiry content;Looked into according to form Inquiry time and the inquiry all locally stored interim forms of content traversal, search and this report query time and inquiry content Consistent related statements, if it is found, then carrying out this query time and inquiring about the corresponding corresponding form html static state of content The display of webpage, otherwise sends query time order and inquiry contents command issues module to server report inquiry;
Server report inquiry issues module, receives the order of report query time and inquiry contents command, parses query time Order and inquiry contents command, obtain report query time and inquiry content, according in report query time and inquiry Hold and compare with the tables of data every terms of information in the data base of server, if there is this query time in tables of data in data base In section, with the inquiry corresponding data of content, then issue this data to Client Reports management module;Otherwise, terminate;
Client Reports management module, receives the data issuing, is assembled into html formatted file and related resource, carries out form The display of html static Web page;According to form store path, html file and related resource guarantor are carried out locally stored simultaneously.
7. according to claim 6 a kind of based on the data sheet managing device under C/S model it is characterised in that server Inquire about the data obtaining, client can be handed down to, then pass through after server group dresses up html file and related resource Client Reports management module, to load html formatted file by using CHtmlView class and related resource file shows Html static Web page;Html file and related resource are saved in local storage simultaneously.
8. a kind of according to claim 6 or 7 based on the data sheet managing device under C/S model it is characterised in that also Including file backup and report management module, the html file will being saved in locally-stored area and related resource carry out data After compression, report Terminal Server Client and carry out monitor in real time.
9. according to claim 6 a kind of based on the data sheet managing device under C/S model it is characterised in that described visitor In the statement management module of family end the display of form html static Web page be loaded using CHtmlView class html formatted file and Related resource file, carries out html static Web page and shows.
10. according to claim 6 a kind of based on the data sheet managing device under C/S model it is characterised in that described Interim form sets up process is:Client Reports management module the reception server report query issues the data that module issues, group Fill as html formatted file and related resource and preserve html formatted file and related resource, form query time, inquiry content And html formatted file and the one-to-one form of related resource;Tables of data sets up process:According in query time, inquiry Hold the form setting up one-to-one relationship with related statements data, be stored in server database.
CN201610758747.2A 2016-08-30 2016-08-30 Data report management method and device under C/S mode Pending CN106407293A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610758747.2A CN106407293A (en) 2016-08-30 2016-08-30 Data report management method and device under C/S mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610758747.2A CN106407293A (en) 2016-08-30 2016-08-30 Data report management method and device under C/S mode

Publications (1)

Publication Number Publication Date
CN106407293A true CN106407293A (en) 2017-02-15

Family

ID=58002882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610758747.2A Pending CN106407293A (en) 2016-08-30 2016-08-30 Data report management method and device under C/S mode

Country Status (1)

Country Link
CN (1) CN106407293A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933817A (en) * 2015-12-29 2017-07-07 华为技术有限公司 A kind of content search method and apparatus, system based on B/S structures

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6105043A (en) * 1997-12-16 2000-08-15 International Business Machines Corporation Creating macro language files for executing structured query language (SQL) queries in a relational database via a network
CN101373467A (en) * 2007-08-24 2009-02-25 上海全成通信技术有限公司 Method for exhibiting data reporting form
CN102148833A (en) * 2011-04-18 2011-08-10 中国工商银行股份有限公司 Method for transmitting data report, server, client and system
CN103678686A (en) * 2013-12-26 2014-03-26 金蝶软件(中国)有限公司 Financial statement query method, system and server
CN104965717A (en) * 2014-06-05 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for loading page

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6105043A (en) * 1997-12-16 2000-08-15 International Business Machines Corporation Creating macro language files for executing structured query language (SQL) queries in a relational database via a network
CN101373467A (en) * 2007-08-24 2009-02-25 上海全成通信技术有限公司 Method for exhibiting data reporting form
CN102148833A (en) * 2011-04-18 2011-08-10 中国工商银行股份有限公司 Method for transmitting data report, server, client and system
CN103678686A (en) * 2013-12-26 2014-03-26 金蝶软件(中国)有限公司 Financial statement query method, system and server
CN104965717A (en) * 2014-06-05 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for loading page

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933817A (en) * 2015-12-29 2017-07-07 华为技术有限公司 A kind of content search method and apparatus, system based on B/S structures
CN106933817B (en) * 2015-12-29 2021-02-12 华为技术有限公司 Content query method, device and system based on B/S structure

Similar Documents

Publication Publication Date Title
JP5496113B2 (en) Queries that narrow down targets using the OMA DM protocol
US20150378721A1 (en) Methods for managing applications using semantic modeling and tagging and devices thereof
CN107798026A (en) Data query method and apparatus
CN102291416A (en) Two-way synchronizing method and system of client-side and server-side
US20130339488A1 (en) Enterprise services framework for mobile devices
CN107908521A (en) A kind of monitoring method of container performance on the server performance and node being applied under cloud environment
US20150213077A1 (en) Method and system for causing a web application to obtain a database change
CN102891768A (en) Method and network element for network management
CN107171856A (en) A kind of method that instant communicating system organizational structure quickly updates
CN110096258A (en) A method of the OpenStack infrastructure architecture management based on Terraform
CN102541535A (en) Method and system for publishing industry business architecture model
CN108052661B (en) Aggregation retrieval method and device in distributed environment and readable storage medium
CN106339154B (en) A kind of original list update method and device
CN106888264B (en) A kind of method for interchanging data and device
CN102236707A (en) Method, device and system for obtaining update data of database
US10015049B2 (en) Configuration of network devices in a network
CN106407293A (en) Data report management method and device under C/S mode
CN103049294A (en) Device and method for network element software upgrading
US8694559B2 (en) Using database content for multiple business data systems connected to one database
CN103186405A (en) Method and device for implementing unified control of equipment
CN104699477A (en) Near field communication based data transfer
CN104408081B (en) A kind of mobile terminal and its quick method and apparatus for checking file
CN115796758A (en) Factory rule management platform
US8595251B2 (en) Flexible interface module
CN102129468A (en) Architecture for displaying customizable cluster state

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170215

RJ01 Rejection of invention patent application after publication