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

4 results about "Redundant code" patented technology

In computer programming, redundant code is source code or compiled code in a computer program that is unnecessary, such as...

Method, apparatus and device for determining redundant code, and storage medium

This application provides a method, apparatus, device, and storage medium for determining redundant code. The method involves acquiring access data corresponding to multiple page links in a project to be processed, and a file dependency graph corresponding to the project; determining target page links that meet preset conditions based on preset duration and access thresholds, according to the access data corresponding to the multiple page links; identifying cleanable redundant code files based on the target page link data and the file dependency graph; and cleaning up the redundant code files. This technical solution can more accurately clean up redundant code.
Owner:BEIJING XIAKEHUI INFORMATION TECH CO LTD

Front-end page generation method and device, computer device and storage medium

PendingCN122331898AComputer hardwareRedundant code
This invention relates to the field of artificial intelligence technology and discloses a front-end page generation method, apparatus, computer device, and storage medium. The method includes: obtaining a component development file corresponding to a page design source file, wherein the component development file is a front-end page development file generated after the page design source file is transcoded using a transcoding tool; identifying redundant elements in the component development file based on a recognition method corresponding to different development element types, wherein the redundant elements include unreferenced development elements; filtering out redundant code corresponding to the redundant elements in the component development file to generate an optimized component development file; and generating a front-end page corresponding to the page design source file based on the optimized component development file. This method can be applied to front-end page generation scenarios in fintech and healthcare, reducing the file size of the component development file generated after transcoding by the transcoding tool, thereby improving the loading speed of the front-end page.
Owner:CHINA PING AN LIFE INSURANCE CO LTD

An apparatus and method for constructing a web front-end application based on object technology

ActiveCN116149648BWeb applicationRedundant code
This invention discloses an apparatus and method for building web front-end applications based on object technology, belonging to the field of Internet technology. It solves the technical problems of existing technologies for building web front-end applications, such as the high learning cost caused by the separation of HTML, CSS, and JavaScript in traditional native methods; difficulties in data access between components during runtime in component-based methods; instability of common basic code and redundant code during component reuse; and difficulties in code understanding, porting, and debugging due to significant differences between component-based implementations and traditional native methods. It includes a main application base class, page view base class, storage base class, event base class, and loading and packaging tool base class, encapsulating common and basic functions in these base classes, while the specific page and function-related code required by the web application is implemented by their respective derived classes. This invention is convenient and quick to build, has a low learning cost, overcomes the problems of unstable common basic code and redundant code in existing component-based methods, and reduces the complexity of inter-component access and operation.
Owner:CHENGDU SUOJI TECH CO LTD

Search engine query processing method and apparatus

This invention discloses a search engine query processing method and apparatus. The method includes: receiving query code; the query code comprising a custom data structure composed of multiple predefined functions; the predefined functions including query type functions, aggregation functions, and logical type functions; the custom data structure encoding multiple sub-queries in a nested manner; converting the query code into a structured message based on the custom data structure; translating the structured message into a query language according to search engine language specifications; and requesting query results from the search engine using the query language to obtain the query results returned by the search engine. This invention can improve query processing efficiency and reduce redundant code development.
Owner:BEIJING YAKE PAYMENT TECHNOLOGY CO LTD