CN113872785A - Model obtaining method and device and operation maintenance terminal - Google Patents

Model obtaining method and device and operation maintenance terminal Download PDF

Info

Publication number
CN113872785A
CN113872785A CN202010616463.6A CN202010616463A CN113872785A CN 113872785 A CN113872785 A CN 113872785A CN 202010616463 A CN202010616463 A CN 202010616463A CN 113872785 A CN113872785 A CN 113872785A
Authority
CN
China
Prior art keywords
model
service
model information
information
module
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
CN202010616463.6A
Other languages
Chinese (zh)
Other versions
CN113872785B (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN202010616463.6A priority Critical patent/CN113872785B/en
Publication of CN113872785A publication Critical patent/CN113872785A/en
Application granted granted Critical
Publication of CN113872785B publication Critical patent/CN113872785B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/046Network management architectures or arrangements comprising network management agents or mobile agents therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Abstract

The embodiment of the invention provides a model acquisition method, a model acquisition device and an operation and maintenance terminal, wherein the method is applied to the operation and maintenance terminal, a model service module of the operation and maintenance terminal comprises a plurality of model agent units, model information is stored in the model agent units in advance, and the method comprises the following steps: receiving a service request of a client, wherein the service request is used for requesting the operation maintenance terminal to call a corresponding target service; matching the plurality of model agent units according to the target service; and if the model agent unit matched with the target service exists, acquiring target model information from the model agent unit. In the embodiment of the invention, the model information is uniformly managed by the model agent unit in the model service module, and only one model is loaded in the operation maintenance terminal, so that the remote calling times are reduced, the memory pressure of each service module is reduced, and the system stability of the operation maintenance terminal is further improved.

Description

Model obtaining method and device and operation maintenance terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a model acquisition method and apparatus, and an operation and maintenance terminal.
Background
The network management system consists of a service server, an access service and a client. The model service is a basic service in the business service, the model service is a service module which is the most basic in the whole network management system, data and business of the whole OMC (Operation and Maintenance Center) are expanded around the model, and the model service is mainly responsible for loading a model file, namely, analyzing and loading xml (Extensible Markup Language) data structure information in an internal memory for facilitating use of each module. The model service is mainly responsible for loading and analyzing a model file, and the type of the model service includes a display model (for OMC object tree display), an Information model, a command tree model, and an MIB (Management Information Base) file, where the MIB file is issued by an SNMP (Simple Network Management Protocol) Protocol command.
Referring to fig. 1, in the existing architecture, after a model service loading model is completed, since an access server needs MIB information to perform operations such as network element access and command issuing, the same MIB is loaded and analyzed on the side of the access server, and since a plurality of base stations exist in an actual situation, a plurality of identical MIBs need to be loaded, which causes repeated loading and maintains a plurality of MIBs, thereby causing resource waste.
In an actual environment in the prior art, dynamic import in a network management system is frequent, the dynamic import needs to analyze and load a model in a plurality of services such as a model, an SON (Self-Organized network), an access service and the like, and the complexity of operation in an operation and maintenance process is increased invisibly. Secondly, besides accessing the service, other service modules need to frequently acquire the model through a Remote Procedure Call (RPC) interface to perform respective service processing, which results in large pressure on model service and network transmission. For example: if a large number of base stations are synchronized or accessed to the OMC at the same time, the OMC system selects the corresponding MIB and the information model in the OMC according to the version number of the base station to analyze data and store the data into a database, and the service can frequently acquire the model through RPC, which wastes resources.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a model acquisition method, a model acquisition device and an operation maintenance terminal, which can reduce remote call RPC and reduce the memory pressure of a service module.
The embodiment of the invention provides a model obtaining method, which is applied to an operation maintenance terminal, wherein a model service module of the operation maintenance terminal comprises a plurality of model agent units, and model information is stored in the model agent units in advance, and the method comprises the following steps:
receiving a service request of a client, wherein the service request is used for requesting the operation maintenance terminal to call a corresponding service;
matching the plurality of model agent units according to the target service;
and if the model agent unit matched with the target service exists, acquiring target model information from the model agent unit.
The embodiment of the invention provides a model acquisition device, which is applied to an operation maintenance terminal, wherein a model service module of the operation maintenance terminal comprises a plurality of model agent units, model information is stored in the model agent units in advance, and the device comprises:
the receiving module is used for receiving a service request of a client, and the target service is used for requesting the operation maintenance terminal to call a corresponding service;
the first matching module is used for matching the plurality of model agent units according to the target service;
and the first acquisition module is used for acquiring the target model information from the model agent unit if the model agent unit matched with the target service exists.
The embodiment of the invention provides an operation maintenance terminal, which comprises a model service module and a business receiving module, wherein the model service module comprises a plurality of model agent units, model information is stored in the model agent units in advance, wherein,
the service receiving module is used for receiving a service request of a client, and the service request is used for requesting the operation maintenance terminal to call a corresponding target service;
the model service module is used for matching the plurality of model agent units according to the target service;
and the model service module is also used for acquiring target model information from the model agent unit when the model agent unit matched with the target service exists.
The embodiment of the invention has the following advantages:
the embodiment of the invention receives the service request of the client, matches a plurality of model agent units in the model service module in the operation maintenance terminal according to the target service corresponding to the service request, and acquires the target model information from the model agent units under the condition that the model agent units matched with the target service exist, so that the operation maintenance terminal can respond to the service request of the client without loading the model. In the embodiment of the invention, the model information is uniformly managed by the model agent unit in the model service module, and only one model is loaded in the operation maintenance terminal, so that the remote calling times are reduced, the memory pressure of each service module is reduced, and the system stability of the operation maintenance terminal is further improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 shows a schematic diagram of a model service architecture in the prior art;
FIG. 2 is a flow chart of a first embodiment of a model acquisition method of the present invention;
fig. 3 is a schematic diagram illustrating an overall architecture of an operation and maintenance terminal according to the present invention;
FIG. 4 is a flow chart of a third embodiment of a model acquisition method of the present invention;
FIG. 5 is a block diagram illustrating an embodiment of a model acquisition apparatus according to the present invention;
FIG. 6 is a block diagram of an embodiment of an operation and maintenance terminal according to the present invention;
fig. 7 shows a block diagram of an electronic device of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Method embodiment one
Referring to fig. 2, a flowchart of a first embodiment of a model obtaining method according to the present invention is shown, where the method is applied to an operation and maintenance terminal, a model service module of the operation and maintenance terminal includes a plurality of model proxy units, and model information is stored in the model proxy units in advance, and the method specifically includes:
step 201, receiving a service request of a client, where the service request is used to request the operation maintenance terminal to call a corresponding target service;
step 202, matching the plurality of model agent units according to the target service;
and 203, if the model agent unit matched with the target service exists, acquiring target model information from the model agent unit.
The embodiment of the invention can be applied to an operation maintenance terminal OMC in a network management system, the network management system comprises the OMC, an access server and a client, wherein data and service of the OMC are expanded around a model, and a model service module in the OMC can provide loaded or obtained model types including but not limited to a display model, an information model, a command tree model and an MIB model.
The client may be any terminal device, such as a PC (Personal Computer), a mobile phone, a tablet Computer, and the like, and the operating system of the client is not limited. The OMC can display the equipment state and the network topology of each access device in the network management system in the client, and meanwhile, the client can also send a service request to the OMC based on preset function controls, software or codes so as to call the corresponding target service. The service request sent by the client carries a target service ID, a code, a name, or the like requested to be called, and may also be a model ID, a model code, or a model name corresponding to the target service.
Optionally, in this embodiment, the model service module is mainly used for loading the model and storing the model information. In this embodiment, the model service module is divided into a model loading unit and a model proxy unit, the model loading unit is used for loading a model and is responsible for loading all models to provide RPC interfaces, and after the model loading unit loads the model, the model service module stores model information into the model proxy unit. The model agent unit needs to operate and maintain each service module application in the terminal, obtain the model information by accessing the local method (i.e. local call) of the model agent unit, and cache the model information. And each service module in the operation maintenance terminal only acquires the required model information, and does not load or acquire the model information if not required, so that the memory pressure of each service module in the operation maintenance terminal is reduced through lazy loading.
Furthermore, when a service module in the OMC needs to acquire a corresponding model, model information stored in the model proxy is acquired by accessing the local method of the model proxy unit, and there is no need to request a preset server to acquire the model information through RPC.
In a specific application scenario, an operation maintenance terminal receives a service request of a client, determines a target service requested to be called by the client according to the service request, matches a model agent unit according to an ID, a code or a name of the target service, and acquires model information stored in the model agent unit through local access if the model agent unit matched with the target service exists.
In one example, in the process of matching the plurality of model proxy units in the model service module of the operation and maintenance terminal according to the target service, the ID, the code or the name of the target service is acquired, and the ID, the code or the name of the target service is broadcasted to the plurality of model proxy units in the model service module. And after the model agent unit receives the ID, the code or the name of the target service, if the model information matched with the ID, the code or the name of the target service exists, returning a response message for prompting the model agent unit to be matched with the target service. If no response message of any model proxy unit is received after the specified time, the model proxy unit matched with the target service is considered to be absent.
Preferably, in this embodiment, after receiving a service request of a client, determining a target service and target model information requested to be called by the client according to the service request, and obtaining a service call record of an operation and maintenance terminal according to an ID, a code or a name of the target service to determine whether the target service is called for the first time in the operation and maintenance terminal, if so, obtaining the target model information of the target service from a preset server through an RPC; if not, the corresponding target model information is directly obtained from the model agent unit.
In an optional embodiment of the present application, after matching the plurality of model proxy elements according to the target service, the method further comprises:
and if the model agent unit matched with the target service does not exist, acquiring target model information matched with the target service from a preset server through remote calling.
Specifically, in this embodiment, in the absence of a model proxy unit that matches the target service, a model information request is sent to the preset server through an RPC interface of the model loading unit to obtain the requested model information returned from the preset server, and after the requested model information is loaded in the model service module, corresponding service processing is performed.
In an optional embodiment of the present application, after obtaining, by remote invocation, target model information matching the target service from a preset server, the method further includes:
establishing a corresponding model agent unit according to the target model information;
and storing the target model information into the corresponding model agent unit.
Specifically, in this embodiment, based on the RPC interface in the model service module, the model information is obtained from the preset server through remote invocation, and model loading is performed in the model loading unit of the model service module. And after the model loading is finished, establishing a corresponding model unit according to the model information, and storing the target model information into the corresponding model unit. After the model is loaded in the model loading unit for one time, the target model information can be directly obtained from the corresponding model agent unit subsequently, the target model information does not need to be loaded, and the model information is not obtained from the preset server through the RPC interface, so that the memory pressure of the service module is reduced.
In an optional embodiment of the present application, the model service module in the operation and maintenance terminal comprises a model loading unit, wherein,
after receiving the service request of the client, the method further comprises the following steps:
detecting a model load instruction acting on the model load unit;
acquiring first model information, wherein the first model information is model information to be loaded corresponding to the model loading instruction;
and loading the first model information in the model loading unit.
In a specific application scenario, some business instructions inevitably trigger model loading, for example, a dynamic import instruction and a model service module are loaded when being started. Specifically, a model load instruction is taken as an example of a dynamic import instruction, where the dynamic import instruction necessarily triggers the model load unit to load the corresponding model, but does not call other services, and notifies the other services that the model is imported. And acquiring first model information in the dynamic import instruction, and then carrying out model loading based on the first model information in the dynamic import instruction. In another example, for example, when a planning service in an operation and maintenance terminal needs to notify each service in the operation and maintenance terminal and perform simple processing on planning information in the process of planning a network element, the first model information may be updated by the model proxy unit, the model proxy unit performs caching or updating of the first model information, and a service referencing the model proxy unit does not need to pay attention to the updating process of the model information.
In an alternative embodiment of the application, the model proxy unit comprises a message receiver, wherein,
after the loading the first model information in the model loading unit, the method further includes:
broadcasting the first model information to message receivers respectively corresponding to the plurality of model agent units;
matching the model information respectively corresponding to the plurality of model agent units according to the first model information;
if a first model agent unit exists in the plurality of model agent units, updating model information corresponding to the first model agent unit according to the first model information, wherein the model information corresponding to the first model agent unit is matched with the first model information;
and sending a first prompt message of successful update to the model loading unit.
Specifically, the model service module includes a model loading unit and model proxy units, and each model proxy unit is provided with a message receiver for receiving messages from the service module and the model loading unit. In this embodiment, after loading the first model information in the model loading unit, the first model information is broadcast to the message receiver corresponding to each model proxy unit, and after receiving the first model information through the message receiver, the model proxy unit determines whether the first model information matches with the model information stored in itself, and when the first model information matches with the model information stored in itself, determines that the current model proxy unit is the first model proxy unit, updates the model information stored in the first model proxy unit according to the first model information, and then sends a first prompt message indicating that the updating is successful to the model loading unit.
In an optional embodiment of the present application, after matching the model information respectively corresponding to the plurality of model proxy units according to the first model information, the method further includes:
if the model loading unit still does not receive the first prompt message within a preset time threshold, establishing a second model agent unit corresponding to the first model information;
storing the first model information to the second model agent unit.
Specifically, after a model loading instruction acting on the model loading unit is received, a model corresponding to first model information is loaded, and the first model information is broadcast to the plurality of model proxy units through the model loading unit, so as to respond to the model loading unit in time, a preset time threshold needs to be set, if the model loading unit still does not receive a first prompt message within the preset time threshold, which indicates that no model proxy unit corresponding to the first model information exists, a second model proxy unit corresponding to the first model information is established, and the first model information is stored in the second model unit.
In summary, according to the embodiments of the present invention, a service request of a client is received, a plurality of model proxy units in a model service module in an operation maintenance terminal are matched according to a target service corresponding to the service request, and target model information is obtained from the model proxy units in the presence of the model proxy units matched with the target service, so that the operation maintenance terminal can respond to the service request of the client without loading a model. In the embodiment of the invention, the model information is uniformly managed by the model agent unit in the model service module, and only one model is loaded in the operation maintenance terminal, so that the remote calling times are reduced, the waste of server resources is reduced, and the system stability of the operation maintenance terminal is further improved.
Method embodiment two
The embodiment details a specific execution process of obtaining a model in the overall architecture of the operation and maintenance terminal. Specifically, referring to fig. 3, an overall architecture diagram of an operation and maintenance terminal of the present invention is shown, where the operation and maintenance terminal 30 includes a model service module (not shown in the figure), an access module 34, and a business module 36, where the model service module includes a model loading unit 320 and a plurality of model proxy units 322, each business module 36 corresponds to one model proxy unit 322, and the model proxy units 322 are used to store model information corresponding to services of the business module 36. The process of obtaining the model information may specifically include:
s1, the service module 36 receives the service request sent by the client 32, where the service request is used to request a corresponding target service from the service module 36, and matches the model proxy unit 322 according to the target service. If a model agent unit 322 matching the target service exists, the business module 36 locally calls the target model information stored in the model agent unit 322;
s2, if no model agent unit matched with the target service exists, the model agent unit 322 obtains target model information from the cache of the service end through the RPC interface provided by the model loading unit 320, loads the target model information in the model loading unit 320, creates a new model agent unit according to the target model information after loading the target model information once, and stores the target model information into the new model agent unit;
s3, detects the model loading instruction acting on the model loading unit 320, loads the model specified in the model loading instruction in the model loading unit 320, and then broadcasts the first model information of the loaded model to all the model proxy units 322 to notify the model proxy units 322 of the change in the model information through a broadcast message.
In summary, according to the embodiments of the present invention, a service request of a client is received, a plurality of model proxy units in a model service module in an operation maintenance terminal are matched according to a target service corresponding to the service request, and target model information is obtained from the model proxy units in the presence of the model proxy units matched with the service request, so that the operation maintenance terminal can respond to the service request of the client without loading a model. In the embodiment of the invention, the model information is uniformly managed by the model agent unit in the model service module, and only one model is loaded in the operation maintenance terminal, so that the remote calling times are reduced, the waste of server resources is reduced, and the system stability of the operation maintenance terminal is further improved.
Method embodiment three
This embodiment details a specific execution process of obtaining a model in the operation model terminal. Referring to fig. 4, a flowchart of a third embodiment of the model obtaining method of the present invention is shown, which may specifically include:
step 401, receiving a service request of a client;
specifically, according to a service request of a client, determining a target service requested to be obtained by the client;
step 402, judging whether the model information corresponding to the target service is acquired for the first time;
matching the target service, judging whether model information matched with the target service exists, if so, executing step 403; otherwise, go to step 406;
step 403, obtaining model information from a preset server through RPC;
step 404, if the model information is not successfully obtained, executing step 405; otherwise, go to step 407;
step 405, returning a client failure message;
specifically, if the model information acquisition fails, the current model is considered to be absent or lost, and the model acquisition is finished;
step 406, obtaining model information stored in the model agent unit;
step 407, storing the model information into a model agent unit in the operation maintenance terminal.
In summary, according to the embodiments of the present invention, a service request of a client is received, a plurality of model proxy units in a model service module in an operation maintenance terminal are matched according to a target service corresponding to the service request, and target model information is obtained from the model proxy units in the presence of the model proxy units matched with the target service, so that the operation maintenance terminal can respond to the service request of the client without loading a model. In the embodiment of the invention, the model information is uniformly managed by the model agent unit in the model service module, and only one model is loaded in the operation maintenance terminal, so that the remote calling times are reduced, the waste of server resources is reduced, and the system stability of the operation maintenance terminal is further improved.
Apparatus embodiment one
Referring to fig. 5, a block diagram of a model obtaining apparatus according to an embodiment of the present invention is shown, where the apparatus is applied to an operation and maintenance terminal, a model service module of the operation and maintenance terminal includes a plurality of model proxy units, and model information is stored in the model proxy units in advance, and the apparatus specifically includes:
a receiving module 501, configured to receive a service request of a client, where the service request is used to request the operation maintenance terminal to invoke a corresponding target service;
a first matching module 502, configured to match the plurality of model proxy units according to the target service;
a first obtaining module 503, configured to obtain target model information from a model agent unit if the model agent unit matching the target service exists.
Optionally, in this embodiment, the apparatus further includes: and the second acquisition module is used for acquiring the target model information matched with the target service from a preset server through remote calling if the model proxy units matched with the target service do not exist after the plurality of model proxy units are matched according to the target service.
Optionally, in this embodiment, the apparatus further includes: the processing module is used for establishing a corresponding model agent unit according to the target model information after the target model information matched with the target service is acquired from a preset server through remote calling; and the storage module is used for storing the target model information into the corresponding model agent unit.
Optionally, in this embodiment, the model service module in the operation and maintenance terminal includes a model loading unit, where the apparatus further includes: the detection module is used for detecting a model loading instruction acting on the model loading unit after receiving a service request of a client; a third obtaining module, configured to obtain first model information, where the first model information is model information to be loaded corresponding to the model loading instruction; and the loading module is used for loading the first model information in the model loading unit.
Optionally, in this embodiment, the model proxy unit comprises a message receiver, wherein,
the device further comprises: a broadcasting module, configured to broadcast the first model information to message receivers respectively corresponding to the plurality of model proxy units after the first model information is loaded in the model loading unit; the second matching module is used for matching the model information respectively corresponding to the plurality of model agent units according to the first model information; the updating module is used for updating the model information corresponding to a first model agent unit according to the first model information under the condition that the first model agent unit exists in the plurality of model agent units, wherein the model information corresponding to the first model agent unit is matched with the first model information; and the sending module is used for sending a first prompt message of successful update to the model loading unit.
Optionally, in this embodiment, the apparatus further includes: the processing module is further configured to establish a second model agent unit corresponding to the first model information when the model loading unit still does not receive the first prompt message within a preset time threshold; the storage module is further configured to store the first model information to the second model agent unit.
Device embodiment II
Referring to fig. 6, a block diagram of an embodiment of an operation and maintenance terminal according to the present invention is shown, where the operation and maintenance terminal includes a model service module and a service receiving module, the model service module includes a plurality of model proxy units 6021, and the model proxy units store model information in advance, where,
the service receiving module 601 is configured to receive a service request of a client, where the service request is used to request the operation maintenance terminal to invoke a corresponding target service;
the model service module 602 is configured to match the plurality of model agent units 6021 according to the target service;
the model service module 602 is further configured to obtain target model information from the model agent unit 6021 in the presence of the model agent unit 6021 matching with the target service
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An embodiment of the present application further provides an electronic device, see fig. 7, including: a processor 701, a memory 702, and a computer program 7021 stored on the memory and executable on the processor, the processor implementing the model acquisition method of the foregoing embodiments when executing the program.
Embodiments of the present application also provide a readable storage medium, wherein when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the model obtaining method of the foregoing embodiments.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The above detailed description is provided for a control method and a control device provided by the present invention, and the principle and the implementation of the present invention are explained by applying specific examples, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (15)

1. A model obtaining method is applied to an operation maintenance terminal, a model service module of the operation maintenance terminal comprises a plurality of model agent units, and model information is stored in the model agent units in advance, and the method comprises the following steps:
receiving a service request of a client, wherein the service request is used for requesting the operation maintenance terminal to call a corresponding target service;
matching the plurality of model agent units according to the target service;
and if the model agent unit matched with the target service exists, acquiring target model information from the model agent unit.
2. The method of claim 1, wherein after matching the plurality of model proxy elements according to the target service, the method further comprises:
and if the model agent unit matched with the target service does not exist, acquiring target model information matched with the target service from a preset server through remote calling.
3. The method of claim 2, wherein after obtaining the target model information matching the target service from a preset server through a remote call, the method further comprises:
establishing a corresponding model agent unit according to the target model information;
and storing the target model information into the corresponding model agent unit.
4. The method according to claim 1, wherein the model service module in the operation and maintenance terminal comprises a model loading unit, wherein,
after receiving the service request of the client, the method further comprises the following steps:
detecting a model load instruction acting on the model load unit;
acquiring first model information, wherein the first model information is model information to be loaded corresponding to the model loading instruction;
and loading the first model information in the model loading unit.
5. The method according to claim 4, wherein the model proxy element comprises a message receiver, wherein,
after the loading the first model information in the model loading unit, the method further includes:
broadcasting the first model information to message receivers respectively corresponding to the plurality of model agent units;
matching the model information respectively corresponding to the plurality of model agent units according to the first model information;
if a first model agent unit exists in the plurality of model agent units, updating model information corresponding to the first model agent unit according to the first model information, wherein the model information corresponding to the first model agent unit is matched with the first model information;
and sending a first prompt message of successful update to the model loading unit.
6. The method according to claim 5, further comprising, after matching the model information respectively corresponding to the plurality of model proxy units according to the first model information:
if the model loading unit still does not receive the first prompt message within a preset time threshold, establishing a second model agent unit corresponding to the first model information;
storing the first model information to the second model agent unit.
7. A model obtaining device is applied to an operation maintenance terminal, a model service module of the operation maintenance terminal comprises a plurality of model agent units, and model information is stored in the model agent units in advance, and the device comprises:
the receiving module is used for receiving a service request of a client, wherein the service request is used for requesting the operation maintenance terminal to call a corresponding target service;
the first matching module is used for matching the plurality of model agent units according to the target service;
and the first acquisition module is used for acquiring the target model information from the model agent unit if the model agent unit matched with the target service exists.
8. The apparatus of claim 7, further comprising:
and the second acquisition module is used for acquiring the target model information matched with the target service from a preset server through remote calling if the model proxy units matched with the target service do not exist after the plurality of model proxy units are matched according to the target service.
9. The apparatus of claim 8, further comprising:
the processing module is used for establishing a corresponding model agent unit according to the target model information after the target model information matched with the target service is acquired from a preset server through remote calling;
and the storage module is used for storing the target model information into the corresponding model agent unit.
10. The apparatus of claim 9, wherein the model service module in the operation and maintenance terminal comprises a model loading unit, wherein,
the device further comprises:
the detection module is used for detecting a model loading instruction acting on the model loading unit after receiving a service request of a client;
a third obtaining module, configured to obtain first model information, where the first model information is model information to be loaded corresponding to the model loading instruction;
and the loading module is used for loading the first model information in the model loading unit.
11. The apparatus of claim 10, wherein the model proxy unit comprises a message receiver, wherein,
the device further comprises:
a broadcasting module, configured to broadcast the first model information to message receivers respectively corresponding to the plurality of model proxy units after the first model information is loaded in the model loading unit;
the second matching module is used for matching the model information respectively corresponding to the plurality of model agent units according to the first model information;
the updating module is used for updating the model information corresponding to a first model agent unit according to the first model information under the condition that the first model agent unit exists in the plurality of model agent units, wherein the model information corresponding to the first model agent unit is matched with the first model information;
and the sending module is used for sending a first prompt message of successful update to the model loading unit.
12. The apparatus of claim 11,
the processing module is further configured to establish a second model agent unit corresponding to the first model information when the model loading unit still does not receive the first prompt message within a preset time threshold;
the storage module is further configured to store the first model information to the second model agent unit.
13. An operation maintenance terminal, which comprises a model service module and a business receiving module, characterized in that the model service module comprises a plurality of model agent units, the model agent units are stored with model information in advance, wherein,
the service receiving module is used for receiving a service request of a client, and the service request is used for requesting the operation maintenance terminal to call a corresponding target service;
the model service module is used for matching the plurality of model agent units according to the target service;
and the model service module is also used for acquiring target model information from the model agent unit when the model agent unit matched with the target service exists.
14. An electronic device, comprising: processor, memory and computer program stored on the memory and executable on the processor, characterized in that the processor implements the model acquisition method as claimed in one or more of the method claims 1-6 when executing the program.
15. A readable storage medium, characterized in that instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the model acquisition method as recited in one or more of method claims 1-6.
CN202010616463.6A 2020-06-30 2020-06-30 Model obtaining method and device and operation maintenance terminal Active CN113872785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010616463.6A CN113872785B (en) 2020-06-30 2020-06-30 Model obtaining method and device and operation maintenance terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010616463.6A CN113872785B (en) 2020-06-30 2020-06-30 Model obtaining method and device and operation maintenance terminal

Publications (2)

Publication Number Publication Date
CN113872785A true CN113872785A (en) 2021-12-31
CN113872785B CN113872785B (en) 2022-11-22

Family

ID=78981546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010616463.6A Active CN113872785B (en) 2020-06-30 2020-06-30 Model obtaining method and device and operation maintenance terminal

Country Status (1)

Country Link
CN (1) CN113872785B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5961588A (en) * 1996-02-22 1999-10-05 Alcatel Usa Sourcing, L.P. Handling of commands passed between the server and client stations of a telecommunications system
EP1617592A1 (en) * 2004-07-12 2006-01-18 Siemens Aktiengesellschaft Method for choosing an object model for manager-agent communication
CN102611576A (en) * 2012-02-29 2012-07-25 大唐移动通信设备有限公司 Method and device for generating network management configuration model file
US20160080519A1 (en) * 2014-09-11 2016-03-17 Microsoft Technology Licensing, Llc Local caching and resolution of service calls
CN105634972A (en) * 2016-01-29 2016-06-01 四川长虹电器股份有限公司 Method for improving access efficiency of Web client
CN105871960A (en) * 2015-01-22 2016-08-17 阿里巴巴集团控股有限公司 Method for calling data sharing, device and apparatus
CN108255884A (en) * 2016-12-29 2018-07-06 大唐移动通信设备有限公司 A kind of data processing method and device of the log information of OMC
CN109936476A (en) * 2019-02-26 2019-06-25 珠海天燕科技有限公司 A kind of call method of configuration data, device and its equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5961588A (en) * 1996-02-22 1999-10-05 Alcatel Usa Sourcing, L.P. Handling of commands passed between the server and client stations of a telecommunications system
EP1617592A1 (en) * 2004-07-12 2006-01-18 Siemens Aktiengesellschaft Method for choosing an object model for manager-agent communication
CN102611576A (en) * 2012-02-29 2012-07-25 大唐移动通信设备有限公司 Method and device for generating network management configuration model file
US20160080519A1 (en) * 2014-09-11 2016-03-17 Microsoft Technology Licensing, Llc Local caching and resolution of service calls
CN105871960A (en) * 2015-01-22 2016-08-17 阿里巴巴集团控股有限公司 Method for calling data sharing, device and apparatus
CN105634972A (en) * 2016-01-29 2016-06-01 四川长虹电器股份有限公司 Method for improving access efficiency of Web client
CN108255884A (en) * 2016-12-29 2018-07-06 大唐移动通信设备有限公司 A kind of data processing method and device of the log information of OMC
CN109936476A (en) * 2019-02-26 2019-06-25 珠海天燕科技有限公司 A kind of call method of configuration data, device and its equipment

Also Published As

Publication number Publication date
CN113872785B (en) 2022-11-22

Similar Documents

Publication Publication Date Title
CN114375069B (en) Communication method and network equipment
US20090111467A1 (en) Method for reporting the device capability information and terminal device
CN113055421B (en) Service grid management method and system
CN101656739B (en) Method, system and equipment for updating assembly
CN111556488A (en) OTA (over the air) upgrading method and system for terminal equipment
CN110557433A (en) Resource management method, platform, cloud gateway, system and storage medium
CN111061498B (en) Configuration information management system
CN113691635B (en) Method and device for calling microservice, electronic equipment and readable storage medium
US8326913B2 (en) Method and system for service contract discovery
CN108833565A (en) A kind of method, apparatus of monitoring server, server and storage medium
CN112565439A (en) Internet of things communication method and system
CN115514667A (en) Access service processing method, system, device, electronic equipment and storage medium
CN101925158A (en) System and method for obtaining number detail
CN111371615A (en) Online server, updating method and system of operation and maintenance tool and readable storage medium
CN107425994B (en) Method, terminal and server for realizing remote parameter management
KR100818962B1 (en) Method for managing remote mobile device
CN101877861B (en) Node information acquisition method, client and server
CN113872785B (en) Model obtaining method and device and operation maintenance terminal
CN104954462A (en) High-concurrency extensible smart home communication method and high-concurrency extensible smart home communication system
US10771578B2 (en) Webpage loading method and apparatus
CN115632815A (en) Data updating method and device, electronic equipment and storage medium
CN112702441B (en) Container-based access data processing method, device, system and storage medium
CN102904742B (en) To method of operation and the system of executable node
WO2022022842A1 (en) Service request handling
CN113242313A (en) Data synchronization method, system, device, server and storage 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
GR01 Patent grant
GR01 Patent grant