CN116828028A - Method, device, system, equipment and medium for issuing network element instruction - Google Patents

Method, device, system, equipment and medium for issuing network element instruction Download PDF

Info

Publication number
CN116828028A
CN116828028A CN202310936205.XA CN202310936205A CN116828028A CN 116828028 A CN116828028 A CN 116828028A CN 202310936205 A CN202310936205 A CN 202310936205A CN 116828028 A CN116828028 A CN 116828028A
Authority
CN
China
Prior art keywords
instruction
network element
sent
issuing
element connection
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.)
Pending
Application number
CN202310936205.XA
Other languages
Chinese (zh)
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.)
China Telecom Technology Innovation Center
China Telecom Corp Ltd
Original Assignee
China Telecom Technology Innovation Center
China Telecom Corp 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 China Telecom Technology Innovation Center, China Telecom Corp Ltd filed Critical China Telecom Technology Innovation Center
Priority to CN202310936205.XA priority Critical patent/CN116828028A/en
Publication of CN116828028A publication Critical patent/CN116828028A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The disclosure provides a method, a device, a system, equipment and a medium for issuing a network element instruction, and relates to the technical field of communication. The method comprises the following steps: acquiring an instruction queue to be sent; identifying the instruction type of each instruction to be sent in the instruction queue to be sent; aiming at an instruction to be sent, the instruction type of which is a normal instruction, acquiring normal network element connection from a preset network element connection pool, and issuing the instruction; aiming at the instruction to be sent, the instruction type of which is an environment dependent instruction, acquiring network element connection with preset execution environment from a preset network element connection pool, and issuing the instruction. According to the embodiment of the disclosure, frequent network element connection can be reduced, the effect of sharing the network element connection is achieved, network resources are saved, and instruction issuing efficiency is improved.

Description

Method, device, system, equipment and medium for issuing network element instruction
Technical Field
The disclosure relates to the field of communication technologies, and in particular, to a method, a device, a system, a device and a medium for issuing a network element instruction.
Background
In a scenario of calling a large number of daily instructions by 5GC service, a part of environment dependent instructions have special dependence on an execution environment, and a common instruction and the part of environment dependent instructions cannot be issued in a compatible shared connection, and the current common practice is to issue the instructions by using a newly-built connection, so that a large number of network element connections are frequently established due to incompatibility of the common instruction and the environment dependent instructions, thereby causing low instruction issuing efficiency and wasting network resources.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure provides a method, an apparatus, a system, a device, and a medium for issuing a network element instruction, which at least overcome to a certain extent the problem that in the related art, because of incompatibility between a general instruction and an environment-dependent instruction, a large number of network element connections are frequently established, the instruction issuing efficiency is low, and network resources are wasted.
Other features and advantages of the present disclosure will be apparent from the following detailed description, or may be learned in part by the practice of the disclosure.
According to one aspect of the present disclosure, there is provided a network element instruction issuing method, including:
acquiring an instruction queue to be sent;
identifying the instruction type of each instruction to be sent in the instruction queue to be sent;
aiming at an instruction to be sent, the instruction type of which is a normal instruction, acquiring normal network element connection from a preset network element connection pool, and issuing the instruction;
aiming at the instruction to be sent, the instruction type of which is an environment dependent instruction, acquiring network element connection with preset execution environment from a preset network element connection pool, and issuing the instruction.
In one embodiment of the present disclosure, the method further comprises:
receiving an instruction execution result;
and assembling and returning the instruction execution result.
In one embodiment of the present disclosure, identifying an instruction type for each instruction to be sent in an instruction to be sent queue includes:
and identifying the instruction type of each instruction to be sent in the instruction queue to be sent by utilizing an instruction rule in a preset instruction rule base.
In one embodiment of the present disclosure, for an instruction to be sent, where the instruction type is a normal instruction, the normal network element connection is obtained in a preset network element connection pool, and after the instruction is issued, the method further includes:
if the instruction execution error is that a special environment is needed, updating the instruction rule base, and updating the instruction rule base, wherein the updating comprises the steps of modifying the instruction rule corresponding to the instruction to enable the instruction type corresponding to the instruction to be environment dependent;
and after updating the instruction rule base, re-identifying the instruction type of the instruction, and aiming at the instruction to be sent, the instruction type of which is an environment dependent instruction, acquiring network element connection with preset execution environment from a preset network element connection pool, and issuing the instruction.
In one embodiment of the present disclosure, obtaining an instruction queue to be sent includes:
responding to the service request, and acquiring a plurality of instructions to be sent;
and sequencing the plurality of instructions to be sent according to the instruction logic to obtain an instruction queue to be sent.
According to another aspect of the present disclosure, there is provided a network element instruction issuing apparatus, including:
the instruction acquisition unit is used for acquiring an instruction queue to be sent;
the instruction identification unit is used for identifying the instruction type of each instruction to be sent in the instruction queue to be sent;
the first instruction issuing unit is used for acquiring normal network element connection from a preset network element connection pool aiming at an instruction to be sent, the instruction type of which is a normal instruction, and issuing the instruction;
the second instruction issuing unit is used for acquiring network element connection with preset execution environment from a preset network element connection pool for issuing the instruction aiming at the instruction to be sent, the instruction type of which is an environment dependent instruction.
In an embodiment of the present disclosure, the network element instruction issuing device may further include:
the result receiving unit is used for receiving the instruction execution result;
and the assembly receipt unit is used for assembling the instruction execution result and returning a receipt.
In one embodiment of the present disclosure, the instruction identifying unit is configured to identify an instruction type of each instruction to be sent in the instruction queue to be sent by using an instruction rule in a preset instruction rule base.
In an embodiment of the present disclosure, the network element instruction issuing device may further include:
the instruction rule base updating unit is used for acquiring normal network element connection in a preset network element connection pool aiming at an instruction to be sent, updating the instruction rule base if the instruction execution error is that a special environment is needed after the instruction is issued, and updating the instruction rule base, wherein the instruction rule base comprises an instruction rule corresponding to the instruction, and the instruction rule corresponding to the instruction is modified to be an environment dependent instruction;
the second instruction issuing unit is further configured to re-identify an instruction type of the instruction after updating the instruction rule base, and obtain, for an instruction to be sent, for which the instruction type is an environment dependent instruction, a network element connection in which an execution environment is preset in a preset network element connection pool, and issue the instruction.
In one embodiment of the present disclosure, an instruction obtaining unit is configured to obtain a plurality of instructions to be sent in response to a service request; and sequencing the plurality of instructions to be sent according to the instruction logic to obtain an instruction queue to be sent.
According to another aspect of the present disclosure, there is provided a network element instruction issuing system, including:
the instruction acquisition module is used for acquiring an instruction queue to be sent;
the instruction rule base is used for storing a plurality of instruction rules;
the instruction screening module is used for identifying the instruction type of each instruction to be sent in the instruction queue to be sent based on the instruction rules in the instruction rule base;
the network element connection pool is used for storing the normal network element connection and the network element connection with the preset execution environment;
the network element general instruction issuing module is used for acquiring general network element connection from a preset network element connection pool for issuing instructions aiming at instructions to be sent, the types of which are general instructions;
the network element environment dependent instruction issuing module is used for acquiring network element connection with a preset execution environment from a preset network element connection pool aiming at an instruction to be sent, the instruction type of which is an environment dependent instruction, and issuing the instruction.
In one embodiment of the present disclosure, the network element instruction issuing system further includes:
the instruction result assembling module is used for assembling and returning instruction execution results from the network element normal instruction issuing module and the network element environment dependent instruction issuing module.
According to still another aspect of the present disclosure, there is provided an electronic apparatus including: a memory for storing instructions; and the processor is used for calling the instruction stored in the memory to realize the network element instruction issuing method.
According to yet another aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the above-described network element instruction issuing method.
According to yet another aspect of the present disclosure, there is provided a computer program product storing instructions that, when executed by a computer, cause the computer to implement the network element instruction issuing method described above.
According to yet another aspect of the present disclosure, there is provided a chip comprising at least one processor and an interface;
an interface for providing program instructions or data to at least one processor;
the at least one processor is configured to execute the program instructions to implement the network element instruction issuing method described above.
According to the network element instruction issuing method, device, system, equipment and medium provided by the embodiment of the disclosure, the network element connection pool is preset, after the instruction type of each instruction to be sent in the instruction queue to be sent is identified, the corresponding network element connection can be selected in the network element connection pool according to the instruction type to issue the instruction, the frequently issued network element connection can be reduced, the effect of sharing the network element connection is achieved, network resources are saved, and the instruction issuing 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 disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
Fig. 1 is a schematic diagram of a network element instruction issuing system in an embodiment of the disclosure;
fig. 2 is a flowchart of a method for issuing a network element instruction in an embodiment of the disclosure;
fig. 3 is a flowchart illustrating another method for issuing a network element command in an embodiment of the disclosure;
fig. 4 is a flowchart illustrating yet another method for issuing a network element instruction in an embodiment of the disclosure;
fig. 5 is a schematic diagram of a network element instruction issuing device in an embodiment of the disclosure;
fig. 6 shows a block diagram of an electronic device in an embodiment of the disclosure.
Detailed Description
Example embodiments will now be described more fully hereinafter with reference to the accompanying drawings.
It should be noted that the exemplary embodiments can be implemented in various forms and should not be construed as limited to the examples set forth herein.
For ease of understanding, the following description first refers to the related art and terms related to this disclosure as follows:
5GC network element: the 3GPP 5G service specification defines 5GC network element equipment which mainly comprises AMF, SMF, NSSF, UPF, UDM and the like.
Instructions to: a command executed by the 5GC network element.
Environment dependent instructions: instructions that rely on a special execution environment to execute are needed.
For one embodiment, for example, a part of instructions of a brand of equipment need to enter into the rsong environment to be executed, and a part of instructions of another brand of equipment need to switch the network element view environment to be executed.
In a scenario of calling a large number of daily instructions by 5GC service, a part of environment dependent instructions have special dependence on an execution environment, and a common instruction and the part of environment dependent instructions cannot be issued in a compatible shared connection, and the current common practice is to issue the instructions by using a newly-built connection, so that a large number of network element connections are frequently established due to incompatibility of the common instruction and the environment dependent instructions, thereby causing low instruction issuing efficiency and wasting network resources. Meanwhile, when the environment-dependent instruction is newly added as a new service support, the manufacturer needs to manually identify the instruction manual, so that a large amount of manpower resources are wasted, and meanwhile, the communication cost with the manufacturer is increased.
Aiming at the problems of network resource waste, low instruction issuing efficiency and human resource waste caused by incompatibility of the normal instruction and the environment dependent instruction issuing and manual maintenance of the environment dependent instruction. The embodiment of the disclosure provides a network element instruction issuing method based on an instruction rule base, which utilizes an instruction screening module and the instruction rule base to enable a general instruction and an environment dependent instruction to be issued under corresponding shared connection, and simultaneously, an instruction rule updating module automatically performs instruction rule base.
The present exemplary embodiment will be described in detail below with reference to the accompanying drawings and examples.
Fig. 1 shows a network element instruction issuing system in an embodiment of the present disclosure, and as shown in fig. 1, the network element instruction issuing system provided in the embodiment of the present disclosure includes an instruction acquisition module, an instruction rule base, an instruction screening module, a network element connection pool, a network element general instruction issuing module, and a network element environment dependent instruction issuing module.
The instruction acquisition module is used for acquiring an instruction queue to be sent; the instruction rule base is used for storing a plurality of instruction rules; the instruction screening module is used for identifying the instruction type of each instruction to be sent in the instruction queue to be sent based on the instruction rules in the instruction rule base; the network element connection pool is used for storing the normal network element connection and the network element connection with the preset execution environment; the network element general instruction issuing module is used for acquiring general network element connection from a preset network element connection pool for issuing instructions aiming at instructions to be sent, the types of which are general instructions; the network element environment dependent instruction issuing module is used for acquiring network element connection with a preset execution environment from a preset network element connection pool aiming at an instruction to be sent, the instruction type of which is an environment dependent instruction, and issuing the instruction.
In some embodiments, the network element instruction issuing system may further include an instruction result assembling module.
The instruction result assembling module is used for assembling and returning instruction execution results from the network element normal instruction issuing module and the network element environment dependent instruction issuing module.
Fig. 2 is a flowchart of a method for issuing a network element instruction in an embodiment of the present disclosure, where an execution body of the issuing of the network element instruction is the network element instruction issuing system shown in fig. 1.
As shown in fig. 2, in the embodiment of the disclosure, the instruction filtering module and the instruction rule base are used to filter the normal instruction and the environment dependent instruction, and issue the instruction through the long connection in the connection pool. According to the embodiment of the disclosure, the instruction screening module screens and distinguishes the normal instruction and the environment-dependent instruction through the rules in the instruction rule base, and the normal instruction issuing module and the environment-dependent instruction issuing module of the network element issue the instruction by using the normal network element connection which is uniformly managed in the connection pool and the network element connection which is preset with the special execution environment.
And updating and maintaining the instruction rule base through an instruction rule updating module. When issuing a new environment-dependent instruction in the embodiment of the disclosure, the network element reports an error requiring a special environment for instruction execution, automatically updates and maintains an instruction rule base through an instruction rule updating module, and issues the instruction again after the instruction rule is updated
According to the embodiment of the disclosure, the instruction rule library is maintained through the instruction rule updating module, and when an instruction is issued, the instruction is screened by using the rule of the instruction rule library, and the unified general connection or special environment connection is selected for issuing. By the method provided by the embodiment of the disclosure, frequent network element connection is reduced, the effect of sharing the network element connection is achieved, network resources are greatly saved, and the instruction issuing efficiency is improved; meanwhile, the automatic updating function of the instruction rule updating module is used for completing the rule automatic maintenance of the newly-added environment dependent instruction, so that the manual operation is reduced, the waste of human resources is reduced, and the communication cost with manufacturers is also reduced.
Fig. 3 shows a flowchart of a network element instruction issuing method in an embodiment of the present disclosure, and as shown in fig. 3, the network element instruction issuing method provided in the embodiment of the present disclosure includes steps S302 to S308.
In S302, an instruction queue to be sent is acquired.
In S304, an instruction type of each instruction to be sent in the instruction to be sent queue is identified.
In S306, for the instruction to be sent, where the instruction type is a normal instruction, the normal network element connection is obtained in the preset network element connection pool, and the instruction is issued.
In S308, for the instruction to be sent, whose instruction type is the environment-dependent instruction, the network element connection with the preset execution environment is obtained from the preset network element connection pool, and the instruction is issued.
In the above steps, the execution body of the network element instruction issuing method may be the network element instruction issuing system in the above embodiment, or may be any electronic device.
The instruction to be sent queue may include a plurality of instructions to be sent, which may include normal instructions and environment dependent instructions.
In some embodiments, obtaining a queue of instructions to be sent includes obtaining a plurality of instructions to be sent in response to a service request; and sequencing the plurality of instructions to be sent according to the instruction logic to obtain an instruction queue to be sent.
According to the network element instruction issuing method provided by the embodiment of the disclosure, the network element connection pool is preset, after the instruction type of each instruction to be sent in the instruction queue to be sent is identified, the corresponding network element connection can be selected in the network element connection pool according to the instruction type to issue the instruction, frequent network element connection can be reduced, the effect of sharing the network element connection is achieved, network resources are saved, and the instruction issuing efficiency is improved.
In some embodiments, after instruction issue, the instruction execution result may also be received, and then. And assembling and returning the instruction execution result.
In some embodiments, identifying an instruction type for each instruction to be sent in the instruction queue to be sent includes: and identifying the instruction type of each instruction to be sent in the instruction queue to be sent by utilizing an instruction rule in a preset instruction rule base.
A plurality of instruction rules are preset in the instruction rule base, and the instruction type of the instruction can be identified according to the instruction rules. In one embodiment, an instruction rule may be used to identify an environment dependent instruction from a plurality of instructions. In one embodiment, a plurality of environment dependent instructions are recorded in the instruction rule base through instruction rules, and then the environment dependent instructions can be identified by using the instruction rule base.
In some embodiments, for an instruction to be sent, where the instruction type is a normal instruction, the method further includes, after sending the instruction, acquiring normal network element connection in a preset network element connection pool: if the instruction execution error is that a special environment is needed, updating the instruction rule base, and updating the instruction rule base, wherein the updating comprises the steps of modifying the instruction rule corresponding to the instruction to enable the instruction type corresponding to the instruction to be environment dependent; and after updating the instruction rule base, re-identifying the instruction type of the instruction, and aiming at the instruction to be sent, the instruction type of which is an environment dependent instruction, acquiring network element connection with preset execution environment from a preset network element connection pool, and issuing the instruction.
According to the embodiment of the disclosure, the instruction rule library is maintained through the instruction rule updating module, and when an instruction is issued, the instruction is screened by using the rule of the instruction rule library, and the unified general connection or special environment connection is selected for issuing. By the method provided by the embodiment of the disclosure, frequent network element connection is reduced, the effect of sharing the network element connection is achieved, network resources are greatly saved, and the instruction issuing efficiency is improved; meanwhile, the automatic updating function of the instruction rule updating module is used for completing the rule automatic maintenance of the newly-added environment dependent instruction, so that the manual operation is reduced, the waste of human resources is reduced, and the communication cost with manufacturers is also reduced.
Fig. 4 shows a flowchart of a network element instruction issuing method in an embodiment of the present disclosure, and as shown in fig. 4, the network element instruction issuing method provided in the embodiment of the present disclosure includes steps S402 to S408.
In S402, the instruction to be sent is acquired according to the service request instruction acquisition module, and the instructions are ordered according to the instruction logic.
In S404, the instruction screening module uses rules in the instruction rule base to distinguish the normal instruction and the environment dependent instruction, and sends the screened instructions to the network element normal instruction issuing module and the network element environment dependent instruction issuing module respectively for issuing the instructions.
In S406, the network element normal instruction issuing module obtains normal network element connection from the network element connection pool to issue an instruction, after the instruction is executed, the instruction result is sent to the instruction result assembling module to be processed, if the instruction execution report needs a fault of a special environment, the instruction rule updating module is sent to update the instruction rule base, and after the update is completed, the instruction is sent to the instruction screening module again to be screened and retransmitted; the network element environment depends on the instruction issuing module to obtain the network element connection of the preset environment from the network element connection pool to issue the instruction, and after the instruction execution is completed, the instruction result is sent to the instruction result assembling module to be processed.
In S408, the instruction result assembling module assembles and returns the instruction execution results from the network element normal instruction issuing module and the network element environment dependent instruction issuing module.
The method for issuing the network element instruction in the related art generally comprises the steps of firstly uniformly acquiring the instruction to be transmitted, inserting the instruction in the same batch or number into a corresponding memory instruction queue according to the business logic relation among the instructions to be transmitted, distributing the instruction which is currently required to be executed by the network element in the memory instruction queue to the corresponding network element connection, and finally uniformly writing back the execution result of the network element connection to the instruction.
The method and the device distinguish the normal instruction from the environment-dependent instruction by using the instruction rule, and issue the instruction through the connection of the unified rule, so that the adaptation of the environment-dependent instruction is realized, the network element connection is reduced, and the network resource is saved.
According to the embodiment of the disclosure, the instruction rule library is updated and maintained by using the instruction rule updating module, so that manual maintenance on environment-dependent instructions is avoided, loss of human resources is reduced, and meanwhile, communication cost with manufacturers is reduced.
In the presently disclosed embodiments, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
The term "and/or" in this disclosure is merely one association relationship describing the associated object, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Furthermore, although the steps of the methods in the present disclosure are depicted in a particular order in the drawings, this does not require or imply that the steps must be performed in that particular order or that all illustrated steps be performed in order to achieve desirable results.
In some embodiments, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
Based on the same inventive concept, the embodiments of the present disclosure also provide a network element instruction issuing device, as described in the following embodiments. Since the principle of solving the problem of the embodiment of the device is similar to that of the embodiment of the method, the implementation of the embodiment of the device can be referred to the implementation of the embodiment of the method, and the repetition is omitted.
Fig. 5 shows a schematic diagram of a network element instruction issuing device in an embodiment of the present disclosure, as shown in fig. 5, where the network element instruction issuing device 500 includes:
an instruction acquiring unit 502, configured to acquire an instruction queue to be sent;
an instruction identifying unit 504, configured to identify an instruction type of each instruction to be sent in the instruction queue to be sent;
a first instruction issuing unit 506, configured to obtain, for an instruction to be sent, that is, an instruction type of a normal instruction, a normal network element connection in a preset network element connection pool, and issue the instruction;
the second instruction issuing unit 508 is configured to obtain, for an instruction to be issued, that is, an instruction type is an environment dependent instruction, a network element connection in which an execution environment is preset in a preset network element connection pool, and issue the instruction.
In some embodiments, the network element instruction issuing apparatus 500 may further include:
the result receiving unit is used for receiving the instruction execution result;
and the assembly receipt unit is used for assembling the instruction execution result and returning a receipt.
In some embodiments, the instruction identifying unit 504 is configured to identify an instruction type of each instruction to be sent in the instruction queue to be sent by using an instruction rule in a preset instruction rule base.
In some embodiments, the network element instruction issuing apparatus 500 may further include:
the instruction rule base updating unit is used for acquiring normal network element connection in a preset network element connection pool aiming at an instruction to be sent, updating the instruction rule base if the instruction execution error is that a special environment is needed after the instruction is issued, and updating the instruction rule base, wherein the instruction rule base comprises an instruction rule corresponding to the instruction, and the instruction rule corresponding to the instruction is modified to be an environment dependent instruction;
the second instruction issuing unit 508 is further configured to re-identify an instruction type of the instruction after updating the instruction rule base, and obtain, for an instruction to be sent, an element connection preset with an execution environment in a preset element connection pool, for the instruction to be sent, where the instruction type is an environment dependent instruction, and issue the instruction.
In some embodiments, the instruction obtaining unit 502 is configured to obtain a plurality of instructions to be sent in response to a service request; and sequencing the plurality of instructions to be sent according to the instruction logic to obtain an instruction queue to be sent.
The terms "first," "second," and the like in this disclosure are used solely to distinguish one from another device, module, or unit, and are not intended to limit the order or interdependence of functions performed by such devices, modules, or units.
The specific manner in which each module performs the operation in the network element instruction issuing apparatus in the above embodiment has been described in detail in the embodiment related to the network element instruction issuing method, and will not be described in detail herein.
In summary, in the network element instruction issuing device provided by the embodiment of the present application, the network element connection pool is preset, after the instruction type of each instruction to be sent in the instruction queue to be sent is identified, the corresponding network element connection can be selected in the network element connection pool according to the instruction type to issue the instruction, so that frequent network element connection can be reduced, the effect of sharing network element connection is achieved, network resources are saved, and the instruction issuing efficiency is improved.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory.
Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
An electronic device provided by an embodiment of the present disclosure is described with reference to fig. 6. The electronic device 600 shown in fig. 6 is merely an example and should not be construed to limit the functionality and scope of use of embodiments of the present disclosure in any way.
Fig. 6 shows a schematic architecture diagram of an electronic device 600 according to the present disclosure. As shown in fig. 6, the electronic device 600 includes, but is not limited to: at least one processor 610, at least one memory 620.
Memory 620 for storing instructions.
In some embodiments, memory 620 may include readable media in the form of volatile memory units, such as Random Access Memory (RAM) 6201 and/or cache memory unit 6202, and may further include read only memory unit (ROM) 6203.
In some embodiments, memory 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
In some embodiments, memory 620 may store an operating system. The operating system may be a real-time operating system (Real Time eXecutive, RTX), LINUX, UNIX, WINDOWS or OS X like operating systems.
In some embodiments, memory 620 may also have data stored therein.
As one example, processor 610 may read data stored in memory 620, which may be stored at the same memory address as the instructions, or which may be stored at a different memory address than the instructions.
A processor 610 for invoking instructions stored in memory 620 to implement the steps described in the "exemplary methods" section of the present specification according to various exemplary embodiments of the present disclosure. For example, the processor 610 may perform the following steps of the method embodiments described above:
acquiring an instruction queue to be sent;
identifying the instruction type of each instruction to be sent in the instruction queue to be sent;
aiming at an instruction to be sent, the instruction type of which is a normal instruction, acquiring normal network element connection from a preset network element connection pool, and issuing the instruction;
aiming at the instruction to be sent, the instruction type of which is an environment dependent instruction, acquiring network element connection with preset execution environment from a preset network element connection pool, and issuing the instruction.
It should be noted that the processor 610 may be a general-purpose processor or a special-purpose processor. Processor 610 may include one or more processing cores, with processor 610 executing various functional applications and data processing by executing instructions.
In some embodiments, the processor 610 may include a central processing unit (central processing unit, CPU) and/or a baseband processor.
In some embodiments, processor 610 may determine an instruction based on priority identification and/or functional class information carried in the respective control instructions.
In the present disclosure, the processor 610 and the memory 620 may be provided separately or may be integrated.
As one example, the processor 610 and the memory 620 may be integrated on a single board or System On Chip (SOC).
As shown in fig. 6, the electronic device 600 is in the form of a general purpose computing device. The electronic device 600 may also include a bus 630.
Bus 630 may be a local bus representing one or more of several types of bus structures including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or using any of a variety of bus architectures.
The electronic device 600 may also communicate with one or more external devices 640 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 600, and/or any device (e.g., router, modem, etc.) that enables the electronic device 600 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 650.
Also, electronic device 600 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 660.
As shown in fig. 6, network adapter 660 communicates with other modules of electronic device 600 over bus 630.
It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 600, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
It is to be understood that the illustrated structure of the presently disclosed embodiments does not constitute a particular limitation of the electronic device 600. In other embodiments of the present disclosure, electronic device 600 may include more or fewer components than shown in FIG. 6, or may combine certain components, or split certain components, or a different arrangement of components. The components shown in fig. 6 may be implemented in hardware, software, or a combination of software and hardware.
The present disclosure also provides a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the network element instruction issuing method described in the above method embodiments.
A computer-readable storage medium in an embodiment of the present disclosure is a computer instruction that can be transmitted, propagated, or transmitted for use by or in connection with an instruction execution system, apparatus, or device.
As one example, the computer-readable storage medium is a non-volatile storage medium.
In some embodiments, more specific examples of the computer readable storage medium in the present disclosure may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, a U disk, a removable hard disk, or any suitable combination of the foregoing.
In an embodiment of the present disclosure, a computer-readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with computer instructions (readable program code) carried therein.
Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing.
In some examples, the computing instructions contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
The disclosed embodiments also provide a computer program product storing instructions that, when executed by a computer, cause the computer to implement the network element instruction issuing method described in the above method embodiments.
The instructions may be program code. In particular implementations, the program code can be written in any combination of one or more programming languages.
The programming languages include object oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as the "C" language or similar programming languages.
The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server.
In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The embodiment of the disclosure also provides a chip comprising at least one processor and an interface;
an interface for providing program instructions or data to at least one processor;
the at least one processor is configured to execute the program instructions to implement the network element instruction issuing method described in the foregoing method embodiment.
In some embodiments, the chip may also include a memory for holding program instructions and data, the memory being located either within the processor or external to the processor.
Those of ordinary skill in the art will appreciate that all or a portion of the steps implementing the above embodiments may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein.
This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. The network element instruction issuing method is characterized by comprising the following steps of:
acquiring an instruction queue to be sent;
identifying the instruction type of each instruction to be sent in the instruction queue to be sent;
aiming at an instruction to be sent, the instruction type of which is a normal instruction, acquiring normal network element connection from a preset network element connection pool, and issuing the instruction;
aiming at the instruction to be sent, the instruction type of which is an environment dependent instruction, acquiring network element connection with preset execution environment from a preset network element connection pool, and issuing the instruction.
2. The method according to claim 1, wherein the method further comprises:
receiving an instruction execution result;
and assembling and returning the instruction execution result.
3. The method of claim 1, wherein identifying an instruction type for each instruction to be sent in the instruction queue to be sent comprises:
and identifying the instruction type of each instruction to be sent in the instruction queue to be sent by utilizing an instruction rule in a preset instruction rule base.
4. The method of claim 3, wherein, for the instruction to be sent, the instruction type is a normal instruction, normal network element connection is obtained in a preset network element connection pool, and after the instruction is issued, the method further comprises:
if the instruction execution error is that a special environment is needed, updating an instruction rule base, wherein the updating of the instruction rule base comprises the steps of modifying an instruction rule corresponding to the instruction to enable the instruction type corresponding to the instruction to be an environment dependent instruction;
and after updating the instruction rule base, re-identifying the instruction type of the instruction, and aiming at the instruction to be sent, the instruction type of which is an environment dependent instruction, acquiring network element connection with preset execution environment from a preset network element connection pool, and issuing the instruction.
5. The method of claim 1, wherein the fetching of the to-be-issued instruction queue comprises:
responding to the service request, and acquiring a plurality of instructions to be sent;
and sequencing the plurality of instructions to be sent according to the instruction logic to obtain an instruction queue to be sent.
6. A network element command issuing device, comprising:
the instruction acquisition unit is used for acquiring an instruction queue to be sent;
the instruction identification unit is used for identifying the instruction type of each instruction to be sent in the instruction queue to be sent;
the first instruction issuing unit is used for acquiring normal network element connection from a preset network element connection pool aiming at an instruction to be sent, the instruction type of which is a normal instruction, and issuing the instruction;
the second instruction issuing unit is used for acquiring network element connection with preset execution environment from a preset network element connection pool for issuing the instruction aiming at the instruction to be sent, the instruction type of which is an environment dependent instruction.
7. A network element command issuing system, comprising:
the instruction acquisition module is used for acquiring an instruction queue to be sent;
the instruction rule base is used for storing a plurality of instruction rules;
the instruction screening module is used for identifying the instruction type of each instruction to be sent in the instruction queue to be sent based on the instruction rules in the instruction rule base;
the network element connection pool is used for storing the normal network element connection and the network element connection with the preset execution environment;
the network element general instruction issuing module is used for acquiring general network element connection from a preset network element connection pool for issuing instructions aiming at instructions to be sent, the types of which are general instructions;
the network element environment dependent instruction issuing module is used for acquiring network element connection with a preset execution environment from a preset network element connection pool aiming at an instruction to be sent, the instruction type of which is an environment dependent instruction, and issuing the instruction.
8. The system of claim 7, wherein the network element instruction issuing system further comprises:
the instruction result assembling module is used for assembling and returning instruction execution results from the network element normal instruction issuing module and the network element environment dependent instruction issuing module.
9. An electronic device, comprising:
a memory for storing instructions;
a processor, configured to invoke the instruction stored in the memory, to implement the network element instruction issuing method according to any one of claims 1 to 5.
10. A computer readable storage medium having stored thereon computer instructions, which when executed by a processor, implement the network element instruction issuing method of any of claims 1-5.
CN202310936205.XA 2023-07-27 2023-07-27 Method, device, system, equipment and medium for issuing network element instruction Pending CN116828028A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310936205.XA CN116828028A (en) 2023-07-27 2023-07-27 Method, device, system, equipment and medium for issuing network element instruction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310936205.XA CN116828028A (en) 2023-07-27 2023-07-27 Method, device, system, equipment and medium for issuing network element instruction

Publications (1)

Publication Number Publication Date
CN116828028A true CN116828028A (en) 2023-09-29

Family

ID=88112868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310936205.XA Pending CN116828028A (en) 2023-07-27 2023-07-27 Method, device, system, equipment and medium for issuing network element instruction

Country Status (1)

Country Link
CN (1) CN116828028A (en)

Similar Documents

Publication Publication Date Title
CN107729176B (en) Disaster recovery method and disaster recovery system for configuration file management system
CN109508912B (en) Service scheduling method, device, equipment and storage medium
CN111538659B (en) Interface testing method, system, electronic equipment and storage medium of business scene
CN111049913B (en) Data file transmission method and device, storage medium and electronic equipment
CN110557281B (en) Intelligent operation and maintenance method and device based on CMDB and alarm map
CN113806594A (en) Business data processing method, device, equipment and storage medium based on decision tree
CN112579569A (en) Data migration method and device
CN116414521A (en) Virtual machine remote command interaction method, device and medium for distributed heterogeneous shooting ranges
CN113658351B (en) Method and device for producing product, electronic equipment and storage medium
CN112000738A (en) Database connection switching method, device, equipment and medium
CN113760242B (en) Data processing method, device, server and medium
CN114490062A (en) Local disk scheduling method and device, electronic equipment and storage medium
CN109582318B (en) Processing method and device for Portobuf localization, terminal and storage medium
CN116828028A (en) Method, device, system, equipment and medium for issuing network element instruction
CN114860321B (en) External device control method, device, equipment and medium based on raspberry pie
CN114217843A (en) Operation and maintenance method and device of system and server
CN114237634A (en) Application release risk identification method, device, equipment, medium and program product
CN112130900B (en) User information management method, system, equipment and medium for BMC
CN114237684A (en) Component management system, method, device, electronic device and storage medium
CN114070889A (en) Configuration method, traffic forwarding method, device, storage medium, and program product
CN112636953A (en) Policy command issuing method and device and electronic equipment
CN112711602A (en) Running method and device of storage process, database system and storage medium
CN112765056B (en) Method, system, equipment and medium for reserving storage cluster LUN
CN115774706A (en) Database creation method and device, electronic equipment and storage medium
CN113868303A (en) Account management method based on data configuration, electronic equipment and readable medium

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