Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Inactive Publication Date: 2011-08-03
HUAWEI TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the inventor found that if there are many URLs set, this confirmation method will consume a large amount of work. According to the survey, each provincial office of a certain operator modifies the pre-transmission rules twice a week on average, and each modified test costs an average of one person. day's workload
The efficiency of manual verification is very low, time-consuming and labor-intensive, and manual packet capture and analysis are required. If there are many URLs set, the workload of verification will be heavy

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for testing forward pass rule
  • Method and device for testing forward pass rule
  • Method and device for testing forward pass rule

Examples

Experimental program
Comparison scheme
Effect test

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

char

ID of the business proces...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and device for testing a forward pass rule. The method comprises the following steps: constructing a forward pass rule search request; sending the forward pass rule search request to a forward pass rule storage device; receiving a forward pass rule returned by the forward pass rule storage device according to a preset feedback mode; and comparing with a preset forward pass rule to obtain a test result. With the method disclosed by the invention, the forward pass rule can be efficiently obtained and tested, and workload for obtaining and testing the forward pass rule is lightened.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and device for testing a forward pass rule. Background technique [0002] WAPGW (Wireless Application Protocol Gateway, WAP gateway) forwarding rules define the correspondence between websites and forwarding information. Due to business needs, WAPGW needs to forward the user's mobile phone number, IP address and other information to some trusted websites. This information involves user privacy, so forwarding information control is very important. For untrusted websites, user information cannot be forwarded. The website can only forward the necessary user information. The WAP gateway URL forwarding rules define which websites are forwarded and what information is forwarded. [0003] User information that can be forwarded includes, but is not limited to, MSISDN (Mobile Station International ISDN Number), MS IP, NAS IP, SGSN IP, APN (AccessPoint Name, access point name), etc. F...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L1/16H04L29/08H04W80/12
Inventor 张海彪李守平
Owner HUAWEI TECH CO LTD