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

27 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.

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

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

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:创优数字科技(广东)有限公司

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

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:创优数字科技(广东)有限公司

Text adjustment method and device, equipment and storage medium

PendingCN122311128AComputer hardwareEngineering
This application provides a text adjustment method, apparatus, device, and storage medium. The text adjustment method includes: responding to a text adjustment request for a target display interface; determining the text element to be adjusted in the target display interface using an element selector corresponding to the text adjustment request; determining the target offset of the text element to be adjusted based on its default offset and / or the extended font appearance rules corresponding to the text element; and center-rendering the text element to be adjusted using a target variable function and the target offset to obtain the target text element and displaying it on the target display interface. This achieves automatic center-rendering of the text element to be adjusted through a combination of extended font appearance rules and element selectors in Cascading Style Sheets (CSS), without needing to configure the offset separately for each generation of text elements to be adjusted, thereby improving the visual effect of the text elements in the target display interface and effectively reducing the loading time of the target display interface.
Owner:SHENZHEN FALCON NETWORK MEDIA CO LTD

Systems and Methods for Rendering a Page via Isolated Runtime Environments

A method for executing sets of code in isolated runtime environments includes selecting a platform package from a platform repository. The platform package includes platform code and a first code library. The method includes selecting a platform bundle from the platform repository. The platform bundle includes a first stylesheet library. The method includes selecting a tenant package from a tenant repository. The tenant package includes platform code and a second code library. The method includes selecting a tenant bundle from the tenant repository. The platform bundle includes a second stylesheet library. The method further includes transmitting the page file, the tenant package, the tenant bundle, the platform package, and the platform bundle to a user computing device. The platform code is executed in isolation of the tenant code, and the tenant code is executed in isolation of the platform code.
Owner:VEEVA SYSTEMS INC

Method, device, equipment, storage medium and product for interface interaction

Provided are an interface interaction method, device, equipment, storage medium and product. The method includes: in a first track, presenting a first segment corresponding to first media content; in response to receiving a first operation associated with the first segment, presenting a second segment in the first track in a first style, the first style representing that second media content corresponding to the second segment is to be generated; presenting the second segment in a second style, the second style representing that the second media content has been generated, the second media content being generated based on the first media content and being an independent media resource. In this way, the efficiency of the user obtaining information is improved, and the data processing overhead is reduced.
Owner:BEIJING ZITIAO NETWORK TECH CO LTD

Program, user terminal, server, method, and system

Improve the performance of web page display. [Solution] A program for causing a system having a user terminal and a server capable of communicating with the user terminal via a network to execute the following steps: the user terminal identifying the font type actually used on a web page; the user terminal sending information indicating the identified font type to the server; the server selecting CSS (Cascading Style Sheets) containing font information corresponding to the font type from multiple font information stored as static files based on the received information indicating the font type, and returning the selected CSS to the user terminal; and the user terminal applying the returned CSS to the web page.
Owner:MORISAWA CO LTD

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

Method, device and equipment for converting presentation based on intermediate representation file

This application discloses a presentation conversion method, apparatus, and device based on an intermediate representation file, relating to the field of large language models. The method includes: extracting global theme information from each presentation page of an OOXML specification presentation to construct a global color table, a global text style table, and a global table style table in a document-level data model; extracting actual styles from various elements in the presentation pages to obtain a list of elements in the presentation pages; converting the actual styles of the elements in the presentation pages into theme style references based on the global color table, global text style table, and global table style table in the document-level data model to obtain a page-level data model of the presentation pages; and using a target declarative language to convert the document-level data model and each of the page-level data models to obtain an intermediate representation file.
Owner:BEIJING DARK SIDE OF THE MOON TECH CO LTD

Website dynamic automatic optimization method and system

The invention relates to the technical field of computers, discloses a website dynamic automatic optimization method and system, and aims to solve the problems of layout disorder and performance loss caused by the fact that existing static media query cannot adapt to continuous form changes of folding screen equipment. The method comprises the following steps: acquiring physical form parameters and viewport geometric features of the folding screen in real time through a native interface of a browser, and constructing a multi-dimensional equipment state vector; in a special Web Worker thread, mapping the vector into sixteen key CSS attribute parameters by using a lightweight neural network model; and the generated CSS rule character string is injected into the tail of the page root style sheet, so that no-backflow and no-redrawing atomic-scale style updating is realized. The system comprises an equipment state sensing module, a vector construction module, a neural network reasoning module and a pattern injection module. According to the method, external dependence is not needed, the layout disorder rate and the forced backflow frequency are remarkably reduced, and the rendering performance of the folding screen webpage and the user experience are improved.
Owner:SHENZHEN HUAQI NETWORK TECHNOLOGY CO LTD

Data processing method and device, electronic equipment and storage medium

The embodiment of the invention discloses a data processing method and device, electronic equipment and a storage medium, and the method comprises the steps that a target color function corresponding to a page element is searched for from a style code corresponding to a page, the target color function comprises a color group parameter corresponding to the page element, and a target color function corresponding to the page element is searched for from a color group corresponding to the color group parameter; the method comprises the steps of obtaining color values of a page element in multiple theme modes, generating a style sheet corresponding to each theme mode based on the color value of the page element in each theme mode, generating a style file corresponding to a page according to the style sheets corresponding to the multiple theme modes respectively, obtaining a to-be-displayed target theme mode from the multiple theme modes, and displaying the to-be-displayed target theme mode according to the to-be-displayed target theme mode. And rendering the color of the page element based on the color value contained in the style sheet corresponding to the target theme mode in the style file. According to the technical scheme, the style development cost corresponding to the theme mode can be saved, and the theme mode switching effect is improved.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Display method and device, equipment, medium and program product

The embodiment of the invention provides a display method and device, equipment, a medium and a program product. The method comprises the steps of obtaining an equipment feature matrix of target display equipment based on equipment physical attribute parameters of the target display equipment and environmental parameters of an environment where the target display equipment is located; inputting the equipment characteristic matrix into a reinforcement learning model to obtain a cascading style sheet (CSS) interface layout matched with the target display equipment; and dynamically displaying the interface based on the CSS interface layout. The method is used for improving the cross-device adaptation efficiency.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Method and device for presenting codes and computer program product

The invention provides a method for presenting codes. The method comprises the steps that an off-screen canvas object is created through a main thread of a target page; transmitting the off-screen canvas object and a cascading style sheet file corresponding to the target page to a background thread, different from a main thread, of the target page; the newly-added part of the target code is analyzed through the background thread to obtain an analysis result, and other parts, different from the newly-added part, in the target code are presented on the target page; according to the analysis result and the cascading style sheet file, drawing the newly added part on a canvas corresponding to the off-screen canvas object through a background thread to obtain a drawing result; and obtaining the drawing result from the background thread through the main thread and presenting the drawing result on the target page. According to the method and the device, the code analysis speed can be improved while the computing resources of the page main thread are saved, so that the page performance is improved, and good experience is brought to a user.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Cairo plug-in based web operating system native map application method and device

The application discloses a Web operating system local map application method and device based on a cairo plug-in, and belongs to the technical field of Web operating systems. The method first deploys a map database, a map style sheet and font related files to a terminal device, lays a resource foundation for offline operation; then carries out sandboxing processing on a third-party C++ map library, realizes code and data access isolation, and guarantees system safety; subsequently, an osm- cairo module is written, a DrawMapWrapper tool class containing a map style storage and operation function is created; then, a map plug-in source code is written, a map interaction interface is realized, and the map plug-in source code is compiled into a cairo dynamic plug-in; finally, a Web map application is written, the plug-in is dynamically loaded and communicated, and map rendering and related operations are realized.
Owner:NAT UNIV OF DEFENSE TECH

File processing method and device, storage medium and electronic equipment

The invention discloses a file processing method and device, a storage medium and electronic equipment. Relates to the field of financial science and technology, and comprises the steps that a to-be-processed file uploaded by a user is received through a target component, the target component is obtained through development based on a hypertext markup language, a cascading style sheet and a preset programming language, and the target component is deployed in a webpage browser environment of the user; obtaining the file content of the to-be-processed file, and converting the file content to obtain a target character string corresponding to the file content. Through the file transcoding method and device, the problem that in the related technology, when file transcoding is carried out, additional software or a dependency library needs to be installed on user equipment, and compatibility is poor is solved.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

CSS instance generation method and device, electronic equipment and storage medium

The invention discloses a CSS instance generation method and device, electronic equipment and a storage medium, which are used for solving the technical problems of low rule grouping efficiency, low instance mounting efficiency and low application rendering performance and memory efficiency. Comprising the steps of obtaining an original CSS file during Vite construction; the method comprises the following steps: extracting atomic class rules from an original CSS file and grouping the atomic class rules to obtain a plurality of grouping buckets, and generating unique grouping identifiers of the grouping buckets; outputting each grouping bucket as a structured file; when the application is started, creating a browser style sheet instance by adopting the structured file; storing the unique grouping identifier and the browser style sheet instance in a preset cache pool; when it is detected that the component is mounted, identifying a service module to which the component belongs, and querying a target packet identifier list associated with the service module; and obtaining a target browser style sheet instance from a preset cache pool according to the target grouping identifier list, and injecting the target browser style sheet instance into the target DOM node.
Owner:创优数字科技(广东)有限公司

A method, system, device, and storage medium for optimizing complex WebGIS front-ends for traffic system analysis.

This invention relates to the field of traffic system analysis technology, and more particularly to a method, system, device, and storage medium for optimizing complex WebGIS front-ends for traffic system analysis. The method constructs a WebGIS front-end data optimization framework for traffic system analysis, uniformly schedules geospatial data, and implements targeted optimizations at the levels of data transmission, data organization, data caching, and data rendering. It builds a dynamic component-based architecture based on the Vue.js progressive framework, enabling dynamic configuration and generation of traffic analysis functions through JSON configuration files. Simultaneously, it extracts the mapping requirements of traffic system analysis tasks, establishes a mapping relationship between general traffic symbols and preset mapping templates, and constructs a dual-engine rendering adaptation model based on style expressions and style container objects to achieve efficient visualization output of analysis results. This invention can improve the operating efficiency, scalability, and maintainability of WebGIS front-ends in traffic system analysis scenarios.
Owner:四川电力设计咨询有限责任公司