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

328 results about "Business code" patented technology

Code exception analysis method and device, storage medium and program product

The embodiment of the invention provides a code exception analysis method and device, a storage medium and a program product. In the embodiment of the invention, in the preset plug-in, the global knowledge graph is constructed through the logic syntax tree of the plurality of original business codes, so that intelligent anomaly analysis is carried out on the modified to-be-detected codes, multi-language and heterogeneous programming styles and complex dependency limitation are broken through, and cross-language and cross-file analysis is supported; change code snippets and associated influence code snippets thereof are accurately identified, and a data basis is tamped and analyzed; the analysis depth is deepened and the accuracy is improved through a multi-dimensional anomaly analysis large model and four-dimensional collaborative analysis in combination with an adaptive review rule and a knowledge graph; and finally, performing correction based on the generated repair scheme. Through the technical fusion of an MCP protocol, a multi-AI model, a syntax tree and a knowledge graph, the high efficiency, accuracy and real-time performance of code examination and repair are realized, and the service development quality and the system operation stability are remarkably improved.
Owner:BEIJING 58 INFORMATION TTECH CO LTD

Dynamic template generation method and device based on business requirements and medium

The embodiment of the invention discloses a dynamic template generation method and device based on business requirements and a medium, and relates to the technical field of low code, and the method comprises the steps: obtaining a business requirement description text input by a user, analyzing the business requirement description text through a natural language processing technology, determining template configuration information corresponding to the business requirements, and generating a dynamic template according to the template configuration information; comprising plug-in identification, module identification and extension point logic; loading in a pre-constructed storage library through the plug-in identifier and the module identifier to obtain a demand plug-in and a demand module corresponding to the business demand; analyzing the extension point logic to determine an insertion position corresponding to the extension point logic; and dynamically combining the demand plug-in, the demand module and the extension point logic through a preset template rendering engine to generate a dynamic business code template corresponding to the business demand. The demand plug-in, the demand module and the extension point logic can be loaded and combined according to the user demand, the template is flexibly combined and adjusted, and the customized business demand is met.
Owner:SHANDONG INSPUR SCI RES INST CO LTD

DDD architecture service code examination and evaluation method based on multi-expert LLM

The invention provides a DDD architecture service code review and evaluation method based on a multi-expert LLM, and belongs to the technical field of industry intelligence and the field of software process quality assurance. Multi-expert large model cooperation, token polling transmission and specific scene domain drive design (DDD) architecture analysis are adopted; in the same submitted code group, different dominant large models can be tried to serve as dominant large models, and final code review is performed to optimize an access condition of a suggested number. And through a multi-expert large model cooperation mechanism, the environment problem easily generated by a single large model is avoided, and the review stability is improved. The cooperation efficiency between large models is improved through a token polling mechanism of a large model expert group, fair speaking of each large model is ensured, an online state detection mechanism of a subordinate large model can ensure that tokens are transmitted to currently available large models, the situation that the overall review process is affected by individual large models is avoided, and the review efficiency is improved. And the business code review efficiency of the system is effectively improved.
Owner:SHANDONG INSPUR DIGITAL BUSINESS TECHNOLOGY CO LTD

Business code generation method and device fusing code specification detection

The invention provides a business code generation method and a business code generation device fusing code specification detection, which adopt a'generation-review-optimization 'closed-loop process to convert traditional post auditing into beforehand quality construction. Based on a pre-training code large model, an initial code is generated under a three-level cue word composed of a user demand, a context abstract and a system instruction, the system instruction is dynamically injected into an enterprise specification, and it is ensured that the generated code is initially compliant. And the auditing module performs semantic and architecture verification through abstract syntax tree analysis and a pre-training auditing model, automatically checks problems, sorts and repairs priorities, and generates an auditing report. And if defects are found, the system drives the model to be iteratively generated according to the priority until codes meeting the standard are output. The whole-process defect data is used for incremental fine adjustment to promote continuous evolution of the model.
Owner:CLOUDCHAIN GRP CO LTD

Configuration data processing method and device, computer equipment and storage medium

The invention relates to a configuration data processing method and device, computer equipment, a storage medium and a computer program product. The method can be realized through a container technology, and comprises the following steps: obtaining service flow, and determining an application instance used for responding to the service flow; determining a target version label corresponding to the service flow based on a version release strategy issued in the version release process of the configuration data by the proxy service related to the application instance; requesting target configuration data matched with the target version label by the proxy service; and loading the target configuration data through the application instance, and responding to the service flow after the loading is completed. By adopting the method, the version control for the configuration data can be realized under the condition that the original business code of the application instance is not invaded.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Code modification method, system and equipment based on CURD scene and medium

The invention is applicable to the technical field of code development, and provides a code modification method based on a CURD scene, which comprises the following steps: acquiring a business demand of code modification, and acquiring a data model required by code modification according to the business demand; based on the data model, obtaining a code file related to a CURD scene during code modification; analyzing a calling relationship among functions related to the CURD scene in the code file, and constructing a function calling graph; on the basis of the service requirements and the data model, service code snippets are generated, the service code snippets are combined and modified to the code file, code modification of the service requirements can be processed, and development efficiency and code quality are further improved.
Owner:ANHUI SANQI JIYU NETWORK TECH CO LTD

Sub-table data access method and system based on dynamic table name processing and application

The invention provides a sub-table data access method, system and application based on dynamic table name processing. The method comprises the following steps: performing registration association on a sub-table factor of a service table and a corresponding processor; after a data access request is initiated, the service implementation layer transmits the request to the table name processing layer, analyzes table division request parameters from the data access request, and transmits the table division parameters to the table division processor; calculating a table division factor through a table division processor; the table name processing layer generates a sub-table name according to the sub-table factor and the main name of the service table; generating SQL statements according to the table names of the sub-tables, and executing the SQL statements by a database to obtain a query result; and returning to the client to complete the data access process. According to the scheme, decoupling of the sub-table rules and the service codes can be achieved, sub-table data access logic is greatly simplified, sub-table operation is more standard and ordered by constructing a unified framework, the convenience of change of the sub-table rules is greatly improved, and efficient, flexible and stable support is brought to data management and application.
Owner:SHENZHEN WANSHENG CULTURE TECH CO LTD

Service sharing data processing method and system based on SaaS platform

The invention discloses a service sharing data processing method and system based on an SaaS platform, and relates to the field of data processing.The method comprises the steps that a service data set is received, and a corresponding service system is determined; converting each piece of business data into a code item according to a business code table corresponding to the business system to obtain a code item group; identifying key business entities in the code item group, and encoding to obtain a unique identification code of each key business entity; encoding the unique identification code to the corresponding code item to obtain an updated code item group; in response to the cross-platform instruction, taking at least one code item in the updated code item group as service shared data, and determining a target business platform; obtaining an interface protocol of the target business platform and a database type of a target database; and converting the service shared data into service data of the target service platform according to the database type and the interface protocol. According to the invention, the cross-system and cross-platform data processing efficiency can be effectively improved.
Owner:WUHAN TONGBU YUANFANG INFORMATION TECH DEV CO

Data dictionary mapping method and device based on annotation, electronic equipment and medium

The invention provides a data dictionary mapping method and device based on annotations, electronic equipment and a medium, and relates to the field of data processing.The method comprises the steps that whether a data query request obtained through a query interface in a Spring Boot framework carries interface annotations or not is determined; if yes, processing the data query request, and determining a data structure type of data queried by the data query request in a data dictionary; based on the data structure type, processing the data query request, and determining at least one return identifier and an identifier attribute corresponding to the return identifier; and if the identifier attribute comprises the attribute annotation, determining target data corresponding to the return identifier according to a corresponding relationship between different identifiers and different data in a data dictionary. According to the method, dictionary mapping can be automatically realized in an annotation mode, and the manual coding quantity is reduced, so that the development efficiency is improved; and the dictionary mapping relation is separated from the business code, so that centralized management and maintenance are facilitated, and the maintainability of the code is enhanced.
Owner:JINAN DALU ELECTROMECHANICAL CO LTD

Code generation model evaluation method and device, program product and electronic equipment

The invention provides a code generation model evaluation method and device, a program product and electronic equipment, and relates to the technical field of computers. The method comprises the steps that a to-be-detected code generation model is determined; generating at least one business code based on the to-be-detected code generation model; analyzing and processing the at least one business code to obtain data information of different dimensions; and obtaining an evaluation result corresponding to the to-be-detected code generation model according to the data information of different dimensions and the evaluation rule. According to the method, the data information of different dimensions of the business code generated by the to-be-detected code generation model is fully automatically determined, and the evaluation condition is judged based on the data information of different dimensions, so that the quality of the to-be-detected code generation model is quickly and accurately determined, and obviously, the detection efficiency is improved. In this way, the evaluation efficiency and the evaluation accuracy of the to-be-detected code generation model can be improved.
Owner:CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1

Gray level request routing method and device based on message queue, equipment and medium

The invention relates to a grayscale request routing method and device based on a message queue, equipment and a medium. In the application, after a message production service receives a request message, if a message agency judges that the request message carries a gray level identifier, an original theme of the request message is modified into a shadow theme to generate a target message, and the target message is sent to a gray level message queue, so that a gray level service in a message consumption service is facilitated; and consuming the corresponding target message from the grayscale message queue through the shadow theme. Visibly, according to the method, the device and the system, the grayscale request carrying the grayscale identifier is identified through the message agent, the original theme of the grayscale request is modified into the shadow theme, and then the shadow theme is stored in the grayscale message queue, so that grayscale request routing based on the message queue can be realized, the grayscale request can be isolated from other online requests in the mode, and the grayscale traffic is prevented from influencing the online user traffic; the message agent is independent of the business program of the message production service, so that the scheme does not need to modify the business code, and the stability of the business code is ensured.
Owner:BEIJING QIYI CENTURY SCI & TECH CO LTD

Identification method and device of unreachable code, electronic equipment and storage medium

PendingCN120687346AError detection/correctionCode compilationPathPingUnreachable code
The invention provides an unreachable code identification method and device, electronic equipment and a storage medium, and is suitable for the fields of financial science and technology, medical service and software code detection. The method comprises the steps of obtaining a target business code file; performing grammar analysis on the target service code file to obtain a target grammar structure tree; by traversing the target grammar structure tree, identifying an unreachable code segment on a static level as a first candidate unreachable code segment; running the business code file in a preset running scene, obtaining an effective code path in the running process in real time, and determining a code segment which is not covered by the effective code path in the target business code file as a second candidate unreachable code segment; and performing comparative analysis on the first candidate unreachable code segment and the second candidate unreachable code segment, and determining a target unreachable code segment in combination with a preset unreachable judgment rule. According to the invention, the accuracy and the recognition rate of unreachable code recognition can be improved.
Owner:CHINA PING AN LIFE INSURANCE CO LTD

Application update management method, management system, equipment and storage medium

The embodiment of the invention relates to the field of computers, and discloses an application update management method, management system and device and a storage medium, and the method comprises the steps: obtaining an installation package of a first version of a target application from an upper computer management system; comparing the first code configuration file with a second code configuration file stored in a current system, and determining a difference service code file between the first code configuration file and the second code configuration file; and updating the plurality of second service code files based on the difference service code file, and forming an updated second code configuration file corresponding to the plurality of updated second service code files. According to the application update management method disclosed by the invention, the technical problems of low application update efficiency and relatively poor operation stability are solved, at least accurate management of version update can be achieved, meanwhile, the equipment configuration information is kept unchanged, the user experience is improved, and version update can be carried out under the condition that normal use of a user is not influenced.
Owner:GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1

Index log processing method, device and system

The invention relates to the technical field of log monitoring, in particular to an index log processing method, device and system. The method comprises the following steps: receiving a statistical log in a preset format output by a service system; matching an expanded index object according to the statistical log, and processing the statistical log by using the expanded index object to obtain a business index; converting the business index into a target index conforming to a three-party monitoring system format; and transmitting the target index to the three-party monitoring system, so that the three-party monitoring system displays the target index in a corresponding display form. Therefore, the problems that existing log monitoring is low in development efficiency, high in business code coupling, poor in robustness and the like can be effectively solved.
Owner:GUANGDONG CHUTIAN DRAGON SMART CARD

Data processing method and device, equipment, medium and product

The invention provides a data processing method and device, equipment, a medium and a product. The method comprises the steps of obtaining a first database operation statement; wherein the first database operation statement indicates to perform a first operation on data of a first plaintext column in the first database; rewriting the first database operation statement to obtain a second database operation statement; wherein the second database operation statement indicates that a first operation is carried out on data of a first ciphertext column in the first database, the first plaintext column stores original data, and the first ciphertext column stores data obtained after the original data is encrypted; and executing the second database operation statement to obtain a data processing result. According to the method, operation is carried out on plaintext data in a database for business parties, the business parties do not need to perceive the data encryption and decryption process and do not need to configure business codes related to data encryption and decryption, the data encryption and decryption process is decoupled from the business parties, transparent encryption and decryption are achieved, and the method is widely applied to various business parties.
Owner:BEIJING ZITIAO NETWORK TECH CO LTD

Non-intrusive log processing method, system and device and storage medium

The invention relates to the technical field of data processing, and particularly provides a non-intrusive log processing method, system and device and a storage medium, and the method comprises the steps: marking annotations for business items of a business application layer through a dependency management function; triggering a pre-developed section component layer based on the annotation when the business item is called, intercepting operation data of the business item by the section component layer, and generating log data by analyzing the annotation attribute of the business item and the operation data; and calling an external interface of a pre-constructed log micro-service, sending the log data to a message queue of the log micro-service, and providing the log data to a consumer of the log micro-service by the message queue. According to the method, an annotation form is used, self-defined annotation is added on a method needing to operate log recording, decoupling of business codes and log recording codes in the encoding stage is achieved, and non-intrusive log obtaining and processing are achieved.
Owner:INSPUR YUNZHOU (SHANDONG) IND INTERNET CO LTD

Business code auditing method and device, electronic equipment, medium and program product

The invention provides a business code auditing method, belongs to the field of large model application, and can be used in the field of information security, the field of big data and the technical field of artificial intelligence. The method comprises the following steps: acquiring target business information and a target business code; performing preliminary scanning on the target business code to obtain a first analysis result; based on the first analysis result and the target service information, performing service logic analysis by using a service code auditing model to obtain a second analysis result; and verifying the first analysis result based on the second analysis result, and generating a business code auditing result based on the second analysis result and a verification result.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Method and system for non-intrusively solving unauthorized security vulnerabilities

The invention relates to the technical field of security vulnerability solving, and provides a non-intrusive unauthorized security vulnerability solving method, which comprises the following steps: S1, designing a self-defined unauthorized security vulnerability detection tool, defining a set of service provider interface SPI in the unauthorized security vulnerability detection tool, and integrating with a service system through the service provider interface SPI to obtain an unauthorized security vulnerability detection result; realizing permission judgment of the service system; s2, marking a bean object of the front-end interface which needs to be subjected to permission judgment in the service system by using a (at) Controller or (at) RestController annotation, and meanwhile, adding user permission checking logic to a method in which tool annotation is used in the bean object by adopting a Spring AOP technology by the unauthorized security vulnerability detection tool, when permission judgment needs to be carried out, calling is carried out through the SPI of the service provider interface. According to the technical scheme, a user-defined tool is adopted, a group of authority annotations are defined, and the tool automatically scans all classes and methods with the annotations in the business codes and executes authority checking.
Owner:SHANGHAI HEADING INFORMATION ENG CO LTD

Dynamic configuration management method and system under single-machine lightweight scene

The invention relates to a dynamic configuration management method and system under a stand-alone lightweight scene, and the method comprises the steps: carrying out the unified description of a configuration file of an application program through the form of structured metadata, and obtaining a metadata configuration item, so as to achieve the decoupling of the configuration file and a business code; in the starting process of the application program, the metadata configuration items are detected and verified, and the metadata configuration items meeting preset requirements are cached in a key value hash table of a volatile memory; and after the application program is started, acquiring a configuration value corresponding to the metadata configuration item from the key value hash table of the volatile memory through the configuration item acquisition interface. Through the application, the configuration item is defined in the form of metadata to realize decoupling with the service code, the verification is configured in the application starting stage to realize timely abnormity, the operation and maintenance cost is effectively reduced, the hash table cache effectively reduces the access frequency of the configuration file in the disk, and the problem of how to improve the management efficiency of the configuration item of the application program is solved.
Owner:HUAXIN CONSULTATING CO LTD

Cross-platform WebView packaging device and method based on conditional compiling

The invention provides a cross-platform WebView packaging device and method based on conditional compiling. The cross-platform WebView packaging device comprises a WebView packaging layer, a platform adaptation layer and a bottom platform layer, the WebView encapsulation layer provides a unified API interface as an entry directly called by a developer, and shields the difference of a bottom platform; the platform adaptation layer detects the type of a target operating system in a compiling stage by utilizing a Qt preprocessor macro, and dynamically selects and instantiates a bottom browser view most matched with the corresponding platform according to a detection result; and the bottom platform layer comprises a browser engine implementation class exclusive to each platform. According to the method, a unified packaging layer and an API interface are established, platform differences are digested at a bottom layer, and upper-layer service codes can be written once and run everywhere.
Owner:SHANGHAI GREAT WISDOM SHENJIU INFORMATION TECH CO LTD

Back-end language switching method and device, equipment and storage medium

The invention discloses a back-end language switching method and device, equipment and a storage medium, and relates to the technical field of computers, and the method comprises the following steps: if response data of a back-end target interface is intercepted, matching with a preset interface field table based on path information of the interface; determining a to-be-converted field in the response data based on the matched switchable field, so as to match the to-be-converted field with a preset dictionary table based on the to-be-converted language; if the to-be-converted fields are completely matched, replacing the to-be-converted fields based on first target conversion fields in a preset dictionary table; if the to-be-converted fields cannot be completely matched with the current language, determining a first to-be-converted field corresponding to the current language in the to-be-converted fields and a second to-be-converted field representing the symbol, and replacing the first to-be-converted field with a second target conversion field corresponding to the first to-be-converted field in a preset dictionary table, and replacing the second to-be-converted field with a preset placeholder in a preset dictionary table. Therefore, the language switching efficiency can be improved under the condition that the original business code is not modified.
Owner:SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

Aerial event processing method and device

The embodiment of the invention provides an aviation event processing method and device, and relates to the technical field of computers. The method comprises the following steps: receiving a processing demand for a target aviation event input by a user; retrieving a target candidate set related to semantics of the processing demand from a first knowledge base; the target candidate set comprises at least one reference business logic and a corresponding reference code snippet; the first knowledge base stores processing requirements of processed aviation events, business logic descriptions and corresponding code snippets; according to the processing requirement and the target candidate set, a cue word is constructed, the cue word is input into the event code generation large model for reasoning, and an executable service code is generated; and executing the executable business code to process the target aviation event. The method can be used in an aviation operation management process, and is used for solving the problem that manual coding is low in efficiency and highly depends on expert experience in an aviation event processing process.
Owner:CHINA SOUTHERN AIRLINES DIGITAL TECHNOLOGY (GUANGDONG) CO LTD

BIM model component coding management method, program and system

The invention relates to the technical field of building information model information, and discloses a BIM (Building Information Modeling) component coding management method, a BIM component coding management program and a BIM component coding management system. The method comprises the following steps: dividing all BIM model components in a construction project into at least one type according to business requirements; for each BIM model component in each type of BIM model components, determining a multi-dimensional coding result of a single BIM model component, and obtaining a multi-dimensional coding result of each BIM model component; exporting an engineering structure file and a BIM model component of the target project as a target format file, and uploading the target format file to an engineering structure management platform; and determining a corresponding component list according to the query screening condition, and determining a hitching relationship between the engineering structure and the BIM model components in the component list. According to the method, various business codes are created according to business requirements, the BIM model components are endowed with the codes, and in practical application, the requirements of business attribute classification coding can be met, and the code readability and the query efficiency can be improved.
Owner:CAPITAL AIRPORTS HLDG CO LTD +1

Zero-intruding computing power accelerator card information customizing system and zero-intruding computing power accelerator card information customizing method

The invention provides a zero-intrusion computing power accelerator card information customizing system and method, and belongs to the technical field of container cloud platforms. The method comprises the following steps: deploying an information self-defining component on each node of a container cloud platform in a containerization manner, and actively monitoring a creation or starting event of a service container by the information self-defining component; and injecting a self-defined interception dynamic library, a dynamic library sequence control file and a self-defined hardware information database into the service container by using an NRI mechanism. According to the technical scheme, an NRI mechanism is organically combined with a dynamic link library loading mechanism, a self-defined hardware information database and other technologies, so that the information acquisition technology paths of the computing power acceleration cards with different sources and different levels can obtain preset hidden information as return results; according to the scheme, access of hiding or self-defining capability of the computing power accelerator card of the container cloud platform can be realized under the condition that a user service code and a service container mirror image are not modified, and the method has a wide application scene.
Owner:SHANGHAI DAOKE NETWORK TECH CO LTD

Business interaction method, nonvolatile storage medium and electronic equipment

The invention discloses a service interaction method, a nonvolatile storage medium and electronic equipment. The method comprises the steps that state recording information is determined, and the state recording information is determined based on the current execution state of a first service module in a plurality of service modules; querying according to the state record information, and determining a target theme corresponding to the state record information; and a target message is controlled to be generated in the target theme, the target message is acquired by a second service module subscribing to the target theme, the second service module executes a corresponding service process according to the target message, and the second service module belongs to a plurality of service modules. The technical problems of high business architecture coupling and non-ideal business code adjustment efficiency in the prior art are solved.
Owner:CHINA TELECOM BESTPAY CO LTD

Test method and operation system, continuous integration platform, equipment, medium, program product and vehicle

The embodiment of the invention provides a test method, an operating system, a continuous integration platform, equipment, a medium, a program product and a vehicle. The method is applied to a continuous integration platform, and a service code, a unit test code, a test case, a unit test framework, a vehicle-mounted operating system, a compiling script and a test script are deployed on the platform. The method comprises the following steps: running a compiling script to obtain an executable file; the executable file comprises a compiled service code, a unit test code, a unit test framework, a test case and a vehicle-mounted operating system; the business code is a to-be-tested code; the service code is applied to a vehicle-mounted operating system; the unit test code is used for verifying correctness of the business code; the unit test code is written according to the unit test framework; running the test script to enable the test script to test the service code by running the executable file to obtain a test result; the test script is written according to a test case, and the test case is used for representing the purpose and steps of the test.
Owner:CHONGQING CHANGAN TECH CO LTD

List component service code generation method and device, equipment and medium

The invention discloses a list component service code generation method and device, equipment and a medium, context data corresponding to a target list component is obtained, and target configuration information corresponding to certain list configuration item fields in the target list component can be set through the context data. And then, searching and determining a target code template corresponding to the target list component through the context data, namely, a code template which comprises a to-be-replaced list configuration item field, and the field content of the to-be-replaced list configuration item field is a placeholder. And then, replacing the placeholder of the target code template by using the value of the key-value pair in the context data to obtain a target service code. The method is beneficial to improving the development efficiency of the list component and reducing the development cost. The technical scheme of the invention can be widely applied to various scenes such as cloud technology, artificial intelligence, intelligent traffic, auxiliary driving and the like.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Construction method of highly extensible plug-in architecture of operation system, medium and equipment

PendingCN119396389Aquick implementationImplementation processVersion controlProgram loading/initiatingJava ClassloaderSoftware engineering
The invention discloses a construction method, medium and equipment for a high-scalability plug-in architecture of an operation system, and the method comprises the steps: recognizing a core business code from business codes, and taking the core business code as a main program; different service interfaces are defined in the main program according to different service logics. The main program starts a main program class Java Classloader, different service plug-ins are loaded according to an application.yml configuration file, and a service plug-in program is started; and the service plug-in starts the plug-in class Java Classloader, and loads the class of the service plug-in and the dependency of the service plug-in. And all versions of service systems uniformly use the plug-in management function provided by the plug-in framework to complete the loading of the service plug-in package and assemble into a complete service system. According to the invention, high expandability of the whole system business is realized in a mode of forming the plug-ins for different business logic codes and core logic codes.
Owner:CHINA COMM SERVICE APPL & SOLUTION TECH CO LTD

Image processing method and device, equipment and storage medium

The invention discloses an image processing method and device, equipment and a storage medium, and relates to the technical field of computers. The method comprises the steps of obtaining a service code used for executing an image processing service, wherein the service code comprises at least one adjustable parameter; running the service code through a graphics processing unit (GPU) to obtain running data of the GPU, the running data being used for reflecting the running condition of the GPU; determining an adjustment trend of the adjustable parameters through a decision tree according to the operation data; wherein the decision tree is used for representing the corresponding relation between the adjustment trend of the adjustable parameters and the operation condition of the GPU; according to the adjusting trend of the adjustable parameters, the adjustable parameters are adjusted, adjusted service codes are obtained, and the adjusted service codes are used for executing image processing services. According to the method, the business code adjustment efficiency is improved.
Owner:TENCENT DIGITAL TIANJIN

Rapid database adaptation method and device, storage medium and electronic equipment

The invention provides a rapid database adaptation method and device, a storage medium and electronic equipment. The method comprises the steps that an execution request which is initiated by an application program and contains a source SQL is obtained; enhancing the database execution object to obtain an enhanced object; intercepting the source SQL through the enhanced object; performing structured analysis on the source SQL to generate a corresponding intermediate representation structure; loading a corresponding dialect conversion rule set according to the type of the target database; generating a target intermediate representation structure according to the dialect conversion rule set; according to the target intermediate representation structure, rendering and generating a target SQL (Structured Query Language) compatible with a target database grammar; calling a native drive of the target database to execute the target SQL to obtain a native execution result; performing compatibility packaging processing on the native execution result to obtain an adaptive execution result; and returning an adaptive execution result to the application program. According to the method, large-scale modification of business codes and SQL statements is not needed, and the migration cost and risk are effectively reduced.
Owner:SUZHOU CUIYUANENG CARBON TECHNOLOGY CO LTD