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

83 results about "User-defined function" patented technology

A user-defined function (UDF) is a function provided by the user of a program or environment, in a context where the usual assumption is that functions are built into the program or environment.

Data processing method and device of distributed computing engine and electronic equipment

The invention relates to a data processing method and device of a distributed computing engine and electronic equipment. The method comprises the steps that under the condition that a structured query statement of a client side is received, the structured query statement is analyzed, a first task and a target task are obtained, the structured query statement comprises a user-defined function, the target task is a task corresponding to the user-defined function, and the first task is a task corresponding to statements except the user-defined function; calling an interface of the target custom function server to enable the target custom function server to execute the target task; target data generated by the target self-defined function server and first data generated by the working node of the distributed computing engine serve as execution results of the structured query statement and are returned to the client side, and the first data are data obtained when the working node of the distributed computing engine executes the first task. According to the method and the device, the technical problem of low processing efficiency of the structured query statement comprising the custom function is solved.
Owner:BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1

Rule engine configuration method and device based on machine learning, equipment and storage medium

The invention belongs to the technical field of artificial intelligence, is applied to the field of financial science and technology and the field of medical health, and discloses a rule engine configuration method, device and equipment based on machine learning and a storage medium. The method comprises the steps that historical calculation data and performance indexes in historical calculation tasks are collected, and a training data set is constructed; a machine learning model is trained, and algorithm parameters of the rule engine are dynamically optimized through the training data set; configuring an expression and a user-defined function of a rule engine, and realizing analysis and execution of scripts through JEXL (JavaScript Exchange Library); establishing a dynamic mapping relationship between the algorithm configuration library and the business variables, mapping algorithm variable names and business variable names, and generating configurable algorithm rules; and analyzing task load and resource requirements based on a pre-trained machine learning model, distributing system resources, and repairing abnormal behaviors in a calculation process. According to the invention, the problems of low processing efficiency, high maintenance cost, unreasonable resource allocation and poor expandability in the prior art are solved.
Owner:CHINA PING AN LIFE INSURANCE CO LTD

Data transmission method and device

The present application discloses a data transmission method and device. The method comprises: receiving a query request sent from a target account, wherein the query request at least comprises a target data set requested to be accessed by the target account; when there is sensitive data in the target data set, selecting a target function from among pre-registered custom functions, and performing a desensitization operation on the target data set by means of the target function to obtain a desensitized target data set, wherein the custom functions are deployed in a plurality of versions of distributed engines; and sending the desensitized target data set to the target account. The present application solves the technical problem in the related art of low adaptability of data desensitization methods.
Owner:CHINA TELECOM CORP LTD

Analysis method of horizontal tube falling film evaporation

The invention discloses an analysis method for falling film evaporation of a horizontal pipe, which comprises the following steps: S1, establishing a geometric model of the horizontal pipe, and simulating a gas-liquid interface; s2, based on the simulated gas-liquid interface, establishing a turbulence model for the liquid outside the horizontal pipe; and S3, based on the gas-liquid interface and the turbulence model, performing heat conduction simulation to obtain a simulation model of horizontal tube falling film evaporation. According to the analysis method, software is used for carrying out simulation research on the flow characteristic and the heat exchange characteristic in the horizontal pipe outer falling film evaporation process, a VOF method is combined with a UDF (User Defined Function) program, a gas-liquid interface and a turbulence model are simulated through a geometric model, and the flow characteristic and the heat exchange characteristic of the horizontal pipe outer falling film evaporation process are analyzed. The method can effectively explore the influence of different surface structures (such as fin structures with circular arc, trapezoid, triangle and the like) of the evaporation pipe on the falling film flow evaporation characteristic outside the horizontal pipe, so that a user can conveniently design the fin structures of the horizontal pipe according to own requirements, and the optimal design of the horizontal pipe is realized.
Owner:CHINA UNIV OF PETROLEUM (EAST CHINA)

Data compression for real-time analytics

Systems and methods for compressing and querying data for real-time analytics. The system can receive log data and generate an intermediate representation by parsing a log template and variables from the log data into a columnar format. The method includes generating a compressed intermediate representation associated with an index type and storing the compressed intermediate representation in the columnar format based on the index type. The method includes receiving a search query and analyzing the search query to identify a user defined function. The method includes parsing the search query to convert the search query into one or more predicates that satisfy the search query. The method includes filtering the compressed log data based on the one or more predicates and providing a query result.
Owner:UBER TECHNOLOGIES INC

Data simulation method and system based on database function and timed task

The invention discloses a data simulation method based on a database function and a timed task. The method comprises the following steps: S1, acquiring source data based on a multi-modal lightweight intelligent acquisition strategy; s2, performing data cleaning and standardization so as to ensure engineering processing of simulation data quality and consistency; s3, creating a user-defined function in the database to package intelligent logic of data simulation; according to a time condition and a data mode in the timed task, intelligently performing simulation trigger judgment and simulation data generation through the user-defined function; s4, performing efficient data injection based on a buffer and batch optimization mechanism of the intermediate table; and S5, performing timed task period regulation and control. The invention further discloses a corresponding system, electronic equipment and a computer readable storage medium.
Owner:GUANGZHOU HUIYUN NETWORK TECH CO LTD

Custom Mock platform and network request simulation processing method based on same

The invention relates to a custom Mock platform and a network request simulation processing method based on the custom Mock platform, and the platform comprises a Mock rule management unit which obtains a configuration field of a Mock rule based on an interactive configuration interface; the extraction rule configuration unit is used for obtaining configuration fields of extraction rules based on the interactive configuration interface, extracted parameters are stored in a variable pool, and the parameters in the variable pool are used for being converted into dynamic variables; the custom variable unit is used for customizing a constant based on the interactive configuration interface and / or dynamically generating a custom variable by utilizing a custom function provided by the Mock platform; the user-defined function unit is used for receiving and approving the uploaded user-defined function and adding the user-defined function into a function library of the Mock platform; and the Mock response unit is used for editing based on the interactive configuration interface or generating dynamic response header information based on a self-defined function, and generating a response message based on a preset template. According to the invention, a complex business scene can be accurately simulated and responded in real time, so that the authenticity and effectiveness of the test are greatly improved.
Owner:HAIER CONSUMER FINANCE CO LTD

First class database object server application

A data platform for managing an application as a first-class database object. The data platform includes at least one processor and a memory storing instructions that cause the at least one processor to perform operations including detecting a data request from a browser for a data object located on the data platform, executing a stored procedure, the stored procedure containing instructions that cause the at least one processor to perform additional operations including instantiating a User Defined Function (UDF) server, an application engine, and the application within a security context of the data platform based on a security policy determined by an owner of the data object. The data platform then communicates with the browser using the application engine as a proxy server.
Owner:SNOWFLAKE INC

Program-level code similarity analysis method and device based on semantic slicing

The invention relates to the technical field of network security, and discloses a program-level code similarity analysis method and device based on semantic slicing, and the method comprises the steps: constructing a program-level target function call graph based on a target source code; matching the target function call graph with a standard function call graph to obtain a plurality of isomorphic sub-graphs; performing semantic slicing on each function node in the first sub-graph and the second sub-graph to obtain a first slicing result of the first sub-graph and a second slicing result of the second sub-graph; and evaluating the slice similarity between each function in the first slice result and each function in the second slice result, and determining the similarity of the target source code according to the slice similarity. According to the method, the user-defined function call graph for eliminating system function interference is constructed, an isomorphic sub-graph matching algorithm is combined, multi-dimensional features are comprehensively considered, the accuracy of similarity calculation is improved, effective support is provided for practical application scenes such as code reconstruction and security audit, and the guarantee of code quality and security is improved.
Owner:CHINA TELECOM CLOUD TECH CO LTD

Computing interface based on embedded database and implementation method

The invention discloses a computing interface based on an embedded database and an implementation method, packaged data can be efficiently operated by calling an interface in Python through a mode of using a packaging type, only one-time data conversion is needed during input and output, repeated conversion into a Python object is not needed during calculation, non-uniformity of the data type is avoided, and the calculation efficiency is improved. The overall calculation efficiency is improved; according to the method, a user-defined function of a dynamic language Python is converted into a user-defined function of an embedded database in a translation mode through an SQL (Structured Query Language) execution system and a database user-defined function capability, real-time analysis does not need to be performed by depending on Python during calculation, and efficient calculation can be performed by directly using a database kernel; by providing a multi-thread context management mode, the context information required when each function is called is hidden, and the use threshold of a user is reduced.
Owner:DOLPHINDB INC (CN)

Conversion Method from Simulink-StateFlow Model to NuSMV Model

The present invention relates to a method for converting a Simulink-StateFlow model into a NuSMV model, which includes the following steps: conducting a requirements analysis on the system to be evaluated and constructing a Simulink-StateFlow model; extracting program statements, custom function statements, and logical sequence relationships in the model, and respectively constructing a program statement data table, a custom function data table, and a logical sequence data table; integrating the model program and sequence to generate a model information table; analyzing the Matlab programming language and constructing Matlab syntax rules; processing the program statements in the model information table according to the syntax rules and parsing them into an abstract syntax tree; processing the abstract syntax tree to determine an algorithm for converting it into NuSMV statements; and processing the model information table according to the conversion algorithm to generate a NuSMV model. The present invention greatly improves the efficiency and accuracy of the NuSMV tool for model checking of the Simulink-StateFlow model, and realizes the safety verification of the Simulink requirements model of the control system.
Owner:BEIJING JIAOTONG UNIV

A performance index calculation method, device and medium in a network management system

The present application discloses a method, device and medium for calculating performance indicators in a network management system, which relates to the field of network management. In order to reduce resource usage when calculating indicators, the present application automatically calls the custom function corresponding to the indicator to obtain the calculation result of the performance indicator by calling the custom function and the grammatical parsing tree through the query command after receiving the query request. By using database function calculation, the database CPU resources can be fully utilized and the consumption of application server CPU resources can be reduced. There is no need to perform complex indicator calculation logic at the network management application layer, which greatly simplifies the performance indicator calculation process in the network management system. In the scenario of large data volume, there is no need to increase the application server CPU resources, which effectively solves the problem of computing efficiency bottleneck.
Owner:JINAN INSPUR DATA TECH CO LTD

Method for protecting So file from being subjected to memory Dump based on Android system

The invention provides a method for protecting an So file from being subjected to memory Dump based on an Android system, which comprises the following steps of: adjusting an So file memory mapping behavior of an mmap function in a dynamic linker, and not reporting So file memory mapping information to a map file; calling a user-defined function to modify the file head feature information of the So file, and erasing the file head feature information; and hiding the record of the So file in the shared object list so as to complete protection of the So file. According to the method for protecting the So file from being Dumped by the memory based on the Android system, the So file in the Android system can be effectively prevented from being illegally Dumped in the memory, and the running safety of an application program is protected. In addition, due to the fact that balance between safety and performance is considered in the implementation process, the scheme is suitable for Android devices for various commercial and personal purposes.
Owner:XIAMEN CHUNYOU INTERACTIVE TECH CO LTD

Using custom functions to access a cloud-based data warehouse

ActiveUS12717816B1Data setEngineering
Using custom functions to access a cloud-based data warehouse including: receiving, by a workbook manager from a client computing system, a call to a first user-defined function input to an element of a workbook, wherein the workbook presents a dataset from a cloud-based data warehouse, wherein the first user-defined function is defined in the workbook manager; and executing, by the workbook manager and in the cloud-based data warehouse, based on the call to the first user-defined function, a second user-defined function defined in the cloud-based data warehouse.
Owner:SIGMA COMPUTING INC

A pallet rental data management method, system, intelligent device, and storage medium

This invention discloses a pallet rental data management method, system, intelligent device, and storage medium. The method includes: obtaining the user identifier of the current user and the database identifier of the currently accessed database; obtaining a customer number list string based on the user identifier and database identifier; saving the customer number list string to a session variable; establishing a custom function to obtain the customer number list string; splitting the customer number list string into a row-based list view; establishing a data view for the relevant data tables in the currently accessed database; associating the list view with the data view to obtain the associated view; setting the relevant data tables to write-only; obtaining the query information input by the current user; retrieving result data from the associated view based on the query information; and providing the result data back to the current user. This invention ensures effective isolation of data in the shared pallet rental system and guarantees the confidentiality of user data.
Owner:深圳市普拉托科技有限公司

UDF query method and system based on Spark SQL

The present invention discloses a global UDF query method and system based on Spark SQL, and relates to the field of function configuration. The steps of the method include: registering the required UDF under the default library, and querying the UDF under the default library when receiving a UDF query request including a function name issued by a user. Before the UDF query, the present invention pre-registers the required UDF under the default library and uses it as a global function. If the user does not query the UDF under the current library, the user can query under the default library. Therefore, the user only needs to register a custom function under the default library, and it can be used under other databases. The user does not need to enter the database name when querying, and the query process is relatively simple.
Owner:CHINA ELECTRONICS CLOUD DIGITAL INTELLIGENCE TECH CO LTD

A method and system for generating and testing custom functions of a database

The present invention discloses a method and system for generating and testing user-defined functions in a database. The method comprises the following steps: building a retrieval corpus containing function semantic fragments based on official documents of a database system; adopting a hierarchical strategy to build multi-layer prompt information based on the function semantic fragments, structured requirement information and example guidance templates; a function creation model adopts a streaming generation and syntax verification mechanism based on the multi-layer prompt information to generate a user-defined function creation statement; injecting the statement into a database system to execute a creation operation; if the execution is successful, performing correctness verification on the generated user-defined function; when the verification result is passed, recording metadata and a boundary value sample set of the user-defined function, and generating a corresponding user-defined function entity; constructing a database test statement group based on the metadata, boundary value sample set and target database structure of the user-defined function entity, and performing automated testing on the user-defined function entity.
Owner:SHANGHAI ANBAN INFORMATION TECH CO LTD

Custom formulas in office cloud platform add-in

The present disclosure involves systems, software, and computer implemented methods for enabling custom formulas in a cloud platform office add-in. An example method includes automatically loading a public landing page of a cloud platform add-in of a spreadsheet application. The public landing page includes a declaration and a first implementation of at least one custom function. Login credentials for a customer tenant of the cloud platform are obtained. A redirect is performed to a private web application for the customer tenant. The private web application includes, for each custom function, a second implementation that is configured to retrieve customer-specific cloud platform data of the customer tenant. Each first implementation of a custom function is replaced with the second implementation of the custom function. In response to a user request in the spreadsheet application to use a first custom function, the second implementation of the custom function is invoked.
Owner:SAP SE

Simulated liquid level dynamic control method based on Fluent continuous casting tundish

The invention discloses a simulated liquid level dynamic control method based on a Fluent continuous casting tundish, which comprises the following steps: S1, establishing a geometric model of the tundish and a long nozzle, and carrying out grid division; s2, importing the geometric model of the tundish and the long nozzle subjected to grid division into Fluent software, and setting calculation parameters; s3, developing a Fluent user self-defined function, and importing the Fluent user self-defined function into Fluent compiling; and S4, after the user-defined function is imported into Fluent to be compiled, analog calculation is started, and dynamic control over the liquid steel level in the tundish is achieved. The method has the advantages that real-time dynamic control of the liquid level of the molten steel in the tundish in the simulation process is achieved, the liquid level is accurately controlled, the limitation of single-phase flow or constant flow assumption adopted in a traditional simulation method is overcome, the actual production working condition is met, and the consistency of the simulation result and the actual production process is remarkably improved.
Owner:NANJING IRON & STEEL CO LTD

Custom replacement of functions with inverse functions for improved query performance

Techniques and solutions are provided for improving query performance using inverse functions. Often a function is used to perform operations such as data type conversions. The use of these functions can be resource intensive, such as if a conversion needs to be performed for all rows of a particular relational database table. The present disclosure allows for the registration of inverse functions that can be used, or at least be considered for use, in place of a function. A given inverse function can be associated with its function using techniques such as maintaining mapping information or using a particular naming convention. A particular syntax is provided for designating and creating an inverse function.
Owner:SAP SE

Inline compilation of user defined functions

Embodiments described herein provide techniques for in-line compiling of UDFs in other programming languages. These techniques enable faster programming iterations because it allows users to compile directly in the cloud processing system. Moreover, it allows the UDFs to tie into existing libraries. The compiled results are treated as sensitive and handled with appropriate security policies, as with any other user data in the system.
Owner:SNOWFLAKE INC

Code generation method and related equipment

The embodiment of the invention discloses a code generation method and related equipment, which are used for generating codes under the condition of improving the code generation efficiency. The method comprises the steps that a target request is obtained, the target request comprises an initial code text, syntactic analysis is conducted on the initial code text, a syntax tree is obtained, each code block of the syntax tree is used for representing a built-in function and / or a self-defined function corresponding to a target formula expression, and the built-in function and / or the self-defined function correspond to the target formula expression; the tree structure of the syntax tree is used for representing an execution sequence between the built-in functions and / or the self-defined functions, obtaining a function execution method of each built-in function and / or the self-defined function corresponding to each code block, and executing the built-in functions and / or the self-defined functions on the basis of the execution sequence and the function execution method of each built-in function and / or the self-defined function corresponding to each code block. And generating a class instance corresponding to the target formula expression, and loading the class instance to the runtime application to generate and execute a target code text corresponding to the target formula expression.
Owner:KINGDEE SOFTWARE(CHINA) CO LTD

Tunnel train fire smoke spreading prediction method based on machine learning

The invention discloses a tunnel train fire smoke spreading prediction method based on machine learning, which comprises the following steps: S1, carrying out numerical simulation in Fluent, realizing variable-speed movement of a train and a fire source through a user-defined function (UDF) technology, and recording the change condition of the temperature of a key point along with time and the change condition of the carbon monoxide density along with time; s2, realizing multi-working-condition automatic solution and automatic data storage through a supercomputing platform and a PyFluent technology; the temperature distribution and the smoke concentration of the key evacuation position are obtained, and a learning sample is provided for the rapid prediction technology of the evacuation condition in the railway tunnel; and S3, training the recurrent neural network model to realize rapid prediction of disaster-causing parameters of the key point location. According to the method, the reduction degree is higher, the method better fits the actual situation, the CNN-LSTM model obtained through key input variable training is selected, and the flue gas spreading situation in the tunnel can be achieved.
Owner:BEIJING JIAOTONG UNIV +3

Operation method of electronic device for providing information, and electronic device supporting same

According to the present disclosure, disclosed is a method by which an electronic device provides information, the method comprising the steps of: obtaining information about a user define function set for big data operation processing related to a service provided by the electronic device; confirming an operation processing method to be applied to an operation by the user define function among an offline big data operation processing method and an online big data operation processing method on the basis of the information about the user define function; performing operation processing for input data to be operated by the user define function on the basis of the user define function and the confirmed operation processing method; and providing information about output data obtained in response to the operation processing.
Owner:COUPANG CORP

Method, system and equipment for automatically generating message data according to interface definition

The invention belongs to the technical field of message data generation, and provides a method, system and device for automatically generating message data according to interface definition, and the method comprises the steps: creating a data generation rule through a built-in function; the method comprises the following steps of: defining and describing a message by creating a field of the message; analyzing the definition description of the message to generate a data template; and filling the data template according to the data type and the data generation rule, and generating message data. According to the application, the data generation rule can be flexibly adjusted according to the change of the service scene, different data sample generation requirements are met, and the expandability of the device is improved; according to the method, the problem that a self-defined function needs to be rewritten in the prior art is solved, the method is simpler and more convenient to use, the defect that the interface declaration node must be defined in a program by using TypeScript is overcome, and the flexibility of the program and the universality of the defined message format are improved; corresponding message data can be quickly generated according to different interface definitions, and manual intervention and repeated labor are not needed.
Owner:TRAVELSKY TECHNOLOGY LIMITED

Conditional search component packaging method and device, equipment and storage medium

The invention provides a packaging method, device and equipment for a conditional search component and a storage medium, firstly, a dom structure of the conditional search component is constructed, a search condition box and a slot used in a system are uniformly packaged in a form component, then, a search type list transmitted when the packaged conditional search component is used is received, and the search type list is stored in the form component. Packaging a user-defined function to process data of a list, generating attributes and default values of a form, processing a button click event according to a button type of a button clicked by a user, and providing a function of searching when an enter key of a keyboard is clicked; and finally, introducing the packaged condition search component into a page to be used, and transmitting the data of the search type list into the packaged condition search component. The method aims at solving the problems of code redundancy and code repetition of all pages, private customization is supported through a flexible configuration mode, and later unified modification and code maintenance are better facilitated while the code quantity is reduced.
Owner:SHENYANG ERYISAN ELECTRONICS TECH CO LTD

Industrial intelligent software development method and platform fusing model-driven architecture

The invention discloses an industrial intelligent software development method and platform of a fusion model-driven architecture, relates to the technical field of industrial software, and solves the problems that a traditional development mode is difficult to flexibly adapt to complex and changeable industrial scenes, the service logic reusability is poor, a UI and a core service are disjointed, and the collaboration efficiency of all stages is low. A user-defined function is supported through a data modeling tool, input and output attributes are visually defined, and flexible data structure construction under a complex service rule is achieved; the service modeling tool assembles a modular service process based on a domain model library through node dragging, gateway branch control and sub-process nesting; and the UI modeling tool automatically analyzes the attributes of the business model, and matches the template library to generate an interface and a standardized interface. And traditional coding is converted into visual operation, so that the development efficiency is improved, the service change response period is shortened, the maintenance cost is reduced, and industrial software is promoted to be upgraded to intelligence and standardization.
Owner:CHONGQING SAIBAO IND TECH RES INST CO LTD +1

First class database object server application

A data platform for managing an application as a first-class database object. The data platform includes at least one processor and a memory storing instructions that cause the at least one processor to perform operations including detecting a data request from a browser for a data object located on the data platform, executing a stored procedure, the stored procedure containing instructions that cause the at least one processor to perform additional operations including instantiating a User Defined Function (UDF) server, an application engine, and the application within a security context of the data platform based on a security policy determined by an owner of the data object. The data platform then communicates with the browser using the application engine as a proxy server.
Owner:SNOWFLAKE INC

Data processing method and apparatus, and storage medium and electronic device

Disclosed in the present application are a data processing method and apparatus, and a storage medium and an electronic device. The method comprises: receiving a data processing request, wherein the data processing request at least comprises target data to be processed and a target processing mode for the target data; on the basis of the target processing mode in the data processing request, generating a structured query statement for calling a first user defined function; and calling the first user defined function from a target interface of a target database on the basis of the structured query statement, and processing the target data on the basis of the first user defined function, so as to obtain a processing result. The present application solves the technical problem in the prior art of the processing efficiency of data being relatively low due to the fact that the data can be processed by means of a user defined function only after a user performs operations such as compilation and packaging, resource addition and function creation.
Owner:CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PTE LTD