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

19 results about "Java code" patented technology

Source code (Java) JAVA is a file extension for a source code file format used for Java. A JAVA file may contain a program or be one of a number of source code files to make a program. The Java programming language was created for the distributed environment of the Internet.

System for realizing bidirectional conversion between model and code

The invention discloses a system for realizing bidirectional conversion between a model and a code, and the system comprises a meta-model architecture module which is used for constructing a unified model specification; the meta-model engine module is used for generating, analyzing and processing the meta-model architecture module; and the bidirectional conversion module is used for realizing forward and reverse synchronous conversion between a zero code model and a Java model serving as a program code by adopting the meta-model engine module. By means of the scheme, a unified specification with the meta-model architecture as the core is established, a powerful meta-model engine is used for automatic processing, and the barrier between a zero-code visualization model used by business personnel and bottom-layer Java codes written by developers is seamlessly broken through. The synchronization capability of the model and codes ensures the continuous alignment of business design and technical implementation, and effectively supports the quick iteration of agile development and business.
Owner:CHINA DATANG GRP DIGITAL TECH CO LTD

Code conversion method and device based on sentence pair equivalent replacement, equipment and medium

The application belongs to the field of databases and provides a code conversion method, device, equipment and medium based on statement pair equivalent replacement, which comprises the following steps: obtaining a to-be-converted statement including a first operator and a first logical statement in PLSQL code to be converted, the first operator being used for performing a logical NOT operation, and the logical operation result of the first logical statement being Null; obtaining a target logical operation result of the to-be-converted statement; removing the first operator and converting the first logical statement into a second logical statement with a logical operation result of the target logical operation result; and replacing the second logical statement with the to-be-converted statement to convert the obtained target PLSQL code into target Java code. According to the technical scheme of the embodiment, when the logical operation result of the first logical statement in the to-be-converted statement is Null, the to-be-converted statement can be replaced by the second logical statement in a pair-equivalent manner, so that the operation logic remains unchanged after being converted into a Java statement and the normal operation of the system is ensured.
Owner:CHINA PING AN LIFE INSURANCE CO LTD

Credit investigation variable derivation method and device based on double paths

The invention discloses a credit investigation variable derivation method and device based on double paths, and belongs to the field of credit investigation variable derivation, and the method comprises the steps: obtaining each to-be-derived credit investigation variable and the corresponding JAVA structured data and derivative variable configuration table, and classifying the to-be-derived variables into JAVA derivative variables and SQL derivative variables according to the configuration table; and processing the JAVA derivative variable through a corresponding JAVA code to obtain a result, obtaining an SQL derivative variable result from an Oracle transaction level temporary table of the optimal database subjected to health degree screening according to the corresponding SQL code, and finally combining the two types of results to output a final derivative result. Therefore, by implementing the method and the device, the problem that it is difficult to ensure that the credit investigation variable derivation result is generated in time when the credit investigation data volume reaches the ten million level in the prior art can be solved.
Owner:晋商消费金融股份有限公司

A method and device for supporting asynchronous structured storage of second-generation credit reporting

ActiveCN115858647BDoes not affect business transactions during the dayFlexible configurationProgram initiation/switchingFinanceEngineeringMultithreading
The application discloses a kind of method and device supporting second generation credit reporting asynchronous structured storage, belong to bank information technology field, solve existing credit reporting data is not stored, insufficient use, cause data waste.The essence is in solving the mode of asynchronous processing shortens the response time of credit inquiry.The steps of the present application are based on java code to query database to extract the full-amount credit inquiry record of the previous day;Based on java code, the query results of step 1 are put into List data structure;Create a thread pool to process the objects in List with multiple threads;Iterate the List objects in step 3, convert the data to JSON, and determine if the JSON is empty. If it is not empty, execute step 5, if it is empty, iterate the next data in List and repeat step 4;Parse the JSON and store it in the defined storage table according to the credit data specification.
Owner:WUHAN ZBANK CO LTD

A method for optimizing java code layout without interrupting application services

ActiveCN117270822BLittle impact on application performancelittle impact on performanceCode refactoringSoftware designParallel computingEngineering
This invention discloses a Java code layout optimization method that does not interrupt application services. The method includes: acquiring front-end bottleneck data of the application; when it is determined that code layout optimization is needed based on the front-end bottleneck data, collecting the dynamic control flow graph of the application service; calculating a new code layout based on the dynamic control flow graph; generating new code according to the new code layout; correcting relocation information in all code, that is, redirecting function calls and data references pointing to the old code to the new code. During the correction process, memory barriers and cache maintenance instructions are used to ensure the atomicity and consistency of the modification operations, so as to achieve uninterrupted application services; only reclaiming the memory space used by the old code that is no longer executed to store the new code generated in the next optimization, retaining the function code still on the call stack, so that most of the memory space can be reclaimed without interrupting application services. This method effectively alleviates the processor front-end bottleneck of Java applications and improves application performance.
Owner:ZHEJIANG UNIV

A distributed notification method based on Netty and Nacos

ActiveCN116800828BPERQMessage type
The application discloses a distributed notification method based on Netty and Nacos, and comprises the following steps: defining a message body to be pushed; starting a microservice, and automatically completing Nacos service registration when the microservice is started; reporting the port of the Netty server of the microservice and basic information of the microservice to the Nacos server; starting a thread monitoring task for maintaining TCP links between services; when any microservice sends a message to other microservices, the server of the any microservice acquires a microservice cluster; after other microservices receive the message, the other microservices enter specified Java code for processing the received message according to the type of the message type in the message body. The application fully utilizes the characteristics of Nacos, and provides support for TCP transmission by combining with the high-performance and asynchronous event-driven NIO framework of Netty, so that the notification between microservices is efficient and reliable.
Owner:BEIJING E-SAFENET SCI & TECH CO LTD

Method, system and device for automatically generating code based on MCP protocol, and medium

The invention discloses a method, system and device for automatically generating codes based on an MCP protocol and a medium. The method comprises the steps of constructing a server-side code generation engine based on an MCP protocol, responding to a code generation request input by a user, analyzing the code generation request to obtain a data table structure, a service name and a service name, and triggering and generating a calling instruction to call the server-side code generation engine to process the data table structure, the service name and the service name, the method comprises the following steps: acquiring first dimension information, second dimension information and third dimension information, triggering to generate a Java code text matched with a project based on the three dimension information, then sending the Java code text to a client, calling a large model at the client to integrate the Java code text into a service level corresponding to a service name, and acquiring a target code. The method supports dynamic analysis and integration of project structures and business semantic hierarchies, codes matched with projects can be dynamically, accurately and efficiently generated, and actual requirements are met.
Owner:BEIJING QINGSONG YIKANG INFORMATION TECHNOLOGY CO LTD

Cross-language data blood relationship analysis method based on abstract syntax tree and regular collaboration and related device

The embodiment of the invention relates to the technical field of data processing, and discloses a cross-language data consanguinity analysis method based on an abstract syntax tree and regular collaboration and a related device. Performing blood relationship analysis on SQL code data in the code data, and extracting field-level and table-level blood relationship information; carrying out Python code blood relationship analysis to obtain Python code blood relationship information; performing blood relationship analysis on the Java code to obtain Java code blood relationship information; performing blood relationship analysis on the Web front-end flow collection data to obtain Web front-end blood relationship information; according to the field-level and table-level blood relationship information, the Python code blood relationship information, the Java code blood relationship information and the Web front-end blood relationship information, obtaining a structured blood relationship graph; and generating a visual blood relationship query interface according to the blood relationship graph. Through the above mode, the embodiment of the invention realizes real and reliable verification.
Owner:GUOSEN SECURITIES

UML (Unified Modeling Language) model-oriented event-driven behavior code automatic generation method and system

The invention relates to a UML (Unified Modeling Language) model-oriented event-driven behavior code automatic generation method and system. The method comprises the following steps: exporting an XMI file containing class, activity and state machines from a UML (Unified Modeling Language) modeling tool, constructing a document tree through DOM (Document Object Model) analysis, and extracting meta-model elements and relationships thereof; and generating attributes and methods of the main class and the associated class and Java source codes of the main method according to an analysis result, taking the main method of the main class as a simulation / operation entry, and calling the main method of the associated class during operation. Aiming at the behavior type of the classifier: when the behavior type is Activity, traversing an identification sequence, branching / merging, parallelizing / synchronizing and circulating from an InitialNode, constructing a behavior control flow diagram, decomposing the behavior into SimpleTask and LoopTask, and generating a Java code containing an Execute method and a scheduling statement; and when the state conversion diagram is the StateMach, reconstructing the state conversion diagram and generating a state machine instance and a StateMach Runner operation management type instance code, thereby realizing migration execution driven by a signal event and a time event and mixed triggering of the signal event and the time event and the activity. The method is suitable for the field with high requirements for model consistency and rapid verification.
Owner:ZHEJIANG UNIV

Abnormality processing method and device for Java smart card and electronic equipment

PendingCN121957633AEliminate invalid operationsShorten capture latencySoftware deploymentFull life cycleSmart card
The invention relates to the technical field of intelligent card data processing, and discloses an exception handling method for a Java intelligent card, which comprises the following steps: constructing a full life cycle index module of a program conversion package CAP file; wherein the full life cycle index module comprises a global registry; under the condition that the Java code of the Java intelligent card is abnormal, positioning a target CAP file corresponding to the abnormal code according to a full life cycle index module; according to the target CAP file and an exception type mapping table recorded in the global registry, running a target exception information processor in an exception information processing group of the target CAP file to capture an exception code; and after the abnormal code is captured, updating the state of a global registry of the full life cycle index module according to the current state of the target CAP file. According to the method, the exception type mapping table is added, the invalid operation of traversing the processor is reduced, and the capture efficiency is improved. The invention further discloses an exception handling device for the Java smart card and electronic equipment.
Owner:CHINA ELECTRONICS STANDARDIZATION INST

Automatic generation method of UML sequence diagrams compatible with multilingual code analysis

This invention provides an automatic UML sequence diagram generation method compatible with multilingual code analysis. By capturing the characteristics of C++ and Java code, it identifies the code types of each part of the mixed source code and analyzes different code types. For code marked as C++, regular expressions are used to match keywords, class information, and inheritance information of the C++ source code to be analyzed, and these are converted into parameter names. For code marked as Java, syntax and lexical analysis are used to extract class information and method call information of the Java source code to be analyzed. Corresponding Plant UML code is generated and drawn as a comprehensive UML sequence diagram. This invention's automatic UML sequence diagram generation method compatible with multilingual code analysis can intuitively reflect the functional and logical composition of mixed C++ and Java code, and intuitively reflect the interaction relationship between them. It avoids the need to view tedious source code to obtain program information and functional relationships, improving code readability and maintainability.
Owner:HEFEI UNIV OF TECH

Low-code service development and automatic code generation method and system

PendingCN122064333AError detection/correctionVersion controlCode generationService development
The invention provides a low-code service development and automatic code generation method and system, and belongs to the technical field of automobile software development, and the method comprises the steps: obtaining an automobile electronic system configuration file, carrying out the analysis of the automobile electronic system configuration file, obtaining the analyzed automobile electronic system configuration file data, and storing the analyzed automobile electronic system configuration file data in a server; the analyzed automobile electronic system configuration file data comprises service basic information and service interface definition information; editing service interface definition information and configuration service deployment information according to the analyzed configuration file data of the automotive electronic system; and generating a target programmable framework code according to the edited service interface definition information and the configured service deployment information. Codes are automatically generated, and manual writing errors are avoided. According to the method, C + + and Java code generation is supported at the same time, and different ECU requirements are met. Through visual operation and automatic generation, the code generation time is shortened from 2 days per service to 1 hour per service, and the efficiency is improved by 91.7%.
Owner:DONGFENG MOTOR GRP

Processing method and device of stored procedure, electronic equipment, medium and product

The application provides a storage process processing method and device, electronic equipment, medium and product, and relates to the technical field of data processing. The method comprises the following steps: receiving a storage process file input by a user and an identifier of a first database, the storage process file supporting running in a second database; performing syntax conversion on the storage process file according to a syntax type of the first database to obtain executable statements, and creating a Java task for calling the executable statements; extracting parameters of the storage process file, filling the parameters into a specification template corresponding to the storage process file, and obtaining Java code of a data persistence layer; and outputting a conversion result, the conversion result comprising a statement file, the Java task and the Java code of the data persistence layer, the conversion result supporting running in the first database. According to the above scheme, the storage process is processed in batches through the specification template, and the readability of the processing result is higher compared with manual processing.
Owner:CHINA CONSTRUCTION BANK +1

Code clone detection method, system, device and medium based on visual image

The application discloses a code clone detection method, system, device and medium based on a visual image, which comprises the following steps: removing the annotations in the Java code, calling VoidVisitorAdapter in javaparser, and separating the code functions in the.java file; converting the code characters in the code function file into ASCII codes, filling the values of the ASCII codes into RGB three primary color values, obtaining RGB pixel points, combining the pixel points into a visual color image, and obtaining the visual image of the code; dividing the code visual image into a clone code visual image and a non-clone code visual image; inputting the code visual image into a pre-established clone detection model for training, obtaining the trained clone detection model; inputting the code visual image to be detected into the trained clone detection model for detection, and obtaining a detection result. The code is converted into a visual image, the code information can be completely retained, and the code information loss caused by the intermediate form conversion of the graph is avoided.
Owner:SOUTH CHINA AGRICULTURAL UNIVERSITY +1

An order system service configuration method and device, equipment and medium

The application relates to a business configuration method and device of an order system, equipment and a medium. The method comprises the following steps: receiving an order business configuration request sent by a supplier; preprocessing the order business configuration request to obtain a target order business configuration request; analyzing the target order business configuration request based on a preset condition, determining a target order business configuration mode and taking the target order business configuration mode as a configuration mode to be adopted; if a node mapping configuration mode is adopted, constructing a mapping relationship according to a link formed between a business type in the target order business configuration request and the supplier, and completing the configuration based on the mapping relationship; and if a hard coding configuration mode is adopted, constructing and completing the configuration of a node according to a Java code writing technology. The application makes it very simple and convenient for the supplier to add a new business type in the order system, saves time cost, reduces the dependence on manual operation, and further improves the efficiency of business configuration.
Owner:PING AN PAY ELECTRONIC PAYMENT CO LTD

Java code review comment generation method and device based on code structured information and review knowledge

ActiveCN116841869BLinguistic modelAlgorithm
The application relates to a Java code review comment generation method and device based on code structured information and review knowledge. The method comprises the following steps: obtaining original Java code review data, and performing vectorization representation on code text and code review comments; in an unsupervised training stage, introducing noise to word vectors by respectively disturbing vector representation and adding mask labels, establishing a discriminative graph model and a language model, and restoring disturbed input content; in a supervised training stage, generating code review comments by fusing the model in the unsupervised training stage, and assisting with a code change prediction task; and automatically outputting code review comments of input to-be-reviewed codes according to the model generated in the unsupervised training stage and the supervised training stage. The application can improve the efficiency of code review comment generation, combines unsupervised training and supervised training, has high decoupling, and can also improve the original performance of the model.
Owner:INST OF SOFTWARE - CHINESE ACAD OF SCI

A data processing method and device, electronic equipment and storage medium

This application relates to the field of data processing technology, specifically to a data processing method, apparatus, electronic device, and storage medium, used to solve the problem that existing technologies require manual intervention when calling Java files generated from modified stored procedure files, thus affecting work efficiency. The method includes: obtaining each first SQL statement corresponding to the stored procedure file, and deleting unnecessary statements from each first SQL statement to obtain each second SQL statement. Then, according to the database dialect conversion rules corresponding to the target database, each second SQL statement is converted into the target SQL statement corresponding to the target database, and according to preset persistence layer conversion rules, a Java file containing a persistence layer XML file corresponding to the stored procedure file is generated. This approach eliminates the need for manual establishment of an interface between Java code and the database, enabling flexible calling and reading of the database, thus improving work efficiency.
Owner:CHINA CONSTRUCTION BANK +1

System

An object of a system according to an embodiment is to efficiently convert a COBOL code of a legacy system into a Java code.SOLUTION: A system includes a COBOL code analysis unit, a conversion unit, and an optimization unit. The COBOL code analysis unit analyzes a COBOL code. The conversion unit converts the COBOL code analyzed by the COBOL code analysis unit into Java code. The optimization unit optimizes the Java code converted by the conversion unit.SELECTED DRAWING: Figure 1
Owner:SOFTBANK GROUP CORP

Extension method of Java application, script engine and computing device

The invention provides a Java application extension method, a script engine and computing device.The script engine is embedded in a Java host environment, when a Java application runs, a first program element and an authorized Java object or class in a script file are obtained, and the Java application is extended by means of the script engine on the basis of the authorized Java object or class. And constructing a dynamic syntax tree corresponding to the first program element and a dynamic syntax tree environment. A Java reflection mechanism is adopted to obtain member information of an authorized Java object or class, and the member information of the Java object or class is added to a dynamic syntax tree in a dynamic syntax tree environment, so that a developer can perform method overwriting and parameter derivation. According to the method, dynamic interaction between the script engine and the Java host environment is achieved when the Java application runs, the operation processes of object construction, method overwriting and parameter derivation and the Java application architecture are simplified on the basis that Java codes are not changed, the development efficiency is improved, and the product development period is shortened.
Owner:CHENGDU HUAWEI TECH CO LTD