CN1655557A - Communication equipment for home position register - Google Patents
Communication equipment for home position register Download PDFInfo
- Publication number
- CN1655557A CN1655557A CN 200510024064 CN200510024064A CN1655557A CN 1655557 A CN1655557 A CN 1655557A CN 200510024064 CN200510024064 CN 200510024064 CN 200510024064 A CN200510024064 A CN 200510024064A CN 1655557 A CN1655557 A CN 1655557A
- Authority
- CN
- China
- Prior art keywords
- position register
- attaching position
- data
- interface
- card
- 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
Links
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
This invention relates to a communication device of position register, which comprises at least two PCI in computer master board, Ethernet located in periphery PCI and at least one exchange virtual circuit card, interface process system of imbedded in CPU, connected between Ethernet and X.25 cards to establish connecting communication linkage, and to receive, process and transfer data.
Description
Technical field
The present invention relates to a kind of communicator, relate in particular to a kind of communicator that is used for attaching position register (HLR).
Background technology
Along with the fast-developing of telecommunication market with to improving constantly that communication quality requires, telecom operators have higher requirement to equipment supplier and service supplier.Originally, can not satisfy the requirement of telecommunications operator to speed based on the telecommunication service OSS (BSS/OSS) of RS-232 agreement (communication protocol of announcing in 1969 that U.S. EIA (Electronic Industries Association) develops with BELL companies such as (Bels)) and the communication mode between the attaching position register (HLR).Therefore, operator and suppliers press for and create the new data link of transmission fast, in order to improve the ability of the quick transmission of data between business operation support system (BSS/OSS) and the attaching position register (HLR).Attaching position register (HLR) manufacturer has developed new X.25 (communication protocol that International Telecommunications Union formulated in 1992) interface; In foreseeable future, attaching position register manufacturer also will develop TCP/IP, and (TCP/IP is the protocol family of a layering, is comprising thousands of agreements.The standardization of present agreement coordinate to be safeguarded by internet society, wherein most importantly Internet protocol (IP), transmission control protocol (TCP), User Datagram Protoco (UDP) (UDP)) interface, or other support the interface of higher traffic rate.Since in the business operation support system (BSS/OSS) with the attaching position register interface be attaching position register front end processor (HLR FRONT SERVER) system.Therefore attaching position register front end processor (HLR FRONT SERVER) must improve at the new open interface of attaching position register (HLR), specifically programming again.To promote the high-speed traffic ability between business operation support system (BSS/OSS) and the attaching position register (HLR).And for improving attaching position register front end processor (HLRFRONT SERVER), be very difficult.Because system is implemented into normal use and needs long period of time from starting to develop to.Especially for attaching position register front end processor (HLR FRONTSERVER), this to real-time, accuracy, stability requirement higher system, more need long trial run.Therefore, need and arrange necessary hardware and software according to new requirement configuration.
Summary of the invention
The objective of the invention is in order to overcome the problem in the technology formerly.A kind of communicator that is used for attaching position register is provided, and it can adapt to attaching position register for promoting the new open communication interface of communication speed.And can offer unified interface of attaching position register front end processor (HLR FRONT SERVER).Make when using the open new interface of attaching position register, need not to revise again the specific procedure of attaching position register front end processor, make telecom operators, risk minimum that equipment supplier, service provider carried on a shoulder pole, the cost minimum of system upgrade, the target that the present invention that Here it is pursues.
The present invention to achieve the above object, the technical measures scheme that is adopted is: it is comprised: the computer that has internal memory, mainboard and central processing unit.Be connected in the telecommunication cable between communicator and the attaching position register.Place at least two the peripheral element expansion slots (PCI slot) on the mainboard in the computer.Place Ethernet card and at least one Switched Virtual Circuit card on the peripheral element expansion slot (X.25 to block, X.25---the communication protocol that League of Nations formulated in 1992, X.25 block---use the X.25 card of agreement, it can set up PVC and Switched Virtual Circuit, when being connected on Alcatel attaching position register, being mainly used in and setting up Switched Virtual Circuit.Therefore, will X.25 block in the following description abbreviate the Switched Virtual Circuit card as).Be embedded in the central processing unit, be connected in the communication link that connects that is used between Ethernet card and the Switched Virtual Circuit card (X.25 card), receive, handle and transmit the interface treatment system of data, be allocated in the memory queue in the internal memory.
The described interface treatment system that is embedded in the interior central processing unit of computer comprises:
● set up the socket link unit that is connected with business operation support system: it is used for the access of latency services OSS, receives the connection request of business operation support system, and by Ethernet card, foundation is connected with business operation support system;
● set up the Switched Virtual Circuit unit that is connected with attaching position register: be used for after setting up with being connected of business operation support system, make a call to attaching position register by Switched Virtual Circuit card (X.25 card), indicating needs Terminal Service.Receive the answering call of attaching position register, link connects.The relevant parameter of this communicator of hlr inquiry is set, and the angelica location register begins service assignment with terminal when connecting to this, starts the service of landing;
● Data Receiving, processing and retransmission unit: be used to receive the data that business operation support system sends to attaching position register, and this data processing become the data format that attaching position register can receive, be sent to attaching position register by Switched Virtual Circuit card (X.25 card); Receive the data that attaching position register sends to business operation support system simultaneously, and, be sent to business operation support system by Ethernet card with the data format that this data processing becomes business operation support system to receive;
● disconnect linkage unit: be used to receive business operation support system and disconnect connection requests, this interface treatment system is disconnected and being connected of Switched Virtual Circuit card (X.25 blocking), promptly disconnect communication link.
As above-mentioned structure, comprise 1 computer in the communicator that is used for attaching position register of the present invention, place in the computer at least one X.25 card, be embedded with a socket treatment system at central processing unit.And at least one telecommunication cable.The telecommunication cable that is used for attaching position register of the present invention comprises: two ends have the cable of international standard interface.Interface one end at described two ends is and Switched Virtual Circuit card (X.25 card) international standard interface that standard interface links to each other that the other end is the international standard interface that links to each other with the attaching position register interface.
Described computer is a personal computer, or server, or work station, or minicomputer etc.But wherein must comprise central processing unit, internal memory, mainboard and hard disk etc.Also must comprise and to adapt to Ethernet card (the Ethernet card of 10M/100M) and X.25 block the PCI slot of required type and quantity.
Described Ethernet card is Ethernet (Ethernet) card of 10M/100M.The Ethernet interface of the 10M/100M that it provides meets the IEEE802.3 standard, and (LAN protocol that Institute of Electrical and Electric Engineers is formulated, it has determined the realization of the MAC sublayer of physical layer and data link layer.IEEE 802.3 uses the Carrier Sense Multiple Access that has collision detection with various friction speeds on many physical mediums.The extended edition of IEEE802.3 standard has been stipulated the realization of Fast Ethernet), its physical interface is that (RJ-45 is the popular kind of the socket connector (RJ connector) of registration to RJ-45, and rj connector is the AN connector that is used for connecting telephone line at first.Rj connector is used for phone now and connects and being connected of 10BaseT network and other type network).The Ethernet of described personal computer (Ethernet) interface is supported the connection speed of 10M/100M.
Described PCI slot is based on the expansion slot of PCI local bus (Pedpherd Component Interconnect, peripheral element extension interface), and the interface that inserts Ethernet card and X.25 block is provided.Its bit wide is 32 or 64, and operating frequency is 33MHz, and peak data transfer rate is 133MB/sec (32) and 266MB/sec (64).The PCI slot is the main expansion slot of mainboard, can obtain the nearly all outer connection function that present computer can be realized by the different expansion card of pegging graft.Quantity and the type that will insert X.25 operational PCI slot in the quantity of card and type (32 or 64) and the computer in the communicator of the present invention must be complementary.
Described X.25 card is a kind of intelligent multi-protocols wide area network interface card based on the pci bus server.It can set up PVC and Switched Virtual Circuit.Can be by special line and different wan protocol interconnection.As frame relay or X.25.It replaces server to carry out the lower layer protocol work of treatment, thereby has saved the cpu resource of server preciousness.Described at least 1 is meant that X.25 the quantity of card is determined by the attaching position register quantity of required connection.X.25 the card of each piece dual-port can provide the physical connection of the highest 2 attaching position registers.Communicator of the present invention can flexible configuration polylith list/dual-port X.25 card, with physical connection that a plurality of and attaching position register are provided and a plurality ofly be connected with the logic of attaching position register.X.25 communication protocol (X.25) standard interface that can provide International Telecommunications Union to formulate is provided for this, it provides the standard interface RS449 (standard interface of Electronic Industries Association's exploitation of the physical layer interface standard that meets Electronic Industries Association's exploitation, the transmission of employing balance mode mainly is to set up slowly for the communication distance weak point and the transmission rate that overcome the RS-232 interface standard.Adopt DB37 as interface connector).The connection speed of 2M can be provided, satisfy the interface rate of the desired 64Kbps of X.25 port that attaching position register newly opens.
Described its purpose of interface treatment system of the present invention is and will supports the system equipment of two different agreements to couple together, and these two systems can be intercomed mutually.For achieving the above object, the structure of interface treatment system of the present invention comprises aforesaid unit.
Described business operation support system and communicating by letter of attaching position register often are the front-end processor systems by attaching position register.Therefore, in this area, business operation support system is comprised that the attaching position register front-end processor system is referred to as Socket (socket) client.For convenience, below just replace business operation support system with the title of Socket client, the function of interface treatment system of the present invention is further described.
1, the socket link unit that described foundation is connected with business operation support system is sets up Socket (socket) connection.Because communicator of the present invention is as the Socket server.So this element at first is the access of waiting for the Socket client.Behind the connection request of receiving the Socket client, the interface treatment system is accepted the connection request of Socket, and a newly-built process handles this Socket and connect, and promptly sets up Socket (socket) and connects.
2, the Switched Virtual Circuit unit that described foundation is connected with attaching position register is foundation and X.25 connects.This communicator is at the connection request of receiving the Socket client, and after setting up Socket (socket) and connecting, the interface treatment system is initiated X.25 calling to attaching position register, and indicates and need Terminal Service (Termial Service); Attaching position register is replied calling X.25, X.25 connects link and is created as merit; After the relevant parameter of this communicator of hlr inquiry, relevant parameter is set.Attaching position register begins Terminal Service (Terminal Service) is distributed to this connection, starts the service of landing.
1, Data Receiving, processing and forwarding.The interface treatment system is done corresponding processing with the data that the Socket client in the Socket connection that receives is sent, and is forwarded in the X.25 connection, finally arrives attaching position register; The data that X.25 connect that the interface treatment system postbacks attaching position register are again done corresponding processing, and are forwarded in the Socket connection, finally arrive the Socket client.
2, disconnect connection.When receiving the disconnection connection request of Socket client, the interface treatment system disconnects and being connected of X.25 blocking, and then the communication link of the X.25 port of Socket client and attaching position register disconnects.
Described Socket is used for allowing a process and other process exchange information.And the Socket interface is the interface function of the application programming interfaces (Application Programming Interface) of TCP/IP network.Described communicator is meant and at first creates a service port number as the Socket server, and begin to intercept whether the client requests connection is arranged.The establishment of said Socket client is meant the server host name is set, as IP address, domain name or computer name, Service-Port is set then.After the establishment of Socket client and server is finished, promptly connect and finish, can begin communication.
X.25, described initiation is called out and is meant that this communicator is by request communication process calling attaching position register.The described link that X.25 connects is created as merit and is meant and can utilizes X.25 that agreement begins to carry out full duplex data communication.The relevant parameter of said communicator is meant X.25 address, domain name, port numbers, the password that lands, password etc.
Described data processing is because originally based on the execution command of the attaching position register of RS232 interface with current based on the execution command of the attaching position register of interface X.25 inconsistent part is arranged.This communicator need be done corresponding processing according to both sides' inconsistent point and be sent to separately communication objective ground again after the data of receiving business support system or attaching position register.The processing of the data of being done generally includes:
1) from the data of the attaching position register that X.25 receives, with the character string that comprises in the data " 1B[0m 1B (A " deletion, wherein " 1B " is hexadecimal value 1B, have " " expression is hexadecimal.Character string “ 1B[0m 1B (A " relevant with row control in interface X.25, do not belong to instruction execution result, therefore need deletion.
2) receive the data of operation system from Socket, if last position is not in the data that receive data " 01 " and receive previously " 1B ", then data " 1B " are put into Socket memory queue array, and be inserted in data " 01 " the memory queue array before.For example, suppose that the memory queue array sequence number that " 01 " deposits originally is 4, then after this judgement and operation are finished memory queue array sequence number to be the data deposited in 4 the array be " 1B ", memory queue array sequence number to be the data deposited in 5 the array be " 01 ".
Do this operation and mainly be because attaching position register X.25 in the interface regulation attaching position register must receive data “ 1B 01 " the back attaching position register just sends "〉" prompt, wait for interface handling procedure input command; If only receive data " 01 ", then do not do any operation.Therefore receive data “ 01 when the interface handling procedure " and data before be not “ 1B " time, need be with data “ 01 " be treated to data “ 1B 01 " just can send prompt.
3) receive the data of operation system from Socket, if receive data " 18 " and the data that receive previously in last position be not " 1B ", then data " 1B " are put into Socket memory queue array.And be inserted in data " 18 " before the memory queue array in.For example, suppose that the memory queue array sequence number that " 18 " deposits originally is 4, then after this judgement and operation are finished memory queue array sequence number to be the data deposited in 4 the array be " 1B ", memory queue array sequence number to be the data deposited in 5 the array be " 18 ".
Do this operation and mainly be because X.25 the regulation attaching position register must be after receiving data " 1B 18 " in the interface at attaching position register, attaching position register is just exported "〉〉〉1: open both sides' sessions (DIALOGUE SESSION OPENING); 2: the side's of operation conversation end (END OF OPERATORSESSION); Your selection (YOUR CHOICE)==" character string and prompt, wait for interface handling procedure input selection character " 1 " or " 2 "; If only receive data “ 18 ", then do not do any operation, therefore receive data “ 18 when the interface handling procedure " and data before be not “ 1B " time need with data “ 18 " be treated to data “ 1B 18 ".
For improving the communication speed of Socket client and attaching position register to the full extent.Data Receiving and forwarding capability in the interface treatment system of the present invention have utilized memory queue.Two memory queues in internal memory, have been distributed.In the memory queue, with the array form deposit respectively from the Socket connection with from X.25 being connected the data that receive.Promptly deposit respectively from business operation support system and the data sent from attaching position register.Corresponding each memory queue defines two variablees respectively, in order to can read the array sequence number at first and can write the array sequence number at first in the record memory field.Deposit data and the step that reads are as follows:
A. distribute two memory queues.The size of memory queue depends on the data signaling rate in the Socket connection and the instruction execution speed of data signaling rate that X.25 is connected and attaching position register.If memory queue definition is too little, from Socket connections, or will not have the space and deposit from X.25 connecting the data of receiving, can not send in time in the X.25 connection, or in the Socket connection, will cause the data obstruction.If the memory queue definition is too big, then memory queue is not effectively utilized, and has just caused the waste of memory source yet.Array quantity in the comprehensive above-mentioned reason and according to practical experience, memory queue fix on 8~20 comparatively desirable.
B. define two variablees of corresponding each memory queue respectively.Can read at first and can read the array of data sequence number at first in the array sequence number variable record memory queue, from 0 to N (N is the array quantitative value of memory queue), increase progressively successively, in the time can reading array sequence number variate-value at first and be N, will can read at first array sequence number variate-value again assignment be 0; Can write the writeable at first array sequence number in the array sequence number variable record memory queue at first, from 0 to N (N is the array quantitative value of memory queue), increase progressively successively, in the time can writing array sequence number variate-value at first and be N, will can write at first that array sequence number variate-value composes again is 0.
C. determine the state of memory queue according to the value that can read array sequence number variable at first and can write array sequence number variable at first, and whether decision receives new data and judgement and has and do not need the data transmitted.All be defined as 0 when 1) two variablees are initial; 2) equate that expression has not had to read needs the data transmitted when two variablees; Under other situations, but sense data; 3) it is full to be that the internal memory memory queue has been write in the time can reading array sequence number variable-can write array sequence number variable=1 at first at first or can read array sequence number variable-can write at first array sequence number variable=1-N at first, can not receive new data again; Under other situations, memory queue can write data.
The remarkable benefit that is used for the communicator of attaching position register (HLR) of the present invention.
Communicator of the present invention is by Ethernet (Ethernet) card, uses ICP/IP protocol to communicate by letter with business operation support system (BSS/OSS); Link to each other by X.25 blocking with attaching position register, and the X.25 standard traffic that utilizes the attaching position register interface to be supported, that is to say the transmission link between business operation support system (BSS/OSS) and attaching position register (HLR), meet the new open X.25 requirement of port communication speed of interface of attaching position register.To originally change into based on the transmission rate of the 64Kbps of communication protocol X.25 based on the transmission rate of the 9.6Kbps of RS232 communication protocol, the attaching position register front end processor (HLR FRONT SERVER) in the business operation support system does not need to revise it originally based on the command format of attaching position register RS232 interface simultaneously.
Under the attaching position register front end processor (HLR FRONTSERVER) of business operation support system (BSS/OSS) and the distance between the attaching position register (HLR) situation far away, can between this communicator and attaching position register, add router and be connected to attaching position register (HLR).As long as have the standard interface identical (as EIA530 on the router with the attaching position register interface, the communication protocol standard interface X.25 that International Telecommunications Union formulates, it adopts the balance mode transmission, contain 37 cores or 25 core connectors, meet the standard interface of the physical layer interface standard of Electronic Industries Association's exploitation) promptly passable.So communicator of the present invention can also be applied to the long situation of link.
Description of drawings
Fig. 1 is applied to connect the schematic diagram of business operation support system and attaching position register for communicator of the present invention.
Fig. 2 is applied to connect indirectly the schematic diagram of business operation support system and attaching position register for communicator of the present invention.
Fig. 3 is a communicator internal structure schematic diagram of the present invention.
Fig. 4 is the flow chart of the interface treatment system of communicator of the present invention.
Fig. 5 is the flow chart of communicator indirect call attaching position register of the present invention (HLR).
Fig. 6 reads and sends data thread schematic diagram for communicator of the present invention.
Fig. 7 is a communication device data write memory formation flow chart of the present invention.
Fig. 8 is that communicator of the present invention is from memory queue sense data flow chart.
Embodiment
Below in conjunction with accompanying drawing, further introduce structure of the present invention.Exemplary embodiments of the present invention is mainly with reference to the description of block diagram and flow chart.Wherein, step of each box indicating in the flow chart and device, parts or a unit carrying out this step.Need to prove that the parts of not all enforcement and step all need to describe in detail, just in order to understand structure of the present invention, Cai necessary those parts and step are described and describe.Conventional, perhaps according to technology provided by the invention, the step that those skilled in the art are easy to design, make or carry out is not described in detail.
Fig. 1 is that communicator of the present invention is directly connected in the schematic diagram between business operation support system and the attaching position register.Attaching position register in the present embodiment is Alcatel attaching position register.The interface that Alcatel attaching position register 03 provides at first is a RS-232 interface, and it directly is connected by telecommunication cable with business operation support system 01, and the communication speed that it connects is 9.6Kbps; The new open interface of Alcatel attaching position register is interface X.25, and its communication speed is 64Kbps.This communicator 02 is to be connected business operation support system 01 and to have between Alcatel attaching position register 03 of X.25 interface of new opening, plays data conversion and communication role.Wherein the X.25 interface that provides of attaching position register 03 is the synchronous communication mouth of a 64Kbps, its physical interface is the RS-530 (interface standard that Electronic Industries Association formulates, employing balance mode transmission contains the international standard interface of 25 core connectors), communication protocol is agreement X.25.X.25 card provides the standard interface RS449 of the physical layer interface standard that meets Electronic Industries Association's exploitation, adopts DB37 as interface connector, and the connection speed of 2M is provided.
Use based on ICP/IP protocol between the Ethernet of communicator 02 of the present invention (Ethernet) card and the business operation support system (BSS/OSS) and communicate by letter.
Fig. 2 is that communicator of the present invention is connected in the schematic diagram between business operation support system and the attaching position register indirectly.Because the distance between communicator 02 of the present invention and Alcatel attaching position register (AlcatelHLR) 03 is longer, then between can increase router, extends transmission distance.At first, communicate by letter with ICP/IP protocol by Ethernet card between communicator 02 of the present invention and the business operation support system (BSS/OSS) 01; Secondly, X.25 card is installed.In the present embodiment, X.25 card adopt to be liked health wide area network interface card S94 (for Canadian Eicon network company provides), utilizes between its X.25 port that provides and the local terminal router 04 that port (its physical interface that provides is the EIA-530 standard interface) X.25 is housed to be connected by the standard traffic cable; Local terminal router 04 connects by XOT (X.25 overTCP/IP) communication mode again and between the far-end router 05; Then, be connected by telecommunication cable X.25 between the far-end router 05 that port X.25 is installed and Alcatel attaching position register (Alcatel HLR) 03.Indirectly connected mode normally is deployed in communicator of the present invention the same machine room of business operation support system, simultaneously by being connected with Alcatel attaching position register that is distributed in variant machine room constructing virtual this communicator of X.25 net realization between this communicator and Alcatel attaching position register.
Fig. 3 is the internal structure of communicator of the present invention.As shown in Figure 3, it comprises: place the Ethernet card that has Ethernet physical interface 201 200 on the Ethernet interface on the computer 100 interior mainboards; Place in the computer 100 on the mainboards the X.25 X.25 card of physical interface 501 (abbreviating the Switched Virtual Circuit card as) 500 that has on the PCI slot (peripheral element expansion slot); Be embedded in the interface treatment system 400 in the central processing unit 300 in the computer 100.Interface treatment system 400 is connected in Ethernet card 300 and X.25 blocks between 500.
Described interface treatment system 400 comprises: set up the business operation support system connection and set up unit 410, set up the attaching position register connection and set up unit 420, Data Receiving, processing and retransmission unit 430 and disconnection linkage unit 440.Data Receiving wherein, processing and retransmission unit 430 comprise: receive business operation support system data module 431, the data processing module 432 of data is sent in processing from business operation support system and attaching position register, by X.25 blocking the transmission business operation support system data module 433 that sends business operation support system data after treatment to attaching position register, reception is sent the reception attaching position register data module 434 of data by X.25 blocking 500 attaching position registers of sending here, sends the transmission attaching position register data module 435 of treated attaching position register data by Ethernet card 200.
Structure as above-mentioned Fig. 3.Each all component of communicator of the present invention all places in the computer.The X.25 card of installing on this computer (abbreviating the Switched Virtual Circuit card as), in the present embodiment X.25 card adopt, and health (Canadian Eicon network company provide) wide area network interface card is provided.Like the X.25 port that health wide area network interface card (X.25 card) provides, it is a kind of synchronous serial interface, it can connect data terminal equipment (DTE) and X.25 the annex node in the packet switching network, balanced type link-access and support the packet-switch technology interface, meets the X.25 standard of agreement; The physical interface that provides is RS-449 (standard interface of Electronic Industries Association's exploitation adopts the balance mode transmission, mainly is to set up slowly for the communication distance weak point and the transmission rate that overcome the RS-232 interface standard, adopts DB37 as interface connector).X.25, this communicator is by passing through X.25 protocol transmission data between port and Alcatel attaching position register (Alcatel HLR).The love health wide area network interface card of polylith list/dual-port is installed on communicator of the present invention, can be directly linked to each other with a plurality of Alcatel attaching position registers simultaneously by its a plurality of X.25 ports that provide.The love health wide area network interface card of communicator of the present invention inside can support up to 2M based on the transfer of data of agreement X.25.Support the X.25 link of 32 64K to communicate by letter simultaneously in theory.If the logic linking number of the attaching position register that links to each other with this communicator is lower than 32, then can only use an X.25 card; If the logic linking number surpasses 32, then can determine concrete X.25 card number according to logic linking number and physical connection number.
The quantity and the type of saying that place the operational peripheral element expansion slot on the computer motherboard and place the quantity and the type of the Switched Virtual Circuit card (X.25 card) in the computer to be complementary.The bit wide of the Switched Virtual Circuit card of saying (X.25 card) is 32, perhaps is 64.The interface that Ethernet card provides is the 10M Ethernet interface, or the 100M Ethernet interface.
In above-mentioned 8 functions.Socket (Socket) connects foundations, business operation support system Data Receiving, the transmission of business operation support system data and is connected four functions such as disconnection by Ethernet card communication; Attaching position register connects foundation, the attaching position register data send and three functions of Data Receiving are passed through X.25 cartoon letters.In addition in the present embodiment, Ethernet card provides the Ethernet that meets RJ-45 standard physical interface, in order to connect business operation support system; X.25 card provides the X.25 physical interface that meets the RS-449 standard, in order to connect attaching position register.Interface treatment system and Ethernet card and the communication process that X.25 blocks are as follows:
1) receives business operation support system need set up socket (Socket) connection requests the time by Ethernet card when the interface treatment system, utilize business operation support system to connect and set up the request of unit 410 creation facilities program (CFP) response service OSSs, and set up the socket connection.
2) after the socket connection is set up successfully, the interface treatment system is utilized the attaching position register connection to set up unit 420 and is made a call to attaching position register by Switched Virtual Circuit card (X.25 card), X.25, the attaching position register response is called out, and unit 420 is set up in the X.25 connection that response message returns in the interface treatment system by Switched Virtual Circuit card (X.25 card), X.25 connect and set up successfully.
3) when socket connect with X.25 be connected set up successfully after, business operation support system and attaching position register can communicate by the interface treatment system.Business operation support system data reception module 431 receives the business operation support system data that business operation support system sends by Ethernet card in Data Receiving in the interface treatment system, processing, the retransmission unit 430, after the business operation support system data that 432 pairs of data processing modules in the interface treatment system receive were handled, the data after will handling by data transmission blocks 433 sent to attaching position register by card X.25; Attaching position register data reception module 434 receives the result data of attaching position register, its result data is submitted to data processing module 432 handle, and the data after will handling utilize data transmission blocks 435 to send to business operation support system by Ethernet card.
4) disconnect linkage unit 440, when sending by Ethernet card, business operation support system disconnects connection request, after disconnection linkage unit 440 in the interface treatment system receives the request of business operation support system, i.e. disconnection is connected with Switched Virtual Circuit card (X.25 card), and then the communication link of business operation support system and attaching position register is cancelled.
Fig. 4 is the flow process of the interface treatment system of communicator of the present invention, further introduces the process that business operation support system and attaching position register communicate by communicator of the present invention.
1) at first be to set up business operation support system to connect the unit 410 establishment Socket services 4101 of setting up, as shown in Figure 4.This communicator is created the transport services process as the Socket server; Wait for the connection request of Socket client, monitor the message 4102 of Socket client; Receive message, judge whether the connection request 4103 of Socket client,, enter step 4104 and connect if ask then communicator is made the Socket client and being replied; Otherwise repeating step 4102 continues to monitor.Set up when the Socket successful connection, show that then the communication port of business operation support system and communicator is set up successfully.
2) .A) if this communicator and attaching position register are (as shown in Figure 1) when directly linking to each other, then the interface treatment system of this communicator enters and sets up attaching position register and connect and to set up unit 420, at first initiate X.25 to call out 4201 to attaching position register, grouping is set up in request; Judge then whether attaching position register accepts this calling 4202; Attaching position register sends the relevant parameter 4203 of terminal if reply; Whether the setting of attaching position register parameter successful? if success, show that then interface treatment system and attaching position register set up a communication channel, and a number that can be connected the channel discriminating of seedbed and destination has been authorized in this grouping, and packet just can have been transmitted information between these two websites; If not success is then revised the parameter of terminal, or after revising the parameter 4205 of attaching position register, is continued step 4203 again.
B) if this communicator and attaching position register are (as shown in Figure 2) when linking to each other indirectly, promptly this communicator passes through the local terminal router and links to each other with attaching position register with far-end router.The process of communicator calling attaching position register as shown in Figure 5.It at first is that this communicator initiates X.25 to call out to the local terminal router that the calling attaching position register begins 4201, and indicate that to need Terminal Service be step 42011, then the local terminal router X.25 Call Transfer be that IP calls out and is step 42012, the local terminal router uses the XOT technology that call-delivery is step 42013 to far-end server then, after far-end server receives the IP/X.25 packet, initiating X.25 to call out to attaching position register is step 42014, attaching position register receives calls out back response calling, and to send answer signal be step 42015, after far-end router is received the response signal of attaching position register, packet (is called for short the XOT technology to utilize ICP/IP protocol to transmit X.25 again, X.25over TCP/IP) sending signal to the local terminal router is step 40216, the answer signal that the local terminal router transmits attaching position register to the interface treatment system is a step 420170, so far, this communicator is called out the attaching position register success.When the interface treatment system and the attaching position register of this communicator passes through A) direct mode or B) indirect mode X.25 behind the access success, the communication port that shows business operation support system and attaching position register has been set up and has been finished.Then enter step 4203, send the relevant parameter of this communicator, these parameters comprise the X.25 address of this communicator, and the X.25 address of attaching position register, step 4204 judges whether attaching position register is provided with parameter successful, when the parameter that sets in advance on these parameters and the attaching position register was consistent, this communicator can really begin to communicate by letter with attaching position register, X.25 connected and set up successfully; If step 42044 attaching position register is provided with parameter not successfully, relevant parameter on need execution in step 4205 these communicators of modification or the relevant parameter on the attaching position register re-execute step 4203 then.
The present invention be allocated in computer in have two memory queues, be to deposit respectively from business operation support system and the data sent from attaching position register with the array form.In the present embodiment, the array quantity in the memory queue is 8~20.For two variablees of definition in each memory queue, can write array sequence number variable at first and can read array sequence number variable at first.Deduct and can write array sequence number variable at first and equal 1 or can read array sequence number variable at first and deduct and can write array sequence number variable at first and equal 1 when deducting array quantity when reading array sequence number variable at first, communicator no longer writes data to memory queue.In the time can reading array sequence number variable at first and equal to write array sequence number variable at first, communicator is not in reading of data from memory queue.Reception and transmission data just write detailed process such as Fig. 7 and the Fig. 8 with sense data.
Fig. 7 receives data module 431,434 in the interface treatment system, be about to the host process of the flow process of data write memory formation.The data of write memory formation comprise two types, a kind of is in the array of the director data write memory formation that will receive in the Socket connection, and a kind of is in the array of the instruction execution result write memory formation returned of the attaching position register that will X.25 connect.Because these two kinds of data are except data content, form difference, the memory queue difference that writes, its implementation is identical.Therefore only will the process of the director data write memory formation array of reception being example in the Socket connection, set forth the process of data write memory formation array.Beginning, host process initialization two variablees of interface treatment system, will can write array sequence number variable V w at first and can read the equal assignment of array sequence number variable V r at first is 0; Then, host process is waited for the data 4310 in the Socket connection, if do not receive any data, then turns back to pending datas such as step 4310 continuation, otherwise enters step 4311; The data content is analyzed, and the command format that can carry out as if data content that receives and attaching position register is different, then the data content is changed, and converts the command format that attaching position register can be carried out to; After being disposed, data judge whether that Vr-Vw=1 or Vr-Vw=1-N (N is the quantitative value of array) show that memory queue is full, can not write data again, whether idle process turn back to memory queue judgement, otherwise be step 4312 in the array of the data write memory formation after will change; The value of Vw is added 1 be step 4313, show that the array sequence number in the writeable memory queue is big one, whether the value that at this moment needs to judge Vw equals defined array quantitative value N, if be not equal to N, then pending data such as to turn back to be step 4311 to process, otherwise it is 0 to be step 4314 that process again will be at first can write array sequence number variable V w assignment, and just first array of Socket memory queue turns back to and waits for data step 4310.
Fig. 8 sends data module 433,435 in the interface treatment system, i.e. sense data and send the flow process of data from the memory queue array.Sense data comprises two types from the memory queue array, and a kind of is that the instruction execution result that the attaching position register in the memory queue array returns is sent in the Socket connection; A kind of is the instruction that needs attaching position register to carry out in the memory queue array to be sent to X.25 connect.Because these two kinds of data are except data content, form difference, the memory queue difference that reads, its implementation is identical, and therefore only instruction process is an example to send X.25.At first, the data that interface is handled in the system wait Socket connection are step 4311, after having received data in the Socket connection, just begin reading of data from the memory queue array.The thread that sends data in the Socket connection judges whether can read array sequence number variable V r at first equals can write aray variable Vw at first, if Vr=Vw, the data that not can read are described, thread turns back to waits for data step 4311, otherwise thread reading of data step 4331, simultaneously data are sent to X.25 to connect to go up and be step 4332, and the value of Vr is added 1 be step 4333, thread then judgement can read the quantitative value N whether array sequence number variable V r equals array at first, if Vr equal N then thread be 0 for step 4334 with Vr assignment again, and turn back to and wait for data step 4311; Otherwise directly turning back to, thread waits for data step 4311.
Though above according to specific embodiment, the communicator that the present invention is used for attaching position register has carried out concrete description, it is not in order to limit scope of the present invention that embodiment described here only is regarded as explanation of the present invention.In fact, principle of the present invention also is applicable to the attaching position register of other types or other interface types.Should know, under the situation of marrow that does not depart from described technical scheme and scope, can make various changes, replacement and transformation, as change the configuration of computer or change used X.25 brand, model or the quantity of card, or attaching position register front end processor and apparatus of the present invention are integrated etc.
Claims (9)
1. communicator that is used for attaching position register, it comprises and has internal memory, the computer of mainboard and central processing unit, be connected in the telecommunication cable between computer and the attaching position register, it is characterized in that comprising at least two the peripheral element expansion slots (PCI slot) that place on the interior mainboard of computer, place Ethernet card and at least one Switched Virtual Circuit card (X.25 card) on the peripheral element expansion slot, be embedded in the central processing unit, be connected in the communication link that connects that is used between Ethernet card and the Switched Virtual Circuit card, receive, handle and transmit the interface treatment system of data, be allocated in the memory queue in the internal memory.
2. the communicator that is used for attaching position register according to claim 1 is characterized in that the interface treatment system that is embedded in the interior central processing unit of computer comprises:
● set up the socket link unit that is connected with business operation support system: it is used for the access of latency services OSS, receives the connection request of business operation support system, and by Ethernet card, foundation is connected with the socket of business operation support system;
● set up the Switched Virtual Circuit unit that is connected with attaching position register: be used for when be connected foundation with the socket of business operation support system after, make a call to attaching position register by Switched Virtual Circuit card (X.25 card), indicating needs Terminal Service; Receive the answering call of attaching position register, link connects; The relevant parameter of this communicator of hlr inquiry is set, and the angelica location register begins service assignment with terminal when connecting to this, starts the service of landing;
● Data Receiving, processing and retransmission unit, be used to receive the data that business operation support system sends to attaching position register, and this data processing become the data format that attaching position register can receive, be sent to attaching position register by Switched Virtual Circuit card (X.25 card); Receive the data that attaching position register sends to business operation support system simultaneously, and, be sent to business operation support system by Ethernet card with the data format that this data processing becomes business operation support system to receive;
● disconnect linkage unit, be used to receive business operation support system and disconnect connection requests, the interface treatment system is disconnected and being connected of Switched Virtual Circuit card (X.25 blocking), promptly disconnect communication link.
3. the communicator that is used for attaching position register according to claim 1, it is characterized in that the said memory queue that is allocated in internal memory has two memory queues, deposit respectively from business operation support system and the data sent from attaching position register with the array form.
4. the communicator that is used for attaching position register according to claim 3 is characterized in that the array quantity in the said memory queue is 8~20.
5. the communicator that is used for attaching position register according to claim 1, it is characterized in that said two end interfaces that are connected in the telecommunication cable between communication device of the present invention and the attaching position register, one end is the international standard interface that is connected in Switched Virtual Circuit card (X.25 card) interface, and the other end is the international standard interface that is connected in the attaching position register interface.
6. the communicator that is used for attaching position register according to claim 1, it is characterized in that said computer is the personal computer that comprises central processing unit, internal memory, mainboard, hard disk, Ethernet card, peripheral element extension interface, or server, or work station, or minicomputer.
7. the communicator that is used for attaching position register according to claim 6 is characterized in that the interface that said Ethernet card provides is the 10M Ethernet interface, or the 100M Ethernet interface.
8. the communicator that is used for attaching position register according to claim 1 is characterized in that saidly placing the quantity and the type of the operational peripheral element expansion slot on the computer motherboard and placing the quantity and the type of the Switched Virtual Circuit card (X.25 card) in the computer to be complementary.
9. the communicator that is used for attaching position register according to claim 8 is characterized in that the bit wide of said Switched Virtual Circuit card (X.25 card) is 32, perhaps is 64.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510024064 CN1655557A (en) | 2005-02-25 | 2005-02-25 | Communication equipment for home position register |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510024064 CN1655557A (en) | 2005-02-25 | 2005-02-25 | Communication equipment for home position register |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1655557A true CN1655557A (en) | 2005-08-17 |
Family
ID=34894322
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200510024064 Pending CN1655557A (en) | 2005-02-25 | 2005-02-25 | Communication equipment for home position register |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1655557A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113626230A (en) * | 2021-06-29 | 2021-11-09 | 浪潮电子信息产业股份有限公司 | Method and system for preventing SAS card from losing disk and locking card |
CN114489995A (en) * | 2022-02-15 | 2022-05-13 | 北京永信至诚科技股份有限公司 | Distributed scheduling processing method and system |
-
2005
- 2005-02-25 CN CN 200510024064 patent/CN1655557A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113626230A (en) * | 2021-06-29 | 2021-11-09 | 浪潮电子信息产业股份有限公司 | Method and system for preventing SAS card from losing disk and locking card |
CN113626230B (en) * | 2021-06-29 | 2024-02-02 | 浪潮电子信息产业股份有限公司 | Method and system for preventing SAS card from losing disc and locking card |
CN114489995A (en) * | 2022-02-15 | 2022-05-13 | 北京永信至诚科技股份有限公司 | Distributed scheduling processing method and system |
CN114489995B (en) * | 2022-02-15 | 2022-09-30 | 北京永信至诚科技股份有限公司 | Distributed scheduling processing method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5835725A (en) | Dynamic address assignment and resolution technique | |
US20190342117A1 (en) | Method for controlling a remote service access path and relevant device | |
US6370592B1 (en) | Network interface device which allows peripherals to utilize network transport services | |
US6636519B1 (en) | Network access method and network access server therefor | |
CN101141420B (en) | Method and system for performing data communication between private network and public network | |
CN1188983C (en) | Method of altering network equipment IP address via network managing equipment | |
US6542935B1 (en) | Method for obtaining a second address free from association with multiple devices | |
CN101047618A (en) | Method and system for acquiring network route information | |
CN1416239A (en) | Method for switching in virtual local area network of the access network with mixed optical fiber and coaxial line | |
CN100380902C (en) | Method for connection of data terminal devices to data network | |
CN108111558A (en) | A kind of high-speed packet disposal method, apparatus and system | |
US20040076121A1 (en) | Method for an internet communication | |
WO2002082754A1 (en) | An integrate network switching system | |
CN1972276A (en) | A management method and system for protocol access | |
CN1655557A (en) | Communication equipment for home position register | |
JP2001086156A (en) | Communication system using extended ppp frame | |
CN1638358A (en) | Method and system for unified session control of multiple management servers on network appliances | |
CN101155177B (en) | Data channel sharing system and method based on shared protocol | |
CN1499790A (en) | Method of interface for opening service to outside world through soft exchange facilities | |
CN115174310A (en) | PDN dialing and configuration method, system, device, equipment and storage medium | |
CN1608253A (en) | An efficient timeout message management in IEEE 1394 bridged serial bus network | |
CN100361465C (en) | Method of automatic topological discovery of broad band digital user cut-in concentrator cascade group network | |
CN1477838A (en) | User's card, user connection unit and exchange centre capable of collecting internet frames | |
JPH06509459A (en) | Centralized management system using bus interface unit | |
CN1980223A (en) | Device and method for realizing convertion between two different protocols |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |