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

290 results about "Database connection" patented technology

A Database connection is a facility in computer science that allows client software to talk to database server software, whether on the same machine or not. A connection is required to send commands and receive answers, usually in the form of a result set.

Cross-database unified management and operation method and system

The invention provides a cross-database unified management and operation method and system, and relates to the technical field of databases, and the method comprises the following steps: establishing a connection by obtaining database connection information; extracting a database structure by using a dialect strategy processor and mapping the database structure into a unified description; converting the operation instruction into a standard intermediate statement; converting the intermediate statement into a target database execution statement by using a grammar analysis module and a conversion rule; and executing and monitoring in a transaction unit mode. Unified management and operation of different types of databases are realized, the consistency and reliability of database operation are improved, and the development difficulty of cross-database operation is reduced.
Owner:北京科杰科技有限公司

Non-technician-oriented script intelligent adaptation and visual arrangement method and system

The invention provides a non-technician-oriented script intelligent adaptation and visual arrangement method and a non-technician-oriented script intelligent adaptation and visual arrangement system. The method comprises the following steps: acquiring a script file uploaded by a user, extracting a dependency library through an AST analysis technology, and constructing an isolation container environment; performing intelligent identification and conversion on a file path and database connection in the script to generate a standardized API call; carrying out input and output analysis on the basis of the converted script, and carrying out DAG workflow arrangement in a visual mode; performing function-level packaging and standardization processing on the script component in the workflow to realize component multiplexing and version management; and finally, configuring a scheduling strategy and carrying out automatic operation monitoring. According to the method, a script environment depends on automatic processing and intelligent path adaptation, and visual arrangement and modular multiplexing are combined, so that non-technical personnel can independently complete the whole process from AI script generation to a production-level automatic process, the problem of'last kilometer 'in script deployment is solved, and the working efficiency is improved.
Owner:BEIJING YULORE INNOVATION TECH

Enterprise data link treatment and value management method and system

The invention discloses an enterprise data link management and value management method and system, and the method comprises the steps: carrying out the real-time capturing of multi-source heterogeneous data of all business systems in an enterprise through a distributed data collection engine, and recognizing the types of original data in different formats through a preset data source adapter; if structured data is detected, a relational database connector is adopted for extraction, and if the structured data is recognized as unstructured data, a document analysis module is started for content extraction, and an initial data set containing metadata tags is obtained; performing format conversion and field mapping on the initial data set according to a pre-established data standardization rule base, eliminating duplicate records and abnormal values through a data cleaning algorithm, performing automatic evaluation on a data quality grade by adopting a naive Bayes classifier, if a data quality score is lower than a preset threshold value, triggering a data recovery process, and if the data quality score is lower than the preset threshold value, performing data recovery. And standardized data meeting a unified standard is obtained. The normativity and value utilization efficiency of data management are effectively improved.
Owner:FRIENDSHIP INT ENG CONSULTING CO LTD

Cross-data-platform database migration verification method and system applied to autonomous controllable transformation

The invention relates to the technical field of database migration verification, in particular to a cross-data-platform database migration verification method and system applied to autonomous controllable transformation. The method comprises the following steps: configuring a source database and a target database in a data source management module; newly establishing a comparison task in the task management module; a comparison database is connected through a dynamic data source assembly, different databases are connected through JDBC, and comparison verification is executed after database connection parameters are configured; database comparison is carried out in the task management module, wherein the database comparison comprises data volume verification and data consistency verification; a comparison report is generated and stored in a built-in mode. The problem of data integrity in the cross-platform data migration process is solved, the system fully considers the difference between the MySQL database and the local database in character set, function and technical characteristics, data verification and comparison work after migration of the MySQL database source and various local target databases is supported, consistency verification before and after data migration is achieved, and the verification efficiency is improved. And the risk of data loss caused by data migration is avoided.
Owner:NAT NUCLEAR INFORMATION TECH CO LTD

Automatic index creation method based on large model

The invention particularly relates to an automatic index creating method based on a large model. According to the automatic index creation method based on the large model, after a user inputs a demand and carries out preprocessing, named entity recognition is carried out by utilizing the large language model, key entity information is extracted, and a structured demand parameter is generated; matching a template from the SQL template library and dynamically filling the template, and obtaining an SQL statement after grammar verification and performance optimization; connecting a data source through a database connection technology, executing the SQL statement, and obtaining an index calculation result; and checking the result, defining parameters of the API interface according to the interface specification, generating an interface document, and issuing the interface document. According to the automatic index creation method based on the large model, the working efficiency is greatly improved, the labor cost is reduced, meanwhile, index calculation errors caused by manual understanding deviation can be avoided, the accuracy of an index calculation result is ensured, the interface adaptation and development workload is reduced, the system integration difficulty is reduced, and the implementation is easy. And the data sharing and interaction efficiency is improved.
Owner:浪潮智慧城市科技有限公司

Intelligent system for photovoltaic cleaning robot

An intelligent system for a photovoltaic cleaning robot includes: a control terminal, an intelligent control center, a stain detection database, and an intelligent device; where the intelligent device includes a camera shooting module, a motion flight module, and a cleaning module; the intelligent device and the intelligent control center are integrated on the photovoltaic cleaning robot; the intelligent control center and the control terminal are connected by a wireless communication; the intelligent control center is connected to the stain detection database through the wireless communication. In the intelligent system for the photovoltaic cleaning robot, even in a distributed photovoltaic power station with a harsh environment and terrain, it can also do the unmanned intelligent cleaning operation and maintenance work of the photovoltaic plate, where the operator only needs to operate the control terminal according to the attenuation of power generation of the power station to issue simple instructions.
Owner:INNER MONGOLIA UNIV OF TECH

Intelligent personalized interaction system and construction method thereof

The invention provides a construction method of an intelligent personalized interaction system. The construction method comprises the following steps: constructing a database; preparing a training set and a test set with problem texts, constructing a vocabulary of high-frequency words for the training set and the test set, and performing text coding; constructing a workflow scheduler for counting high-frequency problem types; the user portrait building module is used for obtaining a user portrait according to historical dialogues, user questions and high-frequency question types of the database; the intelligent personalized interaction system comprises a user question input interface, a question classification module and a database which are connected in sequence, and the database is connected with a workflow scheduler and a user portrait construction module. And outputting the user portrait and the high-frequency question type to a pre-trained large language model to generate a recommendation question. The invention further provides a corresponding system. According to the method, deep understanding, accurate analysis and personalized interaction of user questions are realized, so that the user experience is remarkably improved, and diversified requirements of users in different scenes are met.
Owner:EAST CHINA UNIV OF SCI & TECH

SQL intelligent generation and optimization system and method based on index semantic model

The invention discloses an intelligent SQL generation and optimization system and method based on an index semantic model, and relates to the technical field of data processing, and the system comprises a business configuration layer which is used for configuring basic information of indexes based on preset structured definition elements; the model assembly layer is used for assembling the basic information and the blood relationship information into a layered index semantic model according to the blood relationship of the indexes and database connection information, and automatically adjusting the structure of the index semantic model by adopting a semantic model dynamic optimization mechanism; and the model analysis and execution layer is used for analyzing the index semantic model, generating corresponding structured query language segments and splicing the structured query language segments to obtain a complete structured query language. Semantic elements of the structured index semantic model are intelligently disassembled through the model analysis engine, standardized SQL code blocks are dynamically generated, the query performance is improved, and calculation redundancy is reduced.
Owner:金现代信息产业股份有限公司

Graphical programming education system

The invention provides a graphical programming education system, which comprises a database used for storing coding information and drawing data; the scheduler is connected with the database and used for managing data flow between the database and the interpreter; the interpreter is connected with the scheduler and is used for analyzing the coding information and generating a task in an intermediate representation form which can be understood by the system; the judgment module is connected with the interpreter and is used for carrying out logic judgment on the task and providing a control signal for the operation module; the operation module is connected with the judgment module and is used for executing the task according to the control signal and transmitting the output to the output module; and the output module is used for displaying the result transmitted by the operation module. The system is used for realizing bidirectional mapping and real-time synchronization between the coded information and the graphical representation, and realizing dynamic visualization of the coded information logic based on the data flow.
Owner:贵州电子科技职业学院

Intelligent cloud management high-definition card printer system

The invention discloses an intelligent cloud management high-definition card printer system, and relates to the technical field of card printers, the intelligent cloud management high-definition card printer system comprises a processor, a database and a printing module, the processor is connected with the database through signal transmission, and the printing module is connected with the processor through signal transmission. The printing module comprises an information acquisition assembly and a printing assembly, the information acquisition assembly is used for acquiring material information and environment information, the printing assembly is used for printing cards, and the processor controls the printing module to start by receiving a primary starting signal and a secondary starting signal. The processor constructs a color compensation module through information collected by the information collection assembly to output a color compensation value to adjust the printing assembly. By designing and constructing the color compensation model, the function of high-precision card printing is realized, the problems of dependence on off-line measurement, color gamut deviation and response lag are solved, the color deviation can be compensated in real time, and the quality and specialty of card printing are improved.
Owner:JIANGSU MEIKADE INTELLIGENT TECH CO LTD

Data reading method, client, server and storage system

The invention relates to the technical field of databases, and provides a data reading method, a client, a server and a storage system. The data reading method is applied to a client. The method comprises the following steps: receiving a first operation; according to the first operation, cyclically executing the following steps S1 to S3: S1, determining an idle connection from the N KV database connections; s2, a data reading request is sent to the server through the idle connection, the data reading request comprises a first command, a data identifier of the target data, a reading vernier and a reading step length, and the first command is used for instructing the server to read a data segment corresponding to the data identifier from the KV database according to the data identifier, the first reading vernier and the reading step length; s3, receiving a reading result returned by the server, wherein the reading result comprises a data segment corresponding to the target data; and when a first preset condition is met, stopping circulation, and splicing all the read data segments according to a reading sequence to obtain target data.
Owner:HUAWEI TECH CO LTD

Intelligent service starting arrangement system based on container life cycle

The invention discloses an intelligent service starting arrangement system based on container life cycles, and particularly relates to the field of containerized starting service management. Comprising an arrangement control layer, a pre-detection layer and a life cycle management layer. The arrangement control layer comprises a starting manager module, a dependency relationship analysis sub-module, an arrangement strategy control sub-module and a starting sequence scheduling sub-module; the pre-detection layer comprises a multi-dimensional pre-detection engine, a port availability detection sub-module, a database connection verification sub-module, a configuration integrity verification sub-module and a resource ready state check sub-module. The life cycle management layer comprises a container life cycle monitoring module, a construction stage management sub-module, an operation state tracking sub-module and a stop process control sub-module. A multi-dimensional pre-detection engine, DAG-based complex dependency relationship management, intelligent fault classification and adaptive recovery, container life cycle full-stage perception and dynamic starting of an arrangement strategy are realized.
Owner:CHINA IND INTERNET RES INST

Active intelligent operation and maintenance monitoring method for data medium station

The invention belongs to the technical field of data processing, and discloses an active intelligent operation and maintenance monitoring method for a data center, which comprises the following steps: step 1, component modeling and topology configuration; 2, carrying out distributed health detection and data acquisition; 3, performing real-time health assessment and anomaly detection; 4, performing intelligent alarm and root cause analysis; 5, unified operation and maintenance and closed-loop control are carried out; and step 6, dynamically optimizing the intelligent operation and maintenance strategy. According to the method, a monitoring object and a dependency relationship are clarified through component modeling and topological configuration, and specific scenes, such as multi-mode acquisition, active detection, index pulling, log analysis, coverage message queue theme accumulation and database connection pool exhaustion, of distributed health detection are combined. The quantitative health score is calculated based on the preset scoring model, and by combining with the dynamic baseline learned by the ARIMA or LSTM algorithm, the module abnormity can be actively detected in different periods and weekly updating, and the problems of fault discovery lagging and incomplete monitoring coverage are solved.
Owner:SHANGHAI QINGCHUANG INFORMATION TECH CO LTD

Intelligent teaching system based on artificial intelligence

The invention discloses an intelligent teaching system based on artificial intelligence. The system comprises a user information acquisition module, an intelligent analysis module, an English teaching data database, a personalized learning path planning module, an interactive learning module and an evaluation module. The user information acquisition module is connected with the intelligent analysis module, the personalized learning path planning module is connected with the intelligent analysis module and the English teaching material database, the interactive learning module is connected with the personalized learning path planning module, and the evaluation module is connected with the English teaching material database and the interactive learning module. The beneficial effects are that learning efficiency is effectively improved; the learning interest is effectively improved; individual differences are effectively met; and the accuracy of learning effect evaluation is enhanced.
Owner:ZHEJIANG WEILONG EDUCATION TECH CO LTD

Heterogeneous data synchronization method and device for database and medium

The invention provides a heterogeneous data synchronization method and device for a database and a medium, and belongs to the technical field of database data processing. The method comprises the following steps: accessing a source end database through a preset database connection interface, and obtaining corresponding to-be-synchronized business data and source end table metadata; according to the source end table metadata and a preset type mapping rule, generating a target table of a target end database; constructing a binary assembler corresponding to the target table based on an underlying storage structure set obtained by pre-analyzing a target end database; wherein the binary assembler is used for converting to-be-synchronized service data into a binary stream containing a first data segment and a second data segment; the first data segment at least comprises a type identifier and storage format information corresponding to the target end database. And according to the to-be-synchronized business data and the corresponding binary assembler, generating a corresponding binary input stream, and writing the binary input stream into the target table so as to complete heterogeneous data synchronization of the source end database and the target end database.
Owner:HIGHGO SOFTWARE

EBPF-based database performance optimization method, apparatus and device, and medium

The invention discloses a database performance optimization method and device based on an eBPF, equipment and a medium, and relates to the technical field of databases, and the method comprises the steps of deploying a probe on a key path of a database kernel by using a dynamic detection mechanism of the eBPF, obtaining various performance data of a database in a running process based on the probe, and storing the performance data in the database; establishing a mapping relationship between the network traffic and the database session ID by using a first preset data structure of the eBPF; identifying the abnormal connection condition of the database based on the mapping relation and the performance data, and analyzing the access condition of the lock and the disk in the operation process of the database to obtain a performance problem; and determining parameter indexes including lock waiting times per second, I / O queue depth and TCP retransmission rate based on the performance data, inputting the parameter indexes into a machine learning model, and generating problem root causes and optimization suggestions corresponding to the performance problems in combination with a root cause positioning rule engine. And the database performance problem is analyzed and optimized quickly and efficiently.
Owner:SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

Pandas-based cross-database query method, system and device and medium

The invention relates to the technical field of data processing, in particular to a pandas-based cross-database query method, system and device and a medium. The method comprises the following steps: configuring and storing database connection information, receiving a cross-database query request, and decomposing the cross-database query request into sub-query requests; establishing database connection according to the sub-query and connection information, executing query by using a pandas function, and storing a result as a DataFrame object; processing the problem that data types and field names are inconsistent, and associating a plurality of DataFrame objects to generate a final result; and outputting the result in a specified format. The system comprises a configuration module, a request processing module, a query execution module, a data integration module and a result output module. According to the method, the efficient processing capacity of the pandas is utilized, and the query performance is improved; multiple databases are supported, and the development difficulty and cost are reduced; consistency and integrity are guaranteed in data integration, and data problems are avoided.
Owner:SHANDONG INSPUR SCI RES INST CO LTD

Database management service integration Dify method and system

The invention discloses a database management service integration Dify method and system, belongs to the technical field of databases, and aims to solve the technical problem of how to improve the intelligence of database management services and realize the database capabilities of intelligent question and answer, index optimization and SQL (Structured Query Language) tuning. Integrating a Dify entry from an SQL window and an intelligent assistant, introducing a problem, database connection information and database table structure knowledge base information to Dify, calling a database management service database in Dify workflow to connect an API, and directly accessing a database according to the database connection information and the generated SQL to perform SQL execution; maintaining an association relationship between the database and the database table structure knowledge base in Dify, and regularly updating the database table structure knowledge base in Dify; a big language model is accessed to a database management service through Dify, and the Dify is connected with different databases through a database management service database.
Owner:SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

SQLite database transparent encryption method, system and device based on national cryptographic algorithm and storage medium

The invention relates to the technical field of database security, in particular to an SQLite database transparent encryption method, system and device based on a national cryptographic algorithm and a storage medium, and the method comprises the following steps: S1, when an SQLite database is opened, loading and connecting a hardware cryptographic device to obtain an encryption master key and a corresponding key handle; s2, in response to the write-in operation, calling a national secret symmetric encryption algorithm through a key handle, encrypting a plaintext of a database page to generate a page, and writing the page into a database file; s3, reading the ciphertext page in response to the reading operation, decrypting the ciphertext page through a cryptographic symmetric decryption algorithm adjusted by a key handle after analysis, recovering a plaintext page and returning the plaintext page to the application; and S4, circularly executing encryption writing and decryption reading to process the continuous request, and releasing the key handle and disconnecting the hardware connection until the database connection is closed. According to the method, transparent full disk encryption, meeting the national secret standard, of the SQLite database is achieved, the secret key safety and the operation performance are guaranteed through hardware cryptographic equipment, and good application compatibility is kept.
Owner:SUPCON TECH CO LTD

College entrance examination volunteer filling assisting method and system based on large language model

The invention provides a college entrance examination volunteer filling assisting method and system based on a large language model, and the method is characterized in that the method comprises the steps: presetting a question template and an SQL template according to the volunteer filling scene demands and a database schema; analyzing a natural language query Q by adopting a large language model and designing a cue word, and combining a question template sequence number and an analysis result to generate a structured query condition set CQ; generating a database SQL query statement according to the CQ in combination with a preset SQL template; and managing database connection by using a connection pool technology, executing SQL query, generating a result set RS, and outputting information to a user. Through the method, the query efficiency and the interaction friendliness of the volunteer filling auxiliary system are improved.
Owner:ANHUI UNIV

Query method and device of heterogeneous database, electronic equipment and storage medium

The invention provides a heterogeneous database query method and device, electronic equipment and a storage medium, and the method comprises the steps: carrying out security verification processing on a plurality of SQL execution requests sent by a user side, and carrying out SPI mechanism scanning processing on a plurality of database plug-ins in a heterogeneous database plug-in directory based on a high-performance database connection pool after the security verification processing is passed, determining a target database plug-in package corresponding to each SQL execution request; and performing metadata query processing on the SQL execution request in the target data source based on a database operation client interface and a metadata service interface under the target database plug-in package, and determining a structured tree result. According to the method, an extensible and dynamically integrated heterogeneous database plug-in mechanism is realized, unified access of various databases is supported, the platform maintenance cost is remarkably reduced, hierarchical metadata of any type of databases is obtained through a consistent metadata service interface, and the user experience and the cross-database query efficiency are improved.
Owner:BEIJING PACTERA JINXIN TECH LTD

Unstructured data connection query optimization system and method based on twin network

The invention discloses an unstructured data connection query optimization system and method based on a twin network, and belongs to the field of unstructured data processing. Comprising a feature extraction module for extracting feature vectors of different types of unstructured data by using a deep learning model; the twin network module is used for converting the feature vector into a low-dimensional embedding space; the judgment layer module is used for outputting a connection matching probability through a full-connection network after the feature difference and the original features are spliced; the threshold decision module is used for determining an optimal upper and lower threshold pair through adaptive mapping and grid search and dividing a connection matching probability into an automatic decision area and a recheck area, and the recheck area is used for further judging a connection relationship through a special reasoning model; and the query optimization module is used for optimizing a query execution plan of the unstructured data based on the connection matching result. According to the method, efficient unstructured database connection operation can be realized, an automatic decision-making and accurate rechecking mechanism is supported, and the accuracy and efficiency of database query connection operation are remarkably improved.
Owner:ZHEJIANG UNIV +1

Database connection keeping method and device, equipment and storage medium

The invention relates to a database connection keeping method and device, equipment and a storage medium. The database connection keeping method comprises the steps that a data query request acting on a database is received, and the data query request is an operation request which is routed to a main database instance corresponding to the database and executed by the main database instance; in response to the data query request, checking whether a switching operation of switching from the main database instance to the standby database instance corresponding to the database occurs or not; under the condition that the switching operation occurs, determining whether the data query request can be routed to the standby database instance or not; and if the data query request can be routed to the standby database instance, executing the data query request by the standby database instance after the switching operation is completed. According to the method provided by the invention, the connection stability between the database agent and the application program in the database instance switching process is ensured to a certain extent, and the high availability and the user experience of the database agent are further improved.
Owner:BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD

Database access method based on middleware system and middleware system

The embodiment of the invention relates to a database access method based on a middleware system and the middleware system. Initialization is firstly executed through data middleware, a database connection request of a service application is analyzed, a target database instance is determined, and an associated application end token is obtained. And the middleware requests a target database connection credential from the configuration center, and the configuration center sends an encryption credential after verifying the token. The middleware decrypts the credential, initiates connection establishment of the target database, encapsulates the target database into a data source after successful connection, and returns the data source to the business application; and the business application indirectly accesses the target database through an interface or an identifier provided by the datastore middleware. On the premise that database connection credentials are not directly exposed, the connection between the service application and the database is safely established.
Owner:广州千阅传媒有限公司

Road slope prestress guyed displacement intelligent monitoring and early warning system

The invention discloses a highway slope prestress guyed displacement intelligent monitoring and early warning system, and relates to the technical field of highway slope displacement monitoring and early warning, the highway slope prestress guyed displacement intelligent monitoring and early warning system comprises a monitoring module, an early warning module and a database, the monitoring module comprises a vehicle sensing assembly and a soil sensing assembly, the vehicle sensing assembly is connected with the database through signal transmission, and the soil sensing assembly is connected with the database through signal transmission. The vehicle sensing assembly comprises a weighing unit, a vibration and stress coupling monitoring unit and a model building unit, the weighing unit collects vehicle information and transmits the vehicle information to the database, and the vibration and stress coupling monitoring unit is used for collecting vibration frequency, energy distribution and soil stress dynamic changes caused by vehicle passing; the information is transmitted to a database, and the model building unit is used for building a vehicle load-slope stress transfer model. According to the method, the vehicle load-slope stress transfer model is constructed by collecting the vehicle driving information, and the function of quantifying the influence of the vehicle load on the slope is achieved.
Owner:BEIJING INNOVATION GEOTECHNICAL TECH CO LTD

Comprehensive strip steel annealing process intelligent monitoring system

The invention discloses a comprehensive strip steel annealing process intelligent monitoring system, which relates to the technical field of strip steel annealing process monitoring, and comprises a database, a processor, an environment monitoring module, an error compensation module and a strip steel monitoring module, the environment monitoring module, the error compensation module and the strip steel monitoring module transmit collected information to the processor through signal transmission, the processor constructs an environment model, an error model and a strip steel model after receiving the information, and the environment model, the error model and the strip steel model are fused to construct a response model to regulate and control the strip steel annealing device. According to the method, the fusion environment model, the error model and the strip steel model are designed for analysis, the function of multi-factor coupling regulation and control is achieved, the problems of low control precision, low model use rate and response delay are solved, the temperature control precision in the strip steel annealing process can be improved, and the manual intervention requirement is reduced.
Owner:HAIAN TIANYI INTELLIGENT CONTROL EQUIP CO LTD

Automatic control system of rotor spinning equipment

The invention discloses an automatic control system for rotor spinning equipment, and relates to the technical field of rotor spinning equipment, the automatic control system comprises a database, a controller, an adjusting assembly and a moving assembly, the controller is connected with the database through signal transmission, and the adjusting assembly and the moving assembly are connected with the controller through signal transmission. The adjusting assembly comprises a dexterous hand, a visual sensor, a rotating joint, a lifting unit and a power unit, the visual sensor is connected with the controller through signal transmission, and the power unit provides power for the dexterous hand, the rotating joint and the lifting unit. By designing the adjusting assembly, the automatic maintenance function of the equipment is achieved, the problems that manual maintenance time is long, accuracy cannot be guaranteed and safety risks exist are solved, manual troubleshooting time can be shortened, secondary damage is avoided, the risk of manual operation is reduced, the working efficiency of the equipment is improved, the cost of the equipment is reduced, and the working efficiency of the equipment is improved. And the economic benefit is improved.
Owner:SHANGHAI PAIDE TECH CO LTD

Electronic equipment

PendingCN120526662APerpetual calendersSoftware engineeringDatabase connection
The embodiment of the invention provides electronic equipment used for an electronic calendar, and the electronic equipment comprises a control unit which is used for achieving the switching operation of target information, a model access unit which is configured to be connected with a database, and a display unit which is used for displaying the target information, the target information at least comprises calendar information and database information.
Owner:SUZHOU INST OF TRADE & COMMERCE

Database connection method and device, computer equipment, medium and program product

The invention relates to a database connection method and device, computer equipment, a medium and a program product. The method comprises the following steps: acquiring connection request information and global singleton object data from a client, and obtaining a mapping relationship between an elastic public network address and a virtual private cloud address; obtaining an original response result which corresponds to an original main node confirmation command of the client and comprises address information of the replica set node; under the condition that it is determined that the connection request needs to be subjected to elastic public network address replacement according to the connection request information and the global singleton object data, a virtual private cloud address in the original response result is replaced with a corresponding elastic public network address according to the global singleton object data, and a target response result is obtained; and sending the target response result to the client, and establishing connection between the client and each node of the replica set according to address information in the target response result. By adopting the method, the database connection flexibility can be improved on the basis of ensuring the security isolation of the cloud database.
Owner:CHINA TELECOM CLOUD TECH CO LTD

Business information processing method and apparatus, electronic device, and storage medium

The application discloses a business information processing method and device, electronic equipment and a storage medium. The method comprises the following steps: a gateway module receives an HTTP request from a client, obtains a database name corresponding to an access object according to ID information of the access object in the HTTP request; the database identifier is put into the HTTP request, and the HTTP request is forwarded to a business module; the business module obtains the database identifier based on the HTTP request, and stores the database identifier into a thread local variable of a current thread; the database name is obtained from the thread local variable, and a corresponding database connection pool is selected according to a key-value pair; when other business modules are called, the corresponding database identifier is obtained from the thread local variable through an interceptor, and the database name is written into a new HTTP request header and transmitted to the called other business modules. The application ensures that the system can accurately match the corresponding data source when processing data, and meets the business secret protection requirement.
Owner:BANK OF NINGBO