CN103607303B - Signaling flow analysis system and signaling flow analysis method - Google Patents
Signaling flow analysis system and signaling flow analysis method Download PDFInfo
- Publication number
- CN103607303B CN103607303B CN201310585403.2A CN201310585403A CN103607303B CN 103607303 B CN103607303 B CN 103607303B CN 201310585403 A CN201310585403 A CN 201310585403A CN 103607303 B CN103607303 B CN 103607303B
- Authority
- CN
- China
- Prior art keywords
- state machine
- signaling
- script
- state
- lua
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000011664 signaling Effects 0.000 title claims abstract description 181
- 238000005206 flow analysis Methods 0.000 title claims abstract description 53
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000013515 script Methods 0.000 claims abstract description 171
- 238000004458 analytical method Methods 0.000 claims abstract description 26
- 238000007781 pre-processing Methods 0.000 claims abstract description 12
- 230000008569 process Effects 0.000 claims description 26
- 230000000007 visual effect Effects 0.000 claims description 13
- 238000012545 processing Methods 0.000 claims description 11
- 230000001960 triggered effect Effects 0.000 claims description 7
- 238000004364 calculation method Methods 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 9
- 230000009471 action Effects 0.000 description 8
- 230000007547 defect Effects 0.000 description 6
- 230000007704 transition Effects 0.000 description 6
- 238000012544 monitoring process Methods 0.000 description 5
- 238000007726 management method Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000005065 mining Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- CSRZQMIRAZTJOY-UHFFFAOYSA-N trimethylsilyl iodide Substances C[Si](C)(C)I CSRZQMIRAZTJOY-UHFFFAOYSA-N 0.000 description 1
- 238000013024 troubleshooting Methods 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a signaling flow analysis method. The method comprises steps that: a signaling acquisition step, a signaling pre-processing step, a signaling flow analysis step, a state machine editing step, a script editing step and a script interpreting step; a signaling flow analysis system is further disclosed, the signaling flow analysis system comprises a signaling acquisition module, a signaling pre-processing module, a signaling flow analysis module, a state machine editing module, a script editing module and a script interpreting module. The signaling flow analysis steps or modules are in combination with a customized state machine of an lua script to realize signaling reception, signaling analysis and signaling calculation, and a final state of the customized state machine is taken as an analysis result which is outputted to one application for use.
Description
Technical Field
The invention relates to a signaling flow analysis system combining a lua script and a user-defined state machine, which is applied to a signaling monitoring instrument, a signaling mining and analysis system and a telecommunication operation support system in a mobile communication network, and particularly belongs to the field of signaling flow analysis.
Background
And signaling flow analysis, including real-time and non-real-time signaling flow analysis between interfaces in the communication network, CDR (Call detail Record) synthesis processing, signaling monitoring and playback, and the like. The existing various application systems based on signaling analysis can collect, synthesize, process and analyze the signaling between interfaces in the communication network, and realize the functions of complaint processing and troubleshooting, network and service quality analysis, network quality monitoring and the like.
The judgment of the signaling flow is a very important link in a signaling analysis system, and any KPI (Key Performance Indicator) Indicator is mapped into one or several special signaling processes finally.
In the technical scheme of the existing signaling analysis system, the decision rule of each signaling process is fixed, but the abnormal signaling process is changeable. The system can carry out classification statistics and KPI index calculation on the defined and processed signaling process, provides functions of CDR record query, index statistical analysis and the like for users, and also can provide functions of whole network real-time monitoring, VIP user real-time tracking and the like.
In a communication network, various signaling flow judgment implementation modes exist, and due to the fact that abnormal signaling flows are numerous, in a signaling analysis system with a state machine judgment mechanism introduced, the judgment logic of the signaling flows is defined in a group of state machines, the signaling is input into a signaling judgment module one by one, the state machines are driven to make corresponding state changes according to the judgment logic, and specific execution results are matched according to the state changes for analysis.
The state machine can be generalized into 4 elements, namely, a present state, a condition, an action, and a next state. This generalization is primarily due to the consideration of intrinsic causality of the state machine. The "present" and "Condition" are the reasons, and the "action" and "substate" are the effects. The details are as follows:
1, current state: refers to the current state.
2, conditions: also known as an "event," when a condition is satisfied, an action is triggered or a state transition is performed.
3, action: and executing the action after the condition is met. After the action is executed, the mobile terminal can be transferred to a new state or still keep the original state. The action is not necessary, and when the condition is satisfied, the state can be directly migrated to a new state without executing any action.
4, state: and migrating to a new state after the condition is met. The "off state" is relative to the "off state" and, once activated, the "off state" transitions to a new "off state".
The signaling analysis method of the custom state machine generally includes the following contents: a configuration interface is used for defining a state machine, a signaling name or ID needing matching is added, and a state machine template is constructed. The signaling is pushed to the state machine executor one by one through IMSI/TMSI grouping, the executor judges whether the current signaling is matched with the signaling name defined in the state machine, and the conversion between the states is carried out according to the signaling name, the final finished state is recorded as a service operation result to be used by other application systems, and the self-defining capability of a certain degree in the signaling flow analysis process is realized by the technology.
The existing signaling flow analysis mode based on the state machine has the following defects:
1. the state determination mode has a defect: the signaling name is mainly relied on for matching, and complex logic judgment can not be carried out. In practical applications, the determination of a certain operation state often needs to be comprehensively determined by combining a certain parameter decoded in detail by the current signaling after a certain (group) signaling is matched, or even needs to be comprehensively determined by tracing the previous signaling. The prior art can not meet the requirement and does not have the self-defining capability of complex logic.
2. The state combination and state definition mode have defects: the prior art adopts a signaling to represent a state, and the state judgment only depends on the signaling name, direction, time, reason value and the like. Only one state is defined within a state machine and multi-states are not supported.
3. The state transition form has defects: in the prior art, the state switching is single, the final state is output after one condition is met, and in practical application, each state should provide the capability of external output so as to facilitate counting and statistics of intermediate states, and the process analysis of intermediate state output is lacked, so that the method cannot be qualified in analysis scenes such as real-time signaling monitoring and the like.
4. The state self-defining form has defects: and an intuitive state diagram editing interface which is easy to understand and explain is not provided, and the man-machine interaction is poor.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a signaling flow analysis system and a method combining a lua script and a user-defined state machine, wherein the lua script is used for defining the judgment rule of the signaling flow so as to solve the problem of complex logic judgment; implementing an intuitive graphical interface to create an editing state machine; a state switching mechanism is realized to ensure that an intermediate result is output when any state is switched, and a highly-customized, highly-extended and easily-maintained signaling flow analysis system is realized on the basis.
In order to achieve the purpose, the invention adopts the following technical scheme:
according to one aspect, the present invention provides a signaling flow analysis method, including the following steps:
acquiring signaling, wherein the signaling of each interface is acquired and stored in a predefined cache pool;
a signaling preprocessing step of receiving the signaling pushed in batch by the signaling collection step and performing grouping and association processing on the signaling;
a signaling flow analysis step of receiving, analyzing and calculating processed signaling pushed piece by piece or group by a signaling preprocessing step through a custom state machine combined with the lua script, and outputting the final state of the custom state machine as an analysis result to an application for use;
preferably, the method further comprises the steps of:
editing a state machine, wherein the user-defined state machine is edited by a state machine editor, and one or more groups of lua scripts which are used for analyzing and calculating the signaling and define the signaling flow judgment logic are contained in the user-defined state machine;
editing a script, wherein the lua script is edited and input through a script editor, the lua script is triggered by a user-defined state machine, and the lua script is used for realizing the judgment logic of the state switching of the user-defined state machine;
script interpretation, which interprets and executes the lua script through a script interpreter.
Preferably, the state machine editor comprises a visual state machine editor for creating and describing switching relations of each intermediate analysis state, the visual state machine editor comprises a graphical operation interface, the interface is provided with at least one operable, visual and editable state machine unit, a user finishes editing the custom state machine through the graphical operation state machine unit, and/or enters the script editor through graphically operating any one state machine unit, wherein the graphical operation comprises mouse dragging, mouse clicking and mouse double clicking.
Preferably, the step of signaling flow analysis comprises:
initializing a user-defined state machine to be in an idle state, and setting the user-defined state machine to be allowed to receive and process a signaling;
when the signaling is pushed into the custom state machine, the script interpreter interprets and executes the lua script stored in the custom state machine;
and automatically switching the self-defined state machine to different states according to the execution return value of the lua script, and reporting the intermediate processing state for the signaling flow analysis step to generate a judgment result of the signaling flow analysis.
Preferably, the step of script interpretation further comprises creating and maintaining a stack of an execution portal process of the lua script and a set of functions of a method of saving the lua via a script interpreter, the script interpreter being created with the application, the script interpreter loading a function library and environment configuration information required by the lua script;
wherein the step of executing the lua script comprises:
when the self-defined state machine enters an initial state or enters another state from one state, calling a script interpreter to press the lua script stored in the current state into the stack;
automatically calling an entry process to execute the lua script at the stack top by the script interpreter;
after the lua script on the stack top is executed, popping the lua script out of the stack, and pushing the script execution result into the stack;
returning the execution result to the current custom state machine, and determining whether to switch the state and which state the custom state machine is switched to according to the returned result;
and reporting the current intermediate state and/or the necessary intermediate value for the signaling flow analysis step in real time by the user-defined state machine in the switching process.
According to another aspect, the present invention provides a signaling flow analysis system, including:
the signaling acquisition module is used for acquiring the signaling of each interface and storing the signaling to a predefined cache pool;
the signaling preprocessing module is used for receiving the signaling pushed in batch by the signaling acquisition module and grouping and correlating the signaling;
the signaling flow analysis module receives, analyzes and calculates processed signaling pushed by the signaling preprocessing module one by one or in groups through a custom state machine combined with the lua script, and outputs the final state of the custom state machine as an analysis result to an application for use;
preferably, the system further comprises:
the state machine editing module comprises a state machine editor, the state machine editor is used for editing the user-defined state machine, and one or more groups of lua scripts which are used for analyzing and calculating the signaling and define the signaling flow judgment logic are contained in the user-defined state machine;
the script editing module comprises a script editor, the script editor is used for editing and inputting the lua script, the lua script is triggered by a user-defined state machine, and the lua script is used for realizing the judgment logic of the state switching of the user-defined state machine;
a script interpreter module comprising a script interpreter for interpreting and executing the lua script.
Preferably, the state machine editor of the state machine editing module comprises a visual state machine editor used for creating and describing the switching relationship of each intermediate analysis state, the visual state machine editor comprises a graphical operation interface, the graphical operation interface is provided with at least one operable, visual and editable state machine unit, a user finishes the editing of a custom state machine through the graphical operation state machine unit and/or enters the script editor through the graphical operation of any one state machine unit, wherein the graphical operation comprises mouse dragging, mouse clicking and mouse double clicking.
Preferably, the signaling flow analysis module is configured to initialize the self-defined state machine to an idle state, and allow the self-defined state machine to receive and process the signaling; when the signaling is pushed into the custom state machine, the script interpreter interprets and executes the lua script stored in the custom state machine; and automatically switching the user-defined state machine to different states according to the execution return value of the lua script, and reporting the intermediate processing state to the signaling flow analysis module to generate a judgment result of the signaling flow analysis.
Preferably, the script interpreter of the script interpreter module comprises an execution entry process of the lua script and a stack for storing the lua method function set, the script interpreter is created together with the application program, and the script interpreter is loaded with the function library and the environment configuration information required by the lua script;
wherein, the script interpreter is set to press the lua script stored in the current state into the stack when the self-defined state machine enters the initial state or enters another state from one state; then, automatically calling an entrance process inside the script interpreter and executing the lua script positioned at the top of the stack; after the lua script on the stack top is executed, the script interpreter pops the lua script out of the stack and puts the script execution result into the stack; the script interpreter returns the execution result to the current custom state machine, and the custom state machine determines whether to switch the state and what state to switch to according to the returned result;
and the user-defined state machine reports the current intermediate state and/or the necessary intermediate value to the signaling flow analysis module in real time in the switching process.
Compared with the prior art, the invention has the following remarkable advantages and beneficial effects:
the invention provides a decision rule for defining a signaling flow through a lua script, which can solve the problem of any complicated logic decision;
an intuitive graphical operation interface is realized to create an editing state machine, a real state diagram is provided to facilitate a user to understand state conversion and define the state machine, and the response capability of coping with complex changes such as abnormal signaling analysis and the like is improved;
a state switching mechanism is realized to ensure that an intermediate result is output when any state is switched, and the application value of the signaling flow analysis result is greatly improved.
Compared with the prior art, the method has the advantages that the signaling analysis obtains sufficient flexibility, and the carved hard coding logic is converted into a flexible script configuration mode, so that the signaling analysis is deeper.
Drawings
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a partial flowchart of the determination of the GSM air interface side calling signaling flow;
FIG. 2 is a flow chart of the operation of the system according to the present invention;
FIG. 3 is a state transition diagram of a WCDMA call signaling flow according to an embodiment of the present invention;
FIG. 4 is a call flow diagram of a lua script according to an embodiment of the invention;
FIG. 5 is a flow diagram of a lua script execution process in accordance with an embodiment of the present invention.
Detailed Description
The present invention uses lua as a script development language. Can be easily embedded into an application program, has extremely high flexibility, and can be expanded by various languages. The following is an illustrative example of scripting code used in the present invention in determining the status of a service request.
local msgType = Script.MessageType()
if (msgType == 327716 --[[ "MM CM Service Request" --]]
and Decoder.CMServiceType() == "Mobile originating callestablishment")
then
Script.RaiseEvent(Event.CallInitiation)
return true
end
And the script executes default return false, if the judgment condition is met, true is returned, and the system is switched to a response state according to the return result.
As shown in fig. 1, in an exemplary decision process, there are various intermediate states of channel request, service setup, ringing, connection, answer, etc., and the final service result may be call completion, call drop, etc. The intermediate states are defined by a state machine mode, and each stage of the whole signaling flow can be described intuitively. And the judgment realization of the signaling flow is completed by executing the predefined state switching judgment script.
Referring to fig. 2, it shows a working flow diagram of a signaling flow analysis system combining a lua script and a custom state machine according to the present invention, which is composed of a signaling collection module 1, a signaling preprocessing module 2, a signaling flow analysis module 3, a state machine editing module 4, a script editing module 5, a script interpretation module 6, and other key modules.
The signaling collection module 1 is responsible for collecting and storing each interface signaling into a cache pool predefined by the system, the signaling preprocessing module 2 carries out signaling grouping and association processing, and the processed signaling is pushed to the signaling flow analysis module 3 one by one (group) for analysis and calculation.
The state machine editing module 4 comprises a state machine editor for editing the custom state machine, which contains one or more sets of lua scripts defining the signaling flow decision logic for analyzing the computational signaling.
The script editing module 5 comprises a script editor, the script editor is used for editing and inputting the lua script, the lua script is triggered by a user-defined state machine, and the lua script is used for realizing the decision logic of the state switching of the user-defined state machine;
the script interpretation module 6 comprises a script interpreter for interpreting and executing the lua script.
According to a preferred embodiment of the invention, the state machine editing module 4 comprises a separate visualized state machine editor for creating and describing the switching relations of the respective intermediate analysis states. The user can finish the editing of the state machine by simple mouse dragging; double-clicking any state machine in the state machine editor can enter the script editor, and a user can edit an input signaling judgment logic script according to the standard lua grammar.
According to a preferred embodiment of the present invention, a visual state machine editor is provided, and a user can enter the script editor by double-clicking any one state machine in an editor interface. Fig. 3 shows an exemplary WCDMA call signaling flow state transition diagram operable in a state machine editor, the signaling flow state transition shown in the figure comprising:
from the idle state to the call initialization state 11, where the connection management Service Request (MM CMService Request) of the Mobile management layer generally includes Call Control (CC), Short Message (SMS), supplementary Service (SSS), signaling = = Service Request for connection management (MM CM Service Request) of the Mobile management layer, and Service type (ServiceType) = = Mobile originating call setup (Mobile originating call setup);
from a call initialization state to an idle state 12, in which a call release log is detected by a User Equipment (UE);
from the call initialization state to the call attempt state 13, where signaling = = call control setting (CC Setup) and Information Transfer Capability = = voice (Speech);
from the call attempt state to the idle state 14, wherein a call release log is detected by the user equipment;
from the call attempt state to the call setup state 15, where signaling = = ringing for call control (CCAlerting); wherein,
from the call setup state to the in-call state 16, signaling = = connection for call control;
from the call setup state to the in-call state 17, where signaling = = call controlled connection (CC Connect);
from the voice call state back to the idle state 18, wherein signaling = = call controlled disconnect (CCDisconnect), or signaling = = radio resource Channel Release (RR Channel Release), or signaling = = radio resource controlled Connection Release (RRC Connection Release), or a call Release log is detected by the user equipment;
from the call setup state back to the idle state 19, wherein signaling = = disconnection of call control, or
Signaling = = channel Release of radio resources, or signaling = = Release of call control, or signaling = = completion of Connection Release of radio resource control (RRC Connection Release Complete), or reception of WCDMA idle signaling.
In the present invention, the driving of the states needs to rely on the input of signaling, and the switching between the states is completely determined by executing the customized lua script.
According to a preferred embodiment of the present invention, in a normal signaling flow analysis process, the signaling flow analysis module 3 first initializes the state machine to an idle (idle) state, and sets the state machine to allow receiving and processing signaling. When the signaling is pushed into the state machine, the lua scripts stored in the state machine are executed, the script interpreter is responsible for interpreting and executing the scripts, the whole state switching judgment logic is realized by the lua scripts, and the scripts can be written by the service field experts. Finally, according to the execution return value of the lua, the state machine is automatically switched to different states, and simultaneously reports the intermediate processing state to the system so as to generate a judgment conclusion of the signaling flow.
The core of the invention is a self-defined state machine combined with the lua script, namely, one or more groups of lua scripts for describing the signaling flow judgment logic are contained in the state machine, the scripts are triggered by the state machine, and the script interpreter is responsible for interpreting and executing. According to another preferred embodiment of the present invention, the specific implementation is as follows:
as shown in the call flow diagram of the lua script in FIG. 4, the script interpreter is responsible for creating and maintaining an execution entry function of the lua script and a stack that holds a collection of lua method functions. The script interpreter is created with the application program, loading the function libraries and environment configuration information needed by the lua. As shown in the example of the lua script execution process in fig. 5, when the state machine enters an initial state or enters another state from one state, the calling script interpreter pushes the lua script stored in the current state into the lua stack, the entry function is automatically called inside the script interpreter to execute the lua script on the top of the stack, and after the execution is finished, the lua script is popped out of the stack, and the script execution result is pushed into the stack. Finally, the execution result is returned to the current state machine, and the state machine decides whether to switch the state and what state to switch to according to the returned result (generally true or false).
According to a preferred embodiment of the present invention, during the switching process of the state machine, the current intermediate state, the intermediate value or the necessary intermediate value is reported to the signaling flow analysis module 3 in real time.
The process ensures the flexibility in the signaling analysis process, converts the hard coding logic of the engraving plate into a flexible script setting mode, and greatly improves the application value of the signaling flow analysis result.
The above description is only a preferred embodiment of the present invention, and the present invention is not limited to the above embodiment, and the present invention shall fall within the protection scope of the present invention as long as the technical effects of the present invention are achieved by the same means. The invention is capable of other modifications and variations in its technical solution and/or its implementation, within the scope of protection of the invention. For example, two or more functions may be performed by a single entity, unit or processor. Even if individual features are cited in different claims, the invention may also comprise embodiments sharing these features.
The present invention is described herein with reference to schematic diagrams illustrating functional blocks and/or steps of an apparatus and/or method according to the present invention. It is to be understood that one or more of these functional blocks and/or steps may be implemented in hardware, where the function and/or step of such functional block is performed by individual hardware components, but it is also possible that one or more of these functional blocks and/or steps are implemented in software, so that the functional block and/or step is performed by one or more program lines of a computer program or a programmable device such as a microprocessor, microcontroller, digital signal processor, etc.
Claims (6)
1. A method for signaling flow analysis, the method comprising the steps of:
acquiring signaling, wherein the signaling of each interface is acquired and stored in a predefined cache pool;
a signaling preprocessing step of receiving the signaling pushed in batch by the signaling collection step and performing grouping and association processing on the signaling;
a signaling flow analysis step of receiving, analyzing and calculating processed signaling pushed piece by piece or group by a signaling preprocessing step through a custom state machine combined with the lua script, and outputting the final state of the custom state machine as an analysis result to an application for use;
editing a state machine, wherein the user-defined state machine is edited by a state machine editor, and one or more groups of lua scripts which are used for analyzing and calculating the signaling and define the signaling flow judgment logic are contained in the user-defined state machine;
editing a script, wherein the lua script is edited and input through a script editor, the lua script is triggered by a user-defined state machine, and the lua script is used for realizing the judgment logic of the state switching of the user-defined state machine;
a script interpreter that interprets and executes the lua script through a script interpreter;
wherein the signaling flow analysis comprises the sub-steps of:
initializing a user-defined state machine to be in an idle state, and setting the user-defined state machine to be allowed to receive and process a signaling;
when the signaling is pushed into the custom state machine, the script interpreter interprets and executes the lua script stored in the custom state machine;
and automatically switching the self-defined state machine to different states according to the execution return value of the lua script, and reporting the intermediate processing state for the signaling flow analysis step to generate a judgment result of the signaling flow analysis.
2. The signaling flow analysis method of claim 1, wherein the state machine editor comprises a visual state machine editor for creating and describing switching relationships of the respective intermediate analysis states, the visual state machine editor comprises a graphical operation interface, the interface is provided with at least one operable, visual and editable state machine unit, and a user performs custom state machine editing by graphically operating the state machine unit and/or enters the script editor by graphically operating any one of the state machine units, wherein the graphical operation includes mouse dragging, mouse clicking and mouse double clicking.
3. The signaling flow analysis method of claim 1, wherein the step of script interpretation further comprises creating and maintaining a stack of lua script execution entry processes and a lua method function set via a script interpreter, the script interpreter being created with the application, the script interpreter loading the lua script required function libraries and environment configuration information;
wherein the step of executing the lua script comprises:
when the self-defined state machine enters an initial state or enters another state from one state, calling a script interpreter to press the lua script stored in the current state into the stack;
automatically calling an entry process to execute the lua script at the stack top by the script interpreter;
after the lua script on the stack top is executed, popping the lua script out of the stack, and pushing the script execution result into the stack;
returning the execution result to the current custom state machine, and determining whether to switch the state and which state the custom state machine is switched to according to the returned result;
and reporting the current intermediate state and/or the necessary intermediate value for the signaling flow analysis step in real time by the user-defined state machine in the switching process.
4. A signaling flow analysis system, comprising:
the signaling acquisition module is used for acquiring the signaling of each interface and storing the signaling to a predefined cache pool;
the signaling preprocessing module is used for receiving the signaling pushed in batch by the signaling acquisition module and grouping and correlating the signaling;
the signaling flow analysis module receives, analyzes and calculates processed signaling pushed by the signaling preprocessing module one by one or in groups through a custom state machine combined with the lua script, and outputs the final state of the custom state machine as an analysis result to an application for use;
the state machine editing module comprises a state machine editor, the state machine editor is used for editing the user-defined state machine, and one or more groups of lua scripts which are used for analyzing and calculating the signaling and define the signaling flow judgment logic are contained in the user-defined state machine;
the script editing module comprises a script editor, the script editor is used for editing and inputting the lua script, the lua script is triggered by a user-defined state machine, and the lua script is used for realizing the judgment logic of the state switching of the user-defined state machine;
a script interpreter module including a script interpreter for interpreting and executing the lua script;
the signaling flow analysis module is set to initialize the self-defined state machine to be an idle state and allow the self-defined state machine to receive and process the signaling; when the signaling is pushed into the custom state machine, the script interpreter interprets and executes the lua script stored in the custom state machine; and automatically switching the user-defined state machine to different states according to the execution return value of the lua script, and reporting the intermediate processing state to the signaling flow analysis module to generate a judgment result of the signaling flow analysis.
5. The signaling flow analysis system of claim 4, wherein the state machine editor of the state machine editing module comprises a visual state machine editor for creating and describing a switching relationship of each intermediate analysis state, the visual state machine editor comprises a graphical operation interface, the graphical operation interface is provided with at least one operable, visual and editable state machine unit, a user can complete custom state machine editing through the graphical operation state machine unit and/or enter the script editor through the graphical operation of any one state machine unit, and the graphical operation comprises mouse dragging, mouse clicking and mouse double clicking.
6. The signaling flow analysis system of claim 4, wherein the script interpreter of the script interpreter module includes an execution entry process of the lua script and a stack for storing the lua method function set, the script interpreter is created with the application program, and the script interpreter is loaded with the function library and the environment configuration information required by the lua script;
wherein, the script interpreter is set to press the lua script stored in the current state into the stack when the self-defined state machine enters the initial state or enters another state from one state; then, automatically calling an entrance process inside the script interpreter and executing the lua script positioned at the top of the stack; after the lua script on the stack top is executed, the script interpreter pops the lua script out of the stack and puts the script execution result into the stack; the script interpreter returns the execution result to the current custom state machine, and the custom state machine determines whether to switch the state and what state to switch to according to the returned result;
and the user-defined state machine reports the current intermediate state and/or the necessary intermediate value to the signaling flow analysis module in real time in the switching process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310585403.2A CN103607303B (en) | 2013-11-21 | 2013-11-21 | Signaling flow analysis system and signaling flow analysis method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310585403.2A CN103607303B (en) | 2013-11-21 | 2013-11-21 | Signaling flow analysis system and signaling flow analysis method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103607303A CN103607303A (en) | 2014-02-26 |
CN103607303B true CN103607303B (en) | 2017-02-08 |
Family
ID=50125504
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310585403.2A Active CN103607303B (en) | 2013-11-21 | 2013-11-21 | Signaling flow analysis system and signaling flow analysis method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103607303B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106354499B (en) * | 2016-08-26 | 2019-09-10 | 中国电子科技集团公司第四十一研究所 | A kind of multiple domain signal view measurement expansion of content method |
CN108632102B (en) * | 2017-03-16 | 2020-11-06 | 大唐移动通信设备有限公司 | Signaling processing method and device |
CN106850318B (en) * | 2017-03-27 | 2019-11-12 | 国网山东省电力公司信息通信公司 | The visualization of IMS signaling process shows system, method and server |
CN110721474B (en) * | 2019-10-22 | 2023-04-18 | 网易(杭州)网络有限公司 | Method and device for editing game skills |
CN111124642A (en) * | 2019-12-16 | 2020-05-08 | 中国电子科技网络信息安全有限公司 | Automatic flow method and system allowing cloud management platform to be customized |
CN112363869B (en) * | 2020-11-19 | 2022-03-01 | 中国核动力研究设计院 | Nuclear DCS (distributed control System) backtracking method and system based on three-state variable finite state machine |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102630088A (en) * | 2012-03-12 | 2012-08-08 | 北京中创信测科技股份有限公司 | Method for carrying out signaling analysis through customizing state machine |
-
2013
- 2013-11-21 CN CN201310585403.2A patent/CN103607303B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102630088A (en) * | 2012-03-12 | 2012-08-08 | 北京中创信测科技股份有限公司 | Method for carrying out signaling analysis through customizing state machine |
Non-Patent Citations (2)
Title |
---|
状态机技术在以太网管系统中的应用;肖正兴 刘小华 钟剑龙;《微计算机信息》;20100725;第26卷(第21期);全文 * |
简化MGCP协议在VoIP中的应用;王智霞 王广生;《计算机工程与设计》;20060328;第27卷(第6期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN103607303A (en) | 2014-02-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103607303B (en) | Signaling flow analysis system and signaling flow analysis method | |
CN113422794B (en) | Flow recording and playback processing method and device and electronic equipment | |
CN107294808A (en) | The methods, devices and systems of interface testing | |
CN104754536A (en) | Method and system for realizing communication between different languages | |
CN104468277A (en) | Consistency testing method and device for transformer substation network and communication protocol | |
US9632684B2 (en) | Method, device and terminal for generating logic service for embedded terminal | |
CN103561158B (en) | Prevent method and the mobile terminal thereof of misoperation in communication process | |
CN108513313A (en) | One germplasm difference cell determining method and equipment | |
CN113612654A (en) | Vehicle-mounted gateway function testing method based on database | |
CN114979058B (en) | CAN multi-mailbox multiplexing processing method and system | |
CN102056210B (en) | Network quality monitoring method and device | |
CN112241362A (en) | Test method, test device, server and storage medium | |
CN111435227A (en) | Smart home equipment testing method, device, equipment and medium | |
CN105025254A (en) | Multi-platform monitoring terminal system development method | |
CN101510923B (en) | Method and system for implementing interactive voice response business | |
CN107846520A (en) | single-pass detection method and device | |
JP2022091933A (en) | Voice response speed determination method, device, computer-readable storage medium, and computer program | |
CN103646644A (en) | Method and apparatus for obtaining voice recognition service information recognition | |
CN110166637A (en) | A kind of spacing recognition methods and device | |
CN100442719C (en) | Network maintenance method and apparatus | |
CN114330363A (en) | Industrial control protocol vulnerability mining method based on vulnerability semantic intelligent analysis | |
CN113691813B (en) | Transcoding card using method, system, storage medium and device | |
CN108235213B (en) | Terminal MIC test method and device | |
CN111401020A (en) | Interface loading method and system and computing equipment | |
CN108540564A (en) | A kind of audio-frequency processing method in Digital Clustering scheduling system and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 519085, No. five, No. 8, Harbour Road, Zhuhai, Guangdong Applicant after: DINGLI CORP., LTD. Address before: 519085, No. five, No. 8, Harbour Road, Zhuhai, Guangdong Applicant before: Dingli Communications Corp., Ltd. |
|
COR | Change of bibliographic data | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |