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

187 results about "Document Object Model" patented technology

The Document Object Model (DOM) is a cross-platform and language-independent interface that treats an XML or HTML document as a tree structure wherein each node is an object representing a part of the document. The DOM represents a document with a logical tree. Each branch of the tree ends in a node, and each node contains objects. DOM methods allow programmatic access to the tree; with them one can change the structure, style or content of a document. Nodes can have event handlers attached to them. Once an event is triggered, the event handlers get executed.

Method and system for automatically generating document according to template and structured data

The invention belongs to the field of data processing, and particularly discloses a method and system for automatically generating a document according to a template and structured data, and the method comprises the steps: processing an archive template file according to a document object model analysis method, extracting the position, the type and the associated tag of a placeholder, and obtaining a placeholder metadata set; according to the placeholder metadata set, traversing a document hierarchical nesting relationship by adopting a depth-first search algorithm to obtain a hierarchical placeholder mapping table; obtaining the structured data of the document repair record through an external data source, judging whether the structured data field corresponds to the tag in the mapping table according to the hierarchical placeholder mapping table, and if so, generating a matching pair list from the field to the placeholder to obtain a preliminary matching data set; the objective of the invention is to solve the problem of a business scene in which complex nested data and file template placeholders cannot be accurately matched in a document repair record in the prior art.
Owner:THREE GORGES HI TECH INFORMATION TECH CO LTD

Document format processing method and system based on large language model, terminal and medium

The invention relates to the field of document processing, and particularly provides a document format processing method, system, terminal and medium based on a large language model.The method comprises the steps that a generation instruction containing a target document type and a source material are received, and original text content is generated through the large language model integrating domain knowledge; obtaining a matched structured format template, and analyzing the style rule into a format instruction set; identifying logic elements and hierarchical relationships thereof in the original text based on a natural language processing technology; performing association mapping on the format instruction and the logic element, and performing automatic style rendering by calling a document object model interface to generate an intermediate document with a standard format; and finally, outputting after quality verification. According to the method, an automatic process of content generation and intelligent formatting is constructed, and the document writing efficiency and normalization are improved.
Owner:浪潮智慧科技有限公司 +2

VMI warehouse inventory dynamic regulation and control method and system based on industrial internet

The invention provides a VMI warehouse inventory dynamic regulation and control method and system based on the industrial internet. The method comprises the steps that a warehouse digital twinborn model is constructed based on warehouse state information of VMI entity warehouse; constructing an initial DOM (Document Object Model) task structure tree by a plurality of sub-tasks obtained by disassembling the received material warehouse-in and warehouse-out order information according to task execution sequence logic; based on the initial DOM task structure tree, simulating an execution process of a material warehouse-in and warehouse-out task in a warehouse digital twin model, and obtaining an abnormal conflict task; performing task optimization based on the task node and the task type of the conflict task to obtain an optimized execution strategy, and updating an initial execution strategy corresponding to the conflict task in the initial DOM task structure tree based on the optimized execution strategy to obtain a target DOM task structure tree; and carrying out warehouse stock regulation and control on warehouse-in and warehouse-out of the materials in the VMI entity warehouse based on the target DOM task structure tree. The overall warehousing operation efficiency is improved.
Owner:GUANGDONG YIQIANYI LOGISTICS TECH CO LTD

Component memory leak detection method and device, computer equipment and storage medium

The invention relates to a component memory leak detection method and device, computer equipment and a storage medium. The method comprises the following steps: when a component creation event of a to-be-detected component is detected, generating a first heap snapshot corresponding to the component creation event of the to-be-detected component, and when a component destruction event of the to-be-detected component is detected, generating a second heap snapshot corresponding to the component destruction event of the to-be-detected component; analyzing the first heap snapshot and the second heap snapshot, and determining target structured data; component instance nodes are determined, and an information mapping table between node unique identifiers and node information of the component instance nodes is constructed; determining candidate memory leak components according to the information mapping table; and determining a target memory leak component from the candidate memory leak components according to the component-created document object model and the component-destroyed document object model of the candidate memory leak components. And the identification precision of the component memory leak scene is improved.
Owner:ZHEJIANG BANGSUN TECH CO LTD

Voice interaction control method and device of browser, electronic equipment and storage medium

The invention provides a voice interaction control method and device of a browser, electronic equipment and a storage medium, and the method comprises the steps: obtaining a voice control instruction input by a user, and determining a target control intention based on the voice control instruction; obtaining a target document object model tree corresponding to the current webpage of the browser; sending the target control intention and the target document object model tree to a server, and receiving at least one control instruction generated by the server based on the target control intention and the target document object model tree; and executing the at least one control instruction, and controlling the webpage to render an interaction result corresponding to the voice control instruction. In this way, the steps of maintaining and developing each website and exhausting all webpage functions to generate the instruction set can be reduced, and the control efficiency of browser voice interaction control can be improved.
Owner:NETEASE (HANGZHOU) NETWORK CO LTD

Graph based technique for automatically identifying a transactions table within a document

A method for automatically identifying a transactions table in a document includes obtaining a document object model of the document. The document object model includes a plurality of nodes and a plurality of edges, with each of the nodes corresponding to a respective element of the document. The method includes generating a plurality of hash values, with each of the plurality of hash values corresponding to a respective node of the plurality of nodes. The method includes determining the document includes a candidate table based on the plurality of hash values. The method includes generating a textual table based on the candidate table. The method includes analyzing one or more columns of the textual table to determine whether the textual table satisfies one or more criteria. The method includes determining the textual table is the transactions table based on determining the textual table satisfies the one or more criteria.
Owner:INTUIT INC

Word document format conversion method based on Java

The invention particularly relates to a Word document format conversion method based on Java. The Word document format conversion method based on Java comprises the following steps: analyzing the content of an original. Doc file, and extracting text paragraphs, tables, pictures, style information and document metadata; the extracted content is divided into different categories, and the XML node type corresponding to each category of elements in the target. Docx document is established; the method comprises the following steps of: constructing a pattern mapping rule base, constructing a new. Docx document structure by using an XWPF Document object model according to an Office Open XML (Extensible Markup Language) specification, sequentially inserting paragraphs, tables and pictures, and applying corresponding pattern configuration; and outputting and generating a. Docx file, detecting and processing abnormal conditions, and recording a conversion log at the same time. The Word document format conversion method based on Java is efficient and accurate, has good compatibility, expandability and cross-platform capability, is suitable for enterprise-level document management systems, cloud services and batch document processing scenes, and remarkably improves document compatibility and processing efficiency of office automation systems.
Owner:SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

Intention recognition and multi-path recall dynamic weighted fusion retrieval method and system

The invention discloses an intention recognition and multi-path recall dynamic weighted fusion retrieval method and system, and the method comprises the steps: processing heterogeneous data such as PDF and pictures through a fruit industry unified document object model, and constructing a multi-type index through semantic adaptive slicing; after user query is preprocessed, intention categories and confidence coefficients are recognized through a fruit industry fine tuning model; performing keyword, vector and map retrieval in parallel, and dynamically distributing fusion weights based on intentions; performing authority, timeliness and consistency voting arbitration on conflict results; and after the answer is generated, the illusion is inhibited through entity and numerical value verification. According to the method, the problems of poor adaptation, model illusion, data islands and conflict arbitration-free of existing single retrieval are solved, the fruit industry retrieval accuracy and reliability are improved, the agricultural production risk is reduced, and the method is suitable for large-scale fruit industry knowledge service.
Owner:YANAN DATA (GROUP) CO LTD

Method and equipment for automatically testing webpage based on multi-modal large model

The invention discloses a method and equipment for automatically testing a webpage based on a multi-modal large model, and the method comprises the steps: navigating to a target webpage according to an input instruction of a user task, and obtaining a webpage screenshot and a webpage structure; according to the layout information of each element in the webpage screenshot, identifying and marking each interactive element according to the identification position; obtaining interactive nodes and text elements in the webpage structure, and constructing a document object model tree; associated text elements corresponding to the interactive nodes are screened out from the text elements, and page description information is generated; and inputting the user task, the marked webpage screenshot and the page description information into a multi-modal large model to obtain structured operation content, converting the structured operation content into an automatic script, and testing the target webpage, so that manual intervention is reduced through full-process automation, the test coverage, the adaptability and the execution efficiency are improved, a test result is ensured to be more reliable, and the test efficiency is improved. The method is especially suitable for a complex webpage structure and a high-frequency iteration test scene.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Construction method for replacing iframe embedded page

The invention discloses a construction method for replacing an iframe embedded page, which comprises the following steps of: replacing an original iframe component with a common component under a front-end framework, and mounting the common component on a DOM (Document Object Model) tree of a main page; obtaining an src link character string which is originally transmitted to the iframe component; analyzing the src link character string, extracting a query character string, and converting the query character string into a parameter object; transmitting the parameter object as an attribute to a common component; and acquiring data in the parameter object by monitoring the change of the attribute in the common component, and driving business logic execution by using the data. Under the condition that routing configuration is not changed, complex control logic is reduced, and the page rendering speed is greatly increased.
Owner:ZHONGHANG ELECTRONIC MEASURING INSTR (XIAN) CO LTD

PDF document generation method and device, electronic equipment and storage medium

Embodiments of the invention relate to the technical field of data processing, and disclose a PDF document generation method and apparatus, an electronic device and a storage medium, the method comprising: obtaining first page data, the first page data being determined by first HTML data input by a user on a target layout style; according to the first page data, a double linked list is constructed, and nodes in the double linked list are used for storing types, contents and styles of HTML elements; converting nodes in the double linked list into document object model (DOM) elements; and generating the PDF document according to the DOM element. By applying the technical scheme, the accuracy of exporting the HTML data into the PDF document can be improved.
Owner:AVATR CO LTD

Medical literature translation method based on large language model and term library

The invention relates to the technical field of medical literature translation, in particular to a medical literature translation method based on a large language model and a term library. Comprising the following steps: S1, reading a to-be-translated document to obtain a document object model (DOM); s2, screening out a special format in the document object model; s3, a translation database is constructed, the translation database comprises a term library, a memory library and an abbreviation library, an Aho-Corasick automaton and a vector index technology are used, the document to be translated is matched with the translation database, and a corresponding matching result is obtained for each translation database; s4, using an AI system to provide a matching result in the step S3 for the AI system as a reference, and completing translation of the to-be-translated document to obtain a translated text; s5, in the translated text translated in the step S4, the special format screened out in the step S2 is restored, and the accuracy and specialty of medical literature translation can be improved.
Owner:北京领初医药科技有限公司

Large language model XPath generation method based on hierarchical composite reward reinforcement learning

The invention discloses a large language model XPath generation method based on hierarchical composite reward reinforcement learning, and the method specifically comprises the following steps: 1, obtaining HTML (Hypertext Markup Language) source codes and page element information of a target webpage, carrying out the data cleaning, and obtaining structured data containing a DOM (Document Object Model) hierarchical sequence structure and an element attribute value; performing data annotation on the structured data after data cleaning to obtain an annotated data set; 2, selecting a basic model, performing supervision and fine tuning on the basic model by using the annotation data set, and taking the basic model subjected to supervision and fine tuning as a strategy model; constructing a layered composite reward function to perform reinforcement learning fine tuning, so that the output hierarchy of the strategy model is aligned with the input DOM hierarchy, and obtaining a final model subjected to two-stage fine tuning; and 3, generating a standard XPath character string, and outputting structured data matched with the input DOM hierarchy to display layer-by-layer construction logic of the standard XPath character string. According to the method, the stable XPath can be generated, and the generation process is completely transparent and traceable.
Owner:HANGZHOU BRANCH INTELLIGENT TECH CO LTD

HTML (Hypertext Markup Language) content intelligent rendering method, device, electronic equipment and system

The invention relates to the technical field of data processing, and discloses an HTML (Hypertext Markup Language) content intelligent rendering method, device, electronic equipment and system.The method comprises the following steps: acquiring a to-be-rendered HTML code, and constructing a DOM (Document Object Model) tree corresponding to the HTML code according to the HTML code; determining target style information corresponding to the DOM tree based on a preset style analysis algorithm; according to the DOM tree and the target style information corresponding to the DOM tree, constructing a Widget tree corresponding to the DOM tree; based on a preset layout optimization algorithm, performing layout optimization operation on the Widget tree to obtain a target Widget tree; and based on a preset loading strategy, rendering the target Widget tree so as to display page content corresponding to the HTML code in the application program. Therefore, the rendering performance and the rendering accuracy of the HTML content in the mobile application can be improved by implementing the method and the device, so that the user experience of browsing and interacting the HTML content in the mobile application is improved.
Owner:SHENZHEN GREEN CONNECTION TECH CO LTD

Method and system for packaging webpage embedded sign language translation JS library

The invention discloses a method and system for packaging a webpage embedded sign language translation JS library, and belongs to the field of electrical digital data processing.The method comprises the steps that by constructing an ECS core architecture with perception feedback, a bidirectional data flow between modules is established to achieve dynamic collaboration of rendering and grammar; predictive streaming resource management is adopted, and resources are intelligently preloaded based on gesture sequence contexts; multi-instance physical isolation is realized by utilizing a sandboxed container and a ShadowDOM (Document Object Model); implementing multi-level adaptive rendering, and dynamically switching a rendering path and a frame rate according to equipment performance; and finally, shielding the bottom layer difference through cross-end unified rendering of the abstraction layer. According to the method, the problems of animation and semantic dislocation, resource loading conflict and poor equipment compatibility in a multi-user concurrent scene are effectively solved, and high-fidelity, low-delay and cross-end consistent experience of sign language translation animation is realized.
Owner:SURELY ACCESSIBLE TECH (SUZHOU) CO LTD +1

Systems and methods for generating test cases for graphical user interface components

A method includes receiving a request to generate one or more test cases, wherein the request specifies a component of a graphical user interface (GUI). The method also includes identifying additional components associated with the component based on the request and a document object model (DOM) associated with the GUI, determining one or more properties associated with the specified component and each additional component of the additional components based on the DOM, generating one or more test cases for the component and each additional component of the additional components based on the one or more properties, and providing instructions to update the GUI. The instructions cause the GUI to indicate the one or more test cases.
Owner:SERVICENOW INC

Document object model (DOM) integrity check using hash verification

Webpage integrity is monitored using hash verification. A hash verification process is implemented to detect unauthorized changes to value field(s) in a webpage's source code and, while the user is conducting an active web session on the webpage, an alert, which may be communicated via the webpage, is generated and communicated to a user in response to determining that there was an unauthorized change.
Owner:BANK OF AMERICA CORP

System and method for predictive protection of cloud-based applications and services

Apparatus and method for predictive protection of cloud-based applications and services. For example, a web application firewall (WAF) detects vulnerabilities in the data traffic and collects relevant information including, for example, the payload type, structure, and specific vulnerability information. For certain vulnerabilities associated with views, the view document object model (DOM) and history of views may be collected. For vulnerabilities related to API calls, the corresponding the API path and history of API calls may be retrieved. The WAF includes a signature controller which decodes the payload (e.g., the JavaScript Object Notation (JSON) structure) and creates a signature of the vulnerability based on the relevant information including, but not limited to, the API path, the web application domain, and / or the URL path. The WAF distributes collected and generated vulnerability information to web browser extensions of the web application which perform mitigations such as generating notifications when a vulnerability is encountered.
Owner:SALESFORCE INC

Automated error identification and remediation based on a plurality of data sources

The present disclosure describes a method and apparatus for an error remediation recommendation process based on multiple data sources. Aspects of the disclosure may provide for processing of a knowledgebase to identify error remediation recommendations, processing of a chat log to identify error remediation recommendations, identification of errors from log data, determination of a corresponding error remediation recommendation from the knowledgebase and / or the chat log, and causing display of output indicating a corresponding error remediation recommendation. Further aspects described may also provide for training of an artificial neural network to determine a corresponding error remediation recommendation. Further aspects described may also provide for a browser extension which scrapes the Document Object Model (DOM) of a web page to identify errors.
Owner:CAPITAL ONE SERVICES LLC

Multi-modal document processing system and method based on WPS COM interface

The invention discloses a multi-modal document processing system and method based on a WPS COM interface, belongs to the technical field of document processing, and aims to solve the technical problem of how to break through semantic limitation of a rule engine and realize deep operation of a document object model. Comprising a WPS COM interface interaction layer, a multi-mode analysis engine, a large model agent module and a conversion execution engine, atomic-scale operation on a document object model DOM is achieved, and document loading, element analysis, format modification and conversion are included; carrying out modal classification and feature extraction on the input data, and carrying out association relationship construction based on the extracted features to generate a standardized structured DOM (Document Object Model) tree; taking the structured DOM tree as input, performing semantic understanding, format mapping and anomaly detection and repair on a document, and generating a document conversion strategy; and converting the strategy generated by the intelligent agent into an executable WPS COM interface instruction sequence.
Owner:SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

Systems and methods for context-aware assistance via overlay-based content capture

Systems and methods are provided for delivering context-aware assistance through an overlay interface. An overlay rendered on a user device captures content of a host application underlying the overlay via a scan-snap process. Captured content is filtered by privacy controls, transmitted securely to a server, analyzed to determine contextual meaning, and used to generate a response displayed in the overlay. In certain embodiments, capture includes document object model (DOM) snapshots, pixel-buffer screenshots, or fusion of DOM and bitmap data, optionally preceded by lightweight on-device optical character recognition. Mobile embodiments invoke the overlay through gesture inputs, while desktop embodiments employ a clipping interface with live preview of the selected capture region. Enterprise-oriented embodiments enforce policy restrictions, mask sensitive fields, and maintain audit logs, while multi-device embodiments synchronize responses across mobile and desktop sessions. The system thereby enables accurate, privacy-preserving contextual assistance without requiring remote access or manual user explanation.
Owner:CELLIGENCE INTERNATIONAL LLC

Small language webpage adaptive acquisition method and device based on large language model

The invention relates to the technical field of artificial intelligence, and discloses a small language webpage adaptive collection method and device based on a large language model.The method comprises the steps that a target small language webpage is loaded and rendered through a headless browser, and a document object model tree structure is obtained; carrying out analysis and semantic annotation on the document object model tree structure based on a large language model, identifying dynamic content nodes and generating a self-adaptive content positioning rule; based on a self-adaptive content positioning rule, performing semantic vectorization on the at least two continuously collected webpage contents, and calculating semantic similarity; querying a preset frequency mapping rule according to the semantic similarity, dynamically adjusting the initiation frequency of a subsequent acquisition request, and generating an acquisition strategy; and executing the acquisition strategy to access the target webpage, and injecting an operation sequence for simulating human interaction behaviors in the acquisition process. Complete collection of the dynamic content of the small language webpage can be achieved, and continuity and stability of the collection process are guaranteed.
Owner:SHENZHEN MINGXIN DIGITAL TECH CO LTD

Webpage keyword interpretation information display method and device, equipment, medium and product

The embodiment of the invention discloses a webpage keyword interpretation information display method and device, equipment, a medium and a product. A specific embodiment of the method comprises the following steps: in response to webpage loading, obtaining keyword interpretation configuration information; in response to the fact that the webpage matching condition is met, keywords in the keyword set are positioned in the document object model, and a positioning result is obtained; for each positioning keyword in the positioning result, performing interpretation icon configuration on the positioning keyword according to the icon configuration information and interpretation information corresponding to the positioning keyword; and in response to an explanation icon selection operation corresponding to any positioning keyword detected in the webpage, displaying explanation information corresponding to any positioning keyword. The embodiment is related to webpage keyword explanation, supports background dynamic configuration of keyword explanation configuration information, can apply different keyword explanations for different pages, reduces the use cost and maintenance difficulty of keyword explanation, and improves the flexibility of keyword prompt.
Owner:JINGDONG TECH HLDG CO LTD

Automatic test document generation method based on intelligent plan making

The invention relates to the technical field of electromagnetic compatibility testing, in particular to a test document automatic generation method based on intelligent plan making. The method comprises the following steps: firstly, locking an effective standard based on environment-standard capability mapping, and triggering cascade constraints to determine a to-be-tested sample and a working mode; then analyzing a script to construct a parameter vector, and executing multi-dimensional Cartesian product operation; in the test data generation process, frequency parameters are extracted to serve as dynamic index keys, real-time retrieval is conducted, standard limit value constraints are injected, and a structured object list with embedded criteria is generated; and finally, positioning to a project XML document tree, serializing and injecting the data, driving a document object model to perform row-level style cloning and data filling by utilizing structured data, and associating resources to generate a persistent file. According to the method, full-coverage generation of the test data and automatic closed-loop of the criterion are realized, the problem of self-adaptive rendering of the variable-length data in a strict-format template is solved, and the completeness and normalization of document generation are improved.
Owner:星汇智云科技(江苏)有限公司

A medical literature translation method based on a large language model and a terminology library

The application relates to the technical field of medical literature translation, in particular to a medical literature translation method based on a large language model and a terminology database; the method comprises the following steps: S1, reading a to-be-translated document to obtain a document object model (DOM); S2, screening special formats in the document object model; S3, constructing a translation database, wherein the translation database comprises a terminology database, a memory database and an abbreviation database; the to-be-translated document is matched with the translation database by using an Aho-Corasick automatic machine and a vector index technology, and a corresponding matching result is obtained for each translation database; S4, the matching result of the step S3 is provided to an AI system as a reference by using the AI system, the translation of the to-be-translated document is completed, and a translation text is obtained; and S5, the special formats screened in the step S2 are subjected to format restoration in the translation text translated in the step S4, and the application can improve the accuracy and professionalism of medical literature translation.
Owner:北京领初医药科技有限公司

Object editing method and system for breaking through function limitation of Office object model based on clipboard and OpenXML (Open Extensible Markup Language)

The invention relates to the technical field of data processing, in particular to an object editing method for breaking through the function limitation of an Office object model based on a clipboard and OpenXML, which comprises the following steps of: S1, calling a Copy method of a target object to copy the target object to the clipboard of a system, so that an Office application automatically serializes the target object into an OpenXML format; s2, opening a system clipboard, and analyzing a target object into an XML document object model; s3, editing the XML document object model in the memory; step S4, verifying whether the edited XML document object model meets the Office Open XML standard or not; s5, the edited XML document object model is serialized into OpenXML data, the clipboard is emptied, and the OpenXML data is written into the clipboard; and step S6, calling a Paste method of the object model, deserializing the OpenXML data into an object of the object model, and creating an object instance in the document. An official mechanism is used and is completely based on a clipboard mechanism provided by Office; data reliability, serialization and deserialization processes are automatically completed by an Office application.
Owner:CHENGDU ESLADE NETWORK TECH CO LTD

Method and device for quickly generating webpage

The invention discloses a webpage rapid generation method and device, and the method comprises the steps: obtaining an original HTML file which is represented by a document object model and comprises a dom element node and a text node; processing logics of the original HTML file are set, the processing logics comprise processing logics of dom element nodes and processing logics of text nodes, and the processing logics of the text nodes comprise the steps that the to-be-modified text nodes are positioned in a node intersection and content matching mode; determining a text style modification mode according to a relationship between a father node of the to-be-modified text node and the to-be-modified text, wherein the processing logic of the dom element node comprises setting a display style of the dom element node and binding a click event to the dom element node; and generating a webpage according to the original HTML file and the processing logic of the original HTML file. According to the method and the device, the text nodes and the dom element nodes can be accurately controlled, and the page generation efficiency is improved.
Owner:CHANGJIANG SECURITIES

Coarse and fine granularity progressive front-end code generation system and method based on diffusion model and knowledge distillation

The invention provides a coarse and fine granularity progressive front-end code generation system and method based on a diffusion model and knowledge distillation. The system comprises an interface skeleton diffusion generation module, an interface skeleton code distillation module and a front-end code progressive fusion module. The interface skeleton diffusion generation module is used for generating a conditional discrete diffusion model facing a UI skeleton, understanding the layout of UI components in an input pixel image and completing the extraction of the layout relationship of the components; the interface skeleton code distillation module is used for completing lightweight implementation of layout code generation by learning a layout structure and a layout code relationship marked by a teacher model based on a knowledge distillation technology; and the front-end code progressive fusion module is used for establishing a relation among pixel map coordinates, a layout structure and a code document object model by utilizing a divide-and-conquer idea, and realizing final code fusion through component coordinates and layout code indexes. According to the method, the front-end low-code generation efficiency and quality are improved.
Owner:HARBIN INSTITUTE OF TECHNOLOGY (SHENZHEN) (INSTITUTE OF SCIENCE AND TECHNOLOGY INNOVATION HARBIN INSTITUTE OF TECHNOLOGY SHENZHEN)

Resolving points of interest by text stylization

A screen reader application traverses each node in a document object model (DOM) for the text stylization. Properties for foreground color, background color, font type, font size and font stylization are algorithmically reduced to an identifier. Each node in the DOM with the same identifier has the same text stylization. Unique and infrequent text stylizations by a webpage author signal a point of interest. The screen reader application locates and navigates to that node in the DOM on behalf or in response to the end user. Points of interest are further identified by a number of additional factors. A first includes percentage of text of having the text stylization versus total text in the DOM. A second includes excluding candidate point of interest nodes having more than 250 characters. Others include imposing minimum font sizes and text contrast ratios to qualify as a point of interest.
Owner:FREEDOM SCI INC

Document streaming layout rendering method and device based on configuration driving

The invention relates to the technical field of document typesetting, in particular to a document streaming layout rendering method and device based on configuration driving. The method comprises the following steps: defining a four-dimensional generation key value pair configuration file according to document attributes, page layout, component geometry and styles, and verifying the key value pair configuration file; converting the configuration node into a document object model through an analysis engine; receiving external business data, positioning a dynamic slot position in the model, filling data, and generating a to-be-rendered instance tree; constructing a component rendering factory based on the strategy mode, and dynamically instantiating a corresponding rendering strategy class; and calculating the geometric position of the component by adopting a streaming typesetting algorithm, paging according to requirements, generating and executing a drawing instruction, and outputting a PDF (Portable Document Format) document. Aiming at the problems of code and style coupling, out-of-control typesetting and high operation threshold in the existing scheme, layout and code decoupling, high-precision typesetting and low-threshold configuration are realized, the method is adaptive to the requirements of multiple scenes such as finance and medical treatment, and the expansibility is high.
Owner:SILIDI SEMICON (SUZHOU) CO LTD