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.

Methods and systems for predicting software defects in an upcoming software release

The present invention provides a novel way to forecast the number of software defects for an upcoming software release. The systems and methods of the present invention involve evaluating the relative size of the upcoming software release with respect to a baseline software release, and estimating the number of expected defects based on the relative size of the upcoming software release and the number of observed software defects for the baseline release. Additional robustness may be achieved by adjusting the forecast to take into consideration regression defects that were detected in the baseline release as well as any code re-factoring. The present invention may be used in various applications such a project management system to allow a project manager to allocate sufficient resources to handle software defects, and to plan accordingly. In various embodiments, a metric is provided to measure the quality achieved after product implementation, based on the forecasted number of software defects.
Owner:JPMORGAN CHASE BANK NA

System and methodology for asynchronous code refactoring with symbol injection

A system and methodology for asynchronous code refactoring with symbol injection is described. In one embodiment, for example, a method is described for refactoring a plurality of interdependent software modules that reside in separate projects, the method comprises steps of: in response to a change that affects a particular symbol of a software module that resides in a first project, refactoring the software module of the first project to propagate the change to all instances of the particular symbol in the software module; during the refactoring of the software module of the first project, recording meta data about the refactoring that is required to effect the change; and automatically propagating the change to a dependent software module residing in a second project, by refactoring the dependent software module based on the recorded meta data about the refactoring that occurred to the software module of the first project.
Owner:BORLAND

Methods of optimizing legacy application layer control structure using refactoring

In accordance with embodiments of the present invention, methods and systems redesign a business application composed in a first programming format by receiving a model representing the business application in a second programming format and processing the model using a code refactoring tool in the second programming format. A modification to the model made by the code refactoring tool is analyzed and applied, in the first programming format, to the business application.
Owner:SAP AG

Method of, system for, and computer program product for providing efficient utilization of memory hierarchy through code restructuring

InactiveUS6839895B1Reducing memory hierarchy access costReducing cache missSoftware engineeringProgram controlCode refactoringUndirected graph
Code restructuring or reordering based on profiling information and memory hierarchy is provided by constructing a Program Execution Graph (PEG) corresponding to a level of the memory hierarchy, partitioning this PEG to reduce estimated memory overhead costs below an upper bound, and constructing a PEG for a next level of the memory hierarchy from the partitioned PEG. The PEG is constructed from control flow and frequency information from a profile of the program to be restructured. The PEG is a weighted undirected graph comprising nodes representing basic blocks and edges representing transfer of control between pairs of basic blocks. The weight of a node is the size of the basic block it represents and the weight of an edge is the frequency of transition between the pair of basic blocs it connects.
Owner:IBM CORP

Method for digital color grading of gems and communication thereof

A computer based expert system and method of grading gems by their inherent properties of shape and color, including hue-tone-saturation. Each of the properties is variable over a practical range derived from a data-base; the database prepared by digital methods from real gems. The grading is conducted interactively on-screen by visual comparison to the image of a real target gem, and the result, translated into alpha-numeric code, can be communicated by phone or via the Internet to any other user of the same system and database. The communicated code can be reconstructed by the system into an identical gem image, enabling remote discussion and evaluation of the same target gem, including matching and pairing of gems. A practical embodiment of the grading system and method is described, including application modes specifically aimed at gems and diamonds.
Owner:SEVDERMISH MENAHEM

Error recovery in RFID reader systems

RFID systems, devices, software and methods are adapted for receiving from an RFID tag at least waves that communicate at least a first version of its code. An output tag code is output that is the same as the first version, if a fidelity criterion is met regarding the first version. If not met, the output tag code is instead a final version that is reconstructed from the first version, and also from any additionally optionally subsequently received versions. In some embodiments, an error recovery block includes a subcomponent fidelity criterion checking block that can determine whether the fidelity criterion is met, and a code reconstruction block that can derive the final version.
Owner:IMPINJ

Correct refactoring of concurrent software

Automated refactorings as implemented in modern IDEs for Java usually make no special provisions for concurrent code. Thus, refactored programs may exhibit unexpected new concurrent behaviors. We analyze the types of such behavioral changes caused by current refactoring engines and develop techniques to make them behavior-preserving, ranging from simple techniques to deal with concurrency-related language constructs to a framework that computes and tracks synchronization dependencies. By basing our development directly on the Java Memory Model we can state and prove precise correctness results about refactoring concurrent programs. We show that a broad range of refactorings are not influenced by concurrency at all, whereas other important refactorings can be made behavior-preserving for correctly synchronized programs by using our framework. Experience with a prototype implementation shows that our techniques are easy to implement and require only minimal changes to existing refactoring engines.
Owner:INT BUSINESS MASCH CORP

Encryption device, encryption system including the encryption device, decryption device and a semiconductor system including the decryption device

A data / code conversion device receives confidential information, converts the confidential information into instruction codes for making a CPU provided in a semiconductor device perform its operation, and stores the instruction codes as dummy instruction codes in an external memory. One of the confidential information of which corresponding instruction code does not exist is converted into another instruction code as a dummy instruction code and stored, and correction data for reconstructing the confidential information from the instruction code is also stored in the external memory. In the semiconductor device, a decryption circuit for receiving the dummy instruction codes and the correction data stored in the external memory and performing decryption to obtain the confidential information is provided. Therefore, leakage of confidential information stored in the external memory can be reliably prevented with a relatively simple structure, so that the security level is increased.
Owner:PANASONIC CORP

A method and system for improving the efficiency of a big data comprehensive inquiry engine based on Hadoop

The invention discloses a method and system for improving the efficiency of a big data comprehensive inquiry engine based on Hadoop, which utilizes the advantages of each calculation engine and avoidsthe disadvantages of each engine through technical means to achieve the effect of improving the efficiency of the big data inquiry. In the interface required for real-time stream processing, the invention switches the engine to Spark, and then switches the task to batch processing after the task is finished, which greatly reduces the repulsive influence of the new computing engine on the previouscomputing engine, and reduces the service code reconfiguration of the developer, especially relates to the complex service calculation on the old computing engine. The intelligent switching of the calculation engine of the invention improves the comprehensive inquiry efficiency of the big data and improves the adaptability of the business scene.
Owner:SHANGHAI PAIBO SOFTWARE CO LTD

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)

An e-commerce platform implementing system and method based on micro-service technology

The invention discloses an e-commerce platform implementing system and method based on a micro-service technology. In the traditional architecture of the mall project, the business that needs to be disassembled is disassembled horizontally into applications with professional services, and the bottom layer implementation with specific functions is disassembled vertically as a service, so that the code reconfiguration from the traditional architecture of the mall project to the micro-service architecture of the mall project is realized step by step. In addition, the gateway, the application, service combined with cache handle service logic with high complexity, rich information and high access frequency so as to enable users to obtain the information needed to access quickly and efficiently,and reduce the server pressure. Moreover, the synchronous / asynchronous remote invocation is realized through the cooperation of MQ and Dubbo, which improves the logic processing efficiency of micro-service.
Owner:SHANGHAI AILONG INFORMATION TECH

Successive approximation analog-to-digital converter and conversion method thereof

A successive approximation analog-to-digital converter and conversion method thereof are provided, the successive approximation analog-to-digital converter includes a segmented-multiple-stage capacitor array with redundancy bits, a comparator, a weight-storage circuit, a code reconstruction circuit and a control logic circuit. The successive approximation analog-to-digital converter helps to decrease the complexity of circuit design, featuring small size and low power. Without auxiliary capacitor array, switches and control logic, the circuit can work to precisely measure and correct capacitor mismatch errors.
Owner:CHONGQING GIGACHIP TECH CO LTD

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

Parameterized user interface development tool and method

The invention provides a parameterized user interface development tool and method. Parameterized control objects with editable attribution commands are loaded into an interface, and self-defined setting of parameters of interface objects and parameters of the control objects is carried out; interfaces are named after different sequence identifications to form sequence interfaces; events of objects in the sequence interfaces are defined; other sequence interfaces of interaction event results are correspondingly introduced for the sequence interfaces to generate a project subfunction interaction item. Then code refactoring operations are carried out, and a development file is generated and stored on a tool software background. UI design can be systematized and combined with software development wholly, so that UI controls and effects can be quickly copied, and interface function development efficiency is improved.
Owner:PHICOMM (SHANGHAI) CO LTD

Software architecture by untangling undesired code level dependencies using code refactoring

A method of improving software architecture by untangling undesired code level dependencies is provided herein. The method includes the following stages: generating an abstract representation of a computer code in a form of a code model; recording manipulations to the computer code applied by a user to the code model; calculating a series of refactorings in the computer code that represents the recorded manipulation; and carrying out the refactorings within the computer code. Specifically, some of the refactorings include separating low level software elements on the method level in response to the user manipulations of the model.
Owner:IBM CORP

Data quality big data treatment implementing method, electronic device and storage medium

The invention discloses a data quality big data treatment implementing method. The method includes the following steps of extracting page data according to a first preset rule and classifying the pagedata according to a second preset rule to form metadata corresponding to a corresponding type, conducting code refactoring on the page data on the basis of a program analysis technology to automatically generate a service interface, combining the page data, rule identification corresponding to the first preset rule and data source information of the page data to form a data file, and sending thedata file to a server so that the data file can be analyzed and storage by the server. Data reconstruction can be achieved without depending on an existing manufacturer by means of a data support implementing API interface, and the technical implementation of a data quality treatment mode can be conducted under the conditions of a closed data base, a lacked file source code, an absent developmentteam and a third-party commercial component.
Owner:FOSHAN POWER SUPPLY BUREAU GUANGDONG POWER GRID

Edge computing-oriented cross-system platform compiling method

The invention relates to an edge computing-oriented cross-system platform compiling method, which comprises the following steps of: establishing an API abstract function library, and storing a mappingrelationship from an API abstract function to a target system function; marking an API abstract function in the function block program; matching the marked API abstract function with a pre-stored target system function, replacing the successfully matched API abstract function with the corresponding target system function according to the reconstruction content and the mapping relationship, and implementing code reconstruction; and compiling the reconstructed code to generate a file which can be operated by the target system platform. The invention discloses a compiler. According to the invention, code reconstruction oriented to a specific platform is automatically realized before compiling; cross-operating system use of the IEC 61499 functional block is realized, unified deployment and operation of the functional block in each operating system platform in the distributed system are facilitated, and further application and development of the IEC 61499 standard in the industrial internet edge computing distributed system are promoted.
Owner:SHENYANG INST OF AUTOMATION - CHINESE ACAD OF SCI

Code reconstruction method and device

The invention provides a code reconstruction method and device, and the method comprises the steps: carrying out the static code analysis of a to-be-reconstructed code, so as to generate an abstract syntax tree; reconstructing the abstract syntax tree according to a preset function code mark in the to-be-reconstructed code; and generating a source code file according to the reconstructed abstractsyntax tree. According to the code reconstruction method and device provided by the invention, automatic reconstruction of waste codes is realized, the maintainability of the codes is improved, the compiling time of the codes is shortened, and the code complexity is reduced.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

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

Storage management software design scheme based on frontend-backend separation

The invention discloses a storage management software design scheme based on frontend-backend separation. The method comprises the steps that by agreeing on a set of interface standards on the frontend and the backend of the management software implementation process, a frontend-backbend interactive interface is designed and developed according to the agreed-upon interactive interface, separation and decoupling of frontend-backend development are achieved, and the frontend is thoroughly liberated. Accordingly, the frontend is thoroughly liberated, the frequency and workload of reworking of the frontend are lowered, the working process of frontend-backend separation can make the frontend only focuses on things of the frontend and make the backend only focuses on work of the backend, development of the frontend and the backend can be conducted simultaneously, the work efficiency is improved, division of labor is more definite, the problem can be very rapidly located and found, backend staff do not need to participate in or debug client problems any more, code refactoring and maintainability are enhanced, and the maintenance cost is lowered.
Owner:ZHENGZHOU YUNHAI INFORMATION TECH CO LTD

Terminal, and service processing method thereof

The invention provides a terminal, and a service processing method thereof. The terminal comprises a separation module, an application module, and a display module, wherein the separation module is used for performing user interaction (UI) separation on a system structure of the terminal; the application module is used for processing the application after the UI separation; and the display module is used for processing the display after the UI separation. Through the terminal and the method, the problems that the code quality of the application and display implementation part in a brew user interaction widget (BUIW) is low, and the difficulty of code reconfiguration is high, so that the later maintenance difficulty of the Brew application is greatly high, and a large amount of resources are wasted are solved.
Owner:ZTE CORP

Method and system for analyzing source code similarity and electronic equipment

The invention relates to a method and system for analyzing source code similarity and electronic equipment. The method comprises the following steps: firstly, generating an abstract syntax tree in a JSON format according to a program source code, mapping the abstract syntax tree into a spatial vector according to vocabularies in the abstract syntax tree; and finally, according to a cosine similarity calculation method and the spatial vector, calculating cosine similarity used for representing source code similarity, thereby assisting a development team to identify repeated or similar logic source codes, and providing a judgment basis for implementation of code reconstruction, service merging and other scenes.
Owner:北京思特奇信息技术股份有限公司

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

Code refactoring realization method, device and equipment and computer readable storage medium

The invention discloses a code refactoring realization method. The method comprises the following steps of: obtaining a modification log of each code in a preset time period; determining a modification frequency of each code; and judging whether codes, the modification frequencies of which are greater than a preset frequency threshold value, exist or not, and if the judging result is positive, storing detail information of the modification logs of the codes, the modification frequencies of which are greater than the preset frequency threshold value, so as to refactor the codes according to thedetail information of the modification logs. According to the method, to-be-refactored codes are correctly selected through selecting the codes, the modification frequencies of which are the highestin predetermined time periods, so that the workload of selecting to-be-refactored codes in an enormous amount is decreased and the working efficiency of code refactoring is improved. The invention furthermore discloses a code refactoring realization device and equipment and computer readable storage equipment, which also have above effects.
Owner:ZHENGZHOU YUNHAI INFORMATION 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

Webpage consistency display method under heterogeneous CPU system

The invention relates to a webpage consistency display method under a heterogeneous CPU system. According to the method provided by the invention, the problem of inconsistent webpage display under a heterogeneous CPU system is solved on the premise of not increasing the webpage complexity; and migration of a B / S architecture information system to various CPU systems is facilitated, so that the problems of webpage complexity and readability caused by webpage compatibility are solved, and code reconstruction time is saved.
Owner:WONDERS INFORMATION
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