CN105491592B - Signaling generation and terminal state transition control method and device - Google Patents

Signaling generation and terminal state transition control method and device Download PDF

Info

Publication number
CN105491592B
CN105491592B CN201510821678.0A CN201510821678A CN105491592B CN 105491592 B CN105491592 B CN 105491592B CN 201510821678 A CN201510821678 A CN 201510821678A CN 105491592 B CN105491592 B CN 105491592B
Authority
CN
China
Prior art keywords
parameter
signaling
identifier
test case
terminal
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
Application number
CN201510821678.0A
Other languages
Chinese (zh)
Other versions
CN105491592A (en
Inventor
魏凯
金星虎
王闯
唐小华
李彩娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Space Star Technology Co Ltd
Original Assignee
Space Star Technology 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 Space Star Technology Co Ltd filed Critical Space Star Technology Co Ltd
Priority to CN201510821678.0A priority Critical patent/CN105491592B/en
Publication of CN105491592A publication Critical patent/CN105491592A/en
Application granted granted Critical
Publication of CN105491592B publication Critical patent/CN105491592B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a method and a device for controlling signaling generation and terminal state transition, wherein the method is applied to a device with a virtual terminal and a parameter setting unit and comprises the following steps: the virtual terminal monitors a user request and reads a test case of the user request according to the input of the user to obtain test case data; the virtual terminal sends the test case data to the parameter setting unit; after receiving the test case data, the parameter setting unit determines an identifier of the test case data, wherein the identifier comprises a first identifier, and the first identifier is used for indicating whether a parameter to be set is a signaling parameter of a network control center, a signaling parameter of a cluster terminal or a state parameter of the cluster terminal; and the parameter setting unit performs parameter setting according to the identification of the test case data to generate a corresponding signaling or state. The method and the device can set the state of the cluster terminal in real time, provide a universal signaling parameter setting interface, and design development and test integration, thereby improving the development and test efficiency.

Description

Signaling generation and terminal state transition control method and device
Technical Field
The invention relates to the technical field of broadband satellite communication, in particular to a method and a device for signaling generation and terminal state transition control.
Background
The cluster terminal state transition control method is that a group of test sequences are utilized to carry out black box test on a Network Control Center (NCC) under a certain network environment, and whether the network control center is consistent with a protocol standard or not is judged by comparing the difference between actual output and expected output of the network control center. Because the state of the cluster terminal needs to be set in real time to perform the anomaly test, the technical scheme adopted for setting parameters at present is as follows: the test cases are combined with Virtual Terminals (VTY).
For the research and development personnel, as long as the requirement of setting parameters in real time can be met, a plurality of parameters are needed to be set in real time by using the VTY. For testers, they need to realize the requirement of automated testing as much as possible, and need to set parameters as detailed as possible according to standards for testing, however, the parameter setting in real time by using VTY is too many, so the parameter setting is usually performed by using a method of combining VTY and test case. The inventor finds out in the process of realizing the invention: how to combine the test case with the virtual terminal, the code is not modified when the test case is executed, and the independent parameter setting is the problem to be solved.
Disclosure of Invention
In view of this, the present invention provides a method and a device for controlling signaling generation and terminal state transition, so as to implement how a test case is combined with a virtual terminal, without modifying a code when the test case is executed, and enable independent parameter setting, and the technical scheme thereof is as follows:
a signaling generation and terminal state transition control method is applied to a device with a virtual terminal and a parameter setting unit, and comprises the following steps:
the virtual terminal monitors a user request and reads a test case of the user request according to the input of a user to obtain test case data;
the virtual terminal sends the test case data to the parameter setting unit;
after receiving the test case data, the parameter setting unit determines an identifier of the test case data, where the identifier includes a first identifier, and the first identifier is used to indicate whether a parameter to be set is a signaling parameter of a network control center, a signaling parameter of a cluster terminal, or a state parameter of the cluster terminal;
and the parameter setting unit performs parameter setting according to the identification of the test case data to generate a corresponding signaling or state.
The method for monitoring the user request by the virtual terminal and reading the test case of the user request according to the input of the user to obtain the test case data comprises the following steps:
the virtual terminal creates a monitoring socket and monitors a user request;
when the virtual terminal monitors a user request, a virtual terminal thread is created;
and the virtual terminal reads the input of the user through the virtual terminal thread and reads the test case requested by the user according to the input of the user to obtain test case data.
When the first identifier is used for indicating that the parameter to be set is a signaling parameter of a network control center, the parameter setting unit sets the parameter according to the identifier of the test case data to generate a network control center signaling;
the identification of the test case data also comprises a second identification, wherein the second identification is used for indicating whether the parameter to be set is a normal value or an abnormal value;
the process of generating the network control center signaling by the parameter setting unit specifically includes:
judging whether the parameter to be set is a normal value or an abnormal value through the second identifier;
and generating a normal signaling of the network control center when the second identifier indicates that the parameter to be set is a normal value, and generating a test signaling of the network control center when the parameter to be set is an abnormal value.
When the first identifier is used for indicating that the parameter to be set is a signaling parameter of the trunking terminal, the parameter setting unit performs parameter setting according to the identifier of the test case data to generate trunking terminal signaling;
the identification of the test case data also comprises a second identification, wherein the second identification is used for indicating whether the parameter to be set is a normal value or an abnormal value;
the process of generating the trunking terminal signaling by the parameter setting unit specifically includes:
after receiving a network control center signaling, judging whether the parameter to be set is a normal value or an abnormal value through the second identifier;
and generating a cluster terminal normal signaling when the second identifier indicates that the parameter to be set is a normal value, and generating a cluster terminal test signaling when the second identifier indicates that the parameter to be set is an abnormal value.
When the first identifier is used for indicating that the parameter to be set is the state parameter of the cluster terminal, the parameter setting unit performs parameter setting according to the identifier of the test case data to generate the state of the cluster terminal;
after generating the virtual terminal state, the method further comprises: and updating the cluster terminal state to a state machine of the cluster terminal.
A signaling generation and terminal state transition control apparatus includes: a virtual terminal and a parameter setting unit;
the virtual terminal is used for monitoring a user request, reading a test case of the user request according to the input of a user to obtain test case data, and sending the test case data to the parameter setting unit;
the parameter setting unit is configured to determine an identifier of the test case data after receiving the test case data, and perform parameter setting according to the identifier of the test case data to generate a corresponding signaling or state, where the identifier includes a first identifier, and the first identifier is used to indicate whether a parameter to be set is a signaling parameter of a network control center, a signaling parameter of a trunking terminal, or a state parameter of the trunking terminal.
Wherein, the virtual terminal includes: the device comprises a first creating module, a monitoring module, a second creating module and a reading module;
the first establishing module is used for establishing a monitoring socket;
the monitoring module is used for monitoring a user request through the monitoring socket created by the first creating module;
the second creating module is used for creating a virtual terminal thread when the monitoring module monitors a user request;
the reading module is used for reading the input of a user through the virtual terminal thread created by the second creating module, and reading the test case requested by the user according to the input of the user to obtain test case data.
The parameter setting unit comprises a network control center signaling setting module;
the network control center signaling setting module is used for setting parameters according to the identifier of the test case data to generate a network control center signaling when the first identifier is used for indicating that the parameter to be set is the signaling parameter of the network control center;
the identification of the test case data also comprises a second identification, wherein the second identification is used for indicating whether the parameter to be set is a normal value or an abnormal value;
the network control center signaling setting module is specifically configured to determine, through the second identifier, whether the parameter to be set is a normal value or an abnormal value, generate a normal signaling of the network control center when the second identifier indicates that the parameter to be set is the normal value, and generate a test signaling of the network control center when the parameter to be set is the abnormal value.
The parameter setting unit comprises a trunking terminal signaling setting module;
the cluster terminal signaling setting module is used for setting parameters according to the identifier of the test case data to generate a cluster terminal signaling when the first identifier is used for indicating that the parameter to be set is the signaling parameter of the cluster terminal;
the identification of the test case data also comprises a second identification, wherein the second identification is used for indicating whether the parameter to be set is a normal value or an abnormal value;
the trunking terminal signaling setting module is specifically configured to, after receiving a network control center signaling, determine, by using the second identifier, whether the parameter to be set is a normal value or an abnormal value, generate a trunking terminal normal signaling when the second identifier indicates that the parameter to be set is a normal value, and generate a trunking terminal test signaling when the second identifier indicates that the parameter to be set is an abnormal value.
The parameter setting unit comprises a cluster terminal state setting module;
the cluster terminal state setting module is used for setting parameters according to the identifier of the test case data to generate a cluster terminal state when the first identifier is used for indicating that the parameter to be set is the state parameter of the cluster terminal;
after the virtual terminal state is generated, the cluster terminal state setting module is further configured to update the cluster terminal state to a state machine of the cluster terminal.
The technical scheme has the following beneficial effects:
in the signaling generation and terminal state transition control method and device provided by the invention, the virtual terminal can monitor the user request and read the test case of the user request according to the input of the user to obtain the test case data, and the parameter setting unit can determine the identifier of the test case data and can perform parameter setting according to the identifier of the test case data to generate the signaling cluster terminal signaling or the cluster terminal state of the network control center. The method and the device provided by the invention do not need to modify codes when executing the test case, can set the state of the cluster terminal in real time, can provide a universal signaling parameter setting interface, and can carry out development and test integrated design, thereby improving the development and test efficiency.
Drawings
Fig. 1 is a schematic flowchart of a signaling generation and terminal state transition control method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating an implementation manner of a signaling generation and terminal state transition control method according to an embodiment of the present invention, in which a virtual terminal monitors a user request and reads a test case of the user request according to an input of a user to obtain test case data;
fig. 3 is a schematic flowchart of a specific implementation manner of generating a network control center signaling by a parameter setting unit in the signaling generation and terminal state transition control method according to the embodiment of the present invention;
fig. 4 is a schematic flowchart of a specific implementation manner of generating a trunking terminal signaling by a parameter setting unit in the signaling generation and terminal state transition control method provided in the embodiment of the present invention;
fig. 5 is a schematic flow chart of a specific implementation manner of generating a cluster terminal state by a parameter setting unit in the signaling generation and terminal state transition control method according to the embodiment of the present invention;
fig. 6 is a schematic structural diagram of a signaling generation and terminal state transition control apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a schematic flowchart of a signaling generation and terminal state transition control method provided in an embodiment of the present invention is shown, where the method is applied to a device having a virtual terminal and a parameter setting unit, and the method may include:
and S101, the virtual terminal monitors a user request and reads a test case of the user request according to the input of the user to obtain test case data.
And S102, the virtual terminal sends the test case data to a parameter setting unit.
And S103, after receiving the test case data, the parameter setting unit determines the identifier of the test case data.
The identifier of the test case data comprises a first identifier, and the first identifier is used for indicating whether the parameter to be set is a signaling parameter of the network control center, a signaling parameter of the cluster terminal or a state parameter of the cluster terminal.
And step S104, the parameter setting unit sets parameters according to the identification of the test case data to generate a corresponding signaling or state.
According to the signaling generation and terminal state transition control method provided by the embodiment of the invention, the virtual terminal can monitor the user request and read the test case of the user request according to the input of the user to obtain the test case data, and the parameter setting unit can determine the identifier of the test case data and can perform parameter setting according to the identifier of the test case data to generate the signaling cluster terminal signaling or the cluster terminal state of the network control center. The method provided by the embodiment of the invention does not need to modify codes when executing the test case, can set the state of the cluster terminal in real time, can also provide a universal signaling parameter setting interface, and can design development and test integration, thereby improving the development and test efficiency.
Referring to fig. 2, a schematic flow chart illustrating an implementation manner in which a virtual terminal monitors a user request and reads a test case of the user request according to an input of a user to obtain test case data in the foregoing embodiment is shown, and the implementation manner may include:
step S201: the virtual terminal creates a monitoring socket and monitors the user request.
Step S202: and when the virtual terminal monitors the user request, a virtual terminal thread is created.
Step S203: the virtual terminal reads the input of the user through the virtual terminal thread and reads the test case requested by the user according to the input of the user to obtain the test case data.
In a possible case, the first identifier in the above embodiment is used to indicate that the parameter to be set is a signaling parameter of the network control center, and at this time, the identifier of the test case data further includes a second identifier, where the second identifier is used to indicate whether the parameter to be set is a normal value or an abnormal value.
The parameter setting unit performs parameter setting according to the identifier of the test case data to generate a corresponding signaling or state specifically as follows: and the parameter setting unit sets parameters according to the identification of the test case data to generate a network control center signaling.
Further, the process of generating the network control center signaling by the parameter setting unit includes: judging whether the parameter to be set is a normal value or an abnormal value through the second identifier; and when the second identifier indicates that the parameter to be set is a normal value, generating a normal signaling of the network control center, and when the parameter to be set is an abnormal value, generating a test signaling of the network control center. It should be noted that the parameter setting unit obtains the test case data, and converts the test case data into the signaling parameter, thereby generating the network control center signaling.
Referring to fig. 3, a flowchart of a specific implementation manner of generating a network control center signaling by a parameter setting unit is shown, which may include:
step S301: and initializing parameters.
Step S302: and acquiring data of the virtual terminal test case.
Step S303: and judging whether the parameter to be set is a normal value or an abnormal value through the second identifier.
Step S304 a: and when the parameter to be set is a normal value, calling a normal signaling generating function to generate a normal signaling of the network control center.
Step S304 b: and when the parameter to be set is an abnormal value, calling a test signaling generation function to generate a test signaling of the network control center.
Step S305: and sending the generated normal signaling or the test signaling of the network control center.
In another possible case, the first identifier in the above embodiment is used to indicate that the parameter to be set is a signaling parameter of the cluster terminal, and at this time, the identifier of the test case data further includes a second identifier, where the second identifier is used to indicate whether the parameter to be set is a normal value or an abnormal value.
The parameter setting unit performs parameter setting according to the identifier of the test case data to generate a corresponding signaling or state specifically as follows: and the parameter setting unit sets parameters according to the identification of the test case data to generate a cluster terminal signaling.
Further, the process of generating the network control center signaling by the parameter setting unit includes: after receiving the signaling of the network control center, judging whether the parameter to be set is a normal value or an abnormal value through a second identifier; and when the second identifier indicates that the parameter to be set is a normal value, generating a normal signaling of the cluster terminal, and when the parameter to be set is an abnormal value, generating a test signaling of the network control center. It should be noted that, the parameter setting unit obtains the test case data, and converts the test case data into the signaling parameter, thereby generating the trunking terminal signaling.
Referring to fig. 4, a flowchart illustrating a specific implementation manner of generating a trunking terminal signaling by a parameter setting unit is shown, and may include:
step S401: and receiving cluster terminal signaling.
Step S402: and initializing parameters.
Step S403: and acquiring data of the virtual terminal test case.
Step S404: and judging whether the parameter to be set is a normal value or an abnormal value through the second identifier.
Step S405 a: and when the parameter to be set is a normal value, calling a normal signaling generating function to generate the normal signaling of the trunking terminal.
Step S405 b: and when the parameter to be set is an abnormal value, calling a test signaling generation function to generate the cluster terminal test signaling.
Step S406: and sending the generated normal signaling of the cluster terminal or the test signaling of the network control center.
In another possible case, the first identifier is used to indicate that the parameter to be set is a state parameter of the cluster terminal, and the parameter setting unit performs parameter setting according to the identifier of the test case data to generate a corresponding signaling or state specifically as follows: and the parameter setting unit performs parameter setting according to the identification of the test case data to generate the cluster terminal state. After the virtual terminal state is generated, the parameter setting unit updates the cluster terminal state to a state machine of the cluster terminal.
Referring to fig. 5, a flowchart illustrating a specific implementation manner of generating a cluster terminal state by a parameter setting unit is shown, and may include:
step S501: and initializing parameters.
Step S502: and acquiring data of the virtual terminal test case.
Step S503: and converting the data of the test case into a cluster terminal state.
Step S504: updating the cluster terminal state in the cluster terminal state machine.
Corresponding to the foregoing method, an embodiment of the present invention further provides a signaling generation and terminal state transition control apparatus, please refer to fig. 6, which shows a schematic structural diagram of the apparatus, and may include: a virtual terminal 601 and a parameter setting unit 602.
The virtual terminal 601 is configured to monitor a user request, read a test case of the user request according to an input of a user, obtain test case data, and send the test case data to the parameter setting unit.
The parameter setting unit 602 is configured to determine an identifier of the test case data after receiving the test case data, and perform parameter setting according to the identifier of the test case data to generate a corresponding signaling or state, where the identifier of the test case data includes a first identifier, and the first identifier is used to indicate whether a parameter to be set is a signaling parameter of a network control center, a signaling parameter of a cluster terminal, or a state parameter of the cluster terminal.
According to the signaling generation and terminal state transition control device provided by the embodiment of the invention, the virtual terminal can monitor the user request and read the test case of the user request according to the input of the user to obtain the test case data, and the parameter setting unit can determine the identifier of the test case data and can perform parameter setting according to the identifier of the test case data to generate the signaling cluster terminal signaling or the cluster terminal state of the network control center. The device provided by the embodiment of the invention does not need to modify codes when executing the test case, can set the state of the cluster terminal in real time, can provide a universal signaling parameter setting interface, and can be designed by integrating development and test, thereby improving the efficiency of development and test.
In the above embodiment, the virtual terminal may include: the device comprises a first creating module, a monitoring module, a second creating module and a reading module.
The first establishing module is used for establishing the monitoring socket.
And the monitoring module is used for monitoring the user request through the monitoring socket created by the first creation module.
And the second creating module is used for creating the virtual terminal thread when the monitoring module monitors the user request.
And the reading module is used for reading the input of the user through the virtual terminal thread created by the second creating module, and reading the test case requested by the user according to the input of the user to obtain the test case data.
In the above embodiment, the parameter setting unit includes a network control center signaling setting module.
And the network control center signaling setting module is used for setting parameters according to the identification of the test case data to generate a network control center signaling when the first identification is used for indicating that the parameters to be set are the signaling parameters of the network control center.
The identification of the test case data also comprises a second identification which is used for indicating whether the parameter to be set is a normal value or an abnormal value.
The network control center signaling setting module is specifically configured to determine, through the second identifier, whether the parameter to be set is a normal value or an abnormal value, generate a normal signaling of the network control center when the second identifier indicates that the parameter to be set is the normal value, and generate a test signaling of the network control center when the parameter to be set is the abnormal value.
In the above embodiment, the parameter setting unit includes a trunking terminal signaling setting module.
The cluster terminal signaling setting module is used for setting parameters according to the identifier of the test case data to generate a cluster terminal signaling when the first identifier is used for indicating that the parameters to be set are the signaling parameters of the cluster terminal;
the identifier of the test case data further comprises a second identifier, and the second identifier is used for indicating whether the parameter to be set is a normal value or an abnormal value.
The trunking terminal signaling setting module is specifically configured to, after receiving a network control center signaling, determine, by using the second identifier, whether the parameter to be set is a normal value or an abnormal value, generate a trunking terminal normal signaling when the second identifier indicates that the parameter to be set is a normal value, and generate a trunking terminal test signaling when the second identifier indicates that the parameter to be set is an abnormal value.
In the above embodiment, the parameter setting unit includes a cluster terminal state setting module.
The cluster terminal state setting module is used for setting parameters according to the identifier of the test case data to generate a cluster terminal state when the first identifier is used for indicating that the parameter to be set is the state parameter of the cluster terminal;
after the virtual terminal state is generated, the cluster terminal state setting module is further configured to update the cluster terminal state to a state machine of the cluster terminal.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the provided embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features provided herein.

Claims (10)

1. A signaling generation and terminal state transition control method is applied to a device with a virtual terminal and a parameter setting unit, and comprises the following steps:
the virtual terminal monitors a user request and reads a test case of the user request according to the input of a user to obtain test case data;
the virtual terminal sends the test case data to the parameter setting unit;
after receiving the test case data, the parameter setting unit determines an identifier of the test case data, where the identifier includes a first identifier, and the first identifier is used to indicate whether a parameter to be set is a signaling parameter of a network control center, a signaling parameter of a cluster terminal, or a state parameter of the cluster terminal;
the parameter setting unit sets parameters according to the identification of the test case data to generate a corresponding signaling or state;
the parameter setting unit performs parameter setting according to the identifier of the test case data to generate a corresponding signaling or state, which at least includes one of the following:
when the first identifier is used for indicating that the parameter to be set is a signaling parameter of a network control center, the parameter setting unit sets the parameter according to the identifier of the test case data to generate a network control center signaling;
when the first identifier is used for indicating that the parameter to be set is the signaling parameter of the trunking terminal, the parameter setting unit sets the parameter according to the identifier of the test case data to generate the trunking terminal signaling;
and when the first identifier is used for indicating that the parameter to be set is the state parameter of the cluster terminal, the parameter setting unit performs parameter setting according to the identifier of the test case data to generate the state of the cluster terminal.
2. The method of claim 1, wherein the virtual terminal monitors a user request and reads a test case of the user request according to an input of a user to obtain test case data, and the method comprises:
the virtual terminal creates a monitoring socket and monitors a user request;
when the virtual terminal monitors a user request, a virtual terminal thread is created;
and the virtual terminal reads the input of the user through the virtual terminal thread and reads the test case requested by the user according to the input of the user to obtain test case data.
3. The method according to claim 1 or 2,
the identification of the test case data further comprises: a second identifier for indicating whether the parameter to be set is a normal value or an abnormal value;
the process of generating the network control center signaling by the parameter setting unit specifically includes:
judging whether the parameter to be set is a normal value or an abnormal value through the second identifier;
and generating a normal signaling of the network control center when the second identifier indicates that the parameter to be set is a normal value, and generating a test signaling of the network control center when the parameter to be set is an abnormal value.
4. The method according to claim 1 or 2,
the identification of the test case data further comprises: a second identifier for indicating whether the parameter to be set is a normal value or an abnormal value;
the process of generating the trunking terminal signaling by the parameter setting unit specifically includes:
after receiving a network control center signaling, judging whether the parameter to be set is a normal value or an abnormal value through the second identifier;
and generating a cluster terminal normal signaling when the second identifier indicates that the parameter to be set is a normal value, and generating a cluster terminal test signaling when the second identifier indicates that the parameter to be set is an abnormal value.
5. The method according to claim 1 or 2,
after generating the virtual terminal state, the method further comprises: and updating the cluster terminal state to a state machine of the cluster terminal.
6. A signaling generation and terminal state transition control apparatus, comprising: a virtual terminal and a parameter setting unit;
the virtual terminal is used for monitoring a user request, reading a test case of the user request according to the input of a user to obtain test case data, and sending the test case data to the parameter setting unit;
the parameter setting unit is used for determining the identifier of the test case data after receiving the test case data, and performing parameter setting according to the identifier of the test case data to generate a corresponding signaling or state, wherein the identifier comprises a first identifier used for indicating whether the parameter to be set is a signaling parameter of a network control center, a signaling parameter of a cluster terminal or a state parameter of the cluster terminal;
the parameter setting unit at least comprises one of a network control center signaling setting module, a cluster terminal signaling setting module and a cluster terminal state setting module;
the network control center signaling setting module is used for setting parameters according to the identifier of the test case data to generate a network control center signaling when the first identifier is used for indicating that the parameter to be set is the signaling parameter of the network control center;
the cluster terminal signaling setting module is used for setting parameters according to the identifier of the test case data to generate a cluster terminal signaling when the first identifier is used for indicating that the parameter to be set is the signaling parameter of the cluster terminal;
and the cluster terminal state setting module is used for setting parameters according to the identifier of the test case data to generate a cluster terminal state when the first identifier is used for indicating that the parameter to be set is the state parameter of the cluster terminal.
7. The apparatus of claim 6, wherein the virtual terminal comprises: the device comprises a first creating module, a monitoring module, a second creating module and a reading module;
the first establishing module is used for establishing a monitoring socket;
the monitoring module is used for monitoring a user request through the monitoring socket created by the first creating module;
the second creating module is used for creating a virtual terminal thread when the monitoring module monitors a user request;
the reading module is used for reading the input of a user through the virtual terminal thread created by the second creating module, and reading the test case requested by the user according to the input of the user to obtain test case data.
8. The apparatus according to claim 6 or 7,
the identification of the test case data further comprises: a second identifier for indicating whether a parameter to be set is a normal value or an abnormal value;
the network control center signaling setting module is specifically configured to determine, through the second identifier, whether the parameter to be set is a normal value or an abnormal value, generate a normal signaling of the network control center when the second identifier indicates that the parameter to be set is the normal value, and generate a test signaling of the network control center when the parameter to be set is the abnormal value.
9. The apparatus according to claim 6 or 7,
the identification of the test case data further comprises: a second identifier for indicating whether a parameter to be set is a normal value or an abnormal value;
the trunking terminal signaling setting module is specifically configured to, after receiving a network control center signaling, determine, by using the second identifier, whether the parameter to be set is a normal value or an abnormal value, generate a trunking terminal normal signaling when the second identifier indicates that the parameter to be set is a normal value, and generate a trunking terminal test signaling when the second identifier indicates that the parameter to be set is an abnormal value.
10. The apparatus according to claim 6 or 7,
after the virtual terminal state is generated, the cluster terminal state setting module is further configured to update the cluster terminal state to a state machine of the cluster terminal.
CN201510821678.0A 2015-11-24 2015-11-24 Signaling generation and terminal state transition control method and device Active CN105491592B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510821678.0A CN105491592B (en) 2015-11-24 2015-11-24 Signaling generation and terminal state transition control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510821678.0A CN105491592B (en) 2015-11-24 2015-11-24 Signaling generation and terminal state transition control method and device

Publications (2)

Publication Number Publication Date
CN105491592A CN105491592A (en) 2016-04-13
CN105491592B true CN105491592B (en) 2020-09-22

Family

ID=55678224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510821678.0A Active CN105491592B (en) 2015-11-24 2015-11-24 Signaling generation and terminal state transition control method and device

Country Status (1)

Country Link
CN (1) CN105491592B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478696A (en) * 2008-12-31 2009-07-08 深圳市同洲电子股份有限公司 Automatic test method, system and multimedia device for test cases
CN101951298A (en) * 2010-09-15 2011-01-19 北京航空航天大学 Mthod and system for consistency test of an air ground communication system
CN102202335A (en) * 2010-03-23 2011-09-28 重庆重邮信科通信技术有限公司 Device and method for automatically testing calling service of terminal
CN102595184A (en) * 2012-01-19 2012-07-18 青岛海信传媒网络技术有限公司 Intelligent television automation test method and system
CN103778058A (en) * 2013-12-11 2014-05-07 国家无线电监测中心检测中心 TETRA digital trunked air interface test method and system based on TTCN-3
DE102012223587A1 (en) * 2012-12-18 2014-07-03 Testobject Gmbh Method for testing application on terminals e.g. virtual terminal, involves comparing differences between first and second information of second terminal to differences between first and second information of first terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478696A (en) * 2008-12-31 2009-07-08 深圳市同洲电子股份有限公司 Automatic test method, system and multimedia device for test cases
CN102202335A (en) * 2010-03-23 2011-09-28 重庆重邮信科通信技术有限公司 Device and method for automatically testing calling service of terminal
CN101951298A (en) * 2010-09-15 2011-01-19 北京航空航天大学 Mthod and system for consistency test of an air ground communication system
CN102595184A (en) * 2012-01-19 2012-07-18 青岛海信传媒网络技术有限公司 Intelligent television automation test method and system
DE102012223587A1 (en) * 2012-12-18 2014-07-03 Testobject Gmbh Method for testing application on terminals e.g. virtual terminal, involves comparing differences between first and second information of second terminal to differences between first and second information of first terminal
CN103778058A (en) * 2013-12-11 2014-05-07 国家无线电监测中心检测中心 TETRA digital trunked air interface test method and system based on TTCN-3

Also Published As

Publication number Publication date
CN105491592A (en) 2016-04-13

Similar Documents

Publication Publication Date Title
EP2391149A1 (en) Configuring wifi parameters via a USB connection
CN103777538B (en) The baud rate automatic matching method of controller and CAN
CN109654666B (en) Method, device and equipment for debugging unit
CN107483262A (en) Fault handling method and equipment
CN105302750A (en) Interface function configuration method and electronic equipment
CN106897095A (en) The multiple method of application program hot repair, device and readable storage medium storing program for executing
CN105721203B (en) Upgrade processing method and device
CN103428046A (en) Interface protocol test method and terminal
CN105471678A (en) Method and system for detecting networking failure reason of household appliance and mobile terminal
CN103501391A (en) Method and system for managing updating behavior of user
CN103401738A (en) Terminal connecting method and terminal connecting device
CN105491592B (en) Signaling generation and terminal state transition control method and device
CN101686152B (en) Status reporting method and device
CN110445658B (en) Message processing method and system
CN105138419A (en) Set value restoring system
CN112699648A (en) Data processing method and device
CN105516745A (en) Terminal upgrading method and device
CN110913416B (en) Terminal, networking method thereof and computer-readable storage medium
CN105207811B (en) Method and device for replacing non-AllJoyn equipment
EP2983085B1 (en) Method and apparatus for informing connection condition between external device and router
CN104980564A (en) Recharge socket and mobile terminal processing method based on recharge socket
CN110971716B (en) Address configuration method, device, system and computer readable storage medium
CN108928213B (en) Parameter configuration method of control panel, control panel and controlled equipment
CN107453903B (en) Method and system for identifying communication slave station and storage device
KR101925456B1 (en) Electronic Control Unit and control method

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
GR01 Patent grant
GR01 Patent grant