WO2021136102A1 - Chain communication service process control method and apparatus, and device and storage medium - Google Patents

Chain communication service process control method and apparatus, and device and storage medium Download PDF

Info

Publication number
WO2021136102A1
WO2021136102A1 PCT/CN2020/139536 CN2020139536W WO2021136102A1 WO 2021136102 A1 WO2021136102 A1 WO 2021136102A1 CN 2020139536 W CN2020139536 W CN 2020139536W WO 2021136102 A1 WO2021136102 A1 WO 2021136102A1
Authority
WO
WIPO (PCT)
Prior art keywords
task
communication
chain
logic
execution
Prior art date
Application number
PCT/CN2020/139536
Other languages
French (fr)
Chinese (zh)
Inventor
唐锦坤
Original Assignee
京信网络系统股份有限公司
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 京信网络系统股份有限公司 filed Critical 京信网络系统股份有限公司
Publication of WO2021136102A1 publication Critical patent/WO2021136102A1/en

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/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Definitions

  • the present disclosure relates to the technical field of communication task flow control, and in particular, to a method, device, device, and storage medium for chain communication service flow control.
  • the network management system itself has complex business functions, and users may also initiate multiple communication task processes at the same time. Some processes cannot be simply defined. Communication tasks need to be added or skipped according to business conditions, which makes the control of the communication task process abnormal. complex.
  • the traditional control method is to add logical judgment in the execution of the communication task to decide which communication task to perform next.
  • this lacks control of the communication task process context, lacks integrity, and cannot meet the user's operation request. Complete control.
  • the technical problem to be solved by the present disclosure is to solve the problem of lack of control over the context of the communication task process, lack of integrity, and inability to achieve complete control of user operation requests during the execution of the existing communication task.
  • the embodiments of the present disclosure provide a method, device, device, and storage medium for controlling a chain communication service process.
  • the embodiments of the present disclosure provide a method for controlling a chain communication service process, which is applied to a network management system, and includes:
  • a communication task chain corresponding to the business request, where the communication task chain includes multiple communication tasks for realizing the business request and task logic corresponding to each of the communication tasks;
  • Execute the communication task chain and when the execution of one of the communication tasks in the communication task chain ends, process the communication task corresponding to the completed communication task according to the execution result of the completed communication task Task logic, and according to the processing result of the task logic, it is determined to continue executing other communication tasks in the communication task chain or interrupt the execution of the communication task chain or trigger a new service request.
  • the communication protocol determine the communication tasks that need to be performed to achieve each business request in advance, and determine the task logic corresponding to each communication task that needs to be performed to achieve each business request, and combine the determined communication
  • the task and task logic are combined to form a communication task chain. After executing a communication task chain, the corresponding business request is completed.
  • the network management system obtains the pre-formed communication task chain corresponding to the service request, and executes the obtained communication task chain to complete the service request.
  • the method of acquiring the pre-formed communication task chain and executing the acquired communication task chain to complete the business request can organically integrate the commands or operation methods specified by the communication protocol, which is beneficial to the realization of the communication business.
  • Process control improves the response efficiency of the network management system to business requests.
  • the chain communication business process control method provided by the present disclosure does not tamper with the communication protocol, it only organically integrates the communication task and task logic in accordance with the communication protocol, so it has a certain degree of compatibility, and the communication equipment of different manufacturers , Different communication protocols and network management systems of different telecom operators are applicable.
  • the embodiments of the present disclosure also provide a chain communication service process control device, which is applied to a network management system, and includes a task chain acquisition module and a task chain execution module;
  • the task chain obtaining module is configured to obtain a communication task chain corresponding to the service request according to the service request, the communication task chain including a plurality of communication tasks for realizing the service request and a task corresponding to each communication task logic;
  • the task chain execution module is configured to execute the communication task chain, and when the execution of one of the communication tasks in the communication task chain is completed, the processing is completed according to the execution result of the communication task that has been executed.
  • the communication protocol determine the communication tasks that need to be performed to achieve each business request in advance, and determine the task logic corresponding to each communication task that needs to be performed to achieve each business request, and combine the determined communication
  • the task and task logic are combined to form a communication task chain. After executing a communication task chain, the corresponding business request is completed.
  • the task chain obtaining module obtains the pre-formed communication task chain corresponding to the service request according to the service request, executes the obtained communication task chain, and the task chain execution module executes the obtained communication task chain to complete the service request.
  • the pre-formed communication task chain is obtained through the task chain acquisition module and the obtained communication task chain is executed through the task chain to complete the business request.
  • the commands or operation methods specified by the communication protocol can be organically processed Integration is conducive to the control of communication business processes and improves the response efficiency of the network management system to operation requests or event requests.
  • the chain communication business process control method provided by the present disclosure does not tamper with the communication protocol, it only organically integrates the communication task and task logic in accordance with the communication protocol, so it has a certain degree of compatibility, and the communication equipment of different manufacturers , Different communication protocols and network management systems of different telecom operators are applicable.
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the chain communication service flow control method described above are realized.
  • the embodiments of the present disclosure also provide a computer device, including a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the above-mentioned chain communication service flow control is implemented Method steps.
  • the communication service process control technology of the present disclosure does not tamper with the communication protocol itself, but organically integrates the commands and RPC methods specified by the communication protocol, which will realize the communication task of a business request and correspond to each communication task.
  • the set of task logics of, form a communication task chain, which can realize any communication process control according to the actual communication business needs, and its scalability is strong;
  • the present disclosure can realize effective and complete control of communication services, making the logic of the entire communication service flow control process clear and simple.
  • FIG. 1 is a flowchart of a method for controlling a chain communication service process according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart of a method for controlling a chain communication service process according to another embodiment of the present disclosure
  • FIG. 3 is a flowchart of a method for controlling a chain communication service process according to another embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of a chain communication service flow control diagram in which a service request is a base station registration report in an embodiment of the present disclosure
  • FIG. 5 is a schematic diagram of a chain communication service flow control diagram where the service request is to upgrade the base station equipment software in an embodiment of the disclosure
  • Fig. 6 is a block diagram of a chain communication service flow control device according to an embodiment of the present disclosure.
  • Fig. 7 is a block diagram of a chain communication service flow control device according to another embodiment of the present disclosure.
  • a method for controlling a chain communication business process is provided, which can be applied to a network management system.
  • the network management system is a system used to adjust and control the network status by combining software and hardware to ensure communication.
  • the network system can operate normally and efficiently, so that the resources in the communication network system can be better allocated and utilized, and a collection of various communication service management functions can be realized on the basis of the communication network management platform.
  • the network management system is in communication connection with the communication equipment, and performs signaling data interaction with the communication equipment.
  • the communication device can be a communication transfer device, such as a macro base station, a micro base station, a remote radio frequency device, a repeater, etc., or a communication terminal, such as a mobile phone, a computer, etc.
  • the chain communication service process control method includes:
  • the communication task chain includes multiple communication tasks for realizing the business request and the task logic corresponding to each communication task;
  • the service request can be an operation request issued by the communication terminal, such as accessing other communication terminals, upgrading the communication transfer equipment, etc., or can be a control request issued by the network management system itself, such as adjusting the parameters of the communication device,
  • the control of the communication device such as network access switching can also be an event request sent by the communication relay device, for example, the communication relay device needs to register and access events with the network management system.
  • the communication tasks that need to be performed for each kind of business request can include one or more.
  • multiple communication tasks have certain Execution sequence and execution logic, and the execution result of the previous communication task will directly or indirectly affect the execution sequence of other unexecuted communication tasks, and/or directly or indirectly affect the execution result of the entire business request, so each communication task Each corresponds to a task logic, which is used to indicate whether other communication tasks are performed, and/or whether to continue the execution of the entire service request, and/or whether to add a new service request to complete the original service request, etc.
  • the network management system obtains the pre-formed communication task chain corresponding to the service request, and executes the obtained communication task chain to complete the service request.
  • the task logic corresponding to the communication task can be processed according to the execution result of the communication task that has been executed.
  • the communication tasks in the task chain carry out flexible process control. Specifically, the processing process of the task logic can be to determine the next communication task to be executed in the communication task chain according to the execution result of the communication task that has been executed, and continue to execute the determined next communication task, or it can be in the executed communication task.
  • the execution result of the finished communication task is abnormal, the execution of the communication task chain is interrupted, or a new service request is triggered by the execution result of the finished communication task.
  • the method of acquiring the pre-formed communication task chain and executing the acquired communication task chain to complete the business request can organically integrate the commands or operation methods specified by the communication protocol, which is beneficial to the realization of the communication business.
  • Process control improves the response efficiency of the network management system to business requests.
  • the chain communication business process control method provided by this embodiment does not tamper with the communication protocol, it only organically integrates the communication tasks and task logic in accordance with the communication protocol, so it has a certain degree of compatibility, and the communication of different manufacturers Equipment, different communication protocols, and network management systems of different telecom operators are all applicable.
  • the method for controlling the chain communication business process further includes:
  • step S2 according to the execution result of the communication task that has been executed, the task logic corresponding to the communication task that has been executed is processed, and according to the processing result of the task logic, it is determined to continue executing other communication tasks in the communication task chain or interrupt the execution of the communication task Chain or trigger new business requests, including:
  • the execution result of the communication task that has been executed and the logic parameters in the preset task logic process the task logic corresponding to the communication task that has been executed, and determine to continue to execute other communications in the communication task chain according to the processing result of the task logic
  • the task either interrupts the execution of the communication task chain or triggers a new business request.
  • different logical parameters can be preset.
  • the task logic corresponding to the communication task will have branch logic corresponding to different communication task execution results and different preset logic parameters.
  • a communication task in the communication task chain corresponding to a business request is to query the current signal-to-noise ratio.
  • a query time can be preset according to the communication quality requirements.
  • the task logic corresponding to the communication task can be processed as follows: When the execution result of the previous communication task of the communication task of signal-to-noise ratio is successful, it is judged whether the query time is preset. If the query time is preset, the branch logic corresponding to the preset query time is selected and processed The selected branch logic will execute the communication task of querying the current signal-to-noise ratio when the query time is up.
  • a communication task in the communication task chain corresponding to a business request is to query the current signal-to-noise ratio
  • the task logic corresponding to the communication task can be processed as follows: If the current signal-to-noise ratio is queried, the previous communication of the communication task When the task execution result is unsuccessful, the branch logic corresponding to the unsuccessful execution is selected, and the selected branch logic is processed, and the communication task of querying the current signal-to-noise ratio is executed; if the current signal-to-noise ratio is queried before the communication task When the execution result of a communication task is successful, select the branch logic corresponding to the successful execution,
  • a communication task in the communication task chain corresponding to a business request is to query the current signal-to-noise ratio.
  • a signal-to-noise ratio parameter can be preset according to the communication quality requirements.
  • the task logic corresponding to the communication task can be processed as follows: According to the queried current signal-to-noise ratio, compare it with the preset signal-to-noise ratio parameter. If the current signal-to-noise ratio exceeds the preset signal-to-noise ratio parameter, select the branch logic corresponding to the parameter that exceeds the preset signal-to-noise ratio.
  • the communication task chain is interrupted; if the current signal-to-noise ratio does not exceed the preset signal-to-noise ratio parameter, the branch logic corresponding to the preset signal-to-noise ratio parameter is selected to continue the next communication task in the communication task chain.
  • the method for controlling the chain communication business process further includes:
  • the new communication task chain corresponding to the new service request needs to be obtained.
  • the new communication task chain can be changed according to the relationship between the new service request and the original service request.
  • the task chain is inserted into the originally executing communication task chain, or a new communication task chain is added after the original communication task chain, so that the communication task chains can also trigger and merge with each other, thereby realizing the communication between different communication tasks. Call each other.
  • the method for controlling the chain communication business process further includes:
  • the processing result of the task logic is recorded, and/or the execution of the communication task is recorded.
  • the processing result of the task logic is recorded, and/or the execution of the communication task is recorded.
  • the network management system When there are multiple service requests, the network management system will obtain multiple corresponding communication task chains at the same time. During the execution of the communication task chain, each communication task chain can be identified. The network management system can identify multiple communication task chains according to the identification. The task chain is executed in parallel.
  • the premise of the service request is that the control terminal or other control equipment has imported the wireless parameter information of the base station into the network management system.
  • the wireless parameter information can include the base station PLMNID, CellId, and frequency. , PCI, TAC, neighbor list, etc. Determine the communication task corresponding to the service request according to the service request reported by the base station in advance, and determine the task logic corresponding to each communication task of the service request, and combine the determined communication task and the determined task logic to form a communication task chain .
  • the communication tasks determined according to the service request of the base station registration report specifically include:
  • the execution result of task a includes: (1) obtaining the parameter list of the base station equipment; (2) not obtaining the parameter list of the base station equipment unsuccessfully.
  • the execution result of task b includes: (1) obtaining the value of the parameter necessary for establishing the network element; (2) not obtaining the value of the parameter necessary for establishing the network element.
  • the execution result of task c includes: (1) parameter setting is successful; (2) parameter setting is unsuccessful.
  • the results of task d include: (1) Obtaining the neighboring cell list; (2) Not obtaining the neighboring cell list.
  • the execution results of task e include: (1) parameters are obtained; (2) parameters are not obtained;
  • the execution results of task f include: (1) the base station is successfully turned on; (2) the base station is not successfully turned on.
  • the task logic corresponding to each communication task determined according to the service request of the base station registration report includes:
  • Task logic A corresponding to task a the execution result of task a (1) corresponds to branch logic 1
  • the execution result of task a (2) corresponds to branch logic 2
  • branch logic 1 is to continue executing task b
  • branch logic 2 is to interrupt the execution of communication tasks chain.
  • Task logic B corresponding to task b the execution result of task b (1) corresponds to branch logic 1
  • the execution result of task b (2) corresponds to branch logic 2
  • branch logic 1 is to continue executing task c
  • branch logic 2 is to interrupt execution communication Task chain.
  • Task logic C corresponding to task c the execution result of task c (1) corresponds to branch logic 1
  • the execution result of task c (2) corresponds to branch logic 2
  • branch logic 1 is to continue executing task d
  • branch logic 2 is to interrupt execution communication Task chain.
  • Task logic D corresponding to task d The neighbor list obtained in the execution result of task d (1) is compared with the preset neighbor list. If the comparison result is that the list is not updated, it corresponds to branch logic 1. The comparison result is that the list is missing Then it corresponds to branch logic 2, the comparison result is that the list is redundant, it corresponds to branch logic 3, the comparison result is that the list is consistent, it corresponds to branch logic 4, the execution result of task d (2) corresponds to branch logic 5, and branch logic 1 triggers the update of the neighbor Information business request, branch logic 2 is a business request that triggers the addition of neighboring cell information, branch logic 3 is a business request that triggers deletion of neighboring cell information, branch logic 4 is to continue to perform task e, and branch logic 5 is to interrupt the execution of the communication task chain , When the new business request triggered by branch logic 1 and/or branch logic 2 and/or branch logic 3 is completed, continue to perform task e.
  • Task logic E corresponding to task e the execution result of task e (1) corresponds to branch logic 1
  • the execution result of task e (2) corresponds to branch logic 2
  • branch logic 1 is to continue executing task f
  • branch logic 2 is to interrupt execution communication Task chain.
  • Task logic F corresponding to task f the execution result of task f (1) corresponds to branch logic 1
  • the execution result of task f (2) corresponds to branch logic 2
  • branch logic 1 records the execution results of each communication task and ends the communication task chain
  • the branch logic 2 interrupts the execution of the communication task chain.
  • the specific process of using the chain communication service process control method described in the above embodiment to implement the service request of base station registration and reporting is: obtaining the communication task chain corresponding to the service request of base station registration and reporting, and execute The acquired communication task chain, the execution process of the communication task chain includes the following steps:
  • the network management system performs task a, and issues a query parameter list command to the base station equipment;
  • the base station equipment After receiving the query parameter list command, the base station equipment responds to the query parameter list command, and successfully returns the base station equipment parameter list to the network management system, that is, corresponding to the execution result of task a (1), the network management system processes task logic A Branch logic 1, continue to perform task b, issue a query parameter value command to the base station equipment, query the value of the parameters necessary to establish the network element; if the base station equipment parameter list is not successfully returned to the network management system, that is, the corresponding task a Execution result (2), the network management system processes branch logic 2 in task logic A, and interrupts the execution of the communication task chain;
  • the base station equipment After receiving the query parameter value command, the base station equipment responds to the query parameter value command, and successfully returns the parameter value to the network management system, that is, corresponding to the execution result of task b (1), the network management system processes the task in logic B Branch logic 1, continue to perform task c, and issue commands to set PLMNID, CellID, frequency, PCI, TAC and other parameters to the base station equipment; if the value of the parameter is not successfully returned to the network management system, that is, the execution result of task b (2), the network management system processes branch logic 2 in task logic B, and interrupts the execution of the communication task chain;
  • the base station device After the base station device receives the PLMNID, CellID, frequency, PCI, TAC and other parameters, it saves the parameters and returns the result of setting the parameters successfully, that is, the execution result of the corresponding task c (1), the network management system processes task logic C Branch logic 1, continue to perform task d, and issue a neighbor list query command to the base station equipment; if the result of unsuccessful parameter setting is returned, that is, the execution result of task c (2), the network management system processes the task logic Branch logic 2 in C;
  • the base station device After the base station device receives the neighbor cell list query command, it responds to the neighbor cell list query command, and returns the neighbor cell list information stored in the base station device to the network management system, that is, corresponding to the execution result of task d (1), network management
  • the system processes task logic D. It compares the neighbor cell list information returned by the base station equipment with the preset neighbor cell list information.
  • the branch in task logic D is processed Logic 1 and/or branch logic 2 and/or branch logic 3, triggering a business request for updating neighboring cell information and/or a business request for adding neighboring cell information and/or a business request for deleting neighboring cell information; the comparison results are completely consistent ,
  • the network management system processes branch logic 4 in task logic D, and directly continues to perform task e; if the base station device does not return its saved neighbor list information to the network management system, it corresponds to the execution result of task d (2) , The network management system processes branch logic 5 in task logic D, and interrupts the execution of the communication task chain;
  • the triggered business request for updating neighboring cell information and/or the business request for adding neighboring cell information and/or the business request for deleting neighboring cell information respectively obtain the communication task chain and/or corresponding to the business request for updating neighboring cell information. Or add the communication task chain corresponding to the business request of neighbouring cell information and/or delete the communication task chain of the business request of neighbouring cell information, insert the obtained communication task chain into the original communication task chain, and execute the inserted communication task chain in the order of insertion. After executing the inserted communication task chain, continue to execute the original communication task chain, continue to perform task e, and issue commands to query PLMNID, CellID, frequency, PCI, TAC, neighboring cell information and other parameters to the base station equipment ;
  • the base station device After the base station device receives the command to query PLMNID, CellID, frequency, PCI, TAC, neighbor cell information and other parameters, it responds to the query command and successfully returns the value of the parameter, which is the execution result of task e (1),
  • the network management system processes the branch logic 1 in the corresponding task logic E, continues to execute task f, and issues a service start command to the base station equipment; if the value of the parameter does not return successfully, that is, the execution result of the corresponding task e (2), then The network management system processes branch logic 2 in task logic E and interrupts the execution of the communication task chain;
  • the base station equipment After receiving the service start command, the base station equipment starts the service, establishes the cell, turns on the radio frequency switch, and responds to the successful start service notification to the network management system, that is, corresponding to the execution result of task f (1), the network management system processes the task logic F. Record the execution results of each communication task and end the execution of the communication task chain; if the base station equipment does not respond to the successful start of the service command to the network management system, that is, corresponding to the execution result of task f (2), the network management system processes task logic F Branch logic 2 in, interrupt the execution of the communication task chain;
  • the triggering of the service request is that the control terminal or other control equipment has uploaded the software upgrade package of the base station equipment to the network management system, and pre-configured the software version and software version applicable to the software upgrade package. Whether to activate the newly downloaded software immediately, the activation time, the software version number of the software upgrade package and other logical parameters.
  • the communication task corresponding to the business request is determined in advance, and the task logic corresponding to each communication task of the business request is determined, and the determined communication task and the determined task logic are combined to form a communication task chain .
  • the communication tasks determined according to the business request of upgrading equipment software include:
  • the execution result of task c'in includes: (1) activation is successful; (2) activation is unsuccessful.
  • the task logic corresponding to each communication task determined according to the service request of upgrading the base station equipment software includes:
  • Task logic A'corresponding to task a' The software version number of the base station equipment obtained in the execution result of task a'(1) is compared with the software version number that is applicable to the preset upgrade package. If the comparison result is consistent, it corresponds to branch logic 1. Compare If the result is inconsistent, it corresponds to branch logic 2. The execution result of task a'(2) also corresponds to branch logic 2, branch logic 1 is to continue executing task b', and branch logic 2 is to interrupt the execution of the communication task chain.
  • Task logic B'corresponding to task b' If it is the execution result of task b'(1), judge whether the parameter of "activate the newly downloaded software immediately” is preset, whether the "activation time” is preset, and if it is preset If “activate the newly downloaded software immediately” corresponds to branch logic 1, if the preset “activation time” corresponds to branch logic 2, if there is neither preset “activate the newly downloaded software immediately” nor preset “activation time” It corresponds to branch logic 3, if it is the execution result of task b'(2), it also corresponds to branch logic 3. Branch logic 1 is to continue executing task c'immediately, branch logic 2 is to execute task c'regularly according to the activation time, and branch logic 3 Execute the communication task chain for interruption.
  • Task logic C'corresponding to task c' task c'execution result (1) corresponds to branch logic 1
  • task c'execution result (2) corresponds to branch logic 2
  • branch logic 1 is to continue executing task d'
  • branch logic 2 is Interrupt the execution of the communication task chain.
  • Task logic D'corresponding to task d' the execution result of task d'(1) corresponds to branch logic 1
  • the execution result of task d'(2) corresponds to branch logic 2
  • branch logic 1 is the software version number returned to the base station device Compare with the software version number of the software upgrade package, if they are consistent, the upgrade is considered successful and the execution process of the communication task chain is ended; if they are inconsistent, the upgrade is considered failed and the execution flow of the communication task chain is ended; branch logic 2 is to interrupt the execution of the communication Task chain.
  • the specific process of using the chain communication service process control method described in the above embodiment to implement the service request of upgrading the base station equipment software is: obtaining the communication task chain corresponding to the service request of upgrading the base station equipment software , Execute the acquired communication task chain, the execution process of the communication task chain includes the following steps:
  • the network management system executes task a'and issues a command to query the base station equipment software version number to the base station equipment;
  • the base station equipment After receiving the command for querying the software version number of the base station equipment, the base station equipment responds to the command for querying the software version number, and successfully returns the software version number currently used by the base station equipment to the network management system, that is, the execution result of the corresponding task a'( 1), the network management system processes branch logic 1 in task logic A', continues to execute task b', and sends a download and upgrade software command to the base station equipment; if the software version number currently used by the base station equipment does not return successfully, it corresponds to The execution result of task a'(2), the network management system processes branch logic 2 in task logic A', and interrupts the execution of the communication task chain.
  • the base station device After the base station device receives the download and upgrade software command, it responds to the upgrade software command and downloads the software upgrade package from the file server through http ⁇ ftp. After the base station device is downloaded, it reports the successful download result to the network management system, that is, the corresponding The execution result of task b'(1), the network management system processes task logic B', and judges whether the parameters of "activate the newly downloaded software immediately" are preset, whether the "activation time” is preset, and if the "immediate time” is preset “Activate the newly downloaded software” will process branch logic 1, continue to execute task c'immediately, and issue the activation software command; if the “activation time” is preset, then process branch logic 2, and execute task c'according to the activation time.
  • the base station device receives the activation software command, activates the newly downloaded software, and responds to the activation software command, and reports the successful activation of the software to the network management system, that is, the execution result of the corresponding task c'(1), the network management system Process branch logic 1 in task logic C', continue to execute task d', and issue a command to query the software version number of the base station equipment; if the base station equipment does not report the successful activation of the software to the network management system, it corresponds to the execution of task c' As a result (2), the network management system processes branch logic 2 in task logic C'and interrupts the execution of the communication task chain.
  • the base station device After the base station device receives the command to query the software version number of the device, it responds to the command to query the software version number, and returns the software version number currently used by the base station device to the network management system, that is, the execution result of the corresponding task d'(1) ,
  • the branch logic 1 of the network management system processing task logic D' compares the software version number returned by the base station equipment with the software version number of the software upgrade package, if they are consistent, the upgrade is considered successful and the execution of the communication task chain ends; if it is inconsistent , It is considered that the upgrade has failed, and the execution of the communication task chain is ended; if the base station device does not respond and returns the currently used software version number to the network management system, that is, corresponding to the execution result of task d'(2), the network management system processes the task
  • a chain communication service process control device is provided, which is applied to a network management system, and includes:
  • the task chain obtaining module 10 is configured to obtain the communication task chain corresponding to the service request according to the service request, and the communication task chain includes multiple communication tasks for realizing the service request and the task logic corresponding to each communication task;
  • the task chain execution module 20 is configured to execute the communication task chain. After the execution of a communication task in the communication task chain is completed, the task logic corresponding to the communication task of the executed technology is processed according to the execution result of the communication task that has been executed. The processing result of the logic determines whether to continue executing other communication tasks in the communication task chain or interrupt the execution of the communication task chain or trigger a new service request.
  • the service request can be an operation request issued by the communication terminal, such as accessing other communication terminals, upgrading the communication transfer equipment, etc., or can be a control request issued by the network management system itself, such as adjusting the parameters of the communication device,
  • the control of the communication device such as network access switching can also be an event request sent by the communication relay device, for example, the communication relay device needs to register and access events with the network management system.
  • the communication tasks that need to be performed for each kind of business request can include one or more.
  • multiple communication tasks have certain Execution sequence and execution logic, and the execution result of the previous communication task will directly or indirectly affect the execution sequence of other unexecuted communication tasks, and/or directly or indirectly affect the execution result of the entire business request, so each communication task Each corresponds to a task logic, which is used to indicate whether other communication tasks are performed, and/or whether to continue the execution of the entire service request, and/or whether to add a new service request to complete the original service request, etc.
  • the task chain obtaining module 10 obtains the pre-formed communication task chain corresponding to the service request according to the service request, and executes the obtained communication task chain.
  • the task chain execution module 20 executes the obtained communication task chain to complete the service request.
  • the task chain execution module 20 executes the task logic corresponding to the communication task according to the execution result of the communication task after the execution of a communication task in the communication task chain is completed. Processing, flexible process control of communication tasks in the communication task chain can be carried out. Specifically, the process of processing task logic by the task chain execution module 20 may be to determine the next communication task to be executed in the communication task chain according to the execution result of the completed communication task, and continue to execute the determined next communication task; also It may be that the execution of the communication task chain is interrupted when the execution result of the finished communication task is abnormal, or it may be that the execution result of the finished communication task triggers a new service request.
  • the pre-formed communication task chain is obtained through the task chain obtaining module 10 and the obtained communication task chain is executed by the task chain execution module 20 to complete the service request.
  • the command or operation specified by the communication protocol can be
  • the organic integration of the method is conducive to the control of the communication task flow, and the response efficiency of the network management system to operation requests or event requests is improved.
  • the chain communication business process control device does not tamper with the communication protocol, it only organically integrates the communication task and task logic in accordance with the communication protocol, so it has a certain degree of compatibility, and the communication between different manufacturers Equipment, different communication protocols, and network management systems of different telecom operators are all applicable.
  • the chain communication service process control device further includes a logic parameter preset module 30;
  • the logic parameter preset module 30 is configured to preset logic parameters in the task logic
  • the task chain execution module 20 is configured to process the task logic corresponding to the completed communication task according to the execution result of the completed communication task, and determine to continue executing other communication tasks in the communication task chain or interrupt the execution according to the processing result of the task logic
  • the steps of the communication task chain or triggering a new business request include:
  • the execution result of the communication task that has been executed and the logic parameters in the preset task logic process the task logic corresponding to the communication task that has been executed, and determine to continue to execute other communications in the communication task chain according to the processing result of the task logic
  • the task either interrupts the execution of the communication task chain or triggers a new business request.
  • different logical parameters can be preset through the logical parameter preset module 30.
  • the task logic corresponding to the communication task will have branch logic corresponding to different communication task execution results and different user preset logic parameters.
  • the task chain execution module 20 processes task logic, it can select the corresponding branch logic for processing according to the different execution results of the communication tasks that have been executed and different preset logic parameters, so that it can easily and efficiently adapt to the execution of different communication tasks. Results and/or adapt to different communication business process control.
  • the chain communication service process control device further includes a new task chain processing module 40: a task chain obtaining module 10, which is further configured to obtain a new service request corresponding to the new service request when it is determined to trigger a new service request.
  • the new task chain processing module 40 is configured to insert the acquired new communication task chain into the original communication task chain or add it after the original communication task chain.
  • the task chain obtaining module 10 can obtain the new communication task according to the new service request.
  • the new task chain processing module 40 inserts the new communication task chain into the originally executing communication task chain, or adds the new communication task chain to the original communication task chain.
  • the communication task chain can also be triggered and merged with each other, so as to realize the mutual call between different communication services.
  • the chain communication service process control device further includes a recording module 50;
  • the recording module 50 is configured to record the processing result of the task logic and/or the execution result of the completed communication task and/or the execution status of the communication task in the communication task chain when the execution of the communication task chain is determined to be interrupted.
  • the recording module 50 records the processing result of the task logic and/or records the communication
  • the execution result of the task, and/or recording the execution status of the communication task as executed, unexecuted, or execution error can help the network operation and maintenance personnel to know the execution abnormality of the communication task according to the recorded judgment result and find out the abnormal execution Communication task.
  • a computer-readable storage medium is provided, and a computer program is stored thereon, and when the computer program is executed by a processor, the steps of the method for controlling the flow of an up-chain communication service are realized.
  • a computer device which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method for controlling the flow of an up-chain communication service when the computer program is executed.
  • the communication service process control technology does not tamper with the communication protocol itself, but organically integrates the commands and RPC methods specified by the communication protocol, and realizes the correspondence between the communication task of a service request and each communication task.
  • the task logic set of the ” forms a communication task chain, which can realize any communication process control according to the actual communication business needs, and its scalability is strong; and, the communication business process control technology is suitable for all equipment and manufacturers, and is suitable for all communication protocols. Strong compatibility; it can achieve effective and complete control of communication services, making the logic of the entire communication business process control clear and simple, and has strong industrial applicability.

Abstract

Disclosed are a chain communication service process control method and apparatus, and a device and a storage medium. The chain communication service process control method comprises: according to a service request, obtaining a communication task chain corresponding to the service request, wherein the communication task chain comprises a plurality of communication tasks for realizing the service request and task logic corresponding to each communication task; and executing the communication task chain, wherein after one communication task in the communication task chain has been executed, the task logic corresponding to the communication task that has been executed is processed according to an execution result of the communication task that has been executed, and according to a processing result of the task logic, a determination is made to continue the execution of other communication tasks in the communication task chain, interrupt the execution of the communication task chain, or trigger a new service request. The present disclosure can effectively control a communication service process.

Description

链式通信业务流程控制方法、装置、设备和存储介质Chain communication business process control method, device, equipment and storage medium
本公开要求于2019年12月31日提交中国专利局、申请号为CN201911421512.4、发明名称为“链式通信业务流程控制方法、装置、设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure requires the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is CN201911421512.4, and the invention title is "chain communication business process control method, device, equipment, and storage medium" on December 31, 2019. The entire content is incorporated into this disclosure by reference.
技术领域Technical field
本公开涉及通信任务流程控制技术领域,尤其涉及一种链式通信业务流程控制方法、装置、设备和存储介质。The present disclosure relates to the technical field of communication task flow control, and in particular, to a method, device, device, and storage medium for chain communication service flow control.
背景技术Background technique
目前移动通信设备与网络管理系统之间大多采用SNMP、TR069或者自定义协议进行通信,在这些通信协议中只定义单一的命令(如SNMP中的Get、Set、Trap命令等)或远程操作方法(如TR069中的GetParameterValues、SetParameterValues等RPC方法),而网络管理系统自身需要根据用户的操作管理需求,对多个命令或RPC方法串联起来形成一个通信任务流程以完整完成用户的某个操作请求,例如进行设备固件升级操作,需要首先查询设备版本号,与用户设定的期待升级版本号比较是否吻合,然后才能发起固件升级操作,固件升级完成之后,需要根据用户设定,是否发起激活该固件的操作,这些操作都需要在一个通信任务流程中完成。而这些通信协议规范中没有定义这些通信任务流程。At present, most mobile communication devices and network management systems use SNMP, TR069 or custom protocols for communication. Only single commands (such as Get, Set, Trap commands in SNMP, etc.) or remote operation methods are defined in these communication protocols. Such as GetParameterValues, SetParameterValues and other RPC methods in TR069), and the network management system itself needs to connect multiple commands or RPC methods in series to form a communication task flow to complete a user's operation request according to the user's operation and management needs, for example To upgrade the device firmware, you need to first query the device version number and compare whether it matches the expected upgrade version number set by the user, and then initiate the firmware upgrade operation. After the firmware upgrade is completed, you need to initiate the activation of the firmware according to the user settings. Operations, these operations need to be completed in a communication task process. However, these communication task processes are not defined in these communication protocol specifications.
况且,网络管理系统本身业务功能复杂,用户也可能同时发起多个通信任务流程,不能简单定义一些流程,需要根据业务情况进行通信任务的增加、跳过,因此使得通信任务流程的控制变得异常复杂。Moreover, the network management system itself has complex business functions, and users may also initiate multiple communication task processes at the same time. Some processes cannot be simply defined. Communication tasks need to be added or skipped according to business conditions, which makes the control of the communication task process abnormal. complex.
传统的控制方法是在通信任务的执行过程中加入逻辑判断,以决定下一步执行何种通信任务,然而这样就缺乏对通信任务流程上下文的控制,缺乏完整性,无法做到对用户操作请求的完整控制。The traditional control method is to add logical judgment in the execution of the communication task to decide which communication task to perform next. However, this lacks control of the communication task process context, lacks integrity, and cannot meet the user's operation request. Complete control.
由此可以看出,目前的问题主要集中在如何有效控制通信任务流程。要解决此问题,就要引入一种通信任务流程的控制方法。It can be seen that the current problems are mainly focused on how to effectively control the communication task flow. To solve this problem, it is necessary to introduce a control method of communication task flow.
发明内容Summary of the invention
(一)要解决的技术问题(1) Technical problems to be solved
本公开要解决的技术问题是解决现有的通信任务的执行过程中,缺乏对通信任务流程上下文的控制,缺乏完整性,无法做到对用户操作请求的完整控制的问题。The technical problem to be solved by the present disclosure is to solve the problem of lack of control over the context of the communication task process, lack of integrity, and inability to achieve complete control of user operation requests during the execution of the existing communication task.
(二)技术方案(2) Technical solution
为了解决上述技术问题,本公开实施例提供了一种链式通信业务流程控制方法、装置、设备和存储介质。In order to solve the above technical problems, the embodiments of the present disclosure provide a method, device, device, and storage medium for controlling a chain communication service process.
第一方面,本公开实施例提供了一种链式通信业务流程控制方法,应用于网络管理系统,包括:In the first aspect, the embodiments of the present disclosure provide a method for controlling a chain communication service process, which is applied to a network management system, and includes:
根据业务请求,获取所述业务请求对应的通信任务链,所述通信任务链包括实现所述业务请求的多个通信任务和每个所述通信任务对应的任务逻辑;Acquiring, according to the business request, a communication task chain corresponding to the business request, where the communication task chain includes multiple communication tasks for realizing the business request and task logic corresponding to each of the communication tasks;
执行所述通信任务链,当所述通信任务链中的一个所述通信任务执行结束后,根据已执行结束的所述通信任务的执行结果,处理已执行结束的所述通信任务对应的所述任务逻辑,并根据所述任务逻辑的处理结果确定继续执行所述通信任务链中的其它所述通信任务或者中断执行所述通信任务链或者触发新的业务请求。Execute the communication task chain, and when the execution of one of the communication tasks in the communication task chain ends, process the communication task corresponding to the completed communication task according to the execution result of the completed communication task Task logic, and according to the processing result of the task logic, it is determined to continue executing other communication tasks in the communication task chain or interrupt the execution of the communication task chain or trigger a new service request.
针对不同种类的业务请求,预先根据通信协议,确定实现每种业务请求所需执行的通信任务,并确定实现每种业务请求所需执行的每个通信任务对应的任务逻辑,将所确定的通信任务和任务逻辑结合形成通信任务链。执行完一个通信任务链后即完成了对应的业务请求。For different types of business requests, according to the communication protocol, determine the communication tasks that need to be performed to achieve each business request in advance, and determine the task logic corresponding to each communication task that needs to be performed to achieve each business request, and combine the determined communication The task and task logic are combined to form a communication task chain. After executing a communication task chain, the corresponding business request is completed.
网络管理系统根据业务请求,获取预先形成的该业务请求对应的通信任务链,执行所获取的通信任务链,即可完成业务请求。According to the service request, the network management system obtains the pre-formed communication task chain corresponding to the service request, and executes the obtained communication task chain to complete the service request.
根据不同的业务请求,采用获取预先形成的通信任务链并执行所获取的通信任务链以完成业务请求的方式,可以将通信协议所规定的命令或操作方法进行有机的整合,有利于实现通信业务流程的控制,提高网络管理系统对业务请求的响应效率。而且因为本公开所提供的链式通信业务流程控制方法并没有对通信协议进行篡改,仅依照通信协议对通信任务和任务逻辑进行了有机的整合,所以具备一定的兼容性,不同厂家的通信设备、不同通信协议、不同电信运营商的网络管理系统均适用。According to different business requests, the method of acquiring the pre-formed communication task chain and executing the acquired communication task chain to complete the business request can organically integrate the commands or operation methods specified by the communication protocol, which is beneficial to the realization of the communication business. Process control improves the response efficiency of the network management system to business requests. Moreover, because the chain communication business process control method provided by the present disclosure does not tamper with the communication protocol, it only organically integrates the communication task and task logic in accordance with the communication protocol, so it has a certain degree of compatibility, and the communication equipment of different manufacturers , Different communication protocols and network management systems of different telecom operators are applicable.
第二方面,本公开实施例还提供了一种链式通信业务流程控制装置,应用于网络管理系统,包括任务链获取模块和任务链执行模块;In the second aspect, the embodiments of the present disclosure also provide a chain communication service process control device, which is applied to a network management system, and includes a task chain acquisition module and a task chain execution module;
所述任务链获取模块,配置为根据业务请求,获取所述业务请求对应的通信任务链,所述通信任务链包括实现所述业务请求的多个通信任务和每个所述通信任务对应的任务逻辑;The task chain obtaining module is configured to obtain a communication task chain corresponding to the service request according to the service request, the communication task chain including a plurality of communication tasks for realizing the service request and a task corresponding to each communication task logic;
所述任务链执行模块,配置为执行所述通信任务链,当所述通信任务链中的一个所述通信任务执行结束后,根据已执行结束的所述通信任务的执行结果,处理已执行结束的所述通信任务对应的所述任务逻辑,并根据所述任务逻辑的处理结果确定继续执行所述通信任务链中的其它所述通信任务或者中断执行所述通信任务链或者触发新的业务请求。The task chain execution module is configured to execute the communication task chain, and when the execution of one of the communication tasks in the communication task chain is completed, the processing is completed according to the execution result of the communication task that has been executed. The task logic corresponding to the communication task, and according to the processing result of the task logic, it is determined to continue executing other communication tasks in the communication task chain or interrupt the execution of the communication task chain or trigger a new service request .
针对不同种类的业务请求,预先根据通信协议,确定实现每种业务请求所需执行的通信任务,并确定实现每种业务请求所需执行的每个通信任务对应的任务逻辑,将所确定的通信任务和任务逻辑结合形成通信任务链。执行完一个通信任务链后即完成了对应的业务请求。For different types of business requests, according to the communication protocol, determine the communication tasks that need to be performed to achieve each business request in advance, and determine the task logic corresponding to each communication task that needs to be performed to achieve each business request, and combine the determined communication The task and task logic are combined to form a communication task chain. After executing a communication task chain, the corresponding business request is completed.
任务链获取模块根据业务请求,获取预先形成的该业务请求对应的通信任务链,执行所获取的通信任务链,任务链执行模块执行所获取的通信任务链,即可完成业务请求。The task chain obtaining module obtains the pre-formed communication task chain corresponding to the service request according to the service request, executes the obtained communication task chain, and the task chain execution module executes the obtained communication task chain to complete the service request.
根据不同的业务请求,通过任务链获取模块获取预先形成的通信任务链并通过任务链执行所获取的通信任务链以完成业务请求的方式,可以将通信协议所规定的命令或操作方法进行有机的整合,有利于实现通信业务流程的控制,提高网络管理系统对操作请求或事件请求的响应效率。而且因为本公开所提供的链式通信业务流程控制方法并没有对通信协议进行篡改,仅依照通信协议对通信任务和任务逻辑进行了有机的整合,所以具备一定的兼容性,不同厂家的通信设备、不同通信协议、不同电信运营商的网络管理系统均适用。According to different business requests, the pre-formed communication task chain is obtained through the task chain acquisition module and the obtained communication task chain is executed through the task chain to complete the business request. The commands or operation methods specified by the communication protocol can be organically processed Integration is conducive to the control of communication business processes and improves the response efficiency of the network management system to operation requests or event requests. Moreover, because the chain communication business process control method provided by the present disclosure does not tamper with the communication protocol, it only organically integrates the communication task and task logic in accordance with the communication protocol, so it has a certain degree of compatibility, and the communication equipment of different manufacturers , Different communication protocols and network management systems of different telecom operators are applicable.
第三方面,本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述链式通信业务流程控制方法的步骤。In a third aspect, the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the chain communication service flow control method described above are realized.
第四方面,本公开实施例还提供了一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现如上所述链式通信业务流程控制方法的步骤。In a fourth aspect, the embodiments of the present disclosure also provide a computer device, including a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the above-mentioned chain communication service flow control is implemented Method steps.
(三)有益效果(3) Beneficial effects
本公开实施例提供的上述技术方案与现有技术相比具有如下优点:Compared with the prior art, the above-mentioned technical solutions provided by the embodiments of the present disclosure have the following advantages:
(1)本公开的通信业务流程控制技术本身并没有对通信协议的篡改,而是对通信协议所规定的命令、RPC方法的有机整合,将实现一个业务请求的通信任务和每个通信任务对应的任务逻辑集合形成通信任务链,可以根据实际的通信业务需要实现任何的通信流程控制,其扩展性强;(1) The communication service process control technology of the present disclosure does not tamper with the communication protocol itself, but organically integrates the commands and RPC methods specified by the communication protocol, which will realize the communication task of a business request and correspond to each communication task. The set of task logics of, form a communication task chain, which can realize any communication process control according to the actual communication business needs, and its scalability is strong;
(2)本公开适用于所有设备和厂家,适用于所有通信协议,其兼容性强;(2) This disclosure is applicable to all devices and manufacturers, and is applicable to all communication protocols, with strong compatibility;
(3)本公开可以实现通信任业务的有效完整控制,使得整个通信业务流程控制过程逻辑清晰简单。(3) The present disclosure can realize effective and complete control of communication services, making the logic of the entire communication service flow control process clear and simple.
附图说明Description of the drawings
图1为本公开一个实施例的链式通信业务流程控制方法流程图;FIG. 1 is a flowchart of a method for controlling a chain communication service process according to an embodiment of the present disclosure;
图2为本公开另一个实施例的链式通信业务流程控制方法流程图;2 is a flowchart of a method for controlling a chain communication service process according to another embodiment of the present disclosure;
图3为本公开又一个实施例的链式通信业务流程控制方法流程图;FIG. 3 is a flowchart of a method for controlling a chain communication service process according to another embodiment of the present disclosure;
图4为本公开一个实施例中业务请求为基站注册上报的链式通信业务流程控制示意图;FIG. 4 is a schematic diagram of a chain communication service flow control diagram in which a service request is a base station registration report in an embodiment of the present disclosure;
图5为本公开一个实施例中业务请求为升级基站设备软件的链式通信业务流程控制示意图;FIG. 5 is a schematic diagram of a chain communication service flow control diagram where the service request is to upgrade the base station equipment software in an embodiment of the disclosure;
图6为本公开一个实施例的链式通信业务流程控制装置组成框图;Fig. 6 is a block diagram of a chain communication service flow control device according to an embodiment of the present disclosure;
图7为本公开另一个实施例的链式通信业务流程控制装置组成框图。Fig. 7 is a block diagram of a chain communication service flow control device according to another embodiment of the present disclosure.
具体实施方式Detailed ways
在一个实施例中,提供一种链式通信业务流程控制方法,可以应用于网络管理系统,网络管理系统是一种通过结合软件和硬件用来对网络状态进行调整和控制的系统,以保障通信网络系统能够正常、高效运行,使通信网络系统中的资源得到更好的分配、利用,可以在通信网络管理平台的基础上实现各种通信业务管理功能的集合。网络管理系统与通信设备通信连接,与通信设备进行信令数据的交互。通信设备可以是通信中转设备,如宏基站、微基站、射频拉远设备、直放站等,还可以是通信终端,如手机、电脑等。In one embodiment, a method for controlling a chain communication business process is provided, which can be applied to a network management system. The network management system is a system used to adjust and control the network status by combining software and hardware to ensure communication. The network system can operate normally and efficiently, so that the resources in the communication network system can be better allocated and utilized, and a collection of various communication service management functions can be realized on the basis of the communication network management platform. The network management system is in communication connection with the communication equipment, and performs signaling data interaction with the communication equipment. The communication device can be a communication transfer device, such as a macro base station, a micro base station, a remote radio frequency device, a repeater, etc., or a communication terminal, such as a mobile phone, a computer, etc.
如图1所示,本实施例所提供的链式通信业务流程控制方法包括:As shown in Fig. 1, the chain communication service process control method provided by this embodiment includes:
S1.根据业务请求,确定业务请求对应的通信任务链,通信任务链包括实现 业务请求的多个通信任务和每个通信任务对应的任务逻辑;S1. According to the business request, determine the communication task chain corresponding to the business request. The communication task chain includes multiple communication tasks for realizing the business request and the task logic corresponding to each communication task;
S2.执行通信任务链,当通信任务链中的一个通信任务执行结束后,根据已执行结束的通信任务的执行结果,处理已执行结束的通信任务对应的任务逻辑,并根据任务逻辑的处理结果确定继续执行通信任务链中的其它通信任务或者中断执行通信任务链或者触发新的业务请求。S2. Execute the communication task chain. After the execution of a communication task in the communication task chain is completed, process the task logic corresponding to the completed communication task according to the execution result of the executed communication task, and according to the processing result of the task logic Determine to continue executing other communication tasks in the communication task chain or interrupt the execution of the communication task chain or trigger a new service request.
业务请求可以是由通信终端发出的操作请求,如对其它通信终端进行访问、对通信中转设备进行升级等操作,也可以是由网络管理系统自身发出的控制请求,如对通信设备进行参数调整、对通信设备进行网络接入切换等控制,也可以是由通信中转设备发出的事件请求,如通信中转设备需要向网络管理系统注册、接入等事件。The service request can be an operation request issued by the communication terminal, such as accessing other communication terminals, upgrading the communication transfer equipment, etc., or can be a control request issued by the network management system itself, such as adjusting the parameters of the communication device, The control of the communication device such as network access switching can also be an event request sent by the communication relay device, for example, the communication relay device needs to register and access events with the network management system.
针对不同种类的业务请求,预先根据通信协议,确定实现每种业务请求所需执行的通信任务,每种业务请求所需执行的通信任务可以包括一个或者多个,通常多个通信任务具有一定的执行顺序和执行逻辑,而且上一个通信任务的执行结果会直接或者间接影响到其他未执行的通信任务的执行顺序,和/或直接或者间接影响到整个业务请求的执行结果,因此每个通信任务均对应一个任务逻辑,用于指示其他通信任务是否执行,和/或指示整个业务请求是否继续执行,和/或指示是否添加新的业务请求以完成原来的所述业务请求等。基于此,在确定每种业务请求所需执行的通信任务后,还需确定实现每种业务请求所需执行的每个通信任务对应的任务逻辑,将所确定的通信任务和任务逻辑结合形成通信任务链。执行完一个通信任务链后即完成了对应的业务请求。For different types of business requests, according to the communication protocol, determine the communication tasks that need to be performed to realize each kind of business request. The communication tasks that need to be executed for each kind of business request can include one or more. Usually, multiple communication tasks have certain Execution sequence and execution logic, and the execution result of the previous communication task will directly or indirectly affect the execution sequence of other unexecuted communication tasks, and/or directly or indirectly affect the execution result of the entire business request, so each communication task Each corresponds to a task logic, which is used to indicate whether other communication tasks are performed, and/or whether to continue the execution of the entire service request, and/or whether to add a new service request to complete the original service request, etc. Based on this, after determining the communication tasks that need to be performed for each business request, it is also necessary to determine the task logic corresponding to each communication task that needs to be performed to achieve each business request, and combine the determined communication tasks and task logic to form a communication Task chain. After executing a communication task chain, the corresponding business request is completed.
网络管理系统根据业务请求,获取预先形成的该业务请求对应的通信任务链,执行所获取的通信任务链,即可完成业务请求。According to the service request, the network management system obtains the pre-formed communication task chain corresponding to the service request, and executes the obtained communication task chain to complete the service request.
在执行通信任务链的过程中,当通信任务链中的一个通信任务执行结束后,根据已执行结束的该个通信任务的执行结果,对该个通信任务对应的任务逻辑进行处理,可以对通信任务链中的通信任务进行灵活的流程控制。具体地,任务逻辑的处理过程可以是根据已执行结束的通信任务的执行结果确定通信任务链中下一个需要执行的通信任务,并继续执行所确定的下一个通信任务,也可以是在已执行结束的通信任务的执行结果异常时中断继续执行通信任务链,也可以是在已执行结束的通信任务的执行结果触发新的业务请求。In the process of executing the communication task chain, after the execution of a communication task in the communication task chain is finished, the task logic corresponding to the communication task can be processed according to the execution result of the communication task that has been executed. The communication tasks in the task chain carry out flexible process control. Specifically, the processing process of the task logic can be to determine the next communication task to be executed in the communication task chain according to the execution result of the communication task that has been executed, and continue to execute the determined next communication task, or it can be in the executed communication task. When the execution result of the finished communication task is abnormal, the execution of the communication task chain is interrupted, or a new service request is triggered by the execution result of the finished communication task.
根据不同的业务请求,采用获取预先形成的通信任务链并执行所获取的通 信任务链以完成业务请求的方式,可以将通信协议所规定的命令或操作方法进行有机的整合,有利于实现通信业务流程的控制,提高网络管理系统对业务请求的响应效率。而且因为本实施例所提供的链式通信业务流程控制方法并没有对通信协议进行篡改,仅依照通信协议对通信任务和任务逻辑进行了有机的整合,所以具备一定的兼容性,不同厂家的通信设备、不同通信协议、不同电信运营商的网络管理系统均适用。According to different business requests, the method of acquiring the pre-formed communication task chain and executing the acquired communication task chain to complete the business request can organically integrate the commands or operation methods specified by the communication protocol, which is beneficial to the realization of the communication business. Process control improves the response efficiency of the network management system to business requests. Moreover, because the chain communication business process control method provided by this embodiment does not tamper with the communication protocol, it only organically integrates the communication tasks and task logic in accordance with the communication protocol, so it has a certain degree of compatibility, and the communication of different manufacturers Equipment, different communication protocols, and network management systems of different telecom operators are all applicable.
如图2所示,在一个实施例中,所述链式通信业务流程控制方法还包括:As shown in FIG. 2, in one embodiment, the method for controlling the chain communication business process further includes:
S0.预设任务逻辑中的逻辑参数。S0. Preset logic parameters in the task logic.
步骤S2中,根据已执行结束的通信任务的执行结果,处理已执行结束的通信任务对应的任务逻辑,并根据任务逻辑的处理结果确定继续执行通信任务链中的其它通信任务或者中断执行通信任务链或者触发新的业务请求,包括:In step S2, according to the execution result of the communication task that has been executed, the task logic corresponding to the communication task that has been executed is processed, and according to the processing result of the task logic, it is determined to continue executing other communication tasks in the communication task chain or interrupt the execution of the communication task Chain or trigger new business requests, including:
根据已执行结束的通信任务的执行结果和所预设的任务逻辑中的逻辑参数,处理已执行结束的通信任务对应的任务逻辑,根据任务逻辑的处理结果确定继续执行通信任务链中的其它通信任务或者中断执行通信任务链或者触发新的业务请求。According to the execution result of the communication task that has been executed and the logic parameters in the preset task logic, process the task logic corresponding to the communication task that has been executed, and determine to continue to execute other communications in the communication task chain according to the processing result of the task logic The task either interrupts the execution of the communication task chain or triggers a new business request.
具体地,根据业务请求的实际需求,可以预设不同的逻辑参数。在通信任务链中,通信任务对应的任务逻辑会有不同通信任务执行结果和不同预设逻辑参数对应的分支逻辑。当通信任务链中的一个通信任务执行结束后,在处理任务逻辑时,可以根据已执行结束的通信任务的不同执行结果和不同的预设逻辑参数,选择对应的分支逻辑进行处理,就可以方便高效地实现适应不同通信任务执行结果和/或适应不同通信业务流程控制。Specifically, according to the actual needs of the business request, different logical parameters can be preset. In the communication task chain, the task logic corresponding to the communication task will have branch logic corresponding to different communication task execution results and different preset logic parameters. When the execution of a communication task in the communication task chain is completed, when processing the task logic, you can select the corresponding branch logic for processing according to the different execution results of the executed communication task and different preset logic parameters, which can be convenient Efficiently achieve adaptation to the execution results of different communication tasks and/or adaptation to different communication business process control.
例如,一个业务请求对应的通信任务链中有一个通信任务为查询当前信噪比,根据通信质量要求可以预设一个查询时间,对该通信任务对应的任务逻辑进行处理过程可以是:当查询当前信噪比这一通信任务的前一个通信任务的执行结果为执行成功时,判断是否预设了查询时间,若预设了查询时间,则选择预设了查询时间所对应的分支逻辑,并处理所选择的分支逻辑,在查询时间到时再执行查询当前信噪比的通信任务。For example, a communication task in the communication task chain corresponding to a business request is to query the current signal-to-noise ratio. A query time can be preset according to the communication quality requirements. The task logic corresponding to the communication task can be processed as follows: When the execution result of the previous communication task of the communication task of signal-to-noise ratio is successful, it is judged whether the query time is preset. If the query time is preset, the branch logic corresponding to the preset query time is selected and processed The selected branch logic will execute the communication task of querying the current signal-to-noise ratio when the query time is up.
又例如,一个业务请求对应的通信任务链中有一个通信任务为查询当前信噪比,该通信任务对应的任务逻辑进行处理过程可以是:若查询当前信噪比这一通信任务的前一个通信任务的执行结果为执行不成功时,则选择执行不成功 对应的分支逻辑,并处理所选择的分支逻辑,执行查询当前信噪比的通信任务;若查询当前信噪比这一通信任务的前一个通信任务的执行结果为执行成功时,则选择执行成功对应的分支逻辑,For another example, a communication task in the communication task chain corresponding to a business request is to query the current signal-to-noise ratio, and the task logic corresponding to the communication task can be processed as follows: If the current signal-to-noise ratio is queried, the previous communication of the communication task When the task execution result is unsuccessful, the branch logic corresponding to the unsuccessful execution is selected, and the selected branch logic is processed, and the communication task of querying the current signal-to-noise ratio is executed; if the current signal-to-noise ratio is queried before the communication task When the execution result of a communication task is successful, select the branch logic corresponding to the successful execution,
又例如,一个业务请求对应的通信任务链中有一个通信任务为查询当前信噪比,根据通信质量要求可以预设一个信噪比参数,对该通信任务对应的任务逻辑进行处理过程可以是:根据查询到的当前信噪比,与预设的信噪比参数进行比较,若当前信噪比超过预设的信噪比参数,则选择超过预设的信噪比参数所对应的分支逻辑,中断执行通信任务链;若当前信噪比不超过预设的信噪比参数,则选择不超过预设的信噪比参数所对应的分支逻辑,继续通信任务链中的下一个通信任务。For another example, a communication task in the communication task chain corresponding to a business request is to query the current signal-to-noise ratio. A signal-to-noise ratio parameter can be preset according to the communication quality requirements. The task logic corresponding to the communication task can be processed as follows: According to the queried current signal-to-noise ratio, compare it with the preset signal-to-noise ratio parameter. If the current signal-to-noise ratio exceeds the preset signal-to-noise ratio parameter, select the branch logic corresponding to the parameter that exceeds the preset signal-to-noise ratio. The communication task chain is interrupted; if the current signal-to-noise ratio does not exceed the preset signal-to-noise ratio parameter, the branch logic corresponding to the preset signal-to-noise ratio parameter is selected to continue the next communication task in the communication task chain.
如图3所示,在一个实施例中,所述链式通信业务流程控制方法还包括:As shown in FIG. 3, in one embodiment, the method for controlling the chain communication business process further includes:
S3.当确定触发新的业务请求时,根据所触发的新的业务请求,获取新业务请求对应的新的通信任务链,将所获取的新的通信任务链插入原通信任务链中或者添加在原通信任务链之后。S3. When it is determined to trigger a new service request, obtain the new communication task chain corresponding to the new service request according to the triggered new service request, and insert the obtained new communication task chain into the original communication task chain or add it to the original communication task chain. After the communication task chain.
当已执行结束的通信任务的执行结果触发了新的业务请求时,需要获取新的业务请求对应的新的通信任务链,可以根据该新的业务请求和原业务请求的关系,将新的通信任务链插入原正在执行的通信任务链中,或者将新的通信任务链添加在原正在执行的通信任务链之后,使得通信任务链之间也可以互相触发和融合,从而实现不同通信业务之间的相互调用。When the execution result of the completed communication task triggers a new service request, the new communication task chain corresponding to the new service request needs to be obtained. The new communication task chain can be changed according to the relationship between the new service request and the original service request. The task chain is inserted into the originally executing communication task chain, or a new communication task chain is added after the original communication task chain, so that the communication task chains can also trigger and merge with each other, thereby realizing the communication between different communication tasks. Call each other.
在一个实施例中,所述链式通信业务流程控制方法还包括:In an embodiment, the method for controlling the chain communication business process further includes:
S4.当确定中断执行通信任务链时,记录任务逻辑的处理结果和/或已执行结束的通信任务的执行结果和/或通信任务链中的通信任务的执行状态。S4. When it is determined to interrupt the execution of the communication task chain, record the processing result of the task logic and/or the execution result of the completed communication task and/or the execution status of the communication task in the communication task chain.
当已执行结束的通信任务的执行结果为异常或满足一定中断条件时,根据任务逻辑的处理结果确定需要中断执行通信任务链,此时记录任务逻辑的处理结果,和/或记录通信任务的执行结果,和/或记录通信任务的执行状态为已执行还是未执行还是执行出错,可以有利于网络运维人员根据所记录的判断结果获知通信任务的执行异常情况并查找出执行异常的通信任务。When the execution result of the completed communication task is abnormal or meets certain interruption conditions, it is determined according to the processing result of the task logic that it is necessary to interrupt the execution of the communication task chain. At this time, the processing result of the task logic is recorded, and/or the execution of the communication task is recorded As a result, and/or recording whether the execution status of the communication task is executed, unexecuted, or executed in error, can help network operation and maintenance personnel to learn about the abnormal execution of the communication task according to the recorded judgment result and find out the abnormally executed communication task.
当有多个业务请求时,网络管理系统会同时获取多个对应的通信任务链,在执行通信任务链的过程中,可以对各个通信任务链进行标识,网络管理系统根据标识可以对多个通信任务链进行并行执行。When there are multiple service requests, the network management system will obtain multiple corresponding communication task chains at the same time. During the execution of the communication task chain, each communication task chain can be identified. The network management system can identify multiple communication task chains according to the identification. The task chain is executed in parallel.
以基站注册上报这一业务请求为例,该业务请求的触发前提是控制终端或其它控制设备已经将基站的无线参数信息导入到网络管理系统中,无线参数信息可以包括基站PLMNID、CellId、频点、PCI、TAC、邻区列表等。预先根据基站注册上报这一业务请求确定该业务请求对应的通信任务,以及确定该业务请求的每个通信任务对应的任务逻辑,将所确定的通信任务和所确定的任务逻辑结合形成通信任务链。Take the service request of base station registration report as an example. The premise of the service request is that the control terminal or other control equipment has imported the wireless parameter information of the base station into the network management system. The wireless parameter information can include the base station PLMNID, CellId, and frequency. , PCI, TAC, neighbor list, etc. Determine the communication task corresponding to the service request according to the service request reported by the base station in advance, and determine the task logic corresponding to each communication task of the service request, and combine the determined communication task and the determined task logic to form a communication task chain .
根据基站注册上报这一业务请求所确定的通信任务具体包括:The communication tasks determined according to the service request of the base station registration report specifically include:
a.查询基站设备的参数列表;a. Query the parameter list of the base station equipment;
b.查询建立网元所必须的参数的值;b. Query the value of the parameters necessary to establish the network element;
c.设置PLMNID、CellID、频点、PCI、TAC等参数;c. Set PLMNID, CellID, frequency, PCI, TAC and other parameters;
d.查询邻区列表;d. Query the neighboring cell list;
e.查询PLMNID、CellID、频点、PCI、TAC、邻区信息等参数;e. Query PLMNID, CellID, frequency, PCI, TAC, neighboring cell information and other parameters;
f.开启业务。f. Start the business.
其中:among them:
任务a的执行结果包括:(1)获得基站设备的参数列表;(2)没有获得基站设备的参数列表不成功。The execution result of task a includes: (1) obtaining the parameter list of the base station equipment; (2) not obtaining the parameter list of the base station equipment unsuccessfully.
任务b的执行结果包括:(1)获得建立网元所必须的参数的值;(2)没有获得建立网元所必须的参数的值。The execution result of task b includes: (1) obtaining the value of the parameter necessary for establishing the network element; (2) not obtaining the value of the parameter necessary for establishing the network element.
任务c的执行结果包括:(1)设置参数成功;(2)设置参数不成功。The execution result of task c includes: (1) parameter setting is successful; (2) parameter setting is unsuccessful.
任务d的执行结果包括:(1)获得邻区列表;(2)没有获得邻区列表。The results of task d include: (1) Obtaining the neighboring cell list; (2) Not obtaining the neighboring cell list.
任务e的执行结果包括:(1)获得参数;(2)没有获得参数;The execution results of task e include: (1) parameters are obtained; (2) parameters are not obtained;
任务f的执行结果包括:(1)基站开启成功;(2)基站开启不成功。The execution results of task f include: (1) the base station is successfully turned on; (2) the base station is not successfully turned on.
根据基站注册上报这一业务请求所确定的各个通信任务对应的任务逻辑具体包括:The task logic corresponding to each communication task determined according to the service request of the base station registration report includes:
任务a对应的任务逻辑A:任务a执行结果(1)对应分支逻辑1,任务a的执行结果(2)对应分支逻辑2,分支逻辑1为继续执行任务b,分支逻辑2为中断执行通信任务链。Task logic A corresponding to task a: the execution result of task a (1) corresponds to branch logic 1, the execution result of task a (2) corresponds to branch logic 2, branch logic 1 is to continue executing task b, and branch logic 2 is to interrupt the execution of communication tasks chain.
任务b对应的任务逻辑B:任务b的执行结果(1)对应分支逻辑1,任务b的执行结果(2)对应分支逻辑2,分支逻辑1为继续执行任务c,分支逻辑2为中断执行通信任务链。Task logic B corresponding to task b: the execution result of task b (1) corresponds to branch logic 1, the execution result of task b (2) corresponds to branch logic 2, branch logic 1 is to continue executing task c, and branch logic 2 is to interrupt execution communication Task chain.
任务c对应的任务逻辑C:任务c的执行结果(1)对应分支逻辑1,任务c的执行结果(2)对应分支逻辑2,分支逻辑1为继续执行任务d,分支逻辑2为中断执行通信任务链。Task logic C corresponding to task c: the execution result of task c (1) corresponds to branch logic 1, the execution result of task c (2) corresponds to branch logic 2, branch logic 1 is to continue executing task d, and branch logic 2 is to interrupt execution communication Task chain.
任务d对应的任务逻辑D:任务d的执行结果(1)中获得的邻区列表与预设的邻区列表进行比较,比较结果为列表未更新则对应分支逻辑1,比较结果为列表有缺少则对应分支逻辑2,比较结果为列表有多余则对应分支逻辑3,比较结果为列表一致则对应分支逻辑4,任务d的执行结果(2)对应分支逻辑5,分支逻辑1为触发更新邻区信息的业务请求,分支逻辑2为触发新增邻区信息的业务请求,分支逻辑3为触发删除邻区信息的业务请求,分支逻辑4为继续执行任务e,分支逻辑5为中断执行通信任务链,当分支逻辑1和/或分支逻辑2和/或分支逻辑3所触发的新的业务请求完成后,继续执行任务e。Task logic D corresponding to task d: The neighbor list obtained in the execution result of task d (1) is compared with the preset neighbor list. If the comparison result is that the list is not updated, it corresponds to branch logic 1. The comparison result is that the list is missing Then it corresponds to branch logic 2, the comparison result is that the list is redundant, it corresponds to branch logic 3, the comparison result is that the list is consistent, it corresponds to branch logic 4, the execution result of task d (2) corresponds to branch logic 5, and branch logic 1 triggers the update of the neighbor Information business request, branch logic 2 is a business request that triggers the addition of neighboring cell information, branch logic 3 is a business request that triggers deletion of neighboring cell information, branch logic 4 is to continue to perform task e, and branch logic 5 is to interrupt the execution of the communication task chain , When the new business request triggered by branch logic 1 and/or branch logic 2 and/or branch logic 3 is completed, continue to perform task e.
任务e对应的任务逻辑E:任务e的执行结果(1)对应分支逻辑1,任务e的执行结果(2)对应分支逻辑2,分支逻辑1为继续执行任务f,分支逻辑2为中断执行通信任务链。Task logic E corresponding to task e: the execution result of task e (1) corresponds to branch logic 1, the execution result of task e (2) corresponds to branch logic 2, branch logic 1 is to continue executing task f, and branch logic 2 is to interrupt execution communication Task chain.
任务f对应的任务逻辑F:任务f的执行结果(1)对应分支逻辑1,任务f的执行结果(2)对应分支逻辑2,分支逻辑1为记录各个通信任务的执行结果,结束通信任务链的执行,分支逻辑2为中断执行通信任务链。Task logic F corresponding to task f: the execution result of task f (1) corresponds to branch logic 1, the execution result of task f (2) corresponds to branch logic 2, and branch logic 1 records the execution results of each communication task and ends the communication task chain The branch logic 2 interrupts the execution of the communication task chain.
如图4所示,采用上述实施例所述的链式通信业务流程控制方法实现上述基站注册上报这一业务请求的具体过程为:获取基站注册上报这一业务请求所对应的通信任务链,执行所获取的通信任务链,通信任务链的执行过程包括以下步骤:As shown in Fig. 4, the specific process of using the chain communication service process control method described in the above embodiment to implement the service request of base station registration and reporting is: obtaining the communication task chain corresponding to the service request of base station registration and reporting, and execute The acquired communication task chain, the execution process of the communication task chain includes the following steps:
T1.网络管理系统执行任务a,向基站设备下发查询参数列表命令;T1. The network management system performs task a, and issues a query parameter list command to the base station equipment;
T2.基站设备接收到查询参数列表命令后,回应查询参数列表命令,把基站设备参数列表成功返回给网络管理系统,也即对应任务a的执行结果(1),网络管理系统处理任务逻辑A中的分支逻辑1,继续执行任务b,向基站设备下发查询参数值命令,查询建立网元所必须的参数的值;如果基站设备参数列表没有成功返回给网络管理系统,也即对应任务a的执行结果(2),则网络管理系统处理任务逻辑A中的分支逻辑2,中断执行通信任务链;T2. After receiving the query parameter list command, the base station equipment responds to the query parameter list command, and successfully returns the base station equipment parameter list to the network management system, that is, corresponding to the execution result of task a (1), the network management system processes task logic A Branch logic 1, continue to perform task b, issue a query parameter value command to the base station equipment, query the value of the parameters necessary to establish the network element; if the base station equipment parameter list is not successfully returned to the network management system, that is, the corresponding task a Execution result (2), the network management system processes branch logic 2 in task logic A, and interrupts the execution of the communication task chain;
T3.基站设备接收到查询参数值命令后,回应查询参数值命令,将参数的值成功返回给网络管理系统,也即对应任务b的执行结果(1),网络管理系统处 理任务逻辑B中的分支逻辑1,继续执行任务c,向基站设备下发设置PLMNID、CellID、频点、PCI、TAC等参数的命令;如果参数的值没有成功返回给网络管理系统,也即对应任务b的执行结果(2),则网络管理系统处理任务逻辑B中的分支逻辑2,中断执行通信任务链;T3. After receiving the query parameter value command, the base station equipment responds to the query parameter value command, and successfully returns the parameter value to the network management system, that is, corresponding to the execution result of task b (1), the network management system processes the task in logic B Branch logic 1, continue to perform task c, and issue commands to set PLMNID, CellID, frequency, PCI, TAC and other parameters to the base station equipment; if the value of the parameter is not successfully returned to the network management system, that is, the execution result of task b (2), the network management system processes branch logic 2 in task logic B, and interrupts the execution of the communication task chain;
T4.基站设备接收到PLMNID、CellID、频点、PCI、TAC等参数后,保存参数,并返回设置参数成功的结果,也即对应任务c的执行结果(1),网络管理系统处理任务逻辑C中的分支逻辑1,继续执行任务d,向基站设备下发查询邻区列表命令;如果返回设置参数不成功的结果,也即对应任务c的执行结果(2),则网络管理系统处理任务逻辑C中的分支逻辑2;T4. After the base station device receives the PLMNID, CellID, frequency, PCI, TAC and other parameters, it saves the parameters and returns the result of setting the parameters successfully, that is, the execution result of the corresponding task c (1), the network management system processes task logic C Branch logic 1, continue to perform task d, and issue a neighbor list query command to the base station equipment; if the result of unsuccessful parameter setting is returned, that is, the execution result of task c (2), the network management system processes the task logic Branch logic 2 in C;
T5.基站设备接收到查询邻区列表命令后,回应查询邻区列表命令,将基站设备中保存的邻区列表信息返回给网络管理系统,也即对应任务d的执行结果(1),网络管理系统处理任务逻辑D,将基站设备返回的邻区列表信息与预设的邻区列表信息进行比较,比较结果为未更新和/或有缺少和/或有多余,则处理任务逻辑D中的分支逻辑1和/或分支逻辑2和/或分支逻辑3,触发更新邻区信息的业务请求和/或新增邻区信息的业务请求和/或删除邻区信息的业务请求;比较结果为完全一致,则网络管理系统处理任务逻辑D中的分支逻辑4,直接继续执行任务e;如果基站设备没有将其保存的邻区列表信息返回给网络管理系统,也即对应任务d的执行结果(2),则网络管理系统处理任务逻辑D中的分支逻辑5,中断执行通信任务链;T5. After the base station device receives the neighbor cell list query command, it responds to the neighbor cell list query command, and returns the neighbor cell list information stored in the base station device to the network management system, that is, corresponding to the execution result of task d (1), network management The system processes task logic D. It compares the neighbor cell list information returned by the base station equipment with the preset neighbor cell list information. If the comparison result is not updated and/or missing and/or redundant, then the branch in task logic D is processed Logic 1 and/or branch logic 2 and/or branch logic 3, triggering a business request for updating neighboring cell information and/or a business request for adding neighboring cell information and/or a business request for deleting neighboring cell information; the comparison results are completely consistent , The network management system processes branch logic 4 in task logic D, and directly continues to perform task e; if the base station device does not return its saved neighbor list information to the network management system, it corresponds to the execution result of task d (2) , The network management system processes branch logic 5 in task logic D, and interrupts the execution of the communication task chain;
T6.根据触发的更新邻区信息的业务请求和/或新增邻区信息的业务请求和/或删除邻区信息的业务请求,分别获取更新邻区信息的业务请求对应的通信任务链和/或新增邻区信息的业务请求对应的通信任务链和/或删除邻区信息的业务请求的通信任务链,将所获取的通信任务链插入原通信任务链中,并按照插入顺序执行所插入的通信任务链,执行完所插入的通信任务链后继续执行原通信任务链,继续执行任务e,向基站设备下发查询PLMNID、CellID、频点、PCI、TAC、邻区信息等参数的命令;T6. According to the triggered business request for updating neighboring cell information and/or the business request for adding neighboring cell information and/or the business request for deleting neighboring cell information, respectively obtain the communication task chain and/or corresponding to the business request for updating neighboring cell information. Or add the communication task chain corresponding to the business request of neighbouring cell information and/or delete the communication task chain of the business request of neighbouring cell information, insert the obtained communication task chain into the original communication task chain, and execute the inserted communication task chain in the order of insertion. After executing the inserted communication task chain, continue to execute the original communication task chain, continue to perform task e, and issue commands to query PLMNID, CellID, frequency, PCI, TAC, neighboring cell information and other parameters to the base station equipment ;
T7.基站设备接收到查询PLMNID、CellID、频点、PCI、TAC、邻区信息等参数的命令后,回应查询命令,并成功返回参数的值,也即对应任务e的执行结果(1),网络管理系统处理对应的任务逻辑E中的分支逻辑1,继续执行任务f,向基站设备下发开启业务命令;如果参数的值没有成功返回,也即对应任 务e的执行结果(2),则网络管理系统处理任务逻辑E中的分支逻辑2,中断执行通信任务链;T7. After the base station device receives the command to query PLMNID, CellID, frequency, PCI, TAC, neighbor cell information and other parameters, it responds to the query command and successfully returns the value of the parameter, which is the execution result of task e (1), The network management system processes the branch logic 1 in the corresponding task logic E, continues to execute task f, and issues a service start command to the base station equipment; if the value of the parameter does not return successfully, that is, the execution result of the corresponding task e (2), then The network management system processes branch logic 2 in task logic E and interrupts the execution of the communication task chain;
T8.基站设备接收到开启业务命令后,开启业务,建立小区、开启射频开关,并回应成功开启业务通知给网络管理系统,也即对应任务f的执行结果(1),网络管理系统处理任务逻辑F,记录各个通信任务执行结果,结束通信任务链的执行;如果基站设备没有回应成功开启业务命令给网络管理系统,也即对应任务f的执行结果(2),则网络管理系统处理任务逻辑F中的分支逻辑2,中断执行通信任务链;T8. After receiving the service start command, the base station equipment starts the service, establishes the cell, turns on the radio frequency switch, and responds to the successful start service notification to the network management system, that is, corresponding to the execution result of task f (1), the network management system processes the task logic F. Record the execution results of each communication task and end the execution of the communication task chain; if the base station equipment does not respond to the successful start of the service command to the network management system, that is, corresponding to the execution result of task f (2), the network management system processes task logic F Branch logic 2 in, interrupt the execution of the communication task chain;
T9.当结束或者中断通信任务链的执行后,记录通信任务链中的各个通信任务的执行结果和/或各个通信任务的执行状态和/或各个任务逻辑的处理结果。T9. When the execution of the communication task chain is terminated or interrupted, the execution result of each communication task in the communication task chain and/or the execution status of each communication task and/or the processing result of each task logic are recorded.
又以升级基站设备软件这一业务请求为例,该业务请求的触发前提是控制终端或其它控制设备已经上传基站设备的软件升级包到网络管理系统,并预先配置软件升级包适用的软件版本、是否立即激活新下载的软件、激活时间、软件升级包的软件版本号等逻辑参数。预先根据升级设备软件这一业务请求确定该业务请求对应的通信任务,以及确定该业务请求的每个通信任务对应的任务逻辑,将所确定的通信任务和所确定的任务逻辑结合形成通信任务链。Take the service request of upgrading the software of the base station equipment as an example. The triggering of the service request is that the control terminal or other control equipment has uploaded the software upgrade package of the base station equipment to the network management system, and pre-configured the software version and software version applicable to the software upgrade package. Whether to activate the newly downloaded software immediately, the activation time, the software version number of the software upgrade package and other logical parameters. According to the business request of upgrading the device software, the communication task corresponding to the business request is determined in advance, and the task logic corresponding to each communication task of the business request is determined, and the determined communication task and the determined task logic are combined to form a communication task chain .
根据升级设备软件这一业务请求所确定的通信任务具体包括:The communication tasks determined according to the business request of upgrading equipment software include:
a'.查询基站设备软件版本号;a'. Query the software version number of the base station equipment;
b'.下载升级软件;b'. Download the upgrade software;
c'.激活软件;c'. Activate the software;
d'.查询基站设备软件版本号。d'. Query the software version number of the base station equipment.
其中:among them:
任务a'的执行结果包括:(1)获得基站设备软件版本号;(2)没有获得基站设备软件版本号。The execution result of task a'includes: (1) Obtaining the software version number of the base station equipment; (2) Not obtaining the software version number of the base station equipment.
任务b'的执行结果包括:(1)下载升级软件成功;(2)下载升级软件不成功。The execution results of task b'include: (1) downloading and upgrading software is successful; (2) downloading and upgrading software is unsuccessful.
任务c'的执行结果包括:(1)激活成功;(2)激活不成功。The execution result of task c'includes: (1) activation is successful; (2) activation is unsuccessful.
任务d'的执行结果包括:(1)获得基站设备软件版本号;(2)没有获得基站设备软件版本号。The execution result of task d'includes: (1) Obtaining the software version number of the base station equipment; (2) Not obtaining the software version number of the base station equipment.
根据升级基站设备软件这一业务请求所确定的各个通信任务对应的任务逻辑具体包括:The task logic corresponding to each communication task determined according to the service request of upgrading the base station equipment software includes:
任务a'对应的任务逻辑A':任务a'执行结果(1)中获得的基站设备软件版本号与预设的升级包适用的软件版本号进行比较,比较结果一致则对应分支逻辑1,比较结果不一致则对应分支逻辑2,任务a'执行结果(2)也对应分支逻辑2,分支逻辑1为继续执行任务b',分支逻辑2为中断执行通信任务链。Task logic A'corresponding to task a': The software version number of the base station equipment obtained in the execution result of task a'(1) is compared with the software version number that is applicable to the preset upgrade package. If the comparison result is consistent, it corresponds to branch logic 1. Compare If the result is inconsistent, it corresponds to branch logic 2. The execution result of task a'(2) also corresponds to branch logic 2, branch logic 1 is to continue executing task b', and branch logic 2 is to interrupt the execution of the communication task chain.
任务b'对应的任务逻辑B':若为任务b'执行结果(1),则判断是否预设了“立即激活新下载的软件”的参数、是否预设了“激活时间”,如果预设了“立即激活新下载的软件”则对应分支逻辑1,如果预设了“激活时间”则对应分支逻辑2,如果既没有预设“立即激活新下载的软件”也没有预设“激活时间”则对应分支逻辑3,若为任务b'执行结果(2)则也对应分支逻辑3,分支逻辑1为立即继续执行任务c',分支逻辑2为根据激活时间定时执行任务c',分支逻辑3为中断执行通信任务链。Task logic B'corresponding to task b': If it is the execution result of task b'(1), judge whether the parameter of "activate the newly downloaded software immediately" is preset, whether the "activation time" is preset, and if it is preset If “activate the newly downloaded software immediately” corresponds to branch logic 1, if the preset “activation time” corresponds to branch logic 2, if there is neither preset “activate the newly downloaded software immediately” nor preset “activation time” It corresponds to branch logic 3, if it is the execution result of task b'(2), it also corresponds to branch logic 3. Branch logic 1 is to continue executing task c'immediately, branch logic 2 is to execute task c'regularly according to the activation time, and branch logic 3 Execute the communication task chain for interruption.
任务c'对应的任务逻辑C':任务c'执行结果(1)对应分支逻辑1,任务c'执行结果(2)对应分支逻辑2,分支逻辑1为继续执行任务d',分支逻辑2为中断执行通信任务链。Task logic C'corresponding to task c': task c'execution result (1) corresponds to branch logic 1, task c'execution result (2) corresponds to branch logic 2, branch logic 1 is to continue executing task d', and branch logic 2 is Interrupt the execution of the communication task chain.
任务d'对应的任务逻辑D':任务d'的执行结果(1)对应分支逻辑1,任务d'的执行结果(2)对应分支逻辑2,分支逻辑1为将基站设备返回的软件版本号与软件升级包的软件版本号进行对比,如果一致,则认为升级成功,结束通信任务链的执行流程,如果不一致,则认为升级失败,结束通信任务链的执行流程;分支逻辑2为中断执行通信任务链。Task logic D'corresponding to task d': the execution result of task d'(1) corresponds to branch logic 1, the execution result of task d'(2) corresponds to branch logic 2, and branch logic 1 is the software version number returned to the base station device Compare with the software version number of the software upgrade package, if they are consistent, the upgrade is considered successful and the execution process of the communication task chain is ended; if they are inconsistent, the upgrade is considered failed and the execution flow of the communication task chain is ended; branch logic 2 is to interrupt the execution of the communication Task chain.
如图5所示,采用上述实施例所述的链式通信业务流程控制方法实现上述升级基站设备软件这一业务请求的具体过程为:获取升级基站设备软件这一业务请求所对应的通信任务链,执行所获取的通信任务链,通信任务链的执行过程包括以下步骤:As shown in FIG. 5, the specific process of using the chain communication service process control method described in the above embodiment to implement the service request of upgrading the base station equipment software is: obtaining the communication task chain corresponding to the service request of upgrading the base station equipment software , Execute the acquired communication task chain, the execution process of the communication task chain includes the following steps:
R1.网络管理系统执行任务a',向基站设备下发查询基站设备软件版本号的命令;R1. The network management system executes task a'and issues a command to query the base station equipment software version number to the base station equipment;
R2.基站设备接收到查询基站设备软件版本号的命令后,回应查询软件版本号命令,把基站设备当前所使用的软件版本号成功返回给网络管理系统,也即对应任务a'的执行结果(1),网络管理系统处理任务逻辑A'中的分支逻辑1,继续执行任务b',向基站设备下发下载升级软件命令;如果基站设备当前所使用的软件版本号没有成功返回,也即对应任务a'的执行结果(2),网络管理系统处 理任务逻辑A'中的分支逻辑2,中断执行通信任务链。R2. After receiving the command for querying the software version number of the base station equipment, the base station equipment responds to the command for querying the software version number, and successfully returns the software version number currently used by the base station equipment to the network management system, that is, the execution result of the corresponding task a'( 1), the network management system processes branch logic 1 in task logic A', continues to execute task b', and sends a download and upgrade software command to the base station equipment; if the software version number currently used by the base station equipment does not return successfully, it corresponds to The execution result of task a'(2), the network management system processes branch logic 2 in task logic A', and interrupts the execution of the communication task chain.
R3.基站设备接收到下载升级软件命令后,回应升级软件命令,通过http\ftp方式从文件服务器下载软件升级包,基站设备下载完成后,将下载成功的结果向网络管理系统上报,也即对应任务b'的执行结果(1),网络管理系统处理任务逻辑B',判断是否预设了“立即激活新下载的软件”的参数、是否预设了“激活时间”,如果预设了“立即激活新下载的软件”则处理分支逻辑1,立即继续执行任务c',下发激活软件命令;如果预设了“激活时间”则处理分支逻辑2,根据激活时间定时执行任务c',根据激活时间定时下发激活软件命令;如果既没有预设“立即激活新下载的软件”也没有预设“激活时间”则处理分支逻辑3,结束通信任务链;如果下载成功的结果没有向网络管理系统上报,也即对应任务b'的执行结果(2),则网络管理系统处理任务逻辑B'的分支逻辑3,中断执行通信任务链;R3. After the base station device receives the download and upgrade software command, it responds to the upgrade software command and downloads the software upgrade package from the file server through http\ftp. After the base station device is downloaded, it reports the successful download result to the network management system, that is, the corresponding The execution result of task b'(1), the network management system processes task logic B', and judges whether the parameters of "activate the newly downloaded software immediately" are preset, whether the "activation time" is preset, and if the "immediate time" is preset “Activate the newly downloaded software” will process branch logic 1, continue to execute task c'immediately, and issue the activation software command; if the “activation time” is preset, then process branch logic 2, and execute task c'according to the activation time. Time to issue a software activation command at regular intervals; if there is neither preset "activate new software immediately" nor preset "activation time", branch logic 3 is processed and the communication task chain is terminated; if the download is successful, the result is not reported to the network management system Report, that is, corresponding to the execution result (2) of task b', the network management system processes branch logic 3 of task logic B', and interrupts the execution of the communication task chain;
R4.若基站设备接收到激活软件命令,激活新下载的软件,并回应激活软件命令,并上报软件成功激活通知给网络管理系统,也即对应任务c'的执行结果(1),网络管理系统处理任务逻辑C'中的分支逻辑1,继续执行任务d',下发查询基站设备软件版本号的命令;如果基站设备没有上报软件成功激活通知给网络管理系统,也即对应任务c'的执行结果(2),则网络管理系统处理任务逻辑C'中的分支逻辑2,中断执行通信任务链。R4. If the base station device receives the activation software command, activates the newly downloaded software, and responds to the activation software command, and reports the successful activation of the software to the network management system, that is, the execution result of the corresponding task c'(1), the network management system Process branch logic 1 in task logic C', continue to execute task d', and issue a command to query the software version number of the base station equipment; if the base station equipment does not report the successful activation of the software to the network management system, it corresponds to the execution of task c' As a result (2), the network management system processes branch logic 2 in task logic C'and interrupts the execution of the communication task chain.
R5.基站设备接收到查询设备软件版本号的命令后,回应查询软件版本号命令,把基站设备当前所使用的软件版本号返回给网络管理系统,也即对应任务d'的执行结果(1),网络管理系统处理任务逻辑D'的分支逻辑1,将基站设备返回的软件版本号与软件升级包的软件版本号进行对比,如果一致,则认为升级成功,结束通信任务链的执行;如果不一致,则认为升级失败,结束通信任务链的执行;如果基站设备没有回应把当前所使用的软件版本号返回给网络管理系统,也即对应任务d'的执行结果(2),网络管理系统处理任务逻辑D'的分支逻辑2,中断执行通信任务链;R5. After the base station device receives the command to query the software version number of the device, it responds to the command to query the software version number, and returns the software version number currently used by the base station device to the network management system, that is, the execution result of the corresponding task d'(1) , The branch logic 1 of the network management system processing task logic D', compares the software version number returned by the base station equipment with the software version number of the software upgrade package, if they are consistent, the upgrade is considered successful and the execution of the communication task chain ends; if it is inconsistent , It is considered that the upgrade has failed, and the execution of the communication task chain is ended; if the base station device does not respond and returns the currently used software version number to the network management system, that is, corresponding to the execution result of task d'(2), the network management system processes the task The branch logic 2 of logic D'interrupts the execution of the communication task chain;
R6.当网络管理系统任务升级失败时,记录通信任务链中的各个通信任务的执行结果和/或各个通信任务的执行状态和/或各个任务逻辑的处理结果。R6. When the task upgrade of the network management system fails, record the execution result of each communication task in the communication task chain and/or the execution status of each communication task and/or the processing result of each task logic.
如图6所示,在本实施例中,提供一种链式通信业务流程控制装置,应用于网络管理系统,包括:As shown in FIG. 6, in this embodiment, a chain communication service process control device is provided, which is applied to a network management system, and includes:
任务链获取模块10,配置为根据业务请求,获取业务请求对应的通信任务 链,通信任务链包括实现业务请求的多个通信任务和每个通信任务对应的任务逻辑;The task chain obtaining module 10 is configured to obtain the communication task chain corresponding to the service request according to the service request, and the communication task chain includes multiple communication tasks for realizing the service request and the task logic corresponding to each communication task;
任务链执行模块20,配置为执行通信任务链,当通信任务链中的一个通信任务执行结束后,根据已执行结束的通信任务的执行结果处理已执行技术的通信任务对应的任务逻辑,根据任务逻辑的处理结果确定继续执行通信任务链中的其它通信任务或者中断执行通信任务链或者触发新的业务请求。The task chain execution module 20 is configured to execute the communication task chain. After the execution of a communication task in the communication task chain is completed, the task logic corresponding to the communication task of the executed technology is processed according to the execution result of the communication task that has been executed. The processing result of the logic determines whether to continue executing other communication tasks in the communication task chain or interrupt the execution of the communication task chain or trigger a new service request.
业务请求可以是由通信终端发出的操作请求,如对其它通信终端进行访问、对通信中转设备进行升级等操作,也可以是由网络管理系统自身发出的控制请求,如对通信设备进行参数调整、对通信设备进行网络接入切换等控制,也可以是由通信中转设备发出的事件请求,如通信中转设备需要向网络管理系统注册、接入等事件。The service request can be an operation request issued by the communication terminal, such as accessing other communication terminals, upgrading the communication transfer equipment, etc., or can be a control request issued by the network management system itself, such as adjusting the parameters of the communication device, The control of the communication device such as network access switching can also be an event request sent by the communication relay device, for example, the communication relay device needs to register and access events with the network management system.
针对不同种类的业务请求,预先根据通信协议,确定实现每种业务请求所需执行的通信任务,每种业务请求所需执行的通信任务可以包括一个或者多个,通常多个通信任务具有一定的执行顺序和执行逻辑,而且上一个通信任务的执行结果会直接或者间接影响到其他未执行的通信任务的执行顺序,和/或直接或者间接影响到整个业务请求的执行结果,因此每个通信任务均对应一个任务逻辑,用于指示其他通信任务是否执行,和/或指示整个业务请求是否继续执行,和/或指示是否添加新的业务请求以完成原来的所述业务请求等。基于此,在确定每种业务请求所需执行的通信任务后,还需确定实现每种业务请求所需执行的每个通信任务对应的任务逻辑,将所确定的通信任务和任务逻辑结合形成通信任务链。执行完一个通信任务链后即完成了对应的业务请求。For different types of business requests, according to the communication protocol, determine the communication tasks that need to be performed to realize each kind of business request. The communication tasks that need to be executed for each kind of business request can include one or more. Usually, multiple communication tasks have certain Execution sequence and execution logic, and the execution result of the previous communication task will directly or indirectly affect the execution sequence of other unexecuted communication tasks, and/or directly or indirectly affect the execution result of the entire business request, so each communication task Each corresponds to a task logic, which is used to indicate whether other communication tasks are performed, and/or whether to continue the execution of the entire service request, and/or whether to add a new service request to complete the original service request, etc. Based on this, after determining the communication tasks that need to be performed for each business request, it is also necessary to determine the task logic corresponding to each communication task that needs to be executed for each business request, and combine the determined communication tasks and task logic to form a communication Task chain. After executing a communication task chain, the corresponding business request is completed.
任务链获取模块10根据业务请求,获取预先形成的该业务请求对应的通信任务链,执行所获取的通信任务链,任务链执行模块20执行所获取的通信任务链,即可完成业务请求。The task chain obtaining module 10 obtains the pre-formed communication task chain corresponding to the service request according to the service request, and executes the obtained communication task chain. The task chain execution module 20 executes the obtained communication task chain to complete the service request.
任务链执行模块20在执行通信任务链的过程中,当通信任务链中的一个通信任务执行结束后,根据已执行结束的该个通信任务的执行结果,对该个通信任务对应的任务逻辑进行处理,可以对通信任务链中的通信任务进行灵活的流程控制。具体地,任务链执行模块20处理任务逻辑的过程可以是根据已执行结束的通信任务的执行结果确定通信任务链中下一个需要执行的通信任务,并继续执行所确定的下一个通信任务;也可以是在已执行结束的通信任务的执行结 果异常时中断继续执行通信任务链,也可以是在已执行结束的通信任务的执行结果触发了新的业务请求。In the process of executing the communication task chain, the task chain execution module 20 executes the task logic corresponding to the communication task according to the execution result of the communication task after the execution of a communication task in the communication task chain is completed. Processing, flexible process control of communication tasks in the communication task chain can be carried out. Specifically, the process of processing task logic by the task chain execution module 20 may be to determine the next communication task to be executed in the communication task chain according to the execution result of the completed communication task, and continue to execute the determined next communication task; also It may be that the execution of the communication task chain is interrupted when the execution result of the finished communication task is abnormal, or it may be that the execution result of the finished communication task triggers a new service request.
根据不同的业务请求,通过任务链获取模块10获取预先形成的通信任务链并通过任务链执行模块20执行所获取的通信任务链以完成业务请求的方式,可以将通信协议所规定的命令或操作方法进行有机的整合,有利于实现通信任务流程的控制,提高网络管理系统对操作请求或事件请求的响应效率。而且因为本实施例所提供的链式通信业务流程控制装置并没有对通信协议进行篡改,仅依照通信协议对通信任务和任务逻辑进行了有机的整合,所以具备一定的兼容性,不同厂家的通信设备、不同通信协议、不同电信运营商的网络管理系统均适用。According to different business requests, the pre-formed communication task chain is obtained through the task chain obtaining module 10 and the obtained communication task chain is executed by the task chain execution module 20 to complete the service request. The command or operation specified by the communication protocol can be The organic integration of the method is conducive to the control of the communication task flow, and the response efficiency of the network management system to operation requests or event requests is improved. Moreover, because the chain communication business process control device provided by this embodiment does not tamper with the communication protocol, it only organically integrates the communication task and task logic in accordance with the communication protocol, so it has a certain degree of compatibility, and the communication between different manufacturers Equipment, different communication protocols, and network management systems of different telecom operators are all applicable.
如图7所示,在一个实施例中,所述链式通信业务流程控制装置还包括逻辑参数预设模块30;As shown in FIG. 7, in one embodiment, the chain communication service process control device further includes a logic parameter preset module 30;
所述逻辑参数预设模块30,配置为预设任务逻辑中的逻辑参数;The logic parameter preset module 30 is configured to preset logic parameters in the task logic;
任务链执行模块20配置为根据已执行结束的通信任务的执行结果处理已执行结束的通信任务对应的任务逻辑,并根据任务逻辑的处理结果确定继续执行通信任务链中的其它通信任务或者中断执行通信任务链或者触发新的业务请求的步骤,包括:The task chain execution module 20 is configured to process the task logic corresponding to the completed communication task according to the execution result of the completed communication task, and determine to continue executing other communication tasks in the communication task chain or interrupt the execution according to the processing result of the task logic The steps of the communication task chain or triggering a new business request include:
根据已执行结束的通信任务的执行结果和所预设的任务逻辑中的逻辑参数,处理已执行结束的通信任务对应的任务逻辑,根据任务逻辑的处理结果确定继续执行通信任务链中的其它通信任务或者中断执行通信任务链或者触发新的业务请求。According to the execution result of the communication task that has been executed and the logic parameters in the preset task logic, process the task logic corresponding to the communication task that has been executed, and determine to continue to execute other communications in the communication task chain according to the processing result of the task logic The task either interrupts the execution of the communication task chain or triggers a new business request.
具体地,根据不同业务请求的实际需求,可以通过逻辑参数预设模块30预设不同的逻辑参数。在任务链获取模块10所获取的通信任务链中,通信任务对应的任务逻辑会有不同通信任务执行结果和不同用户预设逻辑参数对应的分支逻辑。任务链执行模块20在处理任务逻辑时,可以根据已执行结束的通信任务的不同执行结果和不同的预设逻辑参数,选择对应的分支逻辑进行处理,就可以方便高效地实现适应不同通信任务执行结果和/或适应不同通信业务流程控制。Specifically, according to actual requirements of different service requests, different logical parameters can be preset through the logical parameter preset module 30. In the communication task chain acquired by the task chain acquisition module 10, the task logic corresponding to the communication task will have branch logic corresponding to different communication task execution results and different user preset logic parameters. When the task chain execution module 20 processes task logic, it can select the corresponding branch logic for processing according to the different execution results of the communication tasks that have been executed and different preset logic parameters, so that it can easily and efficiently adapt to the execution of different communication tasks. Results and/or adapt to different communication business process control.
在一个实施例中,所述链式通信业务流程控制装置还包括新任务链处理模块40:任务链获取模块10,还配置为当确定触发新的业务请求时,获取新的业务请求对应的新的通信任务链;新任务链处理模块40,配置为将所获取的新的 通信任务链插入原通信任务链中或者添加在原通信任务链之后。In one embodiment, the chain communication service process control device further includes a new task chain processing module 40: a task chain obtaining module 10, which is further configured to obtain a new service request corresponding to the new service request when it is determined to trigger a new service request. The new task chain processing module 40 is configured to insert the acquired new communication task chain into the original communication task chain or add it after the original communication task chain.
当已执行结束的通信任务的执行结果触发了新的业务请求时,需要获取新的业务请求对应的新的通信任务链,任务链获取模块10可以根据该新的业务请求,获取新的通信任务链,新任务链处理模块40根据该新的业务请求和原业务请求的关系,将新的通信任务链插入原正在执行的通信任务链中,或者将新的通信任务链添加在原正在执行的通信任务链之后,使得通信任务链之间也可以互相触发和融合,从而实现不同通信业务之间的相互调用。When the execution result of the completed communication task triggers a new service request, it is necessary to obtain the new communication task chain corresponding to the new service request, and the task chain obtaining module 10 can obtain the new communication task according to the new service request. According to the relationship between the new service request and the original service request, the new task chain processing module 40 inserts the new communication task chain into the originally executing communication task chain, or adds the new communication task chain to the original communication task chain. After the task chain, the communication task chain can also be triggered and merged with each other, so as to realize the mutual call between different communication services.
在一个实施例中,所述链式通信业务流程控制装置还包括记录模块50;In an embodiment, the chain communication service process control device further includes a recording module 50;
记录模块50,配置为确定中断执行通信任务链时,记录任务逻辑的处理结果和/或已执行结束的通信任务的执行结果和/或通信任务链中的通信任务的执行状态。The recording module 50 is configured to record the processing result of the task logic and/or the execution result of the completed communication task and/or the execution status of the communication task in the communication task chain when the execution of the communication task chain is determined to be interrupted.
当已执行结束的通信任务的执行结果为异常或满足一定中断条件时,根据任务逻辑的处理结果确定需要中断执行通信任务链,此时记录模块50记录任务逻辑的处理结果,和/或记录通信任务的执行结果,和/或记录通信任务的执行状态为已执行还是未执行还是执行出错,可以有利于网络运维人员根据所记录的判断结果获知通信任务的执行异常情况并查找出执行异常的通信任务。When the execution result of the completed communication task is abnormal or meets certain interruption conditions, it is determined according to the processing result of the task logic that it is necessary to interrupt the execution of the communication task chain. At this time, the recording module 50 records the processing result of the task logic and/or records the communication The execution result of the task, and/or recording the execution status of the communication task as executed, unexecuted, or execution error, can help the network operation and maintenance personnel to know the execution abnormality of the communication task according to the recorded judgment result and find out the abnormal execution Communication task.
在一个实施例中,提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现如上链式通信业务流程控制方法的步骤。In one embodiment, a computer-readable storage medium is provided, and a computer program is stored thereon, and when the computer program is executed by a processor, the steps of the method for controlling the flow of an up-chain communication service are realized.
在一个实施例中,提供一种计算机设备,包括存储器和处理器,存储器存储有计算机程序,处理器执行计算机程序时实现如上链式通信业务流程控制方法的步骤。In one embodiment, a computer device is provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method for controlling the flow of an up-chain communication service when the computer program is executed.
工业实用性Industrial applicability
本公开实施例提供的通信业务流程控制技术本身并没有对通信协议的篡改,而是对通信协议所规定的命令、RPC方法的有机整合,将实现一个业务请求的通信任务和每个通信任务对应的任务逻辑集合形成通信任务链,可以根据实际的通信业务需要实现任何的通信流程控制,其扩展性强;且,该通信业务流程控制技术适用于所有设备和厂家,适用于所有通信协议,其兼容性强;可以实现通信任业务的有效完整控制,使得整个通信业务流程控制过程逻辑清晰简单,具有很强的工业实用性。The communication service process control technology provided by the embodiments of the present disclosure does not tamper with the communication protocol itself, but organically integrates the commands and RPC methods specified by the communication protocol, and realizes the correspondence between the communication task of a service request and each communication task. The task logic set of the ”forms a communication task chain, which can realize any communication process control according to the actual communication business needs, and its scalability is strong; and, the communication business process control technology is suitable for all equipment and manufacturers, and is suitable for all communication protocols. Strong compatibility; it can achieve effective and complete control of communication services, making the logic of the entire communication business process control clear and simple, and has strong industrial applicability.

Claims (10)

  1. 一种链式通信业务流程控制方法,应用于网络管理系统,所述链式通信业务流程控制方法包括:A chain-type communication service process control method is applied to a network management system, and the chain-type communication service process control method includes:
    根据业务请求,获取所述业务请求对应的通信任务链,所述通信任务链包括实现所述业务请求的多个通信任务和每个所述通信任务对应的任务逻辑;Acquiring, according to the business request, a communication task chain corresponding to the business request, where the communication task chain includes multiple communication tasks for realizing the business request and task logic corresponding to each of the communication tasks;
    执行所述通信任务链,当所述通信任务链中的一个所述通信任务执行结束后,根据已执行结束的所述通信任务的执行结果,处理已执行结束的所述通信任务对应的所述任务逻辑,并根据所述任务逻辑的处理结果确定继续执行所述通信任务链中的其它所述通信任务或者中断执行所述通信任务链或者触发新的业务请求。Execute the communication task chain, and when the execution of one of the communication tasks in the communication task chain ends, process the communication task corresponding to the completed communication task according to the execution result of the completed communication task Task logic, and according to the processing result of the task logic, it is determined to continue executing other communication tasks in the communication task chain or interrupt the execution of the communication task chain or trigger a new service request.
  2. 根据权利要求1所述的链式通信业务流程控制方法,还包括:The method for controlling a chain communication business process according to claim 1, further comprising:
    预设所述任务逻辑中的逻辑参数;Preset logic parameters in the task logic;
    根据已执行结束的所述通信任务的执行结果,处理已执行结束的所述通信任务对应的所述任务逻辑,并根据所述任务逻辑的处理结果确定继续执行所述通信任务链中的其它所述通信任务或者中断执行所述通信任务链或者触发新的业务请求,包括:According to the execution result of the communication task that has been executed, the task logic corresponding to the communication task that has been executed is processed, and according to the processing result of the task logic, it is determined to continue to execute the other all in the communication task chain. The communication task or interrupting the execution of the communication task chain or triggering a new service request includes:
    根据已执行结束的所述通信任务的执行结果和所预设的任务逻辑中的所述逻辑参数,处理已执行结束的所述通信任务对应的所述任务逻辑,根据所述任务逻辑的处理结果确定继续执行所述通信任务链中的其它所述通信任务或者中断执行所述通信任务链或者触发新的业务请求。According to the execution result of the communication task that has been executed and the logic parameter in the preset task logic, the task logic corresponding to the communication task that has been executed is processed, and according to the processing result of the task logic It is determined to continue execution of other communication tasks in the communication task chain or interrupt execution of the communication task chain or trigger a new service request.
  3. 根据权利要求1所述的链式通信任务流程控制方法,还包括:The method for controlling the flow of chain communication tasks according to claim 1, further comprising:
    当确定触发新的业务请求时,根据所触发的新的业务请求,获取所述新的业务请求对应的新的通信任务链,将所获取的新的所述通信任务链插入原所述通信任务链中或者添加在原所述通信任务链之后。When it is determined to trigger a new service request, according to the triggered new service request, obtain the new communication task chain corresponding to the new service request, and insert the obtained new communication task chain into the original communication task In the chain or added after the original communication task chain.
  4. 根据权利要求1所述的链式通信业务流程控制方法,还包括:The method for controlling a chain communication business process according to claim 1, further comprising:
    当确定中断执行所述通信任务链时,记录如下至少之一:When it is determined to interrupt the execution of the communication task chain, record at least one of the following:
    所述任务逻辑的处理结果、已执行结束的所述通信任务的执行结 果以及所述通信任务链中的所述通信任务的执行状态。The processing result of the task logic, the execution result of the communication task that has been executed, and the execution status of the communication task in the communication task chain.
  5. 一种链式通信业务流程控制装置,应用于网络管理系统,所述链式通信业务流程控制装置包括任务链获取模块和任务链执行模块;A chain-type communication business process control device, applied to a network management system, the chain-type communication business process control device including a task chain acquisition module and a task chain execution module;
    所述任务链获取模块,配置为根据业务请求,获取所述业务请求对应的通信任务链,所述通信任务链包括实现所述业务请求的多个通信任务和每个所述通信任务对应的任务逻辑;The task chain obtaining module is configured to obtain a communication task chain corresponding to the service request according to the service request, the communication task chain including a plurality of communication tasks for realizing the service request and a task corresponding to each communication task logic;
    所述任务链执行模块,配置为执行所述通信任务链,当所述通信任务链中的一个所述通信任务执行结束后,根据已执行结束的所述通信任务的执行结果,处理已执行结束的所述通信任务对应的所述任务逻辑,并根据所述任务逻辑的处理结果确定继续执行所述通信任务链中的其它所述通信任务或者中断执行所述通信任务链或者触发新的业务请求。The task chain execution module is configured to execute the communication task chain, and when the execution of one of the communication tasks in the communication task chain is completed, the processing is completed according to the execution result of the communication task that has been executed. The task logic corresponding to the communication task, and according to the processing result of the task logic, it is determined to continue executing other communication tasks in the communication task chain or interrupt the execution of the communication task chain or trigger a new service request .
  6. 根据权利要求5所述的链式通信业务流程控制装置,还包括逻辑参数预设模块;The chain communication service process control device according to claim 5, further comprising a logic parameter preset module;
    所述逻辑参数预设模块,配置为预设所述任务逻辑中的逻辑参数;The logic parameter preset module is configured to preset logic parameters in the task logic;
    所述任务链执行模块是配置为根据已执行结束的所述通信任务的执行结果,处理已执行结束的所述通信任务对应的所述任务逻辑,并根据所述任务逻辑的处理结果确定继续执行所述通信任务链中的其它所述通信任务或者中断执行所述通信任务链或者触发新的业务请求的步骤,包括:The task chain execution module is configured to process the task logic corresponding to the communication task that has been completed according to the execution result of the communication task that has been executed, and determine to continue execution according to the processing result of the task logic The steps of interrupting the execution of the communication task chain or triggering a new service request for other communication tasks in the communication task chain include:
    根据已执行结束的所述通信任务的执行结果和所预设的任务逻辑中的所述逻辑参数,处理已执行结束的所述通信任务对应的所述任务逻辑,根据所述任务逻辑的处理结果确定继续执行所述通信任务链中的其它所述通信任务或者中断执行所述通信任务链或者触发新的业务请求。According to the execution result of the communication task that has been executed and the logic parameter in the preset task logic, the task logic corresponding to the communication task that has been executed is processed, and according to the processing result of the task logic It is determined to continue execution of other communication tasks in the communication task chain or interrupt execution of the communication task chain or trigger a new service request.
  7. 根据权利要求5所述的链式通信业务流程控制装置,还包括新任务链处理模块;The chain communication service process control device according to claim 5, further comprising a new task chain processing module;
    所述任务链获取模块,还配置为当确定触发新的业务请求时,获取所述新的业务请求对应的新的通信任务链;The task chain obtaining module is further configured to obtain a new communication task chain corresponding to the new service request when it is determined to trigger a new service request;
    所述新任务链处理模块,配置为将所获取的新的所述通信任务链 插入原所述通信任务链中或者添加在原所述通信任务链之后。The new task chain processing module is configured to insert the acquired new communication task chain into the original communication task chain or add it after the original communication task chain.
  8. 根据权利要求5所述的链式通信业务流程控制装置,还包括记录模块;The chain communication service process control device according to claim 5, further comprising a recording module;
    所述记录模块,配置为当确定中断执行所述通信任务链时,记录如下至少之一:The recording module is configured to record at least one of the following when it is determined to interrupt the execution of the communication task chain:
    所述任务逻辑的处理结果、执行结束的所述通信任务的执行结果以及所述通信任务链中的各个所述通信任务的执行状态。The processing result of the task logic, the execution result of the communication task after the execution, and the execution status of each communication task in the communication task chain.
  9. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1至4任一项所述链式通信业务流程控制方法的步骤。A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the chain communication service process control method described in any one of claims 1 to 4 are realized.
  10. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其中,所述处理器执行所述计算机程序时实现权利要求1至4任一项所述链式通信业务流程控制方法的步骤。A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the method for controlling the chain communication business process of any one of claims 1 to 4 when the computer program is executed step.
PCT/CN2020/139536 2019-12-31 2020-12-25 Chain communication service process control method and apparatus, and device and storage medium WO2021136102A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911421512.4 2019-12-31
CN201911421512.4A CN111181793B (en) 2019-12-31 2019-12-31 Method, device, equipment and storage medium for controlling chain communication business process

Publications (1)

Publication Number Publication Date
WO2021136102A1 true WO2021136102A1 (en) 2021-07-08

Family

ID=70650709

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/139536 WO2021136102A1 (en) 2019-12-31 2020-12-25 Chain communication service process control method and apparatus, and device and storage medium

Country Status (2)

Country Link
CN (1) CN111181793B (en)
WO (1) WO2021136102A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111181793B (en) * 2019-12-31 2021-12-21 京信网络系统股份有限公司 Method, device, equipment and storage medium for controlling chain communication business process

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080120620A1 (en) * 2006-09-27 2008-05-22 Richard Lett Systems and methods for scheduling, processing, and monitoring tasks
CN102572896A (en) * 2012-02-23 2012-07-11 中兴通讯股份有限公司 Upgrading method and upgrading device for wireless communication system
CN102929709A (en) * 2011-08-08 2013-02-13 阿里巴巴集团控股有限公司 Method and device for treating abnormality of task flows
CN107016479A (en) * 2016-01-28 2017-08-04 五八同城信息技术有限公司 Task scheduling and managing method, apparatus and system
CN110147273A (en) * 2019-05-17 2019-08-20 深圳前海微众银行股份有限公司 A kind of task executing method and device
CN111181793A (en) * 2019-12-31 2020-05-19 京信通信系统(中国)有限公司 Method, device, equipment and storage medium for controlling chain communication business process

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6487644B1 (en) * 1996-11-22 2002-11-26 Veritas Operating Corporation System and method for multiplexed data back-up to a storage tape and restore operations using client identification tags
CN103955381B (en) * 2014-04-04 2017-07-07 京信通信系统(中国)有限公司 Management server carries out volume software upgrade method and system to terminal device
CN107483261A (en) * 2017-08-28 2017-12-15 京信通信系统(中国)有限公司 A kind of upgrade method and gateway device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080120620A1 (en) * 2006-09-27 2008-05-22 Richard Lett Systems and methods for scheduling, processing, and monitoring tasks
CN102929709A (en) * 2011-08-08 2013-02-13 阿里巴巴集团控股有限公司 Method and device for treating abnormality of task flows
CN102572896A (en) * 2012-02-23 2012-07-11 中兴通讯股份有限公司 Upgrading method and upgrading device for wireless communication system
CN107016479A (en) * 2016-01-28 2017-08-04 五八同城信息技术有限公司 Task scheduling and managing method, apparatus and system
CN110147273A (en) * 2019-05-17 2019-08-20 深圳前海微众银行股份有限公司 A kind of task executing method and device
CN111181793A (en) * 2019-12-31 2020-05-19 京信通信系统(中国)有限公司 Method, device, equipment and storage medium for controlling chain communication business process

Also Published As

Publication number Publication date
CN111181793B (en) 2021-12-21
CN111181793A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
KR100620054B1 (en) System and method of managing device for device managing technology
CN109151805B (en) eSIM card configuration method and system based on Internet of things
US7604162B2 (en) Method and system for management of terminal devices
WO2016090846A1 (en) Network version upgrade method and apparatus
US10496397B2 (en) System and method for providing automatic firmware update management
AU2010244906B2 (en) Method and System for Provisioning Terminal Parameters and Terminal Management Apparatus
WO2011006328A1 (en) System and method for updating device firmware, device management server and mobile terminal
WO2007048340A1 (en) Method and device for obtaining software usage frequency and upgrading software in device management
WO2007085157A1 (en) Method for performing predetermined task, method for performing management task, and terminal equipment
WO2011079615A1 (en) Method for network element version management and network system thereof
US20030217133A1 (en) Operatior-defined consistency checking in a network management system
WO2006060952A1 (en) A method for transferring the network management configuration information between the element management systems
CN111526546B (en) Cell switching method and device, and user processing method and device
CN112423322B (en) Model information sending method, device, storage medium and electronic device
CN111142905A (en) OTA (over-the-air) upgrading method, OTA server and OTA upgrading system
WO2021136102A1 (en) Chain communication service process control method and apparatus, and device and storage medium
WO2011076058A1 (en) Distributed databases upgrade method, upgrade processing device and upgrade controlling device
CN112566104B (en) Roaming coordination method based on Mesh network, wireless access point and storage medium
WO2010124571A1 (en) Node information acquirement method, client, and server
WO2010094198A1 (en) Apparatus and method for controlling amount of concurrent calls
CN115004650A (en) Node configuration method, device, distributed system and computer readable medium
CN110532012B (en) Distributed system software upgrading method and device
US20120005315A1 (en) Method and server for transmitting large object
CN109548020B (en) Compensation method and device after authentication failure, server and storage medium
US8160052B2 (en) Method, system and apparatus for synchronizing stream between bearer control layer and bearer layer devices

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20909292

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20909292

Country of ref document: EP

Kind code of ref document: A1