Method and device for testing forward pass rule
A testing method and testing device technology, which are applied to transmission systems, error prevention/detection using return channels, electrical components, etc. Improve test efficiency, efficient acquisition and test results
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] In the embodiment of the present invention, the feedback method of the fronthaul rule is stipulated between the fronthaul rule storage device and the test device, and the test device actively constructs a query request, and receives the fronthaul rule returned by the fronthaul rule storage device according to the preset feedback method, and communicates with the test device Compare the correct pre-transmission rules preset in , to achieve the acquisition and testing of the pre-transmission rules, refer to the attached figure 1 , the steps of the embodiment of the present invention are as follows:
[0036] S101. Construct a forwarding rule query request and send it to the forwarding rule storage device;
[0037] Since the acquisition of existing pre-transmission rules is achieved by grabbing network messages, the efficiency is low and the difficulty is high. The embodiment of the present invention actively constructs a pre-transmission rule query request and sends it to ...
Embodiment 2
[0045] Embodiment 2 of the present invention takes the test device requesting the pre-transmission rules from the WAP gateway as an example to illustrate the method of Embodiment 1 of the present invention; the method in this embodiment is: the test device and the WAPGW preset pre-transmission rule query request and response mode, when the test starts , the test device sends a special HTTP request to WAPGW, and the URL of the HTTP request is the URL to be queried. After WAPGW judges that this is a pre-pass rule test request according to the pre-agreed feedback method, it queries the URL in the cache and the pre-pass code comparison table. Respond to the test device with the queried forward code in the form of HTTP header. After the test device gets the response, it analyzes the pre-transmission code according to the pre-agreed feedback method, compares it with the rules set by the customer, and finds out whether the pre-transmission field is correct.
[0046] Reference attache...
Embodiment 3
[0063] In the embodiment of the present invention, a network management module, also called an OAM (operation administration and maintenance, operation, maintenance and management) module is used to obtain and test the fronthaul rules.
[0064] Since all business module nodes need to maintain connection with OAM, each business module node will be assigned a unique node ID (NodeID), so that the forward transmission rule feedback method can be agreed between OAM and a certain business module node (NodeN), For example, URL forwarding rule query messages and query response messages can be defined. Examples of message definitions are as follows:
[0065] Query request message format, as shown in Table 3:
[0066] field name
Field Type
value
illustrate
MsgType
int
6 (indicates that the URL forward query request message
interest)
MsgID
int
Message ID, incremented
NodeID
ID of the business proces...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 