Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

67 results about "Style sheet" patented technology

A web style sheet is a form of separation of presentation and content for web design in which the markup (i.e., HTML or XHTML) of a webpage contains the page's semantic content and structure, but does not define its visual layout (style). Instead, the style is defined in an external style sheet file using a style sheet language such as CSS or XSLT. This design approach is identified as a "separation" because it largely supersedes the antecedent methodology in which a page's markup defined both style and structure.

Report generation method and device supporting multiple layouts and multiple templates

The invention discloses a report generation method and device supporting multiple layouts and multiple templates, and relates to the field of report generation. In the method, a report template table is created to determine a core parameter and an extension parameter of a target template, and a unique identifier of the target template is created based on the core parameter, the extension parameter and a timestamp; determining a layout code corresponding to the target template according to the identifier, selecting a target layout component from a preset layout component library according to the layout code to generate a layout description file, and generating a style sheet having a mapping relationship with the identifier according to the layout description file; constructing an element relationship network according to a row and column position relationship in the layout description file to record row and column coordinates and style marks of each report element so as to generate an element table, dynamically loading a subject tree, and providing a visual formula constructor to perform formula configuration so as to generate a formula table; and generating a report based on the element table, the formula table and the style table according to the target identifier. By implementing the technical scheme provided by the invention, the report template and layout can be flexibly customized.
Owner:BEIJING XINLONG TECH CO LTD

Webpage skeleton screen generation method and device and electronic equipment

The invention provides a webpage skeleton screen generation method and device and electronic equipment. The method comprises the steps of obtaining a hypertext markup language (HTML) source code, a cascading style sheet and a JavaScript code of a target webpage; analyzing the HTML source code to obtain main structural elements of the target webpage, analyzing the cascading style sheet to obtain visual style information of the target webpage, analyzing the JavaScript code to determine a dynamic content area of the target webpage; generating a skeleton screen of the target webpage based on the main structural elements, the visual style information and the dynamic content area; and injecting the skeleton screen of the target webpage into the code of each business item, calling a skeleton screen generation service in each business item, and generating the skeleton screen of each business item. According to the method, the skeleton screen can be automatically generated and injected, the efficiency is high, the dynamic content of the webpage can be adapted, and the user experience is improved.
Owner:TRANSN IOL TECH CO LTD

A webpage generation method and device, electronic equipment and storage medium

Embodiments of the present application disclose a webpage generation method and device, electronic equipment and storage medium, and relate to the technical field of computers, which can realize modification of a main color tone of a webpage. The webpage generation method comprises: in response to a webpage template loading instruction, loading and displaying a webpage template; in response to a main color tone configuration parameter input on the webpage template, configuring the main color tone configuration parameter in a cascading style sheet; in response to a webpage generation instruction, parsing document content of the webpage template to construct a document tree; parsing the cascading style sheet of the webpage template to construct a cascading style sheet object model tree; creating a rendering tree based on the document tree and the cascading style sheet object model tree; and generating a target webpage based on the rendering tree. The present application is suitable for a webpage design scenario.
Owner:ZHUHAI BAOQU TECH CO LTD

Web operating system local map application method and device based on cairo plug-in

The invention discloses a cairo plug-in-based Web operating system local map application method and device, and belongs to the technical field of Web operating systems. The method comprises the following steps: deploying a map database, a map style sheet and a font related file to terminal equipment to lay a resource foundation for offline operation; the third-party C + + map library is subjected to sandbox processing, code and data access isolation is achieved, and system safety is guaranteed; then, an osm-cairo module is written, and a DrawMapWrapper tool class containing a map style storage and operation function is created; compiling a map plug-in source code, realizing a map interactive interface and compiling the map plug-in source code into a cairo dynamic plug-in; and finally, compiling a Web map application, and realizing map rendering and related operation by dynamically loading plug-ins and communicating.
Owner:NAT UNIV OF DEFENSE TECH

Phishing Site Identification and Security Remedy

Embodiments are related to determining if an unverified web page is a phishing site of a verified web page. In one or more embodiments, a computing server detects a style sheet element of an unverified web page accessed by a user using a web browser extension. The computing server checks if the detected style sheet element contains a copy of a part of a style sheet element present in the verified web page. If the style sheet element of the unverified web page contains a copy of the part of a style sheet element of the verified web page, indicating that the unverified web page is a phishing site, the computing server takes a security action. In some embodiments, the computing server may check if the unverified web page is a known web page.
Owner:RAMP BUSINESS CORP

Template XSLT based NETCONF data collector

Disclosed herein are system, method, and computer program product embodiments for a template XSLT (extensible stylesheet language transformation) based NETCONF (network configuration protocol) data collector. An embodiment operates by sending, by a network management device, a NETCONF request to a first network element and a first network element, where the NETCONF request is generated based on a configuration file corresponding to the first network element and the first network element. The embodiment generates a stylesheet corresponding to the NETCONF configuration file. The embodiment receives a first NETCONF reply message and a second NETCONF reply message, where the first NETCONF reply message is generated by the first network element in response to receiving the NETCONF request, and the second NETCONF reply message is generated by the first network element in response to receiving the NETCONF request. The NETCONF reply message and the second NETCONF reply message are transformed into a delimited data format using the stylesheet.
Owner:FRONTIER COMMUNICATIONS HOLDINGS LLC

A browser-based PDF file parsing method, system and storage medium

The application relates to a browser-based PDF file parsing method, system and storage medium, which comprises the following steps: loading and parsing a PDF file to obtain description text associated with the PDF file; according to a PDF format rule, extracting a cross-reference table of the PDF file from the description text, and parsing a plurality of object data of the PDF file according to the cross-reference table; finding and reading the object data, and composing content elements according to position information and / or size information of the object data; according to a rendering rule of the browser, converting corresponding content in the content elements into document object model (DOM) nodes described in a hypertext markup language (HTML) + cascading style sheets (CSS) format; and rendering the content corresponding to the PDF file according to the document object model (DOM) nodes described in the hypertext markup language (HTML) + cascading style sheets (CSS) format through the browser to obtain content presented by the PDF file.
Owner:XIAMEN HUANLEGUANG TECH CO LTD +1

Track animation generation method and device

The embodiment of the invention discloses a trajectory animation generation method and device, and the method comprises the steps: obtaining trajectory data which comprises a target object and a position point; instantiating a target object in the trajectory data to obtain a corresponding document object model (DOM) element instance; generating a track set corresponding to the element instance according to the position point; based on the track set, rendering a DOM element instance through a cascading style sheet (CSS) to generate a plurality of animation frames; and generating a track animation by using the plurality of animation frames. According to the method and the device, the animation frame is rendered by using the browser by means of CSS and DOM technologies, so that the rendering pressure of a CPU is relieved, and the display effect of the track animation is improved.
Owner:ZHEJIANG INTELLIGENT TRANSPORTATION TECHNOLOGY INNOVATION CENTER +2

Web front-end interface self-adaptive generation method and system

The invention provides a Web front-end interface adaptive generation method and system, and the method comprises the steps: collecting multi-modal original behavior data correspondingly generated by a user in an interface interaction process, and carrying out the intention feature separation of the multi-modal original behavior data, so as to create a corresponding dual-path feature extraction network; projecting the dominant intention vector and the implicit demand vector to a unified semantic vector space through a preset mapping module so as to perform weighted fusion on the dominant intention vector and the implicit demand vector according to the dynamic confidence of the current interaction scene and generate a corresponding dynamic user portrait; reasoning an interface element attribute adjustment instruction and an interaction logic optimization strategy corresponding to the dynamic user portrait through a preset generative interface model, applying the interface element attribute adjustment instruction and the interaction logic optimization strategy to a current Web interface in combination with a front-end rendering engine, and correspondingly adjusting node attributes and cascading style sheet rules of a preset document object model to generate a corresponding target interaction interface. The interface generation efficiency can be effectively improved.
Owner:JIANGXI DIGITAL NETWORK INFORMATION SECURITY TECH CO LTD

Method and device for rendering HTML (Hypertext Markup Language) code of Web page and computer program product

The invention discloses an HTML (Hypertext Markup Language) code rendering method and device of a Web page and a computer program product.The method comprises the following steps: firstly, acquiring a Vue component of a target Web page, and then compiling the Vue component into an HTML file, a CSS (Cascading Style Sheet) file and a JavaScript file; then, a preset code is injected into the HTML file to generate a DSL code; then, a CSS file and a JavaScript file can be used for converting the DSL code into a GoTemplate file, and then, the DSL code is converted into the GoTemplate file; secondly, compiling the dynamic object into a binary file, and obtaining real-time data of the dynamic object in the binary file; finally, then HTML rendered text may be generated based on the real-time data and the binary file; therefore, rendering of a traditional Node.js server side is converted into server side rendering of the Go language, so that a Go program is directly operated in a binary file after being compiled; on the basis of the method, the execution speed of code rendering can be increased without additionally deploying a running environment and carrying out code interpretation, so that the loading response speed of the Web page is increased.
Owner:CHENGDU YUBUO TECH CO LTD

Methods of searching, systems and devices

There is disclosed a computer-implemented method of searching for search results using a browser executing on a client device, a search home website HTML server, a back-end for front-end (BFF) server, and a search service server, the method including the steps of: (i) the search home website HTML server sending an asynchronous pre-search request to the search service server, the asynchronous pre-search request including the search parameters, and the search service server initiating a search cycle using the search parameters in response to the asynchronous pre-search request; (ii) the browser receiving from the search home website HTML server HTML data including a Cascading Style Sheets (CSS) and script tag; (iii) the browser executing the script files such that the client device including the browser establishes a persistent connection to the back-end for front-end (BFF) server, and sends the search parameters to the BFF server, the BFF server polling the search service server using the search parameters; (iv) the search service server recognizing that the search parameters it received in step (iii) correspond to the search parameters it received in step (i), to use the search cycle initiated in step (i) to provide first search results from the search cycle to the BFF server, in response to the polling from the BFF server.
Owner:SKYSCANNER TECHNOLOGY LTD

Style storage method and device, equipment and storage medium

The invention discloses a style storage method and device, equipment and a storage medium, and the method comprises the steps: obtaining a cascading style sheet rule, and disassembling the cascading style sheet rule into atomic-scale style blocks; performing combination optimization processing on each atomic-scale style block to form each target style block; respectively generating each hash code corresponding to each target style block; constructing a style-code index table based on the Hash code of each target style block; and storing each target style block by utilizing the style-code index table. According to the method, the cascading style sheet rule is disassembled into the atomic-scale style blocks, so that the accuracy and the high efficiency of the subsequent storage process can be ensured, the size of the atomic-scale style blocks needing to be stored can be reduced through combined optimization processing, the hash codes are directly utilized for storage during subsequent storage, the size of a memory needing to be stored is reduced, and the storage efficiency is improved. By means of the mode, efficient storage optimization is achieved, pattern data redundancy is avoided, the loading performance is improved, and normal use of the page is guaranteed.
Owner:创优数字科技(广东)有限公司

Method and device for realizing online SQL (Structured Query Language) query editor in vue framework

The invention provides a method and a device for realizing an online SQL (Structured Query Language) query editor in a vue framework. The method comprises the following steps of: creating a self-defined SQL editor component sql.vue based on the vue framework, packaging a Codemirror into a Vue component, introducing a required CSS (Cascading Style Sheet) style and a JS (JavaScript) library according to requirements, acquiring a cmOptions parameter, and initializing the Codemirror; monitoring SQL (Structured Query Language) input, and obtaining the number of bytes of the currently input SQL text; and in response to an SQL execution button clicked by the user, the system sends the SQL statement to a back-end service for execution, and obtains an SQL execution result in an asynchronous callback mode. According to the method, complex configuration is not needed, SQL query can be edited and executed only by using a web browser, various database systems and SQL dialects are supported, and a user can query and operate a database more quickly.
Owner:UNICLOUD TECH CO LTD

Searching method, system and equipment

Disclosed is a computer-implemented method of searching search results using a browser executing on a client device, a search homepage website, a front-end dedicated back-end (BFF) server and a search service server, the method comprising the steps of: (i) the search homepage website sending an asynchronous pre-search request to the search service server, the asynchronous pre-search request comprises search parameters, and the search service server starts a search period by using the search parameters corresponding to the asynchronous pre-search request; (ii) the browser receiving HTML data comprising a Cascade Style Sheet (CSS) and a script tag from the search homepage website; (iii) the browser executes the script file such that the client device comprising the browser establishes a persistent connection to a front-end dedicated back-end (BFF) server and sends the search parameters to the BFF server, the BFF server polling the search service server using the search parameters; (iv) the search service server identifies that the search parameter it receives in step (iii) corresponds to the search parameter it receives in step (i), in response to polling from the BFF server to provide the BFF server with a first search result from the search cycle initiated in step (i) using the search cycle.
Owner:SKYSCANNER TECHNOLOGY LTD

Display device and scrolling text display method

The embodiment of the invention provides a display device and a scrolling text display method. A display device can obtain a scrolling text area according to page information of a target page, and execute repeated splicing processing on a to-be-displayed text in the scrolling text area to obtain a spliced text. The display device sets the cascading style sheet parameters of the spliced text, thereby endowing the spliced text with the ability to play in the form of cascading style sheet animation. For the scrolling text area selected by the user focus, the display device can play the cascading style sheet animation corresponding to the spliced text in the scrolling text area according to the cascading style sheet parameters, and the effect of scrolling display of the text is achieved. And the text is displayed in a scrolling manner in a CSS animation form, so that the calculation amount is small, and the text scrolling continuity is improved.
Owner:VIDAA (NETHERLANDS) INT HLDG LTD

Icon font file processing method and device and storage medium

The invention discloses an icon font file processing method and device and a storage medium, which are used for reducing the volume of an icon font file and a style sheet file. The method comprises the steps that actual style nodes used in project codes are extracted, and each actual style node corresponds to one style definition or reference situation in the project codes; determining a target coding value matched with the actual style node from a preset mapping relation table, wherein the mapping relation table is used for establishing a corresponding relation between the style node in the style sheet file and the coding value; the icon font file is processed according to the target coding value and the coding values of the characters in the icon font file, a processed icon font file is generated, and the processed icon font file only contains the characters actually used in the item codes; the style sheet file is processed according to the actual style nodes and the style nodes in the style sheet file, a processed style sheet file is generated, and the processed style sheet file only contains the style nodes actually used in the project codes.
Owner:JIALIAN PAYMENTS CO LTD

Web page rendering optimization method and related equipment

The invention provides a Web page rendering optimization method and related equipment, and the method comprises the steps: collecting and processing equipment performance parameters and network state parameters, and obtaining a comprehensive performance coefficient; analyzing a cascading style sheet rule associated with the content structure tree of the to-be-loaded page to obtain an initial dependency element list, and performing dependency relationship analysis on elements in the initial dependency element list to obtain an atomic rendering unit; dividing the page content according to the comprehensive performance coefficient, the atomic rendering unit and the content structure tree to obtain a plurality of dynamic slices; obtaining position information of a current browser viewport in the page coordinate system and a prediction result of a user interaction behavior, and calculating a final priority value of each dynamic slice block based on the position information, the prediction result and the comprehensive performance coefficient to obtain a slice scheduling instruction list of each dynamic slice block so as to render all the dynamic slice blocks; and the final correctness and consistency of a page rendering result are kept while the performance is improved.
Owner:HUNAN XIAOSUAN TECH INFORMATION CO LTD

Generative style tool for content shaping

Systems and methods for content shaping using one or more generative styles are provided. In particular, a computing device may determine the one or more generative styles applicable to at least a portion of content based on the content and the context associated with the content, the one or more generative styles representing one or more style features adapted to shape the at least a portion of the content, generate first user interface elements representing the one or more generative styles based on the content and the context associated with the content, receive a first generative style selected from the one or more generative styles via the first user interface elements, apply the selected generative style to a selected portion of the content, and cause a display of the content transformed based on the selected generative style.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Browser theme switching method and device, equipment and storage medium

The invention discloses a browser theme switching method and device, equipment and a storage medium, and relates to the field of software design, and the method comprises the following steps: constructing a plurality of to-be-switched themes of a target browser, and generating a corresponding theme configurator according to each to-be-switched theme; constructing a theme store of the target browser according to the to-be-switched themes, and issuing the to-be-switched themes in the theme configurator to a root component of the target browser through the theme store; and switching the current theme of the target browser according to the theme to be switched through a cascading style sheet corresponding to the root component. The browser style can be dynamically modified, and switching of browser themes is efficiently achieved.
Owner:HANGZHOU DBAPPSECURITY CO LTD

Printing method and system compatible with full page and full display of various browsers

The invention relates to a webpage printing method and system compatible with various browsers, and the method comprises the following steps: a browser side calls a printing service of a server side, and the printing service obtains a URL address of a current webpage and converts the URL address into a printed URL address; the printing service loads a uniform printing style sheet, processes webpage contents and generates a printing layout; and the printing service of the server side stores the processed webpage content in a PDF format and returns the processed webpage content to the user. According to the invention, printing is carried out by calling the server at the rear end, so that a user is not influenced by the compatibility of the browser when printing in the browser, and the uniform printing style sheet is loaded through the printing service at the server end to process the webpage content, so that the user can print the webpage with tidy format typesetting and complete content when printing in the browser.
Owner:SHANGHAI TONGTONG INTERNET TECH CO LTD

A browser-based PSD file parsing method, system, and storage medium

The present invention relates to a browser-based PSD file parsing method, system, and storage medium. The method comprises the following steps: loading and parsing a PSD file to obtain binary data corresponding to the PSD file; extracting the file structure of the PSD file from the binary data according to PSD format rules, reading layer data from the file structure, and constructing a layer list; converting the corresponding content in the layer list into a Document Object Model (DOM) node described in the Hypertext Markup Language (HTML) + Cascading Style Sheet (CSS) format according to the browser's rendering rules; and rendering the Document Object Model (DOM) node described in the Hypertext Markup Language (HTML) + Cascading Style Sheet (CSS) format by the browser to obtain the content corresponding to the PSD file. This solution processes the PDF file in a browser environment, directly outputting the corresponding HTML structure, and handing it over to the browser for rendering, without the need for dedicated software to perform parsing.
Owner:XIAMEN HUANLEGUANG TECH CO LTD +1

System interface generation method and device, electronic equipment and storage medium

Embodiments of the invention provide a system interface generation method and apparatus, an electronic device and a storage medium. The method comprises the steps of receiving input data in a JSON format for preset data exchange; generating a data exchange JSON file based on the input data; converting the JSON file into a page file set, wherein the page file set comprises a cascading style sheet and a hypertext markup language file; and generating a system interface based on the cascading style sheet and the hypertext markup language file. The method comprises the following steps: taking a cascading style sheet and a hypertext markup language file as a set; one JSON file can comprise data of a cascading style sheet and a hypertext markup language file, so that the cascading style sheet and the hypertext markup language file can be obtained based on conversion of one JSON file, and the content and style of a page can be defined; the problems that a traditional cascading style sheet and a hypertext markup language file are poor in readability and high in splitting performance are solved. And a complete system interface can be automatically drawn through the JSON file.
Owner:CHINA TELECOM CLOUD TECH CO LTD

XML (Extensible Markup Language) file visual comparison method and device and electronic equipment

The invention provides an XML (extensive markup language) file visual comparison method and device and electronic equipment, and relates to the field of electronic manual comparison, the method comprises the following steps: determining similar nodes by using a similarity check method, traversing DOM (document object model) trees of a first Document object and a second Document object, processing all similar nodes by using node IDs (identity) as anchor points, determining matched nodes, and comparing the matched nodes with the first Document object and the second Document object; each piece of initial difference information corresponding to each matching node is recorded, all Diff objects are constructed and returned, each piece of detailed difference information is obtained, and all the detailed difference information is added to attribute difference mapping of the XmlDiff objects; and analyzing the file tag and the file attribute analyzed by the XSD rule by using a preset data standard, compiling an XSLT style sheet, loading a style file according to attribute difference mapping and the XSLT style sheet, and displaying the first HTML file and the second HTML file on a preset display interface. According to the method, the XML file to be compared can be automatically obtained and converted into the stream file form to be analyzed and compared, so that the comparison efficiency and accuracy are greatly improved.
Owner:CETC YANGTZE RIVER DATA CO LTD

Web page layout method and device for automatic browser adaptation

The present application relates to a method and device for automatically adapting a web page layout to a browser, the method comprising: setting elastic properties for an initial element through a cascading style sheet to obtain an elastic element with the elastic property; performing browser rendering according to the elastic element and the elastic property to determine the target style of each elastic element and the size and position in the browser; performing web page layout according to the target style of the elastic element and the size and position in the browser. The present application improves the efficiency of browser page layout.
Owner:DONGTU TECH (YICHANG) CO LTD

Webpage page loading method and device, storage medium and electronic equipment

This disclosure relates to a method, apparatus, storage medium, and electronic device for loading web pages, belonging to the field of computer technology. The method includes: extracting the main content structure of the web page and the website copyright information structure from an original hypertext markup language (HTML) file; constructing new child nodes based on the main content structure and the website copyright information structure, and updating the original HTML file based on the new child nodes to obtain a target HTML file; rearranging the main content of the web page and the website copyright information from an original cascading style sheet (CSS) file based on the new child nodes included in the target HTML file to obtain a target CSS file; and rendering the web page to be loaded based on the target HTML file and the target CSS file. This disclosure improves page loading efficiency.
Owner:NETEASE (HANGZHOU) NETWORK CO LTD

Chain rolling leakage repairing method and device, storage medium and computer equipment

The invention provides a chain rolling leakage repairing method and device, a storage medium and computer equipment, and relates to the technical field of computers.The method comprises the steps that webpage elements are traversed through a DOM tree, and each rolling container is recognized; according to the hierarchical relationship and the layout position of each rolling container, determining a to-be-isolated rolling container with a rolling leakage risk, and generating an identifier for each to-be-isolated rolling container; according to the identifier of each to-be-isolated rolling container, a rolling event isolation rule is generated for each to-be-isolated rolling container, and the rolling event isolation rule is used for preventing a rolling event from being transmitted to a parent container when the rolling container rolls to a boundary; each scrolling event isolation rule is written to the web page style sheet to prevent the scrolling event from propagating to the parent container at the scrolling boundary. In this way, efficient self-adaptive isolation control over the nested scrolling container is achieved in a complex and dynamic page environment, and the requirement of a modern Web system for stable scrolling interaction can be met.
Owner:创优数字科技(广东)有限公司