CN101179811B - Test approach for testing base station control equipment interface - Google Patents
Test approach for testing base station control equipment interface Download PDFInfo
- Publication number
- CN101179811B CN101179811B CN2007100775503A CN200710077550A CN101179811B CN 101179811 B CN101179811 B CN 101179811B CN 2007100775503 A CN2007100775503 A CN 2007100775503A CN 200710077550 A CN200710077550 A CN 200710077550A CN 101179811 B CN101179811 B CN 101179811B
- Authority
- CN
- China
- Prior art keywords
- test
- interface
- message
- testing
- tested
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a testing process used for testing a base-station controlling device interface and a method thereof, which is applied to the testing field of a GSM system. The method includes the following steps: a testing link is constructed between a testing machine and an Abis interface and an A interface of a BSC, and tested information is configured on the testing machine and the Abis interface and the A interface. According to the tested information configured on the Abis interface and the A interface, the BSC judges that the testing information on the Abis interface and the A interface belongs to the tested information; when the testing information does not come from the testing machine, the testing information is transmitted to the testing machine through the testing link. According to the tested information configured on the testing machine, the testing machine revises the testing information received and transmits the revised testing information to the BSC to complete the testing to the Abis interface and the A interface. By adopting the technical proposal of the invention, the testing to the Abis interface and the A interface is realized only by a PC, thus greatly reducing the testing cost.
Description
Technical field
The present invention relates to the test of gsm system interface, relate in particular to a kind of method of testing that is used for testing base station control equipment interface.
Background technology
At the BSC of gsm system (Base Station Controller, base station control device) part is provided with Abis interface and A interface, respectively with BTS (Base Transmitter Station, the base station) and the interface on the MSC (Mobile Station Controller, mobile base station control appliance) butt joint.Various by message transmitted on Abis interface and the A interface, some message is also very complicated, and the definition of these message can be referring to related protocols such as GSM04.08, GSM08.08, GSM08.58.In these agreements, the definition of the various field of a lot of message itself or message content is belonged to optional part.Each BSC device fabrication merchant and MS (Mobile Station, mobile base station) can carry out software coding to the optional part in the agreement in the device fabrication commercial city.Because the understanding to these optional parts is not quite similar; therefore when actual process, also be not quite similar; especially when MS and BSC do not belong to same equipment manufacturers; it is inconsistent to agreement understanding; software coding to optional part is also just inconsistent, some professional abnormal phenomenons occur through regular meeting in actual the answering.
Yet, in the practical application of gsm system, single generation that the exploitation of project is often carried out respectively according to MSC, BSC, BTS and four subsystems of MS and test.Yet, relate to the gsm system functional test, when mainly being the test to Abis interface and A interface, need complete test macro and the method for testing of a cover.Present means of testing still can not be finished all the elements test on these two interfaces.
Therefore, prior art awaits improving and development.
Summary of the invention
Problem to be solved by this invention is to provide a kind of method of testing of base station control equipment interface, this method is transmitted back to message in the application program of test machine at the A of BSC interface and Abis interface administrative section, and docking port message carries out once more amended message being issued base station control equipment interface after the analysis modify.
In order to address the above problem, the technical method of the inventive method comprises the steps:
A, between the Abis interface of test machine and base station control device and A interface, make up test link, and on described test machine and described Abis interface and A interface the tested message of configuration;
B, according to the tested message of described configuration on Abis interface and the A interface, the test post that described base station control device is judged on Abis interface and the A interface belongs to tested message, and this tested message is not during from described test machine, by described test link, described tested message is sent to described test machine;
C, described test machine are revised the described tested message that receives according to the tested message of described configuration on it, and amended tested message is sent to described base station control device, finish the test to described Abis interface and A interface.
Described method of testing, wherein, in the described steps A, described test link is the Socket link, the structure of this test link adopts the TCP/IP mode to carry out.
Described method of testing, wherein, in the described steps A, described tested message comprises the object number of test post type and acceptance test message.
Described method of testing wherein, is established an object number tabulation that is used to put down in writing acceptance test message in respectively on described test machine and base station control device; Reach a tested message number tabulation that is used to write down tested message.
Described method of testing, wherein, described object number tabulation adopts one-dimension array to constitute; Described tested message number tabulation adopts two-dimensional array to constitute.
Described method of testing, wherein, the row that the sequence number of described object number tabulation and described tested message number are tabulated is number identical.
Described method of testing wherein, among the described step B, comprises following processing to the judgement of test post:
B1, search the object number tabulation of acceptance test message, find the object number of acceptance test message, and write down the pairing sequence number of this object number;
B2, serve as row number, in described tested message number tabulation, search whether message number is arranged with the sequence number that is write down;
B3 is if then be back to described test machine with described test post.
Adopt the inventive method, have the following advantages:
1, test machine of needs can be finished the test to the Abis interface and the A interface of base station control device, has saved testing cost greatly;
2, by the tested message of configuration on the Abis interface of base station control device and A interface, realize flexible test to test post, make test operation become simply, flexible.
Description of drawings
Fig. 1 is A interface and an Abis interface information test flow chart in the inventive method;
The test system structure frame diagram of Fig. 2 for realizing that the inventive method makes up.
Embodiment
Below in conjunction with accompanying drawing, preferred embodiment of the present invention is described in further detail.
Design of the present invention: A interface in the BSC system and Abis interface administrative section, the nominative testing machine that message is transmitted back to outside the BSC system (is PC in the present embodiment, its quantity can be for more than one) application program in, after docking port message is analyzed and is revised, the unexpected message that once more amended message is issued to or issues other receives object for appointment, even need not issuing message, form various test cases with this, test various message and miscellaneous service that these two interfaces relate to, thereby finish test all message on these two interfaces.
In order to solve in the gsm system to the A interface of BSC and the test problem of Abis interface, the invention provides a kind of method of testing that is used for testing base station control equipment interface, see also accompanying drawing 1, the realization flow of this method comprises the steps:
110, between the A of PC and BSC interface and Abis interface, make up test link in the Server/Client mode; Wherein, suppose that BSC is Client, PC is Server, can reduce the complexity of software design like this, the test link form of PC and BSC is identical with OMCR (background net management) link form with the BSC system, be Socket formula test link, and the building mode of this test link adopt the TCP/IP mode to carry out;
120, dispose tested message at PC, and on the A of BSC interface and Abis interface, also dispose tested message; Simultaneously, also set up the message management program listing on BSC, this message management program listing is carried out unified management to message sink between PC and the BSC and transmission;
Wherein, described tested message comprises the object number of test post type and acceptance test message, just to finish the test of what message, and described tested Message Record is in described message management program listing, and this message management program listing has two: one is the object number tabulation of acceptance test message: called after tReciverNoList; Another one is the tested message number tabulation that is used to put down in writing tested message: called after tMsgList; The former adopts one-dimension array, the latter adopts two-dimensional array, capable number of the former sequence number and the latter, same meaning associates these two tabulations, like this such as tReciverNoList (3)=15, tMsgList (3) (0)=456, the expression message number is 456, and after the object number that receives test post is 15, this test post is recycled to PC;
130, utilize mobile phone to initiate handoff request, and on operating system, obtain test post to BSC;
140, the operating system module of BSC is according to the tested message of described configuration on described A interface and the Abis interface, judge that whether the test post that is obtained on the operating system of BSC is from PC, and whether belong to tested message, if this test post belongs to tested message and this test post is not from PC, then go to step 150, otherwise go to step 160;
150, BSC is sent to PC with described test post, and according to test case, revises the described test post that receives on PC, and amended test post is sent to BSC;
160, BSC receives response behind the amended test post, finishes the test to A interface and Abis interface;
170, the tester understands test and whether reaches purpose of design according to the reaction of BSC, is then to finish test, otherwise continues test.
Wherein, in the step 140, the judgement of the test post on A interface and the Abis interface is comprised following processing:
141, search the existing object number tabulation of the object number that receives message tReciverNoList, find the object number that receives handoff request message, the sequence number the when content of writing down tReciverNoList is M is N;
142, be the row number of tMsgList with sequence number N, in tMsgList (N), seek message number L, judge whether tMsgList (N) finds message number L,, then receive the message number L that asks, message is returned test machine, otherwise continue to search if find.
As shown in Figure 2, be the test macro of realizing that the inventive method makes up, the A interface of base station control device and Abis interface make up test link by the TCP/TP mode with PC.During test, the logical described test link of PC sends test post to described base station control device; After described base station control device receives test post, judge whether test post comes to PC, and according to judged result to PC loopback test message, and by the modification of decoding and encode of described PC, and amended test post is sent to base station control device, finishes test A interface and/or Abis interface.PC is organized various test cases with the message that receives subsequently, after it is revised it is beamed back BSC, checks the reaction of BSC, and according to the reaction of BSC, checks the purpose of design that whether reaches test.
In sum, adopt technical scheme of the present invention, because the controllability height of test machine, can be on test machine, according to condition any combination unexpected message, therefore, the present invention has following industrial applicibility:
1, test machine of needs can be finished the test to Abis interface and the A interface of base station control device, has greatly saved testing cost;
2, by in the Abis interface of base station control device and the tested message of A interface configuration, realize the flexible test to test post so that test operation becomes simply, flexible;
3, owing to adopt and the similar interface of OMCR, simplify software development process, reduced software development cost.
Should be understood that, for those of ordinary skills, can be improved according to the above description or conversion, and all these improvement and conversion all should belong to the protection domain of claims of the present invention.
Claims (7)
1. method of testing that is used for testing base station control equipment interface, it comprises the steps:
A, between the Abis interface of test machine and base station control device and A interface, make up test link, and on described test machine and described Abis interface and A interface the tested message of configuration;
B, according to the tested message of described configuration on Abis interface and the A interface, the test post that described base station control device is judged on Abis interface and the A interface belongs to tested message, and this test post is not during from described test machine, by described test link, described test post is sent to described test machine;
C, described test machine are revised the described test post that receives according to the tested message of described configuration on it, and amended test post is sent to described base station control device, finish the test to described Abis interface and A interface.
2. method of testing according to claim 1 is characterized in that, in the described steps A, described test link is the Socket link, and the structure of this test link adopts the TCP/IP mode to carry out.
3. method of testing according to claim 1 and 2 is characterized in that, in the described steps A, described tested message comprises the object number of test post type and acceptance test message.
4. method of testing according to claim 3 is characterized in that, establishes an object number tabulation that is used to put down in writing acceptance test message on described test machine and base station control device in respectively; Reach a tested message number tabulation that is used to write down tested message.
5. method of testing according to claim 4 is characterized in that, described object number tabulation adopts one-dimension array to constitute; Described tested message number tabulation adopts two-dimensional array to constitute.
6. method of testing according to claim 5 is characterized in that, the row that the sequence number of described object number tabulation and described tested message number are tabulated is number identical.
7. method of testing according to claim 4 is characterized in that, among the described step B, the judgement that whether test post is belonged to tested message comprises following processing:
B1, search the object number tabulation of acceptance test message, find the object number of acceptance test message, and write down the pairing sequence number of this object number;
B2, serve as row number, in described tested message number tabulation, search whether message number is arranged with the sequence number that is write down;
B3 is if then judge described test post and belong to tested message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100775503A CN101179811B (en) | 2007-11-30 | 2007-11-30 | Test approach for testing base station control equipment interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100775503A CN101179811B (en) | 2007-11-30 | 2007-11-30 | Test approach for testing base station control equipment interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101179811A CN101179811A (en) | 2008-05-14 |
CN101179811B true CN101179811B (en) | 2011-01-05 |
Family
ID=39405857
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007100775503A Expired - Fee Related CN101179811B (en) | 2007-11-30 | 2007-11-30 | Test approach for testing base station control equipment interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101179811B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103973519B (en) * | 2014-05-27 | 2017-09-22 | 天津七一二通信广播股份有限公司 | A kind of switching centre's emulation test system and method based on PC platforms |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1378396A (en) * | 2001-03-30 | 2002-11-06 | 深圳市中兴通讯股份有限公司 | Large traffic volume test platform of base station subsystem |
CN1809200A (en) * | 2005-01-19 | 2006-07-26 | 华为技术有限公司 | Automatic performance test system for heavy traffic environment |
CN1859462A (en) * | 2005-10-28 | 2006-11-08 | 华为技术有限公司 | Method, system and device for realizing automatic switching |
-
2007
- 2007-11-30 CN CN2007100775503A patent/CN101179811B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1378396A (en) * | 2001-03-30 | 2002-11-06 | 深圳市中兴通讯股份有限公司 | Large traffic volume test platform of base station subsystem |
CN1809200A (en) * | 2005-01-19 | 2006-07-26 | 华为技术有限公司 | Automatic performance test system for heavy traffic environment |
CN1859462A (en) * | 2005-10-28 | 2006-11-08 | 华为技术有限公司 | Method, system and device for realizing automatic switching |
Also Published As
Publication number | Publication date |
---|---|
CN101179811A (en) | 2008-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101150463B (en) | Testing method and system | |
TWI457848B (en) | Online service providing system, method, server and mobile device thereof, and computer program product | |
CN107943006A (en) | Remote diagnosis website is wirelessly connected to household electrical appliance using personal electronic device | |
CN101137170A (en) | Software automatic testing instrument and method of embedded equipment | |
CN102131001A (en) | Remote control system and method of mobile communication terminal | |
CN101090295A (en) | Test system and method for ASON network | |
CN101261600B (en) | Software test apparatus and test software design method | |
CN105786695A (en) | Data test method and system | |
CN105657781A (en) | Method and device for accessing WiFi network | |
CN101765129A (en) | Network access test system and method for data value-added service | |
WO2020228013A1 (en) | Account association method, device, system, server, and storage medium | |
CN101179811B (en) | Test approach for testing base station control equipment interface | |
CN103164324A (en) | Microblog test method and device | |
CN100367235C (en) | Method for realizing automatic test and its system | |
CN103812730B (en) | A kind of multiple cell TTCN Conformance Testing Environment systems | |
TW201321765A (en) | Automatic test system of communication device | |
CN101141767A (en) | Network management platform testing system and method | |
CN117785663A (en) | Method, system, device and storage medium for controlling response in software test | |
US9294865B2 (en) | Enhanced system and method for custom programming of large groups of phones without requiring additional equipment | |
KR100794130B1 (en) | Automatic function tester for application program and additional service | |
CN110543415A (en) | A computer software technology development and debugging system | |
CN115617589A (en) | Chip debugging method | |
CN103269293A (en) | ADB debugging method by utilizing microwave communication equipment on android platform | |
CN101349989A (en) | Step-by-Step Realization Method of Embedded MIDlet Remote Debugging Software | |
CN100456866C (en) | Base station simulator and base station testing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110105 Termination date: 20161130 |
|
CF01 | Termination of patent right due to non-payment of annual fee |