Patents
Literature
Patsnap Copilot is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Patsnap Copilot

135 results about "Topological sorting" patented technology

In computer science, a topological sort or topological ordering of a directed graph is a linear ordering of its vertices such that for every directed edge uv from vertex u to vertex v, u comes before v in the ordering. For instance, the vertices of the graph may represent tasks to be performed, and the edges may represent constraints that one task must be performed before another; in this application, a topological ordering is just a valid sequence for the tasks. A topological ordering is possible if and only if the graph has no directed cycles, that is, if it is a directed acyclic graph (DAG). Any DAG has at least one topological ordering, and algorithms are known for constructing a topological ordering of any DAG in linear time.

Spacecraft resource constraint processing method based on time topological sorting

The invention relates to a spacecraft resource constraint processing method based on time topological sorting and belongs to the technical field of autonomous control on spacecraft. The method comprises steps as follows: firstly, performing topological sorting on actions in planning results according to execution time of the actions; then layering the actions in a resource constraint network according to changes of resource numbers by the actions, and processing each resource mutation to improve the resource number computing efficiency. The method is particularly applicable to resource management in autonomous planning of spacecraft tasks in deep-space exploration. According to the method, the resource constraint network is adopted to describe resource information in planning, the changes of the resource numbers when a spacecraft executes the actions along with time are acquired through analysis of changes of apexes and edges in the network, advantages of an augmenting path method and a pre-flow push method for the maximum flow problem are combined, topological sorting is performed on resource mutations according to execution time, and the resource number computing process is optimized; resource constraint in the planning results can be effectively processed, and the computing efficiency is significantly improved.
Owner:BEIJING INSTITUTE OF TECHNOLOGYGY

Method for converting ladder diagram into PLC (Programmable Logic Controller) program command

InactiveCN102354144AQuick searchAnalyzing the time complexity of the job is easyProgramme control in sequence/logic controllersRelation graphDepth-first search
The invention relates to a method for converting a ladder diagram into a PLC (Programmable Logic Controller) program command, which comprises the following steps of: 1, presenting a topological structure of a ladder diagram by using a directed graph; 2, traversing a transposed graph GL <T> by using a depth-first search method, storing a topological sorting relation of parallel-connection peaks and coil peaks in a queue Q; 3, carrying out breadth-first search on the parallel-connection peaks according to a connection relation of the directed graph GL, carrying out depth-first search on serial-connection peaks adjacently connected with the parallel-connection peaks, generating an AND expression of the directed graph GL on the whole serial-connection path and an OR expression of the serial-connection peaks; 4, generating a final expression of the maximum combining item of the parallel-connection peaks; 5, carrying out breadth-first search on a connection relation graph Gp by using the Q,figuring out an OR expression of the corresponding parallel-connection peaks and verifying, finally, constructing the maximum combining item into the AND expression to form a final result; 6, judgingwhether a queue Q' is empty; and 7, processing a starting peak. The invention can be widely applied to the process of converting the ladder diagram into the PLC program command.
Owner:BEIJING UNION UNIVERSITY

Dependency relationship task scheduling method combined with function on-demand configuration in edge calculation

The invention discloses a dependency relationship task scheduling method in combination with function on-demand configuration in edge computing, which comprises the following steps: step 1, acquiringrelevant parameters of a network and a task, and selecting an initialized edge server; step 2, performing greedy initial configuration on the edge server by using the related parameters in the step 1to obtain server configuration information; step 3, expressing the tasks with the dependency relationship in the step 1 by using a directed acyclic graph, and performing topological sorting on the tasks in the directed acyclic graph to form a topological sequence; step 4, iterating the topological sequence in the step 3 by using the server configuration information in the step 2, and calculating the earliest finishing time of each task running on each edge server to obtain a task distribution and scheduling scheme; and step 5, under the constraint of the actual capacity of the edge server, allocating and scheduling each task according to the allocation and scheduling scheme of the task in the step 4. The method can minimize the completion time of an application consisting of a plurality ofdependent tasks in an edge computing environment.
Owner:UNIV OF SCI & TECH OF CHINA

Different structure converting method from AOE (Activity On Edge) network to multi-way tree structure

The invention provides a different structure converting method from an AOE (Activity On Edge) network to a multi-way tree structure, and aims to provide a multidimensional MBOM (Manufacturing Bill of Material) converting method based on the AOE network, which is simple and visible and occupies fewer system resources. The different structure converting method is realized through the technical scheme including the following steps: constructing an MBOM; conducting topological sorting on each node in the AOE network chart adopting the topological sorting algorithm; reading all nodes adopting the FIFO (First-In First-Out) algorithm by a data register; recording the nodes as PP (Process Plan) and performing one-way acyclic graph topological sorting; and then, performing recursion and traversing on all paths of each node through an MBOM conversion adapter adopting the DFS (Depth-First Search) algorithm; calculating the sum of the weights of all sides of each path; obtaining the path with the maximum weight sum and storing the path in the database; taking the path with the maximum weight sum as the critical path and the main path; inverting sequential relationship of all paths to generate an MBOM multi-way tree structure; reading the nodes layer-by-layer from top to bottom; writing the father node into a relational database table.
Owner:CHENGDU AIRCRAFT INDUSTRY GROUP

Novel network anti-fraud active inspection and early warning system

The invention belongs to the field of public safety, particularly relates to a novel network anti-fraud active inspection and early warning system, and aims to solve the problem of poor prevention robustness of a network and telephone fraud prevention technology. The system comprises: an automatic inspection module configured to construct a fraudulent clue clustering space; an online discrimination module which is configured to obtain the total probability association distribution of the first information of the theme leader and the affiliated member in the suspicious fraud clue through topological sorting and conditional distribution sampling; a credibility evaluation module which is configured to evaluate the suspicious fraud clues through a hierarchical label-free network comprehensiveevaluation method; and an active early warning module which is configured to actively push the suspicious fraud clue of which the weight is greater than a set early warning threshold to a mobile phoneor a case checking system of anti-fraud department personnel, and start electronic supervision for checking the suspicious fraud clue in a limited period. According to the invention, through activelycapturing the network and telephone fraud interaction structure and locking the fraud clue, the robustness of preventing the network and telephone fraud is improved.
Owner:INST OF AUTOMATION CHINESE ACAD OF SCI

High-parallelism computing system and instruction scheduling method thereof

The invention provides a high-parallelism computing system and an instruction scheduling method thereof. The computing system comprises an instruction reading and distributing module used for readinga plurality of types of instructions according to a specific sequence and distributing the obtained instructions to corresponding function modules according to the types; an internal cache which is used for caching data and instructions required for executing calculation; a plurality of functional modules which are used for sequentially executing the instructions of the category distributed by theinstruction reading and distributing module and reading required data from the internal cache, wherein the specific sequence is obtained by carrying out topological sorting on the instructions according to a directed acyclic graph formed by categories and dependency relationships. Therefore, the directed acyclic graph constructed according to the instruction category and the dependency relationship is subjected to topological sorting to perform value taking, and deadlock caused by instruction dependency can be avoided through relatively simple operation. Preferably, the sorting can be realized in an instruction compiling stage, so that the resource consumption of the computing system is further reduced.
Owner:XILINX INC

Logic network topology sorting and storing method for fault diagnosing system

The invention discloses a logic network topology sorting and storing method for a fault diagnosing system, which comprises the following steps: 1) performing topology sorting on a complicated topology structure which represents a logic relationship, wherein a complicated fault diagnosing logic which accords with an IEC61131-3 standard and is represented by a functional block principle chart fbd is a directed cyclic structure that comprises a directed tree-shaped structure and multiple feedback rings; 2) respectively establishing two kinds of tables in a database, namely a function block information table and a fault tree logic relationship table, wherein the function block information table describes the detailed attribute and executing information of each function block, the fault tree logic relationship table describes connecting relationship among the function blocks and sorting grade of the function block, and the tables are correlated through key words; and 3) according to the content of relationship tables of the function block in the database, directly generating a fbd chart which accords with an IEC61131-3 standard. The logic network topology sorting and storing method can reduce cost of a fault diagnosing system and realizes flexible configuration and reliable operation of the system.
Owner:NARI TECH CO LTD

Module control method of centralized distribution and transportation system

The invention provides a module control method of a centralized distribution and transportation system. The module control method can be applied to the centralized distribution and transportation system. With increase of scale and complexity of the centralized distribution and transportation system, the dependency and execution sequence of modules become quite complex. According to the method, a topological sorting method is adopted to display all the modules on one horizontal line. The method comprises the following steps: information of module interfaces in the centralized distribution and transportation system is sorted and processed; a directed acyclic graph of the modules is obtained according to the module relations in the centralized distribution and transportation system; the formed directed acyclic graph of the modules is subjected to topological sorting according to a topological sorting algorithm; module execution requires certain sequence, and the execution sequence of the modules is controlled through topological sorting. The topological sorting method is adopted to sort all the modules in the centralized distribution and transportation system, the execution sequence of the modules is managed through topological sorting, that is, the sequence of execution events is determined, and centralized distribution is executed smoothly.
Owner:WELLONG ETOWN INT LOGISTICS +2

Fault positioning method and system based on distribution network partitioning equivalence

The invention provides a fault positioning method and system based on distribution network partitioning equivalence. The fault positioning method based on a distribution network partitioning equivalence comprises the following steps that: utilizing a topological sorting method to determine the longest access of a power distribution network, and dividing the power distribution network into a plurality of sub-regions under a situation that partitioning PMU (Power Management) configuration requirements and scale requirements are met; traversing all nodes of each sub-region, selecting a voltage deviation minimum value as a fault circuit end point, judging that the sub-region to which the fault circuit end point belongs as a fault region, judging that the sub-region without the fault circuit end point as a non-fault region, and adopting equivalent impedance to carry out non-fault region equivalence; and selecting a related branch of a node with the minimum voltage deviation, and carrying out method-of-bisection searching to determine the accurate position of the fault point. By use of the method, a search range is reduced, and the fault positioning accuracy and efficiency of the power distribution network is improved.
Owner:SHANDONG UNIV

Service combination instance migration effectiveness judgment method based on dynamic dependency graph

ActiveCN103606042ASupport dynamic evolutionAvoid false negativesResourcesControl flowService composition
The invention provides a service combination instance migration effectiveness judgment method based on an executed path dynamic dependency graph. A service combination before and after an evolution, and an executed path of an instance to be migrated act as input, and migration effectiveness judgment results act as output. Realization of the method comprises the following steps: dependency relationship among activities in the executed path of the instance to be migrated is analyzed, a dynamic dependency graph of the executed path is generated and a set of all reachable variable definitions reaching the end of the executed path is obtained; the dynamic dependency graph is reduced via a backward dynamic slicing method; a control flow graph of the service combination after the evolution is obtained; whether a topological ordering, which is an activity sequence of the service combination after the evolution, exists is judged on the basis of the control flow graph of the service combination after the evolution and the dynamic dependency graph after reduction, and if the topological ordering exists, migration effectiveness is met; or the migration effectiveness is not met. A false negative probably generated by utilizing a conventional method can be avoided by utilizing the method so that the dynamic evolution of the service combination is better supported.
Owner:NANJING UNIV OF SCI & TECH

Cross-cluster task execution method and device, computer equipment and storage medium

The invention relates to a cross-cluster task execution method and device, computer equipment and a storage medium. The method comprises the steps of obtaining a dependency relationship between tasksin at least two clusters and the starting time of a bottommost sub-level task, and performing topological sorting on the dependency relationship between the tasks to obtain dependency relationship structure data; triggering the bottommost child-level task according to the starting time, and checking a parent-level task execution state corresponding to the bottommost child-level task according to the dependency relationship structure data; after all parent-level tasks are successfully executed, submitting child-level tasks in advance; checking an execution state of a task on which a pre-submitted sub-level task depends by utilizing a local scheduling service and a remote scheduling service; and after the local parent-level task and/or the remote parent-level task are/is successfully executed, submitting the current child-level task to be executed. By adopting the method, whether the associated task is executed or not can be accurately estimated, execution errors of cross-cluster tasks are reduced, and the resource utilization rate is increased.
Owner:浙江大搜车软件技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products