Method for obtaining SSR (Server Security Reinforcement) centralized management platform statement

A technology of centralized management and reporting, applied in platform integrity maintenance, electrical digital data processing, instruments, etc., to achieve the effect of improving development efficiency and strong readability

CN105955730AInactive Publication Date: 2016-09-21LANGCHAO ELECTRONIC INFORMATION IND CO LTD
3 Cites 4 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2016-09-21
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
Patent Text Reader

Abstract

The invention discloses a method for obtaining a SSR (Server Security Reinforcement) centralized management platform statement, and relates to the field of software test. The method comprises the following steps: on the basis of phantomjs-2.0.0 and a custom html template, firstly, starting a phantomjs-2.0.0 process, receiving Highcharts graphic data, rendering through the phantomjs-2.0.0 process to obtain a png picture; then, drawing a html template, receiving other presentation data, and filling the data back to the html template; and finally, rendering the png picture and the html into pdf to obtain the SSR centralized management platform statement. The method takes the html as the template, and can check the style of the statement in a configuration stage, and the generated styles of the statements are completely uniform and exhibit high readability; the phantomjs-2.0.0 is used for rendering a Highcharts graph so as to guarantee the picture in the statement is completely same with the graph presented on the front end of the centralized management platform; since software development personnel are not required and codes are not used or revised, so that development efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of software testing, in particular to highcharts graphics rendering, html conversion to pdf, and in particular to a method for ssr centralized management platform reports. Background technique

[0002] SSR (Server Security Reinforcement, operating system security enhancement system) has independent intellectual property rights, and effectively restricts and disperses the authority of the original system administrator through mandatory access control to files, directories, processes, registry and services. SSR is a solution product for building the core module technology of the national three-level security operating system. It can upgrade the common server operating system in real time. It has three-level security technology functions and is fundamentally immune to various existing targets. Attacks on the operating system, such as viruses, worms, hackers, etc.

[0003] In the past, there was a gap between the graphic...

Examples

Embodiment

[0016] A method for reporting on an ssr centralized management platform described in this embodiment is based on phantomjs-2.0.0 and a custom html template, first starts the phantomjs-2.0.0 process, receives Highcharts graphic data, and renders it through the phantomjs-2.0.0 process to obtain png picture; then draw the html template, receive other display data, and backfill the data into the html template; finally, render the png picture and html into pdf, and get the report of the ssr centralized management platform.

[0017] The report method of the ssr centralized management platform described in this embodiment can contain arbitrary report elements in the generated report, and the report elements include the most commonly used report generation time, report display graphics, and report display data. The report display graphics are rendered by phantomjs-2.0.0 to render the data of highcharts, and the highcharts picture of the front page is obtained, and the format is png. T...