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

35 results about "Java object" patented technology

Dynamic agent driven NebulaGraph graph database operation device and method

The invention discloses a dynamic agent driven NebulaGraph graph database operation device and method, and the device comprises a dynamic agent generation module which is used for automatically generating a corresponding dynamic agent class according to a defined DAO interface; the parameter analysis and result processing module is used for realizing conversion from parameters to a Cypher statement and mapping from a database return result to a Java object according to a parameter type and a return value type of the DAO method; the graph data operation module is used for providing common single-table CRUD operation and graph data specific operation; the performance optimization module is used for managing NebulaGraph connection by adopting a session pool; paging query is supported; batch insertion and batch updating functions are provided; selecting a proper result set processor according to a value type returned by the DAO method, and optimizing different processors according to a basic type and a set type; and the expandability module is used for customizing or expanding specific functions according to requirements. The device and the method can effectively solve the problems in the prior art, and improve the development efficiency and performance.
Owner:CHINA UNITECHS

Data differentiation detection method and device, medium and equipment

The invention provides a data differentiation detection method and device, a medium and equipment, which are used for detecting the data difference between a first file in a first data format and a second file in a second data format, and comprises the following steps: respectively carrying out analysis and structure conversion on the first file and the second file, selecting a first processing library of a java language for the first data format, and performing java object conversion on a character string of the first file based on a tree model provided by the first processing library so as to construct a first file hierarchical tree based on the tree model; selecting a java language second processing library to read the second file, obtaining a worksheet object of the second file, creating a map structure to store the worksheet object, and constructing a second file dictionary; and performing field matching and content differentiation detection on the first file hierarchy tree and the second file dictionary, and performing differentiation marking according to a comparison result. According to the invention, the efficiency and accuracy of file differentiation detection can be improved.
Owner:LONGYING ZHIDA (BEIJING) TECH CO LTD

A vehicle data collection method, system, and electronic device

The application provides a vehicle data collection method, system and electronic equipment, relates to the technical field of data collection, and receives message data of a vehicle sent by a CANFD analyzer; the message data is subjected to deserialization processing to obtain target data satisfying a JAVA object structure; according to the structure types of various data in the target data, the frame IDs of the various data are determined; the target data is classified according to the categories of the frame IDs to obtain target data sets corresponding to various business types; the target data set corresponding to any business type is grouped according to the data collection time points to obtain business data of the business type at multiple time points, and the business data is pushed to the front end. The message data is obtained through the CANFD analyzer, the data transmission efficiency is improved, in addition, the data is classified according to the frame IDs and grouped according to the collection time points, which helps to improve the data analysis efficiency.
Owner:CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD

ElasticSearch retrieval method realized based on Java annotation

The invention discloses an ElasticSearch retrieval method realized based on a Java annotation. The method comprises the following steps: defining the Java annotation; defining an API (Application Program Interface) of each Java annotation; a Java object A is obtained, one Java object A comprises one or more retrieval fields, and a corresponding Java annotation identifier is selected on each retrieval field; a retrieval field marked with a Java annotation in the Java object A is obtained through recursion analysis, an API corresponding to the Java annotation is called, an ElasticSearch query statement is generated, and an ElasticSearch retrieval result is obtained; and analyzing the retrieval result of the ElasticSearch into the Java object A, and returning the Java object A. According to the method, the ElasticSearch retrieval is realized on the basis of the Java annotation, so that the use threshold of developers on ElasticSearch is reduced, and the development efficiency is improved.
Owner:云筑信息科技(成都)有限公司

Memory leak detection method, electronic device and storage medium

The present application discloses a memory leak detection method, an electronic device and a storage medium, which relate to the field of memory management technology and are used to provide a memory leak detection solution to ensure the stability and security of memory management. The method comprises: in response to the memory of a Java heap being greater than a first memory threshold, based on a target subprocess in an application process, obtaining a Java object reference relationship of the Java heap; based on the Java object reference relationship, determining at least one Java object in the Java heap whose memory is in a running state; and in the at least one Java object, determining that a Java object that meets a memory exception condition is a Java object with a memory leak.
Owner:HONOR DEVICE CO LTD

Data processing method and device, medium, electronic equipment and program product

The invention relates to a data processing method and device, a medium, electronic equipment and a program product. The method comprises the steps of obtaining JSON data; the JSON data are directly analyzed into first data conforming to a preset data format, the first data are encoded into second data supporting upstream and downstream transmission in an Flink engine, the preset data format is a data format supported by the Flink engine, and in the JSON analysis process, the first data and the second data are transmitted in the Flink engine. According to the method, the JSON data in the JSON format is directly analyzed into the first data conforming to the preset data format, the JSON data does not need to be converted into the Java object firstly, CPU overhead needed by data processing is reduced, object recycling processing does not need to be carried out, and the performance of upstream and downstream data transmission of the Flink engine is improved.
Owner:DOUYIN VISION CO LTD +1

Excel import method and system for multi-dimensional and multi-type associated data

The invention provides an Excel import method and system for multi-dimensional and multi-type associated data, and relates to the field of information processing, and the method comprises the following steps: loading the multi-dimensional and multi-type associated data through streaming reading, and creating an object to receive and gather the multi-dimensional and multi-type associated data; performing data distribution on the summarized multi-dimensional and multi-type associated data to obtain mapped data and mapping data; performing data verification on the mapped data and the mapping data; finding a mapping group to which the mapping data belongs by formulating Hash mapping corresponding to the mapping data; and carrying out secondary verification by adopting tree branches based on the judgment conditions in the mapping group to which the mapping data belongs. According to the method, streaming reading is adopted, the problem of memory overflow during large data volume processing is avoided, the Excel data is mapped into the Java object, the accuracy of data processing is improved, and unstructured data is efficiently acquired and processed by optimizing EasyExcel and combining MongoDB storage and front-end interaction capacity.
Owner:CHINA CONSTR THIRD ENG BUREAU INSTALLATION ENG CO LTD

Method, system and equipment for dynamically processing data access authority based on AST and medium

The invention discloses a method, a system, equipment and a medium for dynamically processing data access authority based on AST, and the method comprises the following steps: obtaining an SQL statement script and user information corresponding to a user model, the user model comprising the user information and the SQL statement script; analyzing the SQL statement script into a Java object of an AST structure by using an SQL analysis engine; and according to the analyzed Java object, adding an access control permission corresponding to the user information to an SQL statement script in a user model by using a predefined process engine so as to reconstruct the SQL statement script, thereby realizing dynamic processing of the data access permission. And then returning an execution result of the user model by executing the reconstructed SQL statement script. All links of the whole SQL processing process are defined as nodes of the process engine, flexible configuration and dynamic adjustment of the process are achieved, and the flexibility and reliability of the whole processing process are improved.
Owner:BEIJING GUODIANTONG NETWORK TECH CO LTD +1

A transaction calling method, device, equipment and storage medium

The embodiment of the present invention discloses a transaction calling method, device, equipment and storage medium. The method is applied to a peripheral system, including: in response to a call request for a target transaction, generating an input Java object according to the target transaction interface definition; using a public transaction calling method, converting the input Java object into a corresponding input MAP, and inputting it into a distributed application interconnection platform, so as to call the target transaction in the core system through the distributed application interconnection platform; receiving an output MAP returned by the distributed application interconnection platform, and converting the output MAP into a corresponding output Java object. The technical solution of the embodiment of the present invention realizes the call for different transactions, and automatically realizes the data form exchange between Java objects and MAP using a public transaction calling method, thereby reducing the amount of code modification.
Owner:AGRICULTURAL BANK OF CHINA

Java-based memory transaction management method

The Java-based memory transaction management method disclosed by the embodiment of the application comprises the following steps: enabling a Java class data structure to be a Diff class; obtaining a transaction context instance of a Diff object through a unique identifier rootID of the Diff object; executing a start method of the transaction context to start a transaction; executing original business logic to modify memory data of the Diff object; after the execution of the business logic, if the business logic is normal, executing a commit method of the transaction context to submit the transaction, and ending the transaction; if the business logic has an exception, executing a rollback method of the transaction context to roll back the transaction, restoring modified data content of the Diff object, and ending the transaction. The Java-based memory transaction management method realizes memory level transaction processing of Java objects and object attributes, supports complex class data structure and multi-layer transaction nested execution, and provides a method with application potential for transaction management based on memory data.
Owner:TOPJOY

Dynamic extension method of model and device thereof

The application provides a dynamic expansion method of a model and a device thereof, and relates to the technical field of terminal equipment, financial technology and information technology industry. The application determines a target component from a graphical component library, generates a business model based on the target component, structures the business model in a meta model, obtains metadata of the business model, and reflects the metadata to generate a Java object of the business model runtime. The application provides a method for writing a business model through graphing, which can quickly generate a backend Java object while generating a front-end webpage. Compared with a traditional programming code writing method, when an application developer designs an application through a visual method, the threshold is low, the iteration speed is improved, the model function can be dynamically enhanced at runtime, the model method does not need to be defined in advance, the program maintenance cost is reduced, and the expansion capability of the program is improved.
Owner:CHINA CONSTRUCTION BANK +1

Penetration System, Method, Medium and Device between Multiple Programming Languages Based on Dynamic Parsing

The present invention provides a penetration system, method, medium and device among multiple development languages based on dynamic parsing, including: a class registration unit: dynamically parses Java class functions and registers them to a JavaScript virtual machine; a data conversion unit: mutually converts Java data types and JavaScript data types; a function call distribution unit: unpacks data, creates or locates Java objects, and distributes functions. The present invention reduces the complexity of penetration between languages through an automatic registration mechanism, greatly reduces the workload of JavaScript developers, and improves the development efficiency.
Owner:SHANGHAI SHIJIU INFORMATION TECH CO LTD

File analysis method and device based on database configuration relation, medium and product

The invention discloses a file analysis method and device based on a database configuration relation, a medium and a product, and relates to the technical field of file analysis, and the method comprises the steps that connection with a MySQL database is established; reading a configuration maintenance relation table in the MySQL database to obtain configuration information of the consignment mechanism and the version number, and constructing a field mapping table based on the configuration information; mapping the configuration information into a Java object; obtaining a to-be-analyzed file; analyzing the to-be-analyzed file to obtain analyzed data, and storing the analyzed data in a target database in batches; the target database is a database of a financial institution; and closing the connection with the MySQL database. According to the invention, the data interaction efficiency and accuracy between the financial institution and the consignment institution are improved.
Owner:SHANGHAI OUYE FINANCIAL INFORMATION SERVICE CO LTD

An ElasticSearch retrieval method implemented based on Java annotations

The present invention discloses an ElasticSearch retrieval method implemented based on Java annotations. The method includes defining Java annotations; defining the API for each Java annotation; obtaining a Java object A, where a Java object A contains one or more retrieval fields, and selecting the corresponding Java annotation to mark on each retrieval field; recursively parsing the retrieval fields marked with Java annotations in the Java object A, calling the API corresponding to the Java annotation to generate an ElasticSearch query statement, and obtaining an ElasticSearch retrieval result; parsing the retrieval result of ElasticSearch into the Java object A and returning it. The present invention realizes ElasticSearch retrieval based on Java annotations, reduces the usage threshold of ElasticSearch for developers, and improves development efficiency.
Owner:云筑信息科技(成都)有限公司

A method, electronic device and medium for Java object serialization and deserialization

The application provides a Java object serialization and deserialization method, which can work in a heterogeneous environment, can select different transmission strategies according to different transmission scenes, supports reasonable data type conversion when binary code is deserialized into objects, and has the advantages of fast data transmission and persistent storage efficiency and small space occupation of serialized data. Through the application, users can realize the serialization and deserialization of native types, common basic types, basic type arrays, basic collections and class objects in Java, and can also realize the conversion of reasonable data types.
Owner:NORTHWESTERN POLYTECHNICAL UNIV

Method, processor and computer program product for processing rule calculation requests

The invention discloses a method for processing a rule calculation request, a processor and a computer program product, and belongs to the technical field of system development, and the method comprises the following steps: receiving a rule calculation request sent by a front end; determining a target rule class Java object from a plurality of rule class Java objects preloaded in a system initialization stage through an access controller according to parameters of a rule calculation request; and executing a method corresponding to the Java object of the target rule class, and returning an execution result to the front end. According to the method, the rule calculation request is executed through the rule class Java object pre-loaded in the system initialization stage, when the rule calculation request is processed, the system calls the analyzed rule class Java object for calculation, the rule object does not need to be recreated when the calculation request is processed every time, and the time expenditure for processing the calculation request is greatly saved.
Owner:ZHONGKE YUNGU TECH

Methods, systems, media, and devices for Java garbage collectors in heterogeneous memory

This invention provides a method, system, medium, and device for garbage collection in a Java garbage collector for heterogeneous memory. This garbage collector follows the approach of generational garbage collectors. Its key feature is that, addressing the unsuitability of writing operations on non-volatile memory, it re-partitions the Java heap to mitigate the impact of poor write performance and low write endurance on non-volatile memory. Compared to existing technologies, this invention captures the semantics of Java objects, thereby improving performance and reducing wear and tear on non-volatile memory. Furthermore, based on the mainstream Java Virtual Machine, it is easy to promote and apply.
Owner:SHANGHAI JIAOTONG UNIV

A data conversion method and apparatus

The application discloses a data conversion method and device, the method comprises the following steps: reading XML data to be converted to obtain a first file object; parsing the first file object to obtain first custom Map structure data; the first custom Map structure data comprises a key value determined based on a node path and a node characteristic and a value value corresponding to the key value; attribute annotation information of a custom Java object corresponding to the first file object is determined, a mapping key value corresponding to the custom Java object is determined based on the attribute annotation information; a matching value value matched with the mapping key value in the first custom Map structure data is found, the matching value value is reflected and assigned to the custom JAVA object to obtain a target Java object. When the method is applied to Fintech, the conversion efficiency of mutual conversion between XML data and Java objects is improved.
Owner:WEBANK (CHINA)

Micro-service decoupling method and device and storage medium

The invention relates to the field of interface calling, and discloses a micro-service decoupling method and device and a storage medium. The method comprises the following steps: receiving an interface registration instruction of a micro-service; an interface calling instruction of the micro service is received, query processing is carried out from the interface registry according to the interface calling instruction, calling interface information is obtained, and the calling interface information comprises a path JavaScript script and an entity parameter JavaScript script; the method comprises the following steps: creating a Naporn script engine, and packaging a path JavaScript script and an entity parameter JavaScript script into a scriptFunc function; performing analysis execution processing on the scriptFunc function by utilizing a Naporn script engine, and generating an execution Java object; and calling an interface corresponding to the interface calling instruction based on execution of the Java object, and generating feedback data. In the embodiment of the invention, JavaScript collaboration is carried out on the Java virtual machine by utilizing the characteristics of the Naporn script engine, so that the direct dependence among the micro-service systems is eliminated, the data consistency is ensured, and the data maintenance cost is reduced.
Owner:深圳渊联技术有限公司

Automatic testing method, device and equipment based on configuration and medium

The invention relates to an automatic testing method, device and equipment based on configuration and a medium. The invention relates to the technical field of automatic test tools, can be applied to business system platforms of financial science and technology, medical treatment and health and the like, carries out process identification on business data obtained in advance, extracts operation process information in the business data to obtain operation process data, encodes the operation process data into an XML format through configuration to obtain XML data, and sends the XML data to a server. Converting the XML data into a JAVA object, generating simulation operation data based on a preset test scheme, utilizing the JAVA object to control a preset test framework to execute the simulation operation data in a preset test webpage to obtain an automatic test result, and comparing the automatic test result with an expected result to obtain an automatic test result. And an automatic test report is generated according to a comparison result. According to the invention, the efficiency of automatic testing and the maintainability of an automatic testing system can be improved.
Owner:CHINA PING AN LIFE INSURANCE CO LTD

A method, device and medium for recording object references based on threads in java

The application provides a method for recording object references based on threads in Java, comprising the following steps: obtaining all reference types of C++ holding Java objects in a system; creating reference interfaces according to the reference types respectively; classifying all reference interfaces to obtain a plurality of reference interface sets; creating encapsulation classes respectively to encapsulate any reference interface set; and establishing statistical interfaces in the encapsulation classes respectively to count the reference quantity corresponding to any reference type, wherein the application counts the reference quantity corresponding to different reference types according to all reference types of C++ holding Java objects, and then obtains the resource leakage situation of any reference type, which is beneficial to investigation according to the reference types.
Owner:WUHAN DOUYU NETWORK TECHNOLOGY CO LTD

Android TV Hybrid App Development Methodology

A method for developing an Android TV hybrid application includes: generating an Android web browsing component in an Android activity, the Android activity belonging to an Android end of the application; obtaining a web browsing setting subclass, and using the web browsing setting subclass to configure the Android web browsing component; using a web technology to develop a web page interface, which belongs to a web end of the application; using the Android web browsing component to load and display the web page interface; creating a first Java object in the Android end to define communication between the Android end and the web end, and creating a second Java object to implement an interface defined by the first Java object, so that the web end can call the interface using the two Java objects; placing a packaged Java class in the Android end for sending information to the web end, and placing a packaged JavaScript module in the web end for maintaining a listening list to process the information, so that the Android end can feed back the information to the web end.
Owner:REALTEK SEMICON CORP

A simple object transmission serialization method and device

The present invention discloses a simple object transmission serialization method and device. The method includes: constructing a simple object serialization format, where the simple object serialization format includes: a serialization class number, a variable-length character length, and class attributes; among which there are multiple class attributes: meta-information extraction, according to the annotations of the serialization class, extracting the meta-information of the serialization class to memory in advance; there is a mapping table of the serialization class in memory; generating an object byte sequence, the network sender reflects and parses the class information according to the mapping table of the serialization class to generate an object byte sequence; object byte sequence parsing, the network receiver parses the received object byte sequence and decodes the object byte sequence into an object. The beneficial effect of the present invention is: improving the network transmission efficiency of java objects.
Owner:SIJIBAO

Method, system and equipment for converting XML (Extensible Markup Language) document into object and storage medium

The invention relates to / belongs to the technical field of data processing, and particularly relates to a method, a system and equipment for converting an XML document into an object and a storage medium. The method aims at solving the problems that in the prior art, Java classes generated by JAXB are not optimized or cannot meet the requirements of developers; and processing of large or complex XML documents is too complex. Comprising the steps that an XSD file of an XML document is obtained and analyzed, and XSD analysis data is obtained; configuring corresponding rule data by using a rule configurator; the XSD analysis data and the rule data are added into a template engine, code filling is carried out, and a JAVA class is generated; configuring a JAXB context instance; the method comprises the following steps of: creating a Unmarshaller instance by utilizing a Unmarshaller interface of JAXB, and carrying out deserialization operation on an XML (Extensible Markup Language) document on the basis of the Unmarshaller instance, so as to obtain a Java object.
Owner:TRAVELSKY TECHNOLOGY LIMITED

Database table design method, device, readable storage medium and electronic device

The present disclosure relates to a database table design method, device, readable storage medium and electronic device to reduce the storage space occupied by the database table and reduce the complexity of adding fields. The design method includes: in response to receiving a request to add a field, determining the type of the field to be added, the type including a calculation type and a non-calculation type; if the type of the field to be added is the non-calculation type, adding the field to be added to a first database table other than a Java object and a SQL query statement using a string format, so as to store the field to be added in the first database table in the string format.
Owner:NEW ORIENTAL EDUCATION & TECH GRP CO LTD

Method, system, device and storage medium for converting an xml document into objects

The present application relates to the technical field of data processing, and particularly relates to a method, system and device for converting an XML document into an object and a storage medium. The present application aims to solve the technical problems that the JAXB generated Java class is not optimized or cannot meet the developer's requirements, and the process of a large or complex XML document is too complex. The present application comprises the following steps: obtaining an XSD file of an XML document and performing parsing to obtain XSD parsed data; configuring corresponding rule data by using a rule configurator; adding the XSD parsed data and the rule data into a template engine to perform code filling and generate a JAVA class; configuring a JAXB context instance; creating a Unmarshaller instance by using a Unmarshaller interface of the JAXB, and performing a deserialization operation on the XML document based on the Unmarshaller instance to obtain a Java object.
Owner:TRAVELSKY TECHNOLOGY LIMITED

A geographic file data quality inspection method, system and device based on a Mybatis-Plus framework

This invention provides a method, system, and device for quality inspection of geographic file data based on the Mybatis-Plus framework. The method includes the following steps: pre-writing project-related graphical SQL statements in an XML file; starting the Mybatis-Plus framework and establishing a connection with the database; scanning and reading configuration files in the Mybatis-Plus framework, while simultaneously loading the XML file to generate Java objects that can be directly called by Java; acquiring the geographic file data to be inspected and extracting the graphical data to be inspected; calling the corresponding Java object according to the quality inspection item, comparing the graphical data to be inspected with the graphical data in the database, and determining whether the graphical data to be inspected meets the quality inspection conditions. If so, the geographic file data is stored in the database; otherwise, a quality inspection failure result is returned to the user. This invention optimizes the graphical data quality inspection process, improving inspection efficiency and software maintainability.
Owner:FUZHOU TELEWARE ELECTRONICS

Message generation method and related device

The embodiment of the invention provides a message generation method and a related device, and the method comprises the steps: querying a data list based on a preset record number of each page and a page number initial value, and obtaining a query result; when the query result comprises the data in the data list, converting the data in the query result into data in an XML format through an XML streaming writer on the basis of a mapping relationship between a Java object and an XML node; querying the data list based on a preset increased page number until a query result is null; and when the query result is null, generating a message based on the at least one piece of data in the XML format. In the embodiment of the invention, the data is written in batches from the database by adopting a data page-turning query technology, so that the system performance problem caused by loading a large amount of data at one time can be avoided, the method is suitable for generating large XML messages, and the performance and the stability of the system can be improved.
Owner:AGRICULTURAL BANK OF CHINA

A Beidou short message packet sending service cluster system

The present invention discloses a Beidou short message package sending service cluster system, which relates to the field of satellite communication data sending technology, and includes: an application service module, which is used to receive a user sending request, a package service cluster module, which deserializes the JSON data in the request into a Java object after receiving the package request raised by the upstream application service module, and a sending service cluster module, which pulls the message in the message queue, and after receiving the message, performs a secondary confirmation on the Beidou user machine connection information in the message and the Beidou user machine registration service. The protocol conversion and package can be performed, and the package is converted from the JSON format commonly used on the Internet to the Beidou short message protocol, and the Beidou short message application system is decoupled from the package sending service, so as to improve the convenience of integrating the Beidou user machine into the Web system development, introduce the Beidou user machine registration service, make full use of the sending opportunity of the Beidou user machine, and improve the resource utilization rate of the hardware.
Owner:商飞软件有限公司

Electric power operation safety disclosure intelligent analysis system and method based on multi-source data fusion

The invention discloses an electric power operation safety disclosure intelligent analysis system and method based on multi-source data fusion. The system comprises a display layer, a service access layer, a gateway isolation layer, a service application layer and a data persistence layer. The display layer completes a user interaction function; the service access layer is responsible for processing a request from the display layer, interacting with the back-end service layer, receiving and processing the request of the display layer and calling back-end service interface data format conversion and adaptation, and the service access layer serves as a bridge between the display layer and back-end service; the gateway isolation layer is responsible for forwarding request routing, load balancing, authentication and authorization; log recording and monitoring of request routing and load balancing authentication and authorization requests and responses; according to the service application layer, JTA is adopted for transaction control in the service application layer; and the data persistence layer is used for accessing data sources including the relational database and converting the data into Java objects to be called by programs of other layers. According to the invention, the risk identification capability is obviously improved.
Owner:GUANYUN POWER SUPPLY OF JIANGSU ELECTRIC POWER