CN113890868A - Signaling interaction simulation method and device and computer storage medium - Google Patents

Signaling interaction simulation method and device and computer storage medium Download PDF

Info

Publication number
CN113890868A
CN113890868A CN202111117650.0A CN202111117650A CN113890868A CN 113890868 A CN113890868 A CN 113890868A CN 202111117650 A CN202111117650 A CN 202111117650A CN 113890868 A CN113890868 A CN 113890868A
Authority
CN
China
Prior art keywords
communication module
signaling
simulation
preset
superior
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111117650.0A
Other languages
Chinese (zh)
Inventor
傅韵
李岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hengrui Chongqing Artificial Intelligence Technology Research Institute Co ltd
Original Assignee
Hengrui Chongqing Artificial Intelligence Technology Research Institute Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hengrui Chongqing Artificial Intelligence Technology Research Institute Co ltd filed Critical Hengrui Chongqing Artificial Intelligence Technology Research Institute Co ltd
Priority to CN202111117650.0A priority Critical patent/CN113890868A/en
Publication of CN113890868A publication Critical patent/CN113890868A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a signaling interaction simulation method, a device and a computer storage medium, which mainly comprise: initializing an upper communication module and a lower communication module according to preset configuration parameters; acquiring a simulation signaling flow meeting preset simulation parameters according to the preset simulation parameters; and according to the simulation signaling flow, calling the superior communication module and the subordinate communication module to execute signaling interactive simulation. Therefore, the method and the device can simulate the interactive process of the national standard signaling flow under the condition that no national standard platform resource or equipment resource exists, improve the simulation test efficiency and save the simulation test cost.

Description

Signaling interaction simulation method and device and computer storage medium
Technical Field
The embodiment of the application relates to the technical field of computer testing, in particular to a signaling interaction simulation method, signaling interaction simulation equipment and a computer storage medium.
Background
In the process of national standard cascade, the problem that the upper and lower platforms of the national standard are not successfully docked or the data is mistaken frequently occurs, the national standard signaling of both sides is usually captured by a packet capturing tool, and then the actually captured national standard signaling stream is compared with the national standard signaling to position the problem of the national standard signaling stream. However, because the transmitted national standard signaling is not standard, the smooth cascade of the national standard platform is difficult, and therefore, a national standard cascade monitoring system is developed to solve the problem of positioning whether the national standard signaling meets the standard or not.
However, if the national standard cascade monitoring system is to be verified to be effective, various standard and non-standard national standard signaling flows need to be simulated and tested, so as to verify whether the standard national standard signaling can be recognized as the standard and cannot be misjudged, whether the non-standard national standard signaling can be recognized, cannot be missed and misjudged, whether the non-standard type can be judged accurately, and the like.
However, in practical applications, it is difficult to generate various standard and non-standard national standard signaling flows. From the cost perspective, the cost for acquiring and constructing various real national standard platforms is high. From a technical point of view, existing national platforms cannot generate all types of non-standard signaling.
In view of the above, a signaling interaction scheme capable of simulating various usage scenarios is needed to overcome the problems in the prior art.
Disclosure of Invention
In view of the foregoing problems, the present application provides a signaling interaction simulation method, device and computer storage medium, which can simulate an interaction process of a national standard signaling stream without national standard platform resources or device resources, so as to save software and hardware testing costs.
A first aspect of the present application provides a signaling interaction simulation method, which includes: initializing an upper communication module and a lower communication module according to preset configuration parameters; acquiring a simulation signaling flow meeting preset simulation parameters according to the preset simulation parameters; and calling the superior communication module and the subordinate communication module to execute signaling interaction simulation according to the simulation signaling flow.
A second aspect of the present application provides a computer storage medium having stored thereon computer instructions, which, when executed by a processor, cause the processor to perform the method of the first aspect.
A third aspect of the present application provides a signaling interaction simulation apparatus, which includes: the initialization module is used for initializing the upper communication module and the lower communication module according to preset configuration parameters; and the simulation execution module acquires a simulation signaling flow meeting the preset simulation parameters according to the preset simulation parameters and calls the superior communication module and the subordinate communication module to execute signaling interactive simulation.
To sum up, the signaling interaction simulation method, the signaling interaction simulation device, and the computer storage medium provided in the embodiments of the present application can execute the simulation interaction process of the signaling flow without erecting a real international standard upper and lower level platform and device when verifying the function of the international standard cascade monitoring system, and can construct a nonstandard signaling flow that cannot be constructed or is difficult to construct under normal conditions, so as to simulate different signaling interaction scenarios, improve the simulation test efficiency, and save the simulation test cost.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present application, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a schematic flowchart of a signaling interaction simulation method according to a first embodiment of the present application.
Fig. 2 is a schematic structural diagram of a signaling interaction simulation device according to a second embodiment of the present application.
Element number
200: signaling interaction simulation device, 20A: a superior communication module; 20B: a lower communication module;
202: initializing a module; 204: and a simulation execution module.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application shall fall within the scope of the protection of the embodiments in the present application.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
First embodiment
Fig. 1 shows a schematic flow chart of a signaling interaction simulation method according to a first embodiment of the present application. As shown in the figure, the method of the present embodiment mainly includes the following steps:
step S102, initializing a superior communication module and a subordinate communication module according to preset configuration parameters.
Alternatively, the upper communication module and the lower communication module may be SIP modules, respectively.
Alternatively, the upper communication module may be initialized according to a preset upper IP address and a preset upper port number, and the lower communication module may be initialized according to a preset lower IP address and a preset lower port number.
And step S104, acquiring the simulation signaling flow meeting the preset simulation parameters according to the preset simulation parameters.
Alternatively, each analog signaling, each signaling format corresponding to each analog signaling, and each response order may be set to generate an analog signaling flow.
Alternatively, the standard national standard signaling library and the non-standard national standard signaling library may be established in advance, so as to obtain a standard national standard signaling stream and a non-standard national standard signaling stream (for example, a standard or non-standard national standard 28181 signaling stream) satisfying preset simulation parameters from the standard national standard signaling library and the non-standard national standard signaling library according to the preset simulation parameters.
In this embodiment, the standard national standard signaling library may be used to store standard national standard signaling flow templates of various scenes, and the non-standard national standard signaling library may be used to store signaling flow templates of scenes such as simulation registration, cancellation, real-time video and audio on demand, device control, device information query, device video and audio file retrieval, historical audio playback, video and audio file download, subscription, notification, heartbeat national standard signaling reception loss, repeated national standard signaling transmission, repeated national standard data push, packet loss of the national standard data, no reply of the national standard signaling, and failure of the national standard signaling request.
And step S106, calling a superior communication module and a subordinate communication module to execute signaling interactive simulation according to the simulation signaling flow.
Optionally, the upper communication module and the lower communication module may be invoked to sequentially and interactively send each analog signaling in the analog signaling stream according to a signaling format and a response sequence corresponding to each analog signaling in the analog signaling stream.
Optionally, before and during the signaling interaction simulation execution, the operating states of the upper communication module and the lower communication module may be detected, and when it is detected that the operating state of the upper communication module or the lower communication module is abnormal, a restart operation is performed for the upper communication module or the lower communication module.
For example, a test command may be sent to the superior communication module or the inferior communication module, whether a response command of the superior communication module or the inferior communication module is received is detected, if the response command of the superior communication module or the inferior communication module is not received, a detection result of an abnormal operation state of the superior communication module or the inferior communication module is output, and the superior communication module or the inferior communication module is triggered to execute a restart operation, thereby ensuring that the superior communication module and the inferior communication module communicate normally in the process of simulating signaling interaction.
In summary, the signaling interaction simulation method of the embodiment can simulate a standard or non-standard international signaling stream interaction process without installing and deploying a real international platform, so that the software and hardware simulation test cost can be saved, and the simulation test efficiency can be improved.
Second embodiment
A second embodiment of the present application provides a computer storage medium having stored thereon computer instructions, which, when executed by a processor, cause the processor to perform the method of the first embodiment described above.
Third embodiment
Fig. 2 shows an architecture diagram of a signaling interaction simulation device according to a third embodiment of the present application. As shown in the figure, the signaling interaction simulation device 200 of the present embodiment mainly includes: an initialization module 202 and a simulation execution module 204.
The initialization module 202 is configured to initialize the upper communication module 20A and the lower communication module 20B according to preset configuration parameters.
Optionally, the initialization module 202 may initialize the upper level communication module according to a preset upper level IP address and a preset upper level port number; and initializing the subordinate communication module according to a preset subordinate IP address and a preset subordinate port number.
The simulation execution module 204 obtains a simulation signaling flow satisfying a preset simulation parameter according to the preset simulation parameter, and invokes the superior communication module 20A to execute signaling interaction simulation with the inferior communication module 20B.
Optionally, the simulation execution module 204 is further configured to detect the operating statuses of the upper communication module 20A and the lower communication module 20B; and in response to a detection result that the operation state of the upper communication module 20A or the lower communication module 20B is abnormal, the upper communication module 20A or the lower communication module 20B is restarted.
Optionally, the simulation executing module 204 is further configured to set each simulation signaling, each signaling format corresponding to each simulation signaling, and each response order, so as to generate the simulation signaling flow.
Optionally, the simulation execution module 204 further invokes the upper communication module 20A and the lower communication module 20B to sequentially and interactively send each simulation signaling according to a signaling format and a response sequence corresponding to each simulation signaling in the simulation signaling stream.
Optionally, the analog signaling flow comprises one of a standard national signaling flow and a non-standard national signaling flow.
Optionally, the upper communication module 20A and the lower communication module 20B are SIP modules.
In addition, the signaling interaction simulation device 200 in the embodiment of the present invention may also be used to implement other steps in the foregoing signaling interaction simulation method embodiments, and has the beneficial effects of the corresponding method step embodiments, which are not described herein again.
In summary, the signaling interaction simulation method, the signaling interaction simulation device, and the computer storage medium provided in the embodiments of the present application can simulate the interaction process of the national standard signaling flow without installing and deploying a real national standard platform, so as to save the signaling interaction simulation cost.
Furthermore, the signaling interaction simulation method, the signaling interaction simulation device and the computer storage medium provided by the embodiments of the present application can facilitate the construction of some nonstandard signaling flows which cannot be constructed or are difficult to construct under normal conditions, so that the simulation interaction of various nonstandard signaling flows becomes possible.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the embodiments of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A method for signaling interaction simulation, comprising:
initializing an upper communication module and a lower communication module according to preset configuration parameters;
acquiring a simulation signaling flow meeting preset simulation parameters according to the preset simulation parameters; and
and calling the superior communication module and the subordinate communication module to execute signaling interaction simulation according to the simulation signaling flow.
2. The signaling interaction simulation method according to claim 1, wherein the initializing the upper communication module and the lower communication module according to the preset configuration parameters comprises:
initializing the superior communication module according to a preset superior IP address and a preset superior port number;
and initializing the subordinate communication module according to a preset subordinate IP address and a preset subordinate port number.
3. The signaling interaction simulation method of claim 1, wherein the method further comprises:
detecting the running states of the upper communication module and the lower communication module; and
and responding to the detection result of the abnormal running state of the superior communication module or the subordinate communication module, and restarting the superior communication module or the subordinate communication module.
4. The signaling interaction simulation method according to claim 1, wherein the obtaining, according to preset simulation parameters, a simulation signaling flow that satisfies the preset simulation parameters comprises:
and setting each analog signaling, each signaling format corresponding to each analog signaling and each response sequence to generate the analog signaling flow.
5. The signaling interaction simulation method according to claim 4, wherein the invoking of the signaling interaction simulation between the upper communication module and the lower communication module according to the simulated signaling flow comprises:
and calling the superior communication module and the inferior communication module to sequentially and interactively send each analog signaling according to the signaling format and the response sequence corresponding to each analog signaling in the analog signaling flow.
6. The signaling interaction simulation method of claim 5, wherein the simulated signaling flow comprises one of a standard national signaling flow and a non-standard national signaling flow.
7. The signaling interaction simulation method according to claim 1, wherein the upper communication module and the lower communication module are SIP modules.
8. A computer storage medium having stored thereon computer instructions which, when executed by a processor, cause the processor to perform the method of any one of claims 1 to 7.
9. A signaling interaction simulation device, comprising:
the initialization module is used for initializing the upper communication module and the lower communication module according to preset configuration parameters;
and the simulation execution module acquires a simulation signaling flow meeting the preset simulation parameters according to the preset simulation parameters and calls the superior communication module and the subordinate communication module to execute signaling interactive simulation.
10. The signaling interaction simulation device of claim 9, wherein the simulation execution module further comprises:
and calling the superior communication module and the inferior communication module to sequentially transmit each analog signaling according to the signaling format and the response sequence corresponding to each analog signaling in the analog signaling flow.
CN202111117650.0A 2021-09-23 2021-09-23 Signaling interaction simulation method and device and computer storage medium Pending CN113890868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111117650.0A CN113890868A (en) 2021-09-23 2021-09-23 Signaling interaction simulation method and device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111117650.0A CN113890868A (en) 2021-09-23 2021-09-23 Signaling interaction simulation method and device and computer storage medium

Publications (1)

Publication Number Publication Date
CN113890868A true CN113890868A (en) 2022-01-04

Family

ID=79010465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111117650.0A Pending CN113890868A (en) 2021-09-23 2021-09-23 Signaling interaction simulation method and device and computer storage medium

Country Status (1)

Country Link
CN (1) CN113890868A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668228A (en) * 2008-09-04 2010-03-10 中国移动通信集团公司 Device and method for testing interface
CN105578490A (en) * 2014-10-17 2016-05-11 北京神州泰岳软件股份有限公司 Signaling monitoring method and system
CN111787308A (en) * 2020-07-01 2020-10-16 浪潮云信息技术股份公司 Mass concurrent simulation method based on GB28181 standard protocol video monitoring terminal
CN112448933A (en) * 2019-09-02 2021-03-05 浙江宇视科技有限公司 Method and system for self-adapting compatible platform inter-domain protocol
CN112788640A (en) * 2021-03-04 2021-05-11 惠州Tcl移动通信有限公司 Communication equipment testing method and device, storage medium and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668228A (en) * 2008-09-04 2010-03-10 中国移动通信集团公司 Device and method for testing interface
CN105578490A (en) * 2014-10-17 2016-05-11 北京神州泰岳软件股份有限公司 Signaling monitoring method and system
CN112448933A (en) * 2019-09-02 2021-03-05 浙江宇视科技有限公司 Method and system for self-adapting compatible platform inter-domain protocol
CN111787308A (en) * 2020-07-01 2020-10-16 浪潮云信息技术股份公司 Mass concurrent simulation method based on GB28181 standard protocol video monitoring terminal
CN112788640A (en) * 2021-03-04 2021-05-11 惠州Tcl移动通信有限公司 Communication equipment testing method and device, storage medium and terminal

Similar Documents

Publication Publication Date Title
CN109274544B (en) Fault detection method and device for distributed storage system
CN109408338B (en) Method, device, equipment and system for grabbing trace of NVME (network video management entity) hard disk
US20070097872A1 (en) Network connection apparatus testing method
CN106776346B (en) Test method and device of CCMTS (China center testing System) equipment
JP5198154B2 (en) Fault monitoring system, device, monitoring apparatus, and fault monitoring method
US11461206B2 (en) Cloud simulation and validation system
CN103731663A (en) Method and device for testing smart television
CN113708993A (en) Abnormal state testing method and device, terminal equipment and storage medium
CN109962823B (en) Automatic testing system and method for network application scene
US20210067824A1 (en) Video stream check method and system, computer device and storage medium
CN113360386A (en) Switching chip drive test method, device, electronic equipment and storage medium
CN113890868A (en) Signaling interaction simulation method and device and computer storage medium
CN116166536A (en) Test method, test device, electronic equipment and storage medium
CN115495381A (en) Interactive scene testing method and system, processor and electronic equipment
CN110896569A (en) Bullet screen automatic reconnection method, storage medium, electronic equipment and system
CN113300913A (en) Equipment testing method and device, testing equipment and storage medium
CN114840495A (en) Database cluster split-brain prevention method, storage medium and device
CN108845932B (en) Unit testing method and device of network library, storage medium and terminal
CN110581786A (en) Method, device, system and medium for testing communication stability of NCSI (network communication service) network
US8234487B2 (en) Server apparatus and startup control method
CN111782515A (en) Web application state detection method and device, server and storage medium
WO2017197829A1 (en) Test information management method and apparatus, and test case execution system and device
CN110830274A (en) Communication equipment simulation method and device
KR101680736B1 (en) Process for checking status of network device
CN116743990B (en) Video stream testing method and video stream testing processing method of embedded equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220104