Patents
Literature
Hiro is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Hiro

35 results about "Stencil code" patented technology

Stencil codes are a class of iterative kernels which update array elements according to some fixed pattern, called a stencil. They are most commonly found in the codes of computer simulations, e.g. for computational fluid dynamics in the context of scientific and engineering applications. Other notable examples include solving partial differential equations, the Jacobi kernel, the Gauss–Seidel method, image processing and cellular automata. The regular structure of the arrays sets stencil codes apart from other modeling methods such as the Finite element method. Most finite difference codes which operate on regular grids can be formulated as stencil codes.

Method and apparatus for hierarchical Z buffering and stenciling

A method and apparatus for hierarchical Z buffering stenciling includes comparing an input tile Z value range with a hierarchical Z value range and a stencil code. The method and apparatus also updates the hierarchical Z value range and stencil code in response the comparison and determines whether to render a plurality of pixels within the input tile based on the comparison of the input tile Z value range with the hierarchical Z value range and stencil code. In determining whether to render the tile, a stencil test and a hierarchical Z value test is performed. If one of the test fails, the tile is killed as it is determined that the pixels are not visible in the graphical output. If the stencil test passes and the hierarchical Z test passes, the pixels within the tile are rendered, as it is determined that the pixels may be visible.
Owner:ATI TECH INC

System and method for image compression

A system and method for compressing digital image data. An image may be divided into sub-regions. A maximum number of template codes may be determined for representing each sub-region, each template code uniquely identifying a template pattern in a dictionary. Each of a plurality of the sub-regions may be associated with a plurality of template patterns, each of which individually does not match the sub-region, but which when combined together more closely match the sub-region. A compressed data set may be generated for the image, in which each sub-region is represented by up to the maximum number of template codes uniquely identifying the associated plurality of template patterns. The up to the maximum number of template codes may be transmitted for each sub-region from the compressed data set, wherein the maximum number of template codes is a dynamic parameter adjustable based on the bandwidth available for transmitting.
Owner:KALTURA INC

Method, device, apparatus and medium for tuning super-parameters in machine learning model

The invention provides a method, a device, an apparatus and a medium for optimizing super parameters in a machine learning model. The method comprises: acquiring a template code for training a machinelearning model, wherein the template code identifies a respective set of values of each of one or more hyperparameters; parsing the template code to identify the respective set of values of one or more super parameters; generating at least partial combinations of values of one or more super parameters based on respective sets of values of the one or more super parameters; acquiring an evaluationresult on a model effect obtained by training a machine learning model according to each of at least partial value combinations; and determining an optimal value of one or more super-parameters of themachine learning model based on the evaluation results. Thus, the consumption of manual parameter adjustment can be reduced, and the development efficiency of machine learning (such as deep learning)can be effectively improved.
Owner:THE FOURTH PARADIGM BEIJING TECH CO LTD

Method and system for updating tuning parameters of a controller

A method and system for updating tuning parameters associated with a controller without repetitive compilation of a controller code. The controller code represents an algorithm associated with the controller and can be compiled separately from a data set representing a solution for an optimization problem and also from a data set representing parameters required for prediction. The algorithm can be implemented in a programming language code suitable for implementation on an embedded platform or other types of computer platforms. The data sets can be represented in a specified data structure and the variables associated with the data structure can be declared in the controller template code. The variables can be updated independently without varying the compiled code associated with the controller algorithm that is referring to the variables. The controller can also be updated while the controller actively performs online. Such an approach enables repetitive tuning of the controller without repetitive compilation of the code representing the controller algorithm.
Owner:HONEYWELL INT INC

Method and apparatus for hierarchical Z buffering and stenciling

A method and apparatus for hierarchical Z buffering stenciling includes comparing an input tile Z value range with a hierarchical Z value range and a stencil code. The method and apparatus also updates the hierarchical Z value range and stencil code in response the comparison and determines whether to render a plurality of pixels within the input tile based on the comparison of the input tile Z value range with the hierarchical Z value range and stencil code. In determining whether to render the tile, a stencil test and a hierarchical Z value test is performed. If one of the test fails, the tile is killed as it is determined that the pixels are not visible in the graphical output. If the stencil test passes and the hierarchical Z test passes, the pixels within the tile are rendered, as it is determined that the pixels may be visible.
Owner:ATI TECH INC

A processing method and device for converting a page application into a native application

The invention provides a processing method and device for converting a page application into a native application, and the method comprises the steps of carrying out the traversing of a document object model corresponding to the page application, so as to obtain the attribute information of each node in the document object model; generating a reference description language corresponding to the document object model according to the attribute information of each node in the document object model, the reference description language being any language which can be directly converted into a nativeapplication code; analyzing the reference description language to generate a native application layout code corresponding to the page application; and inserting the layout code into a preset templatecode to generate a native application code corresponding to the page application. By means of the method, the webpage layout and the style code can be automatically converted into the flutter code, manual conversion by a developer is not needed, the code conversion efficiency is improved, and the technical problems that in the prior art, the conversion process is complex, and the development efficiency is low due to the fact that the webpage layout and the style are manually converted into the code of the flutter frame are solved.
Owner:TIANJIN BYTEDANCE TECH CO LTD

Method for conducting storage analyzing on general invoice data

The invention discloses a method for conducting storage analyzing on common general invoice data. Database table single recording, invoice fast checking, a microstructure and JAVA reflection kind secondary analyzing are used; trunk and detail main information is automatically identified through an invoice template base class; a corresponding specific invoice template class is found from an automatic template management class through a template code analyzed in the template base class; a specific invoice template class is generated through a reflection technology, and nodes in the microstructure are completely analyzed; finally, the specific invoice template class is sent back. The completeness and the consistency of invoice data can be ensured, secondary analyzing does not need to be conducted, fast inquiry can be directly conducted, secondary analyzing work can be automatically conducted on the microstructure, the microstructure is easily packaged, and the access of invoices is simplified.
Owner:JIANGSU AISINO TECH

OVSDB client code automatic generation method, system and device and medium

The invention discloses an OVSDB client code automatic generation method, system and device and a medium. The method comprises the steps: acquiring a to-be-analyzed Schema file and performing validitycheck; defining an analyzed data format, and analyzing the content in the valid Schema file into the data format; generating a database Go language code based on the analyzed data, comprising: generating a public code in combination with a template code file; generating a code of each table item in combination with the template code file; and formatting the generated code. According to the method, all codes are generated by using a pre-written template code file, a user is prevented from directly constructing database operation codes by generating the table entries of the OVSDB to achieve addition, deletion, modification and query, and unstructured character string mapping is avoided by using structured table entry data, so that the difficulty of integrating the OVSDB in a Go language project is reduced, and the code readability and maintainability are improved.
Owner:PURPLE MOUNTAIN LAB

Micro-service management system capable of automatically generating codes and code generation method

The invention provides a micro-service management system capable of automatically generating codes and a code generation method. The system comprises a system division unit management module, a basicinformation management module, a code generation module and a code transmission module, the code generation module is used for generating a micro-service application code according to the basic information of the micro-service application and the micro-service application template code, and generating a micro-service interface code according to the basic information of the micro-service interfaceand the micro-service application code; the code transmission module is used for sending a micro-service application template code to the code generation module and uploading a micro-service application and a micro-service interface code to the code storage module. According to the method, the system development difficulty under the micro-service architecture is effectively reduced, the code availability is improved, the error rate is reduced, and great convenience is provided for micro-service system research and development, software integrity maintenance, software rapid iteration and rapiddemand landing.
Owner:SHANDONG UNIV

Interface code generation method and device, electronic equipment and computer readable medium

The embodiment of the invention discloses an interface code generation method and device, electronic equipment and a computer readable medium. A specific embodiment of the method comprises the steps of generating template codes based on project configuration information of a target project; converting a target graphical interface into a component tree, wherein the target graphical interface is generated through target operation acting on an interface component in an online editing interface; analyzing component information included in each node in the component tree to generate a component analysis information set; and based on the component analysis information set, adjusting the template codes to generate interface codes. According to the embodiment, the development cycle of the interface codes is shortened, and meanwhile, the interface effect corresponding to the interface codes can be visually seen in the development process.
Owner:BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD

View element state management method and device, electronic equipment and storage medium

The embodiment of the invention provides a view element state management method and device, electronic equipment and a storage medium. The method comprises the steps: acquiring the target state behavior of the target view element, determining the target management tool according to the target state behavior in the state management library, and calling the target management tool to process the target state behavior, so as to determine a new state of the target view element. According to the state management library, the state behavior and the logic processor for processing the state behavior are combined together to form the management tool, when the state behavior is processed, the management tool is directly instantiated, state updating can be completed, state behavior transmission through a plurality of transfer modules in the prior art is not needed, and the technical problems of excessive template codes, weak type support and complex interface definition of a state management framework in the prior art are solved. The technical effects of simplifying a state management framework, greatly reducing template codes and being suitable for a Type Script type system are achieved.
Owner:BEIJING YOUZHUJU NETWORK TECH CO LTD

Page program generation method and device, computer equipment and storage medium

The invention provides a page program generation method, which is applied to terminal equipment, and comprises the following steps: in response to a received template acquisition instruction, acquiring an original program template corresponding to the template acquisition instruction; the original program template comprises original template code files respectively corresponding to various original function logics of the page; the original template code file is organized according to a standard directory structure corresponding to the original program template; in response to a screening operation on the various original function logics, generating a target program template based on an original template code file corresponding to a target function logic determined by the screening operation; receiving editing information of the target program template, and generating a target page program based on the editing information and the target program template.
Owner:BEIJING BYTEDANCE NETWORK TECH CO LTD

Optimal control problem solver construction method and system

The invention belongs to the technical field of electromechanical coupling system simulation, and discloses an optimal control problem solver construction method and system. The optimal control problem solver construction method comprises the steps of: obtaining a model intermediate code of a controlled object; obtaining a template code of an optimal control problem, and performing instantiation processing on the template code to obtain a model code of the current optimal control problem; performing code combination on the model intermediate code and the model code to obtain a solution code for calculating an optimal solution of the current optimal control problem; and compiling the solution code to obtain an optimal control problem solver. According to the method, the integration of modeling and solving of the optimal control problem in the simulation process of an electromechanical coupling system is realized, the automation degree of simulation of the electromechanical coupling system is improved, and meanwhile, the simulation efficiency and the simulation flexibility of the electromechanical coupling system are also improved.
Owner:武汉鼎元同立科技有限公司

Language processing method and device, medium and electronic equipment

The invention provides a language processing method and device, a medium and electronic equipment. The method comprises the steps of obtaining multiple pieces of setting node information associated with a template syntax tree; traversing nodes in the template syntax tree by adopting each set node information to obtain matched node information; utilizing each piece of matching node information to respectively obtain a corresponding matching node code identifier, and storing the matching node code identifier into the corresponding matching node information; and after all nodes in the template syntax tree obtain the corresponding matching node code identifiers, restoring the matching node code corresponding to the matching node code identifier of each node by utilizing the template syntax tree to generate a template program code. According to the method, the relationship of the template codes is constrained by utilizing the characteristics of the template syntax tree. And meanwhile, the node information is set, so that the matching flexibility and universality are improved. And the template program code generation efficiency is improved. Template codes do not need to be written, and the error rate is reduced.
Owner:BEIJING BYTEDANCE NETWORK TECH CO LTD

Complete code generation method and device, equipment and storage medium

ActiveCN110874216ASolve the problem of cumbersome implementation processWith simplicityIntelligent editorsSoftware reuseCode generationMaintainability
The embodiment of the invention discloses a complete code generation method and device, equipment and a storage medium. According to the method, a code source file is recognized, If it is determined that a target label is recognized in the code source file, a standard template code matched with the target label is obtained; generating a target adding code corresponding to the target label according to the standard template code; determining an adding position of the target adding code in the code source file according to the position of the target label in the code source file, and adding thetarget adding code at the adding position; codes in a new code source file obtained after recognition processing is finished serve as complete codes, the problem that the code implementation process in dynamic permission application is tedious is solved, simple and convenient code reproduction is achieved, and the codes have conciseness and maintainability.
Owner:GUANGZHOU HUYA INFORMATION TECH CO LTD

Code generation method, device and equipment and storage medium

The embodiment of the invention discloses a code generation method, device and equipment and a storage medium, and belongs to the technical field of computers. The method comprises the steps of analyzing interface data to obtain at least one field name and a field type of each field name, obtaining a corresponding template code according to each field type, and combining each field name with the template code corresponding to the field type of each field name to obtain an interface code corresponding to the interface data. Therefore, the corresponding interface code can be automatically generated according to the interface data, manual writing is not needed, manpower and time can be saved, the generation efficiency of the interface code is improved, the situation of code writing errors caused by manual code writing can be avoided, and the accuracy of the interface code is improved.
Owner:GUANGZHOU KUGOU COMP TECH CO LTD

System and method for image compression

A system and method for compressing digital image data. An image may be divided into sub-regions. A maximum number of template codes may be determined for representing each sub-region, each template code uniquely identifying a template pattern in a dictionary. Each of a plurality of the sub-regions may be associated with a plurality of template patterns, each of which individually does not match the sub-region, but which when combined together more closely match the sub-region. A compressed data set may be generated for the image, in which each sub-region is represented by up to the maximum number of template codes uniquely identifying the associated plurality of template patterns. The up to the maximum number of template codes may be transmitted for each sub-region from the compressed data set, wherein the maximum number of template codes is a dynamic parameter adjustable based on the bandwidth available for transmitting.
Owner:KALTURA INC

Plug-in system based on dynamic template compiling technology and implementation method thereof

The invention relates to the technical field of low-code development platforms, and discloses a plug-in system based on a dynamic template compiling technology and an implementation method thereof. The system comprises a form generator, a template code editor and a code generator; the form generator is responsible for conditional rendering of a basic component, meanwhile, for processing basic code compiling control logic, and then forming a section of JSON file used for describing the whole form; the template code editor is responsible for establishing Python code generation mapping, compiling a generation template of a Python code and generating a section of pseudo Python code; and the code generator combines the pseudo Python code with the JSON file, and finally compiles the pseudo Python code into an executable Python code. The plug-in system of the low-code development platform is based on an ingenious dynamic template compiling technology, and the safety of the whole plug-in system and the expandability of the whole low-code development platform are improved.
Owner:达而观数据(成都)有限公司

Rapid application building method based on MVVM framework and computer equipment

PendingCN114371842ASolve the need to write a lot of template code (basic frameworkSolve create pageModel driven codeFunctional expansionFrame based
The invention discloses a rapid application building method based on an MVVM framework. The method comprises the following steps: creating a project in a modular form; creating a basic module in the project, and creating a view layer of the basic module and a basic interface function of a view model layer according to an MVVM architecture; respectively packaging the basic interface functions of the view layer and the view model layer to obtain a basic VM view layer base class and a basic view model layer base class, and injecting the basic view model layer base class into the basic VM view layer base class; packaging the basic VM view layer base class for the second time to obtain a basic view layer base class; and other functional modules create specific view layer instances according to the basic view layer base class and the basic view model layer base class in the basic module. By adopting the method disclosed by the invention, the template code quantity can be effectively reduced, a developer can conveniently create a new module, perform function extension, project configuration and the like, and the development efficiency is improved.
Owner:南京星云数字技术有限公司

Code generation method and device based on data model, equipment and storage medium

The embodiment of the invention discloses a code generation method and device based on a data model, equipment and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: acquiring a data model, wherein a plurality of graphs of the data model indicate description information and an association relationship of a data table, wherein the data model is a visual data model, and a user can obtain the description information and the incidence relation of the data table by checking the connection relation between the graphs; converting the plurality of graphs into corresponding first code elements, and performing combination according to the first code element and the template code to generate a data processing code corresponding to the data model. The code is automatically generated through the data model, the code corresponding to the data model does not need to be written manually, manpower and time are saved, and the code generation efficiency is improved. Moreover, the data processing code corresponding to the data model is automatically generated, and the data processing code corresponds to the data model, so that the situation that the data processing code does not correspond to the data model can be avoided.
Owner:TENCENT TECH (SHENZHEN) CO LTD

Structured comprehensive control system integration method and device

ActiveCN111142861AAnalysis is efficient and fastParses configuration information and generates efficient and fast code based on predetermined code templatesSoftware testing/debuggingIntelligent editorsControl systemClosed loop testing
The invention discloses a structured comprehensive control system integration method and device, and relates to the field of software, the method comprises the following steps: acquiring configurationinformation including interface equipment parameters, single process parameters, special process parameters and reusable algorithm parameters; and analyzing the configuration information in combination with a predetermined rule, generating a code of each level according to a predetermined code template, and performing code verification on the code, the code verification including static code quality inspection and runtime self-closed loop test. By acquiring the configuration information and combining with the predetermined code template, the universal code can be generated conveniently, efficiently and quickly, and code analysis can be performed on the universal code; program coupling is reduced, the development efficiency of developers is improved, the development time is saved, the software developers are liberated from a traditional software development mode, and the situation that a large amount of manpower is wasted on compiling of template codes is avoided.
Owner:XIDIAN UNIV

Swift code processing method and device, electronic equipment and storage medium

The embodiment of the invention provides a Swift code processing method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining a grammar dictionary corresponding to a general Swift code from a Swift code file of an application project file during code compiling, then converting the general Swift code into a specific template code according to a data template, and sending the specific template code to a server; according to the method and the device, the replacement of the universal Swift code in the application project file is realized, the workload of code writing is effectively reduced, the problem of type analysis errors caused by code handwriting by developers can be avoided, and the running stability of the application program is ensured.
Owner:BEIJING 58 INFORMATION TTECH CO LTD

A PLC programming expansion system, method and electronic equipment

The embodiment of the present invention provides a kind of PLC programming extension system, method and electronic equipment, and this system comprises CPU central processing unit, memory, PLC programming software and IDE development platform, described CPU central processing unit and PLC programming software are respectively connected with described memory connected, the IDE development platform is connected with the PLC programming software. The PLC programming expansion system, method and electronic equipment provided by the embodiments of the present invention can directly configure function block definitions through the IDE development platform, and generate C language template codes, realizing the ability to repeatedly call codes on the basis of template codes Effect; It also realizes IEC61131‑3 language level interoperability call and ease of use, and can also solve the problem of PLC power loss and data loss.
Owner:KYLAND TECH CO LTD

Patch generation method, device and equipment and storage medium

The invention relates to the technical field of computers, and discloses a patch generation method, device and equipment and a storage medium, and the method comprises the steps: obtaining a to-be-updated file and an updating file, and obtaining the discrimination information of the to-be-updated file and the updating file; obtaining a target program package according to the distinguishing information; decompiling the target program package, and obtaining a target distinguishing code according to the distinguishing information and a decompiling result; performing reflection processing on the target distinguishing code to generate a reflection code; and generating a patch according to a preset patch template code and the reflection code. According to the invention, the difference information between the update file and the to-be-updated file is obtained, and then the program package is obtained according to the difference information for decompilation to generate the patch. The patch generation efficiency in the thermal repair process is improved, and the patch generation time is saved.
Owner:苏州三六零智能安全科技有限公司

Structured integrated control system integration method and device

ActiveCN111142861BAnalysis is efficient and fastGenerate efficient and fastSoftware testing/debuggingIntelligent editorsControl systemClosed loop testing
The invention discloses a structured integrated control system integration method and device. It relates to the field of software, wherein the method obtains configuration information including interface device parameters, single process parameters, special process parameters, and reusable algorithm parameters, analyzes the configuration information in combination with predetermined rules, and generates codes of various levels according to predetermined code templates, Perform code verification on the code, code verification includes: static code quality inspection and runtime self-closed-loop test. By obtaining configuration information and combining predetermined code templates, it is easy to operate, efficiently and quickly generate general-purpose code and perform code analysis on it, which reduces program coupling, improves the development efficiency of developers, saves development time, and transforms software developers from the traditional Freed from the software development model, to avoid a lot of manpower wasted on the template code.
Owner:XIDIAN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products