CN105955730A - Method for managing platform report forms in ssr (service support manager) centralized manner - Google Patents

Method for managing platform report forms in ssr (service support manager) centralized manner Download PDF

Info

Publication number
CN105955730A
CN105955730A CN201610263460.2A CN201610263460A CN105955730A CN 105955730 A CN105955730 A CN 105955730A CN 201610263460 A CN201610263460 A CN 201610263460A CN 105955730 A CN105955730 A CN 105955730A
Authority
CN
China
Prior art keywords
phantomjs
html
management platform
centralized management
ssr
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
CN201610263460.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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201610263460.2A priority Critical patent/CN105955730A/en
Publication of CN105955730A publication Critical patent/CN105955730A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/55Detecting local intrusion or implementing counter-measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method for reporting a ssr centralized management platform, which relates to the field of software testing, and is based on phantomjs-2.0.0 and a custom html template, wherein a phantomjs-2.0.0 process is started firstly, high charts graphic data is received, and a png picture is obtained by rendering the phantomjs-2.0.0 process; drawing an html template, receiving other display data, and backfilling the html template with the data; and finally, rendering the png picture and the html into pdf to obtain a report of the ssr centralized management platform. The method uses html as a template, the style of the report can be checked in a configuration stage, the generated report style can be completely unified, and the readability is very strong; using phantomjs-2.0.0 to render the graph of highcharts, and ensuring that the picture in the report is completely the same as the graph presented by the front end of the centralized management platform; software developers are not needed and the modification codes are not used, so that the development efficiency is improved.

Description

A kind of method of ssr centralized management platform form
Technical field
The present invention relates to software test field, particularly relate to highcharts figure and render, html changes the method for pdf, a kind of ssr centralized management platform form.
Background technology
SSR (Server Security Reinforcement, operating system security strengthens system) there is independent intellectual property right, by the forced symmetric centralization to file, catalogue, process, registration table and service, effectively restrict and disperseed the authority of original system manager.SSR is the solution product of the kernel module technology building national three level security operating systems, can be real-time common server OS is upgraded from system, there is the safe practice function of three grades, the most immune existing various aggressive behaviors for operating system, as: virus, anthelmintic, assault etc..
There is gap with figure that front end page is shown in the figure of form in the past, and does not use unified template to generate form, so causes the report style variation generated, readable very poor.Additionally, exploitation all can repeatedly generate the work of form every time, causing the wasting of resources, work efficiency is the lowest.
Summary of the invention
The present invention is directed to current needs and the weak point of prior art development, it is provided that the method for a kind of ssr centralized management platform form.
The method of a kind of ssr of the present invention centralized management platform form, the technical scheme solving the employing of above-mentioned technical problem is as follows: the method for described centralized management platform form, based on phantomjs-2.0.0 and self-defined html template, first phantomjs-2.0.0 process is started, receive Highcharts graph data, rendered by phantomjs-2.0.0 process and obtain png picture;The most drawn html template, receives other display datas, and data backfills html template;Finally, png picture and html are rendered to pdf, obtain the form of ssr centralized management platform.
Preferably, can comprise arbitrary form element in the form generated, described form element includes report generation time, form present graphical and form display data.
Preferably, described form present graphical is to be rendered the data of highcharts by phantomjs-2.0.0, obtains the png form highcharts picture of front end page.
Preferably, described form display data writes table label in html template, is rendered in pdf by the display data in the png form highcharts picture of generation and html, obtains the form of pdf form.
The method of a kind of ssr of the present invention centralized management platform form compared with prior art has the beneficial effect that the present invention can configure based on template generation form, such form, it is not necessary to software developer and use amendment coding;Use html as template, so just can check the pattern of form, What You See Is What You Get at configuration phase;Using template development, the report style so generated to completely unify, readability is the strongest;
Use the present invention, it is only necessary to carry out configuration and need not coding and save development process, improve development efficiency;Phantomjs-2.0.0 is used to render the figure of highcharts, it is ensured that the figure that the picture in form and centralized management platform front end present is just the same.
Figure of description
Accompanying drawing 1 is the schematic flow sheet of the method for described centralized management platform form.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, the method for a kind of ssr of the present invention centralized management platform form is further described.
The present invention proposes the method for a kind of ssr centralized management platform form, is the method managing platform form concentratedly based on phantomjs-2.0.0 and self-defined html template generation ssr.The present invention, based on template generation form, uses html as template, just can check the pattern (height-width etc. of form) of form at configuration phase;Using template development, the report style of generation can be completely unified, and readability is the strongest.Further, phantomjs-2.0.0 is used to render the figure of highcharts, it is ensured that the figure that the picture in form and centralized management platform front end present is just the same.
Embodiment:
The method of a kind of ssr centralized management platform form described in the present embodiment, based on phantomjs-2.0.0 and self-defined html template, first start phantomjs-2.0.0 process, receive Highcharts graph data, rendered by phantomjs-2.0.0 process and obtain png picture;The most drawn html template, receives other display datas, and data backfills html template;Finally, png picture and html are rendered to pdf, obtain the form of ssr centralized management platform.
Described in the present embodiment, the method for ssr centralized management platform form, can comprise arbitrary form element in the form of generation, and described form element includes the most frequently used report generation time, form present graphical and form display data.Described form present graphical is the data being rendered highcharts by phantomjs-2.0.0, obtains the highcharts picture of front end page, and form is png.Described form display data writes table label in html template, is rendered in pdf by the display data in the png format picture of generation and html, obtains the form of pdf form.
Accompanying drawing 1 is the schematic flow sheet of the method for described centralized management platform form, for making the object, technical solutions and advantages of the present invention clearer, is the present invention below in conjunction with accompanying drawing 1 and describes in detail further.
Installing the phantomjs-2.0.0 process that starts, drawn html template, receive Highcharts graph data, phantomjs-2.0.0 carries out rendering the Highcharts picture obtaining png form;By html template, receive other display datas (as derived time, concrete data list etc.), and data are backfilled html template;Finally, Highcharts picture and the html of png form are rendered to pdf, obtain the form of ssr centralized management platform.
The method managing platform form described in the present embodiment concentratedly, based on template generation form, such form can configure, it is not necessary to software developer and use amendment coding;Use html as template, so just can check the height-width etc. of the pattern of form, such as form at configuration phase;Using template development, the report style so generated to completely unify, readability is the strongest.Use the method, it is only necessary to carry out configuration and need not coding and save development process, improve development efficiency.
Above-mentioned detailed description of the invention is only the concrete case of the present invention; the scope of patent protection of the present invention includes but not limited to above-mentioned detailed description of the invention; suitably change that it is done by any that meet claims of the present invention and any person of an ordinary skill in the technical field or replace, all should fall into the scope of patent protection of the present invention.

Claims (4)

1. the method for a ssr centralized management platform form, it is characterized in that, based on phantomjs-2.0.0 and self-defined html template, first start phantomjs-2.0.0 process, receive Highcharts graph data, rendered by phantomjs-2.0.0 process and obtain png picture;The most drawn html template, receives other display datas, and data backfills html template;Finally, png picture and html are rendered to pdf, obtain the form of ssr centralized management platform.
The method of a kind of ssr centralized management platform form, it is characterised in that can comprise arbitrary form element in the form generated, described form element includes report generation time, form present graphical and form display data.
The method of a kind of ssr centralized management platform form, it is characterised in that described form present graphical is to be rendered the data of highcharts by phantomjs-2.0.0, obtains the png form highcharts picture of front end page.
A kind of method of ssr centralized management platform form, it is characterized in that, described form display data writes table label in html template, is rendered in pdf by the display data in the png form highcharts picture of generation and html, obtains the form of pdf form.
CN201610263460.2A 2016-04-26 2016-04-26 Method for managing platform report forms in ssr (service support manager) centralized manner Pending CN105955730A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610263460.2A CN105955730A (en) 2016-04-26 2016-04-26 Method for managing platform report forms in ssr (service support manager) centralized manner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610263460.2A CN105955730A (en) 2016-04-26 2016-04-26 Method for managing platform report forms in ssr (service support manager) centralized manner

Publications (1)

Publication Number Publication Date
CN105955730A true CN105955730A (en) 2016-09-21

Family

ID=56915372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610263460.2A Pending CN105955730A (en) 2016-04-26 2016-04-26 Method for managing platform report forms in ssr (service support manager) centralized manner

Country Status (1)

Country Link
CN (1) CN105955730A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108153845A (en) * 2017-12-19 2018-06-12 北京天元创新科技有限公司 Method and device derived from a kind of realization backstage image data
CN110008195A (en) * 2019-04-11 2019-07-12 重庆猪八戒知识产权服务有限公司 A kind of dynamic configuration html turns the method, apparatus and system of pdf
CN111104587A (en) * 2018-10-26 2020-05-05 北京金山云网络技术有限公司 Webpage display method and device and server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1652074A (en) * 2004-02-07 2005-08-10 华为技术有限公司 Method for imjplementing report forms showing
CN101650710A (en) * 2009-08-03 2010-02-17 金蝶软件(中国)有限公司 Online software service system as well as method and device for generating report
CN104571977A (en) * 2014-12-05 2015-04-29 北京赛德高科铁道电气科技有限责任公司 Report printing method and system based on HTML (Hyper Text Markup Language) template

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1652074A (en) * 2004-02-07 2005-08-10 华为技术有限公司 Method for imjplementing report forms showing
CN101650710A (en) * 2009-08-03 2010-02-17 金蝶软件(中国)有限公司 Online software service system as well as method and device for generating report
CN104571977A (en) * 2014-12-05 2015-04-29 北京赛德高科铁道电气科技有限责任公司 Report printing method and system based on HTML (Hyper Text Markup Language) template

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
STANZHAI: "Highcharts结合PhantomJS在服务端生成高质量的图表图片", 《HTTPS://WWW.CNBLOGS.COM/JASONDAN/P/3504120.HTML》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108153845A (en) * 2017-12-19 2018-06-12 北京天元创新科技有限公司 Method and device derived from a kind of realization backstage image data
CN108153845B (en) * 2017-12-19 2020-06-16 北京天元创新科技有限公司 Method and device for exporting background image data
CN111104587A (en) * 2018-10-26 2020-05-05 北京金山云网络技术有限公司 Webpage display method and device and server
CN110008195A (en) * 2019-04-11 2019-07-12 重庆猪八戒知识产权服务有限公司 A kind of dynamic configuration html turns the method, apparatus and system of pdf
CN110008195B (en) * 2019-04-11 2020-06-02 重庆猪八戒知识产权服务有限公司 Method, device and system for dynamically configuring html (hypertext markup language) to pdf (pdf)

Similar Documents

Publication Publication Date Title
CN104407976A (en) Method and device for generating interface robustness test case
CN105468433B (en) A kind of acquisition methods and system of magnetic disk of virtual machine data
CN104484353A (en) Data imaging method, data imaging device and database server
US9519537B2 (en) Apparatus, system and method for application log data processing
CN111459813B (en) Test processing method and device
CN105955730A (en) Method for managing platform report forms in ssr (service support manager) centralized manner
CN103955647A (en) System bug scanning method
CN111831325A (en) Method, device, system and medium for updating configuration file in application
CN112306880A (en) Test method, test device, electronic equipment and computer readable storage medium
CN104166570B (en) A kind of method, equipment and the system of online updating file
CN109905263A (en) A kind of automation O&M deployment system
CN104092732A (en) Intelligent terminal software updating method and device
CN105549964A (en) Page display method and system
CN103440146A (en) BIOS updating method based on cloud storage
CN105302709A (en) Test data generating method and device
CN106201466A (en) A kind of Template Manager method based on heat
CN102098190A (en) Automatic development test system and method of Web project
CN103051728B (en) Remote-procedure calling method
CN114721686A (en) Configuration data updating method and device, electronic equipment and storage medium
CN103677845A (en) Website application deployment method
CN105657011A (en) OAuth-technology-based system integration method and device
CN110868330B (en) Evaluation method, device and evaluation system for CPU resources which can be divided by cloud platform
CN104461557B (en) The processing method and processing device of Puppet configuration datas
CN105373385A (en) Multi-resolution UI (User Interface) adaption scripting development method of Android application
CN102402440A (en) Method and device for pushing and prompting of application program

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20160921