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

94 results about "Parse tree" patented technology

A parse tree or parsing tree or derivation tree or concrete syntax tree is an ordered, rooted tree that represents the syntactic structure of a string according to some context-free grammar. The term parse tree itself is used primarily in computational linguistics; in theoretical syntax, the term syntax tree is more common.

Data analysis system and method based on artificial intelligence

According to the artificial intelligence-based data analysis system and method provided by the invention, a set of novel data analysis system architecture is designed, and key technical components such as natural language processing, a large language model, database query optimization, multi-modal visualization and a semantic knowledge graph are fused; data transmission between modules is realized through unified intermediate data objects such as a structured query intention, an analytic tree and a structured query language template object, and asynchronous collaboration is realized through event driving and a message queue mechanism, so that a non-professional user can input an analysis request through a natural language; semantic analysis, structured query language query statement generation, data query and result visualization presentation are automatically completed, the method can be widely applied to data analysis scenes in the industries of government affairs, traffic, finance, education and the like, the data use efficiency is improved, the technical threshold is reduced, and the digital decision-making ability is enhanced.
Owner:WUHAN DEEPIN DIGITAL TECHNOLOGY CO LTD

Code performance optimization based on an information-enhanced diffusion model

A given segment of computer code is obtained and modified to produce one or more inefficient versions of the given segment of computer code in comparison to the given segment of computer code. A code parse tree is generated for the given segment of computer code and each inefficient version of the given segment of computer code. Model embeddings are generated based on the generated code parse trees and a diffusion model is trained based on the generated model embeddings.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Automatic interface document generation method and related equipment thereof

The invention discloses an interface document automatic generation method and related equipment thereof, and belongs to the technical field of artificial intelligence. The method comprises the following steps: receiving an interface document generation instruction, obtaining an interface source code and a code annotation, and obtaining an interface document template; analyzing the interface source code and the code annotation by using a code analyzer to obtain code metadata; constructing a code analysis tree for the interface source code, and performing static code analysis on the code analysis tree according to the source code grammar detection rule to obtain context information; selecting an adaptive controller class and a class processing method to package the code metadata and the context information, and generating response data; and importing the response data into the interface document template to generate an interface document corresponding to the interface source code. The invention further relates to the technical field of block chains, and source codes are stored on a block chain network. According to the method and the device, the problem of document errors or omission caused by lack of metadata or context information in a traditional interface document automatic generation process is solved.
Owner:PING AN BANK CO LTD

Teaching strategy optimization model and grammar error early warning method based on data mining

The invention relates to the field of wisdom education, and particularly discloses a teaching strategy optimization model and grammar error early warning method based on data mining, and the method comprises the following steps: S1, obtaining original code data in a student code library in real time, and preprocessing the original code data to obtain a structured data matrix; s2, for the structured data matrix, generating a grammar parse tree through a grammar parser, positioning error nodes and extracting context features by using a node traversal algorithm, and constructing a single-error multi-dimensional feature vector; meanwhile, an error association rule base is constructed based on historical error data, a causal relationship across error types is identified, and dynamic knowledge graph data is formed. According to the technical scheme, association analysis and deep mining can be carried out on the multi-source learning data, dynamic solution suggestions for student individual errors or group generality errors are formed, and teachers are assisted to quickly adapt to dynamically changing learning requirements of the students.
Owner:CHONGQING VOCATIONAL COLLEGE OF IND & INFORMATION TECH

Authorization checks and auditing for queries in database systems

1. Implementations of the present disclosure include receiving, by a database system, a query from an entity, providing a parse tree based on the query, the parse tree including nodes representative of operations to be executed and data objects stored within the database system, generating a module tree based on the parse tree, the module tree including a set of modules provided in sequential order from a root module to a leaf module, and executing an authorization check using the module tree by, for each module, determining a set of data objects and, for each data object in the set of data objects, determining whether the entity is one or more of authorized access the data object and perform an operation on the data object.
Owner:SAP SE

Index query method and device, electronic equipment and storage medium

The invention is suitable for the technical field of data query, and provides an index query method and device, electronic equipment and a storage medium, and the index query method comprises the following steps: obtaining a first type of query language statement input by a user; performing grammar analysis on the first type of query language statement based on a predefined grammar rule to generate a corresponding analysis tree; traversing the analytic tree, identifying a query target in the first type of query language statement, and constructing a query semantic object based on the query target, the query target including one or more of an index and a physical table; and according to the query semantic object, generating a second type of query language statement corresponding to the first type of query language statement for an underlying data system to perform index query. According to the scheme, by introducing the query semantic object and supporting mixed recognition and processing of the index and the physical table, the problems that in an existing query mode, flexibility is insufficient, dynamic parameters cannot be expressed, and multi-source joint query cannot be supported are solved.
Owner:深圳市灵智数字科技有限公司

Augmenting source code representation models with abstract syntax trees using tree traversal algorithms

In an embodiment, a computer generates a multi-sequence vector that contains a plurality of distinct sequences of distinct nodes of a parse tree of source logic. Based on the multi-sequence vector, the computer trains a logic encoder. After training and in a production environment, the logic encoder infers a fixed-size encoded logic from new source logic. Based on the fixed-size encoded logic, the new source logic is detected as anomalous by an anomaly detector. Both of the logic encoder and the anomaly detector are machine learning models and, herein, they may be separately trained. In an embodiment, the logic encoder is based on a natural language processing (NLP) language model architecture such as bidirectional encoder representations from transformers (BERT), or novel training herein may be self-supervised according to skip-gram for use with an unlabeled training corpus.
Owner:ORACLE INT CORP

Method and system for model generation and instantiation of optimization models based on tagged documents

Methods and systems for generating a symbolic model from a tagged document and instantiating a model instance from the symbolic model are described. A tagged document containing human language content and mathematical content is parsed into a symbolic model containing only symbolic codes representing an optimization problem. The tagged document is parsed to extract a tagged statement, and then the tagged statement is processed into a mathematical content span, any metadata entity, and any relationship between any metadata entity and the mathematical content span. And processing the mathematical content span into a mathematical content analysis tree. The mathematical content parse tree is converted to symbol code of the symbol model using any relationship between the metadata entity and the mathematical content span. The symbolic model may be instantiated using a data definition.
Owner:HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD

Query statement semantic tree generation coding method and system

The invention belongs to the field of natural language processing, and provides a query statement semantic tree generation coding method and system, and the method comprises the steps: obtaining given query statements, and carrying out the classification of the query statements according to the completeness of the query statements; for incomplete query statements, performing query process completion based on thinking chain guidance by using a process completion large language model; based on the complete query statement or the complemented query statement, deep semantic association between adjacent words is extracted through the component analysis tree, long-distance association of non-adjacent words is extracted through the dependency syntax tree, and the dependency syntax tree and the component analysis tree are fused to form a final semantic tree. According to the method, the query statements are subjected to completeness classification, and then the query statements are automatically inferred and perfected by utilizing a large language model, so that the semantic tree capable of accurately reflecting the intermediate process of the action is generated, the supplement of key semantic contents is realized, and accurate action retrieval and positioning in an open scene video can be supported.
Owner:SHANDONG UNIV +3

Training syntax-aware language models with AST path prediction

In an embodiment, a computer stores and operates a logic encoder that is an artificial neural network that infers a fixed-size encoded logic from textual or tokenized source logic. Without machine learning, a special parser generates a parse tree that represents the source logic and a fixed-size correctly encoded tree that represents the parse tree. For finetuning the logic encoder, an encoded tree generator is an artificial neural network that accepts the fixed-size encoded logic as input and responsively infers a fixed-size incorrectly encoded tree that represents the parse tree. The neural weights of the logic encoder (and optionally of the encoded tree generator) are adjusted based on backpropagation of error (i.e. loss) as a numerically measured difference between the fixed-size incorrectly encoded tree and the fixed-size correctly encoded tree.
Owner:ORACLE INT CORP

Code file conversion method and device, equipment, medium and product

The invention discloses a code file conversion method and device, equipment, a medium and a product, and relates to the technical field of computers, the code file conversion method comprises the following steps: obtaining a procedural / structured query language (PL / SQL) script file; identifying the PL / SQL script file to generate a grammar analysis tree; the grammar parsing tree comprises a plurality of logic grammar blocks, and each logic grammar block corresponds to a function code segment in the PL / SQL elementary file; the grammar logic blocks in the grammar parse tree are traversed in a recursive and layered mode, based on a preset grammar library file, translation codes corresponding to the logic grammar blocks are obtained through matching, and JAVA code snippets are generated; and embedding the JAVA code snippet into a preset operation template to generate a JAVA file. According to the method, the target of automatically transferring the PL / SQL script file into the JAVA file is achieved, and the real-time decision-making requirement in a transaction risk control system is met.
Owner:CHINA MERCHANTS BANK

Text sentiment analysis method and system of M-BiLSTM model

PendingCN119129576AAccurate Emotional TendencyComprehensive and accurate syntactic parsing resultsBiological modelsNatural language data processingGraphicsSyntactic ambiguity
The invention belongs to the technical field of natural language processing, and discloses a text sentiment analysis method and system of an M-BiLSTM model based on fusion of multiple syntactic parsers, and the method comprises the steps: carrying out the syntactic analysis of input data through a plurality of external syntactic parsers, and obtaining a plurality of syntactic analysis trees; executing a syntactic parse tree fusion algorithm on the parse tree to obtain a new syntactic parse tree, and constructing a corresponding graph structure to obtain a syntactic enhanced graph; the method comprises the following steps of: preprocessing a text, inputting the preprocessed text into a Bert layer module to obtain a dynamic word vector, capturing an important part of context information of the text through an LSTM (Long Short Term Memory) fused with a Mogrimer structure to obtain a hidden context representation of an input sentence, inputting the hidden context representation and a syntactic enhancement graph into a GCN (Graphics Context Network) to extract an important emotion dependency relationship about a specific aspect, and finally performing emotion classification. According to the method, the problem that a syntactic analysis result is inaccurate when a single syntactic analyzer analyzes a complex long sentence with syntactic ambiguity can be effectively solved, so that the sentiment classification accuracy is improved.
Owner:HUBEI UNIV

Method and apparatus for knowledge graph construction, storage medium, and electronic device

The present disclosure relates to a method and apparatus for knowledge graph construction, storage medium and electronic device. The method for knowledge graph construction, comprises: identifying an entity concept from a title text of a target web page and at least one entity corresponding to the entity concept from a body text of the target web page; constructing a syntax parse tree of the title text based on syntax parse rules of a language to which the title text belongs, and determining, from the syntax parse tree, a modifier for modifying the entity concept; and generating a knowledge graph based on the entity concept, the modifier, and the at least one entity. Through the solution of the present disclosure, knowledge graphs with high accuracy and high recall rates are constructed without structured processing on target web pages.
Owner:LEMON INC(GB)

Method for detecting log abnormity of power dispatching automation system

The invention relates to the technical field of electric digital data processing, and discloses a method for detecting log abnormity of an electric power dispatching automation system, which comprises the following steps of: constructing a fixed depth analysis tree through historical log data, and extracting a log template based on word segmentation similarity; converting knowledge in the power dispatching field into vectors and storing the vectors into a knowledge base; retrieving knowledge base associated domain knowledge of the log template, inputting the large model to carry out abnormity judgment and marking a template label; after real-time log preprocessing, a template label is inherited through a parse tree matching template library and a self-adaptive threshold strategy, and online template updating is triggered for unmatched logs; and the context and high-frequency parameters of the abnormal log are aggregated, a dynamic cue word is constructed in combination with a retrieval result and a template feature weight, a large model is input for multi-dimensional root cause analysis, and template mechanism optimization is driven based on the cue word. The problems that in the prior art, manual maintenance is difficult, the generalization ability is weak, and the detection speed is low are solved, and the purposes of efficient detection, high accuracy and self-adaption are achieved.
Owner:STATE GRID ZHEJIANG ELECTRIC POWER CO LTD QUZHOU POWER SUPPLY CO

Methods and systems for model generation and instantiation of optimization models from markup documents

Methods and systems for generating a symbolic model from a markup document, and instantiating a model instance from a symbolic model are described. A markup document containing human language content and mathematical content is parsed into a symbolic model that contains only symbolic code representing an optimization problem. The markup document is parsed to extract a markup declaration, the markup declaration is then processed to a math content span, any metadata entity and any relationship between any metadata entity and the math content span. The math content span is processed into a math content parse tree. The math content parse tree is converted into symbolic code of the symbolic model using any relationship between the metadata entity and the math content span. The symbolic model can be instantiated using data definitions.
Owner:HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD

Fine-grained intention recognition method for large-model complex instruction

The invention relates to the technical field of natural language processing and artificial intelligence, and discloses a large-model complex instruction-oriented fine-grained intention recognition method, which comprises the following steps of: constructing a candidate analysis forest of an input instruction, and executing entity alignment of each node and a domain knowledge graph; performing semantic compatibility verification on the candidate dependency trees by utilizing entity relationships in the atlas, and screening an optimal analytic tree in combination with syntactic probability and knowledge consistency scores; if the analytic tree meeting the threshold value does not exist, a semantic conflict edge is positioned, and candidate mounting points are searched by using a map neighborhood relation to reconstruct a dependency structure; and finally, generating standardized data containing a structured analytic path based on the optimal analytic tree, and performing fine adjustment on the large model. According to the method, logic constraint and dynamic repair are carried out on the syntactic structure by introducing the knowledge graph, analysis errors caused by multiple modification or structural ambiguity in a complex instruction are effectively solved, and the accuracy and robustness of intention recognition of a large model in the vertical field are improved.
Owner:BEIJING ZHONGWEI SHENGDING TECH CO LTD

Method and device for data attribution, electronic equipment and program product

The embodiment of the invention relates to a data attribution method and device, electronic equipment and a program product. The method comprises the steps that data in a text description form is obtained, an analysis tree is generated based on the data in the text description form and a preset dimension, and the analysis tree comprises at least one of node attribution data and whole tree attribution data. The method further comprises the step of cutting the analysis tree based on the first parameter and the second parameter to obtain cut data in a multi-way tree structure form. The method further includes normalizing and serializing the cut data in the form of the multi-way tree structure to generate normalized and serialized data, and presenting the normalized and serialized data in the form of text description. Further, the method includes generating, by a language model, an attribution summary for the data based on the normalized serialized data. Therefore, according to the scheme of the embodiment of the invention, attribution aiming at the data can be automatically performed for the user in mass data, and the attribution is presented in a concise character, so that the user experience is improved.
Owner:BEIJING VOLCANO ENGINE TECH CO LTD

Experimental question and answer method and system based on knowledge graph

The invention belongs to the technical field of intelligent question answering, and particularly relates to an experimental question answering method and system based on a knowledge graph. The method comprises the following steps of: generating a candidate combination category grammatical analysis tree for an input experimental question statement, and when vocabularies outside a preset dictionary are encountered, assigning a temporary combination category in combination with word vectors and adjacent entity types; calculating the syntactic probability of the analysis tree and the node intensity of the entity subgraph in the tree, determining a target syntactic analysis tree, and converting the target syntactic analysis tree into a logic expression; extracting an anchor point entity and a semantic relationship, determining a search depth according to sub-graph intensity, and constructing an initial graph query statement by utilizing bidirectional breadth-first search; if the query result does not exist, differential query reconstruction is carried out according to an intensity threshold value, when the intensity is high, only the semantic relation is replaced with a parent class, otherwise, the parent class and brother class relation is considered at the same time, and a sub-graph or an entity obtained through query is output as an answer. According to the method, the suitability, accuracy and fault tolerance of the experiment question-answering system can be improved, and the query efficiency and the recall rate are balanced.
Owner:JIANGNAN UNIV +1

A method, device, system and storage medium for determining a water supply price reference index based on a large language model

The present application relates to a method, device, system, and storage medium for determining a water supply price reference index based on a large language model. The method comprises obtaining a first water supply price language data sample; grouping individuals, deleting the first water supply price language data sample corresponding to invalid individual groups, and obtaining a second water supply price language data sample; parsing each second water supply price language data sample to obtain a parse tree; grouping the second water supply price language data samples according to the parse tree; calculating and sorting the group weights; calculating the influencing parameters of the parse tree and using the influencing parameters to correct the group weights, and using the corrected group weights as the water supply price reference index. The method, device, system, and storage medium for determining a water supply price reference index based on a large language model disclosed in the present application organize and analyze massive amounts of collected data and obtain results by cleaning and normalizing the collected data.
Owner:BEIJING E20 ENVIRONMENT CO LTD

A large language model log analysis method and device based on relationship inference

The application discloses a large language model log analysis method based on relationship inference, comprising: taking a prefix parsing tree as the core, pre-processing the input log, and then traversing the prefix tree to realize template matching. If the matching is successful, the structured log is output, if the matching is unsuccessful, the relationship between the unmatched log and other logs is evaluated from the syntax and semantics. The syntax similarity between the unmatched log and the candidate log set is calculated at the syntax level, the causality strength and the number of shared entities between the unmatched log and the logs in the historical log window are evaluated through LLM at the semantic level, and the semantic correlation log is screened out by combining the semantic composite score; the screened syntax similar and semantic related log is taken as an example to construct a complete prompt containing a task instruction, a demonstration example and a log to be parsed, and a large language model is called to generate a structured template of the unmatched log; the newly generated template is adapted to the prefix parsing tree, the tree structure is perfected through dynamic updating, and more comprehensive template support is provided for subsequent log analysis.
Owner:WUHAN UNIV

Optimization of database queries having multiple views

Arrangements for optimization of database queries having multiple views are provided. A query defining multiple views may be received. A parse tree may be generated based on the query. The query may be preprocessed using the parse tree. The parse tree may be traversed to identify the multiple views. View unfolding may be executed to generate a view subtree. The view subtree may be attached to the parse tree and a view query compile tree may be generated. It may be determined whether there is another view defined by the query. In response to determining that there is not another view, the parse tree may be traversed to calculate tree depth. In response to determining that there is another view defined by the query, calculation of the tree depth may be skipped.
Owner:SAP SE

Boolean retrieval type analysis method and retrieval method based on regular expression

The invention discloses a Boolean retrieval formula analysis method and retrieval method based on a regular expression, relates to the technical field of information retrieval, and aims at solving the technical problems that an existing Boolean retrieval formula analysis method is low in efficiency and prone to making mistakes. The analysis method comprises the steps that a pre-defined regular expression rule is used for analyzing a preprocessed Boolean retrieval formula, the Boolean retrieval formula is disassembled into a plurality of sub-expressions, each sub-expression can be directly recognized and processed, and the type and the corresponding value of each matching item in the Boolean retrieval formula are obtained; according to the analysis result, an analysis tree of a Boolean retrieval formula is constructed, each node in the analysis tree represents a keyword or an operator, and the connection relation between the nodes reflects the logic relation in the Boolean retrieval formula; and converting the parse tree into a query structure DSL. The calculation amount in the analysis process can be remarkably reduced, the analysis efficiency of the Boolean retrieval formula is improved, and meanwhile the analysis error rate of the Boolean retrieval formula is reduced.
Owner:BEIJING ZHIGUAGUA TECH CO LTD

Recurrent neural network multi-tree fusion method in biomedical event extraction

The invention belongs to the technical field of biomedical information extraction, and particularly relates to a recurrent neural network multi-tree fusion method in biomedical event extraction. Parsing results of different rule parsers are fused, a syntactic parse tree-based union method is provided, and sub-tree post-processing is carried out for a merging result to ensure the structure simplification and grammar rationality of a sub-tree. The invention provides an isomer branch cutting and node distillation method aiming at redundant subtrees and nodes existing in a combined tree structure. Meanwhile, branch cutting and node distillation operation are adopted, the subtree structure is further simplified, and the effect on binding and regulating complex events is good.
Owner:SHAANXI RADIO TV UNIV

Method, apparatus, and computer device for generating code service call relationships

The present application relates to a method, apparatus, computer equipment, storage medium and computer program product for generating a code service call relationship. By traversing the syntax parse tree corresponding to the source code to be detected, the first relationship between the method declaration code module and at least one method call code module in its child node in the syntax parse tree, the second relationship between the method call module and its class and at least one method declaration code module in the corresponding parent class and child class, and the service party to which each code module belongs are obtained, and based on the first relationship and the second relationship, the call relationship table between the code modules in the source code to be detected is determined, and the corresponding service party identifier is added to the code module in the call relationship table to obtain the corresponding code service call relationship table. Compared with the traditional method of obtaining the call relationship between services through the service registration center, this solution obtains the service call relationship in the code by traversing the syntax tree before the code is run, thereby improving the maintainability of the code.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Example sentence-driven machine translation result selecting apparatus and method thereof

To improve a filtering-type example sentence-driven analysis unit forming one input sentence analysis tree with using, as one input, an OR tree obtained by expressing a plurality of analysis trees obtained through analysis of an input sentence with use of grammar rules in the form of one tree structure and also with using, as the other input, a temporarily exclusive tree obtained by the example sentence or an exclusive three pre-equipped by the apparatus.SOLUTION: In a common word sequence acquisition between an input sentence and an example sentence, a method according to the present invention includes the steps of: acquiring a plurality of common word sequences; designating the minimum number of common words; determining a common word start position in an example sentence tree; and replacing the common word with a common part of speech.SELECTED DRAWING: Figure 1
Owner:榊 博史 +1

Automatic interpretation method for security technical specification articles

The invention relates to an automatic interpretation method for security technology specification provisions, which comprises the following steps of: decomposing the specification provisions into single-constraint pair provisions by utilizing a large language model according to a syntactic structure of the specification provisions on the basis of a few-sample thinking chain prompt, and then performing information extraction on the specification provisions on the basis of a prompt project to form a provision dependency graph as an intermediate representation structure; and finally, automatically converting the clause dependency graph structure into a clause parse tree through a clause parse tree generation algorithm, and the automatic interpretation method comprises the following steps: S1, obtaining standard clauses, and hierarchically decomposing the standard clauses based on few-sample thinking chain prompts; s2, performing information extraction on the standard provisions based on the prompt project; s3, generating a clause analysis tree; according to syntactic characteristics of the security technical specification terms, automatic interpretation of the security technical specification is realized by using the large language model, the term parsing tree is generated as a structured representation form of the security technical specification terms, and accurate conversion and efficient application of the security technical specification terms are promoted.
Owner:CHINA CONSTR EIGHT ENG DIV CORP LTD

Hierarchical semantic analysis method and system based on semantic mode

The invention relates to the technical field of natural language processing, in particular to a hierarchical semantic analysis method and system based on a semantic schema, comprising the following steps: automatically acquiring a semantic schema, the semantic schema being composed of a left meaning result, a right grammar component and a semantic component, the right comprising grammar semantic components such as a subject, a predicate, an object and the like, and the semantic component being a semantic component; the left part represents the meaning result of the right part, the left meaning result and the right part jointly form a meaning structure, and semantic nesting is realized based on the meaning structure; performing layer-by-layer matching on the input text based on the semantic pattern library, generating candidate parse tree nodes and constructing a hierarchical semantic structure; and converting the hierarchical semantic structure into a predicate logic expression to form a reasonable logic expression. According to the method, the dependence of a traditional method on domain knowledge is broken through, the robustness, flexibility and interpretability of semantic analysis are remarkably improved, efficient support is provided for tasks such as chapter understanding, ambiguity resolution and causal reasoning, and meanwhile the data and computing power cost is reduced.
Owner:GUANGZHOU ZHIYAN INFORMATION TECH CO LTD

A method for detecting log anomalies in a power dispatch automation system

This invention relates to the field of electrical digital data processing technology and discloses a method for detecting log anomalies in power dispatch automation systems. The method includes: constructing a fixed-depth parse tree using historical log data and extracting log templates based on word segmentation similarity; converting power dispatch domain knowledge into vectors and storing them in a knowledge base; retrieving knowledge related to the log templates from the knowledge base, inputting it into a large model for anomaly detection, and labeling the templates; after real-time log preprocessing, inheriting template labels by matching the template library with the parse tree and using an adaptive threshold strategy, triggering online template updates for unmatched logs; aggregating the context and high-frequency parameters of the abnormal logs, constructing dynamic prompt words based on the retrieval results and template feature weights, inputting them into a large model for multi-dimensional root cause analysis, and optimizing the template mechanism based on the prompt words. This method solves the problems of difficult manual maintenance, weak generalization ability, and slow detection speed in existing technologies, achieving efficient detection, high accuracy, and adaptability.
Owner:STATE GRID ZHEJIANG ELECTRIC POWER CO LTD QUZHOU POWER SUPPLY CO

Automated resource distribution using coded distribution rules

Methods, systems, and apparatus, including computer programs encoded on computer storage media, for generating an exit scenario output that characterizes an exit scenario for a business enterprise. In one aspect, a method comprises receiving, at an execution engine, data that represents ownership of assets by multiple participants and source code that defines distribution rules of distributing the assets over one or more steps among the multiple participants using a programming language; receiving, at the execution engine, an exit scenario input; automatically parsing, by the execution engine, the distribution rules defined in the source code into a parse tree; and interpreting, by the execution engine, the parse tree to produce an exit scenario output.
Owner:ESHARES INC

A COStream-based method for estimating data flow workload

The present invention discloses a method for estimating the workload of a data flow based on COStream, and belongs to the field of task workload estimation of a data flow compiler. The method includes: obtaining the number of clock cycles of basic operations and basic operations of different data types in the COStream data flow language; generating a syntax analysis tree from the program statement structure to be tested, traversing all nodes in the syntax analysis tree, and calculating the workload of each node respectively, and the workload of the program statement structure to be tested is the sum of the workloads of all nodes; the present invention uses the clock cycle as a unit to estimate the workload of the program statement in a fine-grained manner, and the workload estimation method is more accurate. In addition, when performing the workload estimation, the actual execution path of the COStream compiler after optimization is taken into account, and the corresponding workload is not calculated for the program statement that will not be executed after the compiler is optimized, which further improves the accuracy of the workload estimation in the COStream data flow language.
Owner:HUAZHONG UNIV OF SCI & TECH