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

42 results about "Code refactoring" patented technology

Code refactoring is the process of restructuring existing computer code—changing the factoring—without changing its external behavior. Refactoring is intended to improve nonfunctional attributes of the software. Advantages include improved code readability and reduced complexity; these can improve source-code maintainability and create a more expressive internal architecture or object model to improve extensibility.

JavaScript code optimization method based on front-end byte code technology

The invention discloses a JavaScript code optimization method based on a front-end byte code technology. According to the method, a conversion tool chain from JavaScript to WebAssembly is provided, acode segment merging strategy is designed, and then a JavaScript performance optimization scheme is provided; and variable type information of each execution path of the program is obtained through dynamic symbolic execution, and a code statement according with a conversion condition is obtained through a screening rule, a C code is generated from a JavaScript code by designing a JavaScript 2C conversion rule, and a WebAssembly code segment is generated through Exscript compiling. And finally, the performance and function consistency before and after optimization are compared through a unit test idea, and the optimization of the code segment is given up if the performance is reduced or the functions are inconsistent. On the other hand, a code segment merging strategy is designed, on the basis of the data dependence relation between the code segments, the code segment merging strategy is provided as the basis of user code reconstruction, the purpose of reducing data interaction performance losses is achieved, and the execution efficiency of the program is further improved.
Owner:NORTHWEST UNIV(CN)

Fine power reconstruction method for fuel assembly

The invention provides a fine power reconstruction method for a fuel assembly. The method includes the steps that 13 boundary conditions of fast group and thermal group node volume flux, neutron flux of the four faces of a node, neutron current and neutron flux of four angular points and a node x-direction and y-direction transverse one-dimensional integral neutron flux expansion function are acquired through calculation of a nodal method; a fast group neutron flux distribution expansion function and a thermal group neutron flux distribution expansion function based on an orthogonal function family primary function are acquired; four boundary conditions are added, bothway integration is conducted on the fast group neutron flux distribution expansion function and the thermal group neutron flux distribution expansion function, and neutron flux distribution restrained by a weighting function is acquired; 17-order expansion coefficients of fast group and thermal group neutron even flux distribution are calculated according to the acquired 13 boundary conditions and the neutron flux distribution restrained by the weighting function; fine power distribution of the fuel assembly is obtained accordingly. The calculation precision and calculation efficiency can be remarkably improved, calculation is easy and convenient, and code reconstruction is easy.
Owner:CHINA NUCLEAR POWER TECH RES INST CO LTD +2

Code reconstruction method, device, equipment and medium

The invention relates to a code reconstruction method and device, equipment and a medium, and relates to the technical field of software engineering. The method comprises the steps of obtaining a request record file, wherein the request record file comprises at least one network request; analyzing a request record file, screening out a target network request in the request record file, wherein thetarget network request is a network request initiated by calling a target API, and a first implementation code corresponding to the target API adopts a first code structure; extracting target interface information corresponding to the target API from the target network request; and generating a second implementation code corresponding to the target API based on the target interface information and a second code structure, wherein the second code structure is different from the first code structure. Compared with the mode of manually analyzing the request record file and determining the interface parameters, the method and the device have the advantages that the target interface information corresponding to the target API can be automatically extracted, the process of analyzing the requestrecord file is simplified, and the code reconstruction efficiency is further improved.
Owner:TENCENT TECH (SHENZHEN) CO LTD

fluid machinery simulation program heterogeneous acceleration method based on a GPU

The invention discloses a GPU (Graphics Processing Unit)-based fluid machinery simulation program heterogeneous acceleration method. The method comprises the following steps of: analyzing a hot spot,and finding a subprogram with an acceleration potential; Reducing and avoiding data transmission between the host devices; Through combination of memory access and utilization of multiple types of memories, the effective memory utilization rate is increased, and the memory access ratio is calculated; Code reconstruction exposes data parallelism, GPU kernel explicit global synchronization lossy data parallelism should be avoided as much as possible; GPU adaptation of the serial algorithm is carried out, and the serial algorithm is replaced with a parallel algorithm with the same function; Thread distribution parameters are adjusted, thread calculation delay is fully hidden by adjusting thread distribution, and calculation throughput is improved; If the ideal effect is achieved through the steps, acceleration is completed, and otherwise, new round of iteration is started from hot spot analysis until the satisfactory effect is achieved. The invention provides the GPU acceleration method aiming at the characteristics of the fluid machinery simulation program, and the modified program can achieve an ideal acceleration effect.
Owner:XI AN JIAOTONG UNIV

Load balanced code reconstruction method, apparatus and device

The invention discloses a load balanced code reconstruction method. The method herein includes the following steps: configuring a parameter for starting the number of load balanced passes in a PDNS configuration file, a parameter for canceling a bugging a TCP request and a parameter for requesting the maximum number of information loss; based on the PDNS configuration file, starting a domain nameanalysis process, wherein the number of the domain name analysis process is one; and creating a linking number collecting transmitting thread and a linking number receiving thread in the domain name analysis process. The method, by starting a domain name analysis process, starts the original linking number collecting transmitting thread and the linking number receiving thread in the form of threads without changing the functions of the original linking number collecting transmitting thread and the linking number receiving thread, such that the load balanced service optimization of multi-passesbecomes load balanced service of a single pass, and the stability of a program is increased, and code maintenance is much easier. The invention also discloses a load balanced code reconstruction apparatus, device and a computer readable storage medium which have the aforementioned beneficial advantages.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD

A Fuel Assembly Fine Power Reconfiguration Method

The invention provides a fine power reconstruction method for a fuel assembly. The method includes the steps that 13 boundary conditions of fast group and thermal group node volume flux, neutron flux of the four faces of a node, neutron current and neutron flux of four angular points and a node x-direction and y-direction transverse one-dimensional integral neutron flux expansion function are acquired through calculation of a nodal method; a fast group neutron flux distribution expansion function and a thermal group neutron flux distribution expansion function based on an orthogonal function family primary function are acquired; four boundary conditions are added, bothway integration is conducted on the fast group neutron flux distribution expansion function and the thermal group neutron flux distribution expansion function, and neutron flux distribution restrained by a weighting function is acquired; 17-order expansion coefficients of fast group and thermal group neutron even flux distribution are calculated according to the acquired 13 boundary conditions and the neutron flux distribution restrained by the weighting function; fine power distribution of the fuel assembly is obtained accordingly. The calculation precision and calculation efficiency can be remarkably improved, calculation is easy and convenient, and code reconstruction is easy.
Owner:CHINA NUCLEAR POWER TECH RES INST CO LTD +2
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products