CN117194278A - Device command management method and device, storage medium and electronic device - Google Patents

Device command management method and device, storage medium and electronic device Download PDF

Info

Publication number
CN117194278A
CN117194278A CN202311476720.0A CN202311476720A CN117194278A CN 117194278 A CN117194278 A CN 117194278A CN 202311476720 A CN202311476720 A CN 202311476720A CN 117194278 A CN117194278 A CN 117194278A
Authority
CN
China
Prior art keywords
command
information
node
target
tree
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311476720.0A
Other languages
Chinese (zh)
Other versions
CN117194278B (en
Inventor
徐俊东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xinhua San Network Information Security Software Co ltd
Original Assignee
Xinhua San Network Information Security Software Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xinhua San Network Information Security Software Co ltd filed Critical Xinhua San Network Information Security Software Co ltd
Priority to CN202311476720.0A priority Critical patent/CN117194278B/en
Publication of CN117194278A publication Critical patent/CN117194278A/en
Application granted granted Critical
Publication of CN117194278B publication Critical patent/CN117194278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application discloses a device command management method, a device, a storage medium and electronic equipment, wherein the method comprises the following steps: collecting command information of target equipment, wherein the command information comprises collected commands and command description information of the commands; identifying command attributes of all commands according to the command information; constructing command nodes according to command attributes of all commands; and generating a command information tree of the target equipment according to the command node. The application completes the construction of the command information tree by collecting the command information of the target equipment, so that all the command information of the equipment is stored in the command information tree, and therefore, the command set test can be carried out based on the command information tree, the command set test depending on the equipment is eliminated, meanwhile, the tree structure supports the node backtracking function, and under the condition of command traversal interruption, the command tree can be continuously traversed by backtracking to the interrupted command node, and the command traversal is completed, thereby improving the command traversal efficiency.

Description

Device command management method and device, storage medium and electronic device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a device command management method and apparatus, a storage medium, and an electronic device.
Background
Today's communication devices perform data transmission through a security device (e.g. gateway device) that contains a large number of executable commands to manipulate the device to perform related operations to provide it with service processing functions. As the device types and functional characteristics of the security devices continue to increase, the command set size of the security devices is also gradually increasing, which causes the difficulty in managing the command set of the security devices to gradually increase.
In the related art, when testing a command set of a security device, a preset command set in the security device is read, and commands are extracted from the command set one by one and issued to the device for command testing. The method depends on a command set of the device, the device dependence degree is high, and when the commands in the command set of the device change or when the command traversing is interrupted, the traversing test needs to be started one by one from the initial command of the command set again, so that the command traversing efficiency is reduced.
Disclosure of Invention
The embodiment of the application provides a device command management method, a device, a storage medium and electronic equipment. The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview and is intended to neither identify key/critical elements nor delineate the scope of such embodiments. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later.
In a first aspect, an embodiment of the present application provides a device command management method, where the method includes:
collecting command information of target equipment, wherein the command information comprises collected commands and command description information of the commands;
identifying command attributes of all commands according to the command information; constructing command nodes according to command attributes of commands, wherein each command node comprises a command node identifier of a corresponding command and command description information of the corresponding command;
and generating a command information tree of the target equipment according to the command node.
Optionally, constructing a command node according to the command attribute of each command includes:
traversing the command attribute of each command, and identifying a root command conforming to the root command attribute and each level of subcommand conforming to the subcommand attribute under the root command from each command;
generating a root command node corresponding to the root command according to the root command and the command description information of the root command;
and respectively generating subcommand nodes corresponding to each level of subcommand according to each level of subcommand and the command description information of each level of subcommand.
Optionally, generating, according to the command node, a command information tree of the target device includes:
and under the condition that the command information tree of the target equipment does not exist in the database currently, generating the command information tree of the target equipment according to the root command node and each level of subcommand nodes included in the command nodes.
Optionally, generating, according to the command node, a command information tree of the target device includes:
under the condition that a command information tree of the target equipment exists in the database currently, determining whether the command information tree currently exists contains a command node identifier of a command node or not;
if not, determining the association relationship between the command node and each node in the currently existing command information tree based on the command attribute; determining the insertion position of the command node in the command information tree based on the association relation; inserting a command node at an insertion location;
if so, updating the command description information of the node corresponding to the command node identification in the currently existing command information tree based on the command description information of the command node.
Optionally, the method further comprises:
receiving a command traversing request, and determining a target command node indicated by the command traversing request;
acquiring command description information stored on a target command node;
and extracting command description information of a parent command and a child command corresponding to the target command node based on the command description information.
Optionally, after generating the command information tree of the target device, the method further includes:
splitting a command information tree of the target device into a plurality of subtrees;
Storing a plurality of subtrees in a database;
when a read request of a command information tree for the target device is received, a plurality of subtrees of the target device are acquired in a database, and the subtrees are combined into the command information tree of the target device.
Optionally, before identifying the command attribute of each command according to the command information, the method further includes:
judging whether each command accords with a preset command rule or not according to the command description information of each command;
clearing commands which do not accord with the preset command rules;
for commands conforming to a pre-configured command rule, an operation of identifying a command attribute of each command from command information is performed.
Optionally, generating the pre-configured command rule includes:
under the condition that a rule configuration instruction is received, loading a rule configuration file;
aiming at a target rule type corresponding to a target rule to be configured currently, when historical rule content corresponding to the target rule type exists in a rule configuration file and rule content input for a client is received, modifying the historical rule content according to the received rule content to obtain rule content corresponding to the target rule type; or,
When the historical rule content corresponding to the target rule type does not exist in the rule configuration file and the rule content input by the client is received, determining the received rule content as the rule content corresponding to the target rule type; wherein,
the target rule type is any one of the rule types;
and generating a pre-configured command rule based on rule content corresponding to the target rule type.
Optionally, the method further comprises:
respectively acquiring command information trees of the first equipment and the second equipment indicated by the command difference analysis instruction;
traversing a command information tree of the first device to construct a hash command information table of the first device; traversing a command information tree of the second device to construct a hash command information table of the second device;
and performing information comparison processing on the hash command information table of the first device and the hash command information table of the second device, and generating a command information difference report of the first device and the second device.
Optionally, performing information comparison processing on the hash command information table of the first device and the hash command information table of the second device, to generate a command information difference report of the first device and the second device, including:
determining a first mapping relation of each command in the first device in a hash command information table of the first device;
Determining a second mapping relation of each command in the second device in a hash command information table of the second device;
inquiring command node identifiers corresponding to all paths of commands in the first equipment in a first mapping relation to obtain the command node identifiers of the first equipment;
inquiring command node identifiers corresponding to all paths of commands in the second equipment in the second mapping relation to obtain command node identifiers of the second equipment;
according to the command node identification of the first device and the command node identification of the second device, respectively reading command description information contained in the command node of the first device and command description information contained in the command node of the second device;
comparing and analyzing command description information contained in the command node of the first device with command description information contained in the command node of the second device to obtain command information differences of all commands;
and generating a command information difference report according to the command information difference of each command.
Optionally, traversing the command information tree of the first device to construct a hash command information table of the first device includes:
traversing a command information tree of the first device, and generating a node path from a root command node to a command node for each traversed command node;
And for each command node, storing the mapping relation between the node path of the command node and the command node identifier to obtain a hash command information table of the first device.
Optionally, the method further comprises:
receiving a command query request, wherein the command query request comprises a command node identification and query direction indication information of a target command;
according to the command node identification, locating a command node corresponding to the target command in the command information tree;
each command node in the direction indicated by the query direction indication information is queried starting from the command node.
In a second aspect, an embodiment of the present application provides an apparatus command management device, including:
the acquisition module is used for acquiring command information of the target equipment, wherein the command information comprises each acquired command and command description information of each command;
the building module is used for identifying command attributes of all commands according to the command information; constructing command nodes according to command attributes of commands, wherein each command node comprises a command node identifier of a corresponding command and command description information of the corresponding command;
and the generating module is used for generating a command information tree of the target equipment according to the command node.
In a third aspect, embodiments of the present application provide a computer storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor and to perform the above-described method steps.
In a fourth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps described above.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the embodiment of the application, the command information tree construction is completed by collecting the command information of the target equipment, so that all the command information of the equipment is stored in the command information tree, and therefore, the command set test can be directly carried out based on the command information tree, the mode of carrying out the command set test depending on the equipment is eliminated, meanwhile, the tree structure supports the node backtracking function, and under the condition of command traversal interruption, the command tree can be continuously traversed through the command node backtracking to the interruption, and command traversal is completed, so that the command traversal efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a flow chart of a device command management method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a definition of related data objects used in a command information acquisition process according to the present application;
FIG. 3 is a schematic diagram of a definition of related data objects used in another command information collection process according to the present application;
FIG. 4 is a process schematic block diagram of a command rule configuration process provided by the present application;
FIG. 5 is a process schematic block diagram of a node update process provided by an embodiment of the present application;
FIG. 6 is a flow chart of a command information tree generation process according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a recording mode of a single command path according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a single command path value replacement recording method according to an embodiment of the present application;
FIG. 9 is a process schematic block diagram of a command differentiation analysis process provided by an embodiment of the present application;
fig. 10 is a schematic structural diagram of a device command management apparatus according to an embodiment of the present application;
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description and the drawings sufficiently illustrate specific embodiments of the application to enable those skilled in the art to practice them.
It should be understood that the described embodiments are merely some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application as detailed in the accompanying claims.
In the description of the present application, it should be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application will be understood in specific cases by those of ordinary skill in the art. Furthermore, in the description of the present application, unless otherwise indicated, "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
At present, when testing the command set of the security device, the preset command set in the security device is read, and the command set is extracted one by one and issued to the device for command testing.
The inventor of the application notes that the mode depends on the command set of the device, the device dependence degree is high, and in the case that the command in the command set of the device changes or the command traversing is interrupted, the traversing test needs to be restarted one by one from the initial command in the command set, so that the command traversing efficiency is reduced.
In order to solve the problems of high device dependence degree and low command traversing efficiency in command test, the inventor researches and discovers that by collecting command information of target devices, command information tree construction is completed, so that all command information of the devices is stored in the command information tree, and therefore, command set test can be directly carried out based on the command information tree, a mode of carrying out command set test depending on the devices is eliminated, meanwhile, a tree structure supports a node backtracking function, and command traversing can be completed by continuously traversing the command tree through backtracking to interrupted command nodes under the condition of command traversing interruption, so that command traversing efficiency is improved.
The application provides a device command management method, a device, a storage medium and electronic equipment, which are used for solving the problems in the related technical problems. The device command management method according to the embodiment of the present application will be described in detail with reference to fig. 1 to 9. The method may be implemented in dependence on a computer program, and may be run on a von neumann system-based device command management apparatus. The computer program may be integrated in the application or may run as a stand-alone tool class application.
Referring to fig. 1, a flowchart of a device command management method is provided in an embodiment of the present application. As shown in fig. 1, the method according to the embodiment of the present application may include the following steps:
s101, acquiring command information of target equipment, wherein the command information comprises each acquired command and command description information of each command;
the target device is a security device selected by an administrator on the client and required to perform command management, and the security device is, for example, a gateway device or a firewall device. The command information is executable commands preset in the security device and command description information associated with the commands.
In the embodiment of the application, the command information can be acquired actively or passively.
In one possible implementation, during active collection, after the administrator selects the target device to be subjected to command management on the client, the triggering information submitting function may generate a command information collection instruction, and the client may collect command information of the target device in response to the command information collection instruction for the target device.
In another possible implementation, when the new target device is detected to be accessed, a command information acquisition instruction can be automatically triggered to acquire command information for the new safety device.
S102, identifying command attributes of all commands according to command information; constructing command nodes according to command attributes of commands, wherein each command node comprises a command node identifier of a corresponding command and command description information of the corresponding command;
wherein the command attributes correspond to the root node and child nodes.
In the embodiment of the application, when the command attribute of each command is identified according to the command information, the command description information of each command is firstly obtained in the command information, wherein the command description information comprises view information and parameter information, and the command attribute of each command can be identified based on the view information and the parameter information.
The view information and the parameter information are used for representing that the command attribute of each command is a root command attribute or a subcommand attribute; the content of the parameter information contains all available subcommands of the command to which the parameter information belongs.
In the embodiment of the application, when constructing a command node according to the command attribute of each command, firstly traversing the command attribute of each command, and identifying a root command conforming to the root command attribute and each level of subcommand conforming to the subcommand attribute under the root command from each command; then generating a root command node corresponding to the root command according to the root command and the command description information of the root command; and finally, respectively generating subcommand nodes corresponding to each level of subcommand according to each level of subcommand and the command description information of each level of subcommand.
Specifically, when generating a command node through command description information, firstly analyzing the command description information to obtain analysis data; then, based on the analysis data, assigning a plurality of preset command attributes in the predefined information node model to obtain an attribute assignment result; and finally, initializing the object according to the attribute assignment result to obtain the command node.
The predefined information node model is shown in fig. 2 and 3, and a plurality of command attributes such as fields of a command information tree node data object class view, command, value shown in fig. 2 are preset to respectively correspond to a view in which a current command is located, a current completion command and a value mode value replaced when a value type subcommand exists in the current command; fields such as the command echo information processing operation classes cmds, msg shown in FIG. 3 correspond to the current command sub-command objection and the current command help document echo information, respectively.
S103, generating a command information tree of the target equipment according to the command node.
In the embodiment of the application, when the command information tree of the target equipment is generated according to the command node, the command information tree of the target equipment is generated according to the root command node and each level of subcommand nodes included in the command node under the condition that the command information tree of the target equipment does not exist in the database currently.
In the embodiment of the application, when a command information tree of target equipment is generated according to command nodes, firstly, under the condition that the command information tree of the target equipment exists in a database currently, determining whether the command information tree currently exists contains command node identifiers of the command nodes or not; if not, determining the association relationship between the command node and each node in the currently existing command information tree based on the command attribute; determining the insertion position of the command node in the command information tree based on the association relation; inserting a command node at an insertion location; if so, updating the command description information of the node corresponding to the command node identification in the currently existing command information tree based on the command description information of the command node.
Specifically, after the command information tree is generated, the parent command and child command information extraction function can be completed based on any information node. Firstly, receiving a command traversing request, and determining a target command node indicated by the command traversing request; then obtaining command description information stored on a target command node; and finally, extracting command description information of the parent command and the child command corresponding to the target command node based on the command description information.
Specifically, after the command information tree of the target device is generated, in order to improve the storage and reading efficiency of the command information tree, the command information tree can be stored in a subtree dividing and treating mode, so that the command information tree is convenient to be added, deleted and checked in a multithreading mode; the secondary command tree information acquisition operation can be performed at any time, and when the secondary command tree information acquisition operation is read, the sub-control command tree merging main tree is dynamically completed, so that the command information tree can be conveniently traversed and the information nodes can be conveniently extracted and used. Firstly, splitting a command information tree of target equipment into a plurality of subtrees; then storing the plurality of subtrees in a database; and finally, when receiving a read request of the command information tree aiming at the target equipment, acquiring a plurality of subtrees of the target equipment in a database, and merging the subtrees into the command information tree of the target equipment.
Further, before identifying the command attribute of each command according to the command information, firstly, judging whether each command accords with a preset command rule according to the command description information of each command; then, eliminating the command which does not accord with the preset command rule; and finally, for the commands conforming to the preset command rules, executing the operation of identifying the command attribute of each command according to the command information. Specifically, whether each command accords with a preset command rule can be judged according to view information and parameter information included in command description information of each command.
Specifically, a pre-configured command rule is generated according to the following steps, and a rule configuration file is loaded under the condition that a rule configuration instruction is received; then, aiming at a target rule type corresponding to a target rule to be configured currently, when historical rule content corresponding to the target rule type exists in a rule configuration file and rule content input for a client is received, modifying the historical rule content according to the received rule content to obtain rule content corresponding to the target rule type; or when the historical rule content corresponding to the target rule type does not exist in the rule configuration file and the rule content input by the client is received, determining the received rule content as the rule content corresponding to the target rule type; wherein the target rule type is any one of the rule types; and finally, generating a pre-configured command rule based on rule content corresponding to the target rule type.
For example, as shown in fig. 4, fig. 4 is a schematic block diagram of a procedure for configuring a rule, where when rule configuration is performed, a configuration module is loaded first, then a rule to be configured is extracted, then whether a rule processing module has been registered in advance is determined, if so, whether the rule format of the rule is correct is determined, and if so, the rule is responded and returned to a state to complete rule configuration.
Specifically, in order to improve maintainability and expandability of device command management, and also in order to concentrate knowledge sets, a dynamic global rule configuration mode is mainly adopted to realize separation of logic and data, and global rules are configured and managed according to the following rule types, for example, the following rule types are adopted:
(1) Global configuration rules: global configuration;
global configuration limits;
max-cmd-length=255# defines the maximum command combination length;
the number of concurrent session of aaa session-limit telnet "=10# telnet is limited, and the preset value is dynamically adjusted according to the configured information acquisition concurrent number.
(2) Command value rule: predefining a command parameter value mode, and performing recognition processing in the traversal process;
sorting the pattern values of [ value ] # and;
int= [ "inter" (\\d+) > "," < (- \d+) > - (\d+) > "," < (\d+) > "," - /) S: \s "," < (\d+) > - >, byte "] # INTEGER data pattern matching;
date= [ "MM/DD/YYYY", 'YYYY/MM/DD' ] # date format;
in the same way, define: enum, mac, time, hex, string, ipv4 and ipv6 value type schema rules define.
(3) Avoidance command rules: preventing command execution from causing an abnormal exit operation of the current tool;
[ include ] # circumvention command set;
quis= "quis" # prevents exiting the session, ending the command recursion traversal;
return= "return" # exit the current view, ending the command recursion traversal to avoid exiting the session;
the reboot= "reboot" # prevents restarting the device, resulting in concurrent task collection command document failure.
(4) Special view management rules: predefining an exit command for unexpected entry into the undesired traversal view;
[subview] ;
tclsh= "exit" # exit the current tclsh view;
python= "exit ()" # exits the current python view;
ftp= "bye" # exits the current ftp view;
bash= "exit" # exits the current bash shell view.
(5) Repeating the command rule: the excessive large command combination space is prevented, and the command combination is limited, namely the position of the same command in the combination is not allowed to change;
[rrepeat] ;
the abr-sum=2# combined command starts from the 2 nd, and all subsequent command positions are not allowed to change;
the aggregate=3# combination command starts from 3 rd, and all subsequent command positions are not allowed to change;
anti-ddos=3# combined command starts from 3 rd, and all subsequent command positions are not allowed to change.
(6) Repeating the value rule: preventing command parameter from being circularly assigned, limiting assignment times, and defaulting to the situation: key-value;
[vrepeat];
The once= [ "begin", "by-link", "sip-flood \\s+ & gt\s + port", 'subject-dn' ] # command can be assigned only 1 time;
the twice= [ "copy", "csn", "description", "location", "service-date" ] # command can only be assigned 1 time.
(7) Command dependency rules: when the command is issued with a sequence or a dependency, predefining a related dependency relationship; [ dependency ];
xconnect-group= [ [ "l2vpn enable" ], [ (end "," system-view "] ] # preferentially enables l2vpn;
vsi = [ [ "l2vpn enable" ], [ "end", "system-view" ] ] # preferably enables l2vpn.
For example, as shown in fig. 5, fig. 5 is a schematic block diagram of a node update process provided in the present application, first, in a case where a command information tree of a target device does not currently exist in a database, the command information tree of the target device is generated according to a root command node and sub command nodes at different levels included in the command node. Under the condition that a command information tree of the target equipment exists in the database currently, determining whether the command information tree currently exists contains a command node identifier of a command node or not; if not, determining the association relationship between the command node and each node in the currently existing command information tree based on the command attribute; determining the insertion position of the command node in the command information tree based on the association relation; inserting a command node at an insertion location; if so, updating the command description information of the node corresponding to the command node identification in the currently existing command information tree based on the command description information of the command node.
In the embodiment of the application, the constructed command information tree has the characteristic of a tree structure, so that the operation of the tree structure, such as node insertion, updating, merging and the like, is supported, and the flexibility of command traversal is improved.
For example, as shown in fig. 6, fig. 6 is a schematic flow chart of a command information tree generating process provided in the present application, firstly, whether there is a subcommand in a target device is determined by an initial command, when there is a subcommand, different subcommand information is collected by a multithread built in advance in a task manager, then each piece of command information is parsed, and command rule determination is performed based on parsed data, when the predetermined command rule is met, a command information tree node is built based on the parsed data, then a command information tree is built based on the command information tree node, the command tree node is updated in the building process, and finally, when all command processing is finished, the flow is finished.
After the command information tree of the target device is built, the command information tree of the target device can be stored in a lasting mode, wherein the storage mode comprises a single command path recording mode and a single command path value replacement recording mode. The single command path recording method is shown in fig. 7, and the single command path value replacement recording method is shown in fig. 8.
In the embodiment of the application, after the command information tree of the target equipment is persisted, command traversal verification can be performed based on the command information tree of the target equipment, and command differentiation analysis can also be performed based on the command information tree of different target equipment.
In the embodiment of the application, when performing differential analysis, command information trees of a first device and a second device indicated by a command differential analysis instruction are firstly obtained respectively; then traversing a command information tree of the first device to construct a hash command information table of the first device; traversing a command information tree of the second device to construct a hash command information table of the second device; and secondly, carrying out information comparison processing on the hash command information table of the first equipment and the hash command information table of the second equipment, and generating a command information difference report of the first equipment and the second equipment.
Specifically, when a hash command information table of a first device and a hash command information table of a second device are subjected to information comparison processing to generate a command information difference report of the first device and the second device, a first mapping relation of each command in the first device is determined in the hash command information table of the first device; determining a second mapping relation of each command in the second device in a hash command information table of the second device; inquiring command node identifiers corresponding to all paths of commands in the first equipment in a first mapping relation to obtain the command node identifiers of the first equipment;
Inquiring command node identifiers corresponding to all paths of commands in the second equipment in the second mapping relation to obtain command node identifiers of the second equipment; then, according to the command node identification of the first device and the command node identification of the second device, respectively reading command description information contained in the command node of the first device and command description information contained in the command node of the second device; secondly, comparing and analyzing command description information contained in the command node of the first device with command description information contained in the command node of the second device to obtain command information differences of all commands; and finally, generating a command information difference report according to the command information difference of each command.
Specifically, when traversing a command information tree of a first device to construct a hash command information table of the first device, first traversing the command information tree of the first device, and for each traversed command node, generating a node path from a root command node to the command node; and for each command node, storing the mapping relation between the node path of the command node and the command node identifier to obtain a hash command information table of the first device.
Further, the present application supports traversal of forward, reverse and lateral (all siblings of the current node) command information trees, fast locating and positioning commands in the command information tree. Firstly, receiving a command query request, wherein the command query request comprises command node identification and query direction indication information of a target command; then locating a command node corresponding to the target command in the command information tree according to the command node identification; and finally, starting to inquire each command node in the direction indicated by the inquiry direction indication information from the command node.
For example, as shown in fig. 9, fig. 9 is a schematic block diagram of a command differentiation analysis process provided in the present application, first, for a first device and a second device for command differentiation analysis, a first device command tree and a second device command tree are determined from a history command information tree stored in a database in a persistent manner, then, according to the first device command tree and the second device command tree, a hash command information table of each of the first device and the second device can be constructed, and finally, comparison analysis is performed based on the hash command information table of each of the first device and the second device, so as to obtain a command set difference table of the first device and the second device.
In the embodiment of the application, the command information tree construction is completed by collecting the command information of the target equipment, so that all the command information of the equipment is stored in the command information tree, and therefore, the command set test can be directly carried out based on the command information tree, the mode of carrying out the command set test depending on the equipment is eliminated, meanwhile, the tree structure supports the node backtracking function, and under the condition of command traversal interruption, the command tree can be continuously traversed through the command node backtracking to the interruption, and command traversal is completed, so that the command traversal efficiency is improved.
The following are examples of the apparatus of the present application that may be used to perform the method embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method of the present application.
Referring to fig. 10, a schematic structural diagram of a device command management apparatus according to an exemplary embodiment of the present application is shown. The device command management means may be implemented as all or part of the electronic device by software, hardware or a combination of both. The device 1 comprises an acquisition module 10, a construction module 20, a generation module 30.
The acquisition module 10 is configured to acquire command information of the target device, where the command information includes each acquired command and command description information of each command;
a construction module 20, configured to identify command attributes of each command according to the command information; constructing command nodes according to command attributes of commands, wherein each command node comprises a command node identifier of a corresponding command and command description information of the corresponding command;
a generating module 30, configured to generate a command information tree of the target device according to the command node.
Optionally, the building module 20 includes:
an attribute traversing unit 201, configured to traverse the command attribute of each command, identify a root command conforming to the root command attribute and each level of subcommand conforming to the subcommand attribute under the root command from each command;
A root command node generating unit 202, configured to generate a root command node corresponding to a root command according to the root command and command description information of the root command;
the subcommand node generating unit 203 is configured to generate subcommand nodes corresponding to each level of subcommand according to each level of subcommand and command description information of each level of subcommand.
Optionally, the generating module 30 includes:
the command node identification determining module is used for determining whether the command node identification of the command node is contained in the currently existing command information tree under the condition that the command information tree of the target device exists in the database currently;
the command node inserting module is used for determining the association relationship between the command node and each node in the currently existing command information tree based on the command attribute if the command node is not inserted into the command information tree; determining the insertion position of the command node in the command information tree based on the association relation; inserting a command node at an insertion location;
and the command node updating module is used for updating the command description information of the node corresponding to the command node identification in the currently existing command information tree based on the command description information of the command node if the command node is the command description information of the command node.
Optionally, the apparatus further comprises:
the command information tree acquisition module is used for respectively acquiring command information trees of the first equipment and the second equipment indicated by the command difference analysis instruction;
The hash command information table construction module is used for traversing the command information tree of the first device to construct a hash command information table of the first device; traversing a command information tree of the second device to construct a hash command information table of the second device;
the command information difference report generating module is used for carrying out information comparison processing on the hash command information table of the first device and the hash command information table of the second device, and generating a command information difference report of the first device and the second device.
It should be noted that, when the device command management apparatus provided in the above embodiment performs the device command management method, only the division of the above functional modules is used as an example, and in practical application, the above functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device command management apparatus and the device command management method embodiment provided in the foregoing embodiments belong to the same concept, which embody the implementation process in detail with respect to the method embodiment, and are not repeated herein.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the embodiment of the application, firstly, command information of target equipment is collected, wherein the command information comprises collected commands and command description information of the commands; then, according to the command information, identifying the command attribute of each command; secondly, constructing command nodes according to command attributes of all commands; and finally, generating a command information tree of the target equipment according to the command node. The application completes the construction of the command information tree by collecting the command information of the target equipment, so that all the command information of the equipment is stored in the command information tree, and therefore, the command set test can be carried out based on the command information tree, the command set test depending on the equipment is eliminated, meanwhile, the tree structure supports the node backtracking function, and under the condition of command traversal interruption, the command tree can be continuously traversed by backtracking to the interrupted command node, and the command traversal is completed, thereby improving the command traversal efficiency.
The present application also provides a computer readable medium having stored thereon program instructions which, when executed by a processor, implement the device command management method provided by the above-described respective method embodiments.
The application also provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the device command management method of the various method embodiments described above.
Referring to fig. 11, fig. 11 is a schematic diagram of an internal structure of an electronic device according to an embodiment, which is applied to the electronic device. As shown in fig. 11, the electronic device includes a processor, a nonvolatile storage medium, a memory, and a network interface connected by a device bus. The nonvolatile storage medium of the electronic device stores an operating device, a database and a computer readable instruction, the database can store a control information sequence, and the computer readable instruction can enable the processor to realize a data transmission method when the computer readable instruction is executed by the processor. The processor of the electronic device is configured to provide computing and control capabilities to support the operation of the entire electronic device. The memory of the electronic device may have stored therein computer readable instructions that, when executed by the processor, cause the processor to perform a data transmission method. The network interface of the electronic device is used for communicating with the terminal connection. It will be appreciated by those skilled in the art that the structure shown in fig. 10 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the electronic device to which the present inventive arrangements are applied, and that a particular electronic device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, an electronic device is provided, the electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
collecting command information of target equipment, wherein the command information comprises collected commands and command description information of the commands;
identifying command attributes of all commands according to the command information; constructing command nodes according to command attributes of commands, wherein each command node comprises a command node identifier of a corresponding command and command description information of the corresponding command;
and generating a command information tree of the target equipment according to the command node.
In one embodiment, the processor, when executing the construction of the command node according to the command attributes of each command, specifically performs the following operations:
traversing the command attribute of each command, and identifying a root command conforming to the root command attribute and each level of subcommand conforming to the subcommand attribute under the root command from each command;
generating a root command node corresponding to the root command according to the root command and the command description information of the root command;
and respectively generating subcommand nodes corresponding to each level of subcommand according to each level of subcommand and the command description information of each level of subcommand.
In one embodiment, the processor, when executing the generation of the command information tree for the target device from the command node, specifically performs the following operations:
and under the condition that the command information tree of the target equipment does not exist in the database currently, generating the command information tree of the target equipment according to the root command node and each level of subcommand nodes included in the command nodes.
In one embodiment, the processor, when executing the generation of the command information tree for the target device from the command node, specifically performs the following operations:
under the condition that a command information tree of the target equipment exists in the database currently, determining whether the command information tree currently exists contains a command node identifier of a command node or not;
if not, determining the association relationship between the command node and each node in the currently existing command information tree based on the command attribute; determining the insertion position of the command node in the command information tree based on the association relation; inserting a command node at an insertion location;
if so, updating the command description information of the node corresponding to the command node identification in the currently existing command information tree based on the command description information of the command node.
In one embodiment, the processor further performs the following:
Receiving a command traversing request, and determining a target command node indicated by the command traversing request;
acquiring command description information stored on a target command node;
and extracting command description information of a parent command and a child command corresponding to the target command node based on the command description information.
In one embodiment, the processor, after executing the command information tree that generates the target device, further performs the following:
splitting a command information tree of the target device into a plurality of subtrees;
storing a plurality of subtrees in a database;
when a read request of a command information tree for the target device is received, a plurality of subtrees of the target device are acquired in a database, and the subtrees are combined into the command information tree of the target device.
In one embodiment, the processor, before executing the identification of the command attributes of each command based on the command information, further performs the following operations:
judging whether each command accords with a preset command rule or not according to the command description information of each command;
clearing commands which do not accord with the preset command rules;
for commands conforming to a pre-configured command rule, an operation of identifying a command attribute of each command from command information is performed.
In one embodiment, the processor, when generating the pre-configured command rules, specifically performs the following operations:
under the condition that a rule configuration instruction is received, loading a rule configuration file;
aiming at a target rule type corresponding to a target rule to be configured currently, when historical rule content corresponding to the target rule type exists in a rule configuration file and rule content input for a client is received, modifying the historical rule content according to the received rule content to obtain rule content corresponding to the target rule type; or,
when the historical rule content corresponding to the target rule type does not exist in the rule configuration file and the rule content input by the client is received, determining the received rule content as the rule content corresponding to the target rule type; wherein,
the target rule type is any one of the rule types;
and generating a pre-configured command rule based on rule content corresponding to the target rule type.
In one embodiment, the processor further performs the following:
respectively acquiring command information trees of the first equipment and the second equipment indicated by the command difference analysis instruction;
traversing a command information tree of the first device to construct a hash command information table of the first device; traversing a command information tree of the second device to construct a hash command information table of the second device;
And performing information comparison processing on the hash command information table of the first device and the hash command information table of the second device, and generating a command information difference report of the first device and the second device.
In one embodiment, when performing information comparison processing on the hash command information table of the first device and the hash command information table of the second device to generate a command information difference report of the first device and the second device, the processor specifically performs the following operations:
determining a first mapping relation of each command in the first device in a hash command information table of the first device;
determining a second mapping relation of each command in the second device in a hash command information table of the second device;
inquiring command node identifiers corresponding to all paths of commands in the first equipment in a first mapping relation to obtain the command node identifiers of the first equipment;
inquiring command node identifiers corresponding to all paths of commands in the second equipment in the second mapping relation to obtain command node identifiers of the second equipment;
according to the command node identification of the first device and the command node identification of the second device, respectively reading command description information contained in the command node of the first device and command description information contained in the command node of the second device;
Comparing and analyzing command description information contained in the command node of the first device with command description information contained in the command node of the second device to obtain command information differences of all commands;
and generating a command information difference report according to the command information difference of each command.
In one embodiment, the processor, when executing a command information tree traversing the first device to construct a hash command information table of the first device, specifically performs the following operations:
traversing a command information tree of the first device, and generating a node path from a root command node to a command node for each traversed command node;
and for each command node, storing the mapping relation between the node path of the command node and the command node identifier to obtain a hash command information table of the first device.
In one embodiment, the processor further performs the following:
receiving a command query request, wherein the command query request comprises a command node identification and query direction indication information of a target command;
according to the command node identification, locating a command node corresponding to the target command in the command information tree;
each command node in the direction indicated by the query direction indication information is queried starting from the command node.
In the embodiment of the application, firstly, command information of target equipment is collected, wherein the command information comprises collected commands and command description information of the commands; then, according to the command information, identifying the command attribute of each command; secondly, constructing command nodes according to command attributes of all commands; and finally, generating a command information tree of the target equipment according to the command node. The application completes the construction of the command information tree by collecting the command information of the target equipment, so that all the command information of the equipment is stored in the command information tree, and therefore, the command set test can be carried out based on the command information tree, the command set test depending on the equipment is eliminated, meanwhile, the tree structure supports the node backtracking function, and under the condition of command traversal interruption, the command tree can be continuously traversed by backtracking to the interrupted command node, and the command traversal is completed, thereby improving the command traversal efficiency.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in the embodiments may be accomplished by computer programs to instruct related hardware, and that the program for device command management may be stored in a computer readable storage medium, and the program, when executed, may include the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, or the like.
The foregoing disclosure is illustrative of the present application and is not to be construed as limiting the scope of the application, which is defined by the appended claims.

Claims (15)

1. A device command management method, the method comprising:
collecting command information of target equipment, wherein the command information comprises collected commands and command description information of the commands;
identifying command attributes of all commands according to the command information; constructing command nodes according to command attributes of commands, wherein each command node comprises a command node identifier of a corresponding command and command description information of the corresponding command;
and generating a command information tree of the target equipment according to the command node.
2. The method of claim 1, wherein constructing a command node from command attributes of each command comprises:
traversing command attributes of all commands, and identifying a root command conforming to the root command attributes and all levels of subcommands conforming to the subcommand attributes under the root command from all commands;
generating a root command node corresponding to the root command according to the root command and the command description information of the root command;
And respectively generating subcommand nodes corresponding to each level of subcommand according to the subcommand at each level and the command description information of the subcommand at each level.
3. The method of claim 1, wherein generating a command information tree for the target device from the command node comprises:
and under the condition that the command information tree of the target equipment does not exist in the database currently, generating the command information tree of the target equipment according to the root command node and each level of subcommand nodes included in the command nodes.
4. A method according to any of claims 1-3, wherein said generating a command information tree of said target device from said command node comprises:
determining, for each command node, whether a command node identifier of the command node is contained in a currently existing command information tree of the target device in a database;
if not, based on the command attribute, determining the association relationship between the command node and each node in the currently existing command information tree; determining the insertion position of the command node in the command information tree based on the association relation; inserting the command node at the insertion location;
If so, updating the command description information of the node corresponding to the command node identification in the currently existing command information tree based on the command description information of the command node.
5. The method according to claim 4, wherein the method further comprises:
receiving a command traversing request, and determining a target command node indicated by the command traversing request;
acquiring command description information stored on the target command node;
and extracting command description information of a parent command and a child command corresponding to the target command node based on the command description information.
6. The method of claim 4, wherein after generating the command information tree for the target device, further comprising:
splitting a command information tree of the target device into a plurality of subtrees;
storing the plurality of subtrees in a database;
and when a read request of the command information tree of the target device is received, acquiring a plurality of subtrees of the target device in the database, and merging the subtrees into the command information tree of the target device.
7. The method of claim 1, wherein before identifying the command attributes of each command based on the command information, further comprising:
Judging whether each command accords with a preset command rule or not according to the command description information of each command;
clearing commands which do not accord with the preset command rules;
for commands conforming to a pre-configured command rule, an operation of identifying a command attribute of each command according to the command information is performed.
8. The method of claim 7, wherein generating the pre-configured command rules comprises:
under the condition that a rule configuration instruction is received, loading a rule configuration file;
aiming at a target rule type corresponding to a target rule to be configured currently, when historical rule content corresponding to the target rule type exists in the rule configuration file and rule content input based on a client is received, modifying the historical rule content according to the received rule content to obtain rule content corresponding to the target rule type; or,
when the historical rule content corresponding to the target rule type does not exist in the rule configuration file and the rule content input based on the client is received, determining the received rule content as the rule content corresponding to the target rule type; wherein,
The target rule type is any one of the rule types;
and generating a pre-configured command rule based on rule content corresponding to the target rule type.
9. The method according to claim 1, wherein the method further comprises:
respectively acquiring command information trees of the first equipment and the second equipment indicated by the command difference analysis instruction;
traversing a command information tree of the first device to construct a hash command information table of the first device; traversing a command information tree of the second device to construct a hash command information table of the second device;
and performing information comparison processing on the hash command information table of the first device and the hash command information table of the second device, and generating a command information difference report of the first device and the second device.
10. The method of claim 9, wherein the performing the information comparison process on the hash command information table of the first device and the hash command information table of the second device, and generating the command information difference report of the first device and the second device, includes:
determining a first mapping relation of each command in the first device in a hash command information table of the first device;
Determining a second mapping relation of each command in the second device in a hash command information table of the second device;
inquiring command node identifiers corresponding to all paths of commands in the first equipment in the first mapping relation to obtain the command node identifiers of the first equipment;
inquiring command node identifiers corresponding to all paths of commands in the second equipment in the second mapping relation to obtain the command node identifiers of the second equipment;
according to the command node identification of the first device and the command node identification of the second device, respectively reading command description information contained in the command node of the first device and command description information contained in the command node of the second device;
comparing and analyzing command description information contained in the command node of the first device with command description information contained in the command node of the second device to obtain command information differences of the commands;
and generating a command information difference report according to the command information difference of each command.
11. The method of claim 9, wherein traversing the command information tree of the first device to construct the hash command information table of the first device comprises:
Traversing a command information tree of the first device, and generating a node path from a root command node to the command node for each traversed command node;
and for each command node, storing a mapping relation between a node path of the command node and a command node identifier to obtain a hash command information table of the first device.
12. The method of claim 6, wherein the method further comprises:
receiving a command query request, wherein the command query request comprises a command node identification and query direction indication information of a target command;
according to the command node identification, locating a command node corresponding to the target command in a command information tree;
and starting to inquire each command node in the direction indicated by the inquiry direction indication information from the command node.
13. A device command management apparatus, the apparatus comprising:
the acquisition module is used for acquiring command information of the target equipment, wherein the command information comprises each acquired command and command description information of each command;
the construction module is used for identifying command attributes of all commands according to the command information; constructing command nodes according to command attributes of commands, wherein each command node comprises a command node identifier of a corresponding command and command description information of the corresponding command;
And the generating module is used for generating a command information tree of the target equipment according to the command node.
14. A computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the method of any of claims 1-12.
15. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method according to any of claims 1-12.
CN202311476720.0A 2023-11-08 2023-11-08 Device command management method and device, storage medium and electronic device Active CN117194278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311476720.0A CN117194278B (en) 2023-11-08 2023-11-08 Device command management method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311476720.0A CN117194278B (en) 2023-11-08 2023-11-08 Device command management method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN117194278A true CN117194278A (en) 2023-12-08
CN117194278B CN117194278B (en) 2024-02-23

Family

ID=88989173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311476720.0A Active CN117194278B (en) 2023-11-08 2023-11-08 Device command management method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN117194278B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1336770A (en) * 2000-09-15 2002-02-20 深圳市中兴通讯股份有限公司 Operation and maintenance of router and storage and explanation of configuration command
US7043660B1 (en) * 2001-10-08 2006-05-09 Agilent Technologies, Inc. System and method for providing distributed fault management policies in a network management system
CN104767635A (en) * 2015-01-12 2015-07-08 武汉烽火网络有限责任公司 Method for sharing mirror image by multiple devices based on dynamic command line replacement
US20170329697A1 (en) * 2016-05-11 2017-11-16 Synopsys, Inc. Detecting mistyped identifiers and suggesting corrections using other program identifiers
CN107977310A (en) * 2017-11-06 2018-05-01 杭州迪普科技股份有限公司 One kind traversal test command generation method and device
US20190327170A1 (en) * 2018-04-20 2019-10-24 Hewlett Packard Enterprise Development Lp Establish a source routing tree for gateway node in a mesh network
US20200327823A1 (en) * 2019-04-12 2020-10-15 Holberton School Correction of software coding projects
US20200349228A1 (en) * 2019-05-03 2020-11-05 Sap Se Significant correlation framework for command translation
CN112688865A (en) * 2020-12-10 2021-04-20 西安理工大学 Design method of OPC UA gateway for graphical online modeling
US20210133092A1 (en) * 2019-11-06 2021-05-06 International Business Machines Corporation Facilitating localization of code defect
US11070461B1 (en) * 2017-03-20 2021-07-20 Amazon Technologies, Inc. System for dividing a tree data structure to improve traversal operations
CN114489594A (en) * 2021-12-27 2022-05-13 天翼云科技有限公司 Method for constructing command parser, method and device for processing command parsing
CN115048913A (en) * 2022-07-01 2022-09-13 联想(北京)有限公司 Command processing method and device and electronic equipment
US20230030393A1 (en) * 2020-10-13 2023-02-02 Shenzhen Jingtai Technology Co., Ltd. General description language data system for directed acyclic graph automatic task flow
CN116932305A (en) * 2023-09-15 2023-10-24 新华三信息技术有限公司 Test file generation method and device, electronic equipment and storage medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1336770A (en) * 2000-09-15 2002-02-20 深圳市中兴通讯股份有限公司 Operation and maintenance of router and storage and explanation of configuration command
US7043660B1 (en) * 2001-10-08 2006-05-09 Agilent Technologies, Inc. System and method for providing distributed fault management policies in a network management system
CN104767635A (en) * 2015-01-12 2015-07-08 武汉烽火网络有限责任公司 Method for sharing mirror image by multiple devices based on dynamic command line replacement
US20170329697A1 (en) * 2016-05-11 2017-11-16 Synopsys, Inc. Detecting mistyped identifiers and suggesting corrections using other program identifiers
US11070461B1 (en) * 2017-03-20 2021-07-20 Amazon Technologies, Inc. System for dividing a tree data structure to improve traversal operations
CN107977310A (en) * 2017-11-06 2018-05-01 杭州迪普科技股份有限公司 One kind traversal test command generation method and device
US20190327170A1 (en) * 2018-04-20 2019-10-24 Hewlett Packard Enterprise Development Lp Establish a source routing tree for gateway node in a mesh network
US20200327823A1 (en) * 2019-04-12 2020-10-15 Holberton School Correction of software coding projects
US20200349228A1 (en) * 2019-05-03 2020-11-05 Sap Se Significant correlation framework for command translation
US20210133092A1 (en) * 2019-11-06 2021-05-06 International Business Machines Corporation Facilitating localization of code defect
US20230030393A1 (en) * 2020-10-13 2023-02-02 Shenzhen Jingtai Technology Co., Ltd. General description language data system for directed acyclic graph automatic task flow
CN112688865A (en) * 2020-12-10 2021-04-20 西安理工大学 Design method of OPC UA gateway for graphical online modeling
CN114489594A (en) * 2021-12-27 2022-05-13 天翼云科技有限公司 Method for constructing command parser, method and device for processing command parsing
CN115048913A (en) * 2022-07-01 2022-09-13 联想(北京)有限公司 Command processing method and device and electronic equipment
CN116932305A (en) * 2023-09-15 2023-10-24 新华三信息技术有限公司 Test file generation method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
潘琦;陈晗;曹炳尧;李迎春;: "基于Python的SCPI命令解释器设计与优化", 工业控制计算机, no. 06, pages 78 - 81 *

Also Published As

Publication number Publication date
CN117194278B (en) 2024-02-23

Similar Documents

Publication Publication Date Title
EP3678346B1 (en) Blockchain smart contract verification method and apparatus, and storage medium
US10733055B1 (en) Methods and apparatus related to graph transformation and synchronization
US8869111B2 (en) Method and system for generating test cases for a software application
CN115421764A (en) Method, device, equipment and storage medium for identifying module to be upgraded
CN117194278B (en) Device command management method and device, storage medium and electronic device
US9875248B2 (en) System and method for identifying a file path using tree data structure
US7321561B2 (en) Verification of connections between devices in a network
US10216771B2 (en) Creating and handling identification for a resource in a configuration database
US11625396B2 (en) SQL implication decider for materialized view selection
CN109947429B (en) Data processing method and device
CN114465904A (en) Network topology construction method and computing equipment
CN110347711B (en) Fragment storage graph database query method and device
CN112995362B (en) Method and device for matching data packet and protocol rule
US20230214506A1 (en) Auto generating build time policies from run time policies for shift left security
CN117576125B (en) Neural network calculation graph segmentation method, device, equipment and storage medium
US20220188339A1 (en) Network environment synchronization apparatus and method
EP3989078A1 (en) Method and apparatus for realizing global unique index
CN114756382B (en) Optimization method, system and server for memory page merging
CN111090500B (en) Storage process management method and device
US20230336410A1 (en) Method and apparatus for configuring node
US7703096B1 (en) Method to resolve ambiguities for monitoring and automating UNIX processes
CN113918279A (en) Multi-cloud container deployment environment configuration method, system, device and storage medium
CN117951155A (en) Data processing method, device, electronic equipment and storage medium
Stephens From models to implementations-distributed algorithms using maude
CN117519814A (en) Sharing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant