Summary of the invention
The embodiment of the invention provides a kind of method of sending terminal services; Adopt the legitimacy of the application terminal that this method can hang down home gateway discern, thereby preventing that business that the user subscribes from being provided to the application terminal under the home gateway of other families use.
The embodiment of the invention also provides a kind of system of sending terminal services.
According to above-mentioned purpose, the technical scheme of the embodiment of the invention is achieved in that
A kind of method of sending terminal services comprises:
Send the register requirement that comprises application terminal identification information and gateway identification information to Automatic Configuration Server ACS;
Receive the configuration corresponding that said ACS sends with the application terminal;
Wherein, Said application terminal identification information and said gateway identification information are sent to customer data base DB by said ACS; By said DB according to said application terminal identification information and said gateway identification information; And the physical circuit information of gateway, confirm to send to said ACS behind the user service data corresponding with said application terminal, generate said configuration back by said ACS according to said user service data and send to said application terminal.
A kind of system of sending terminal services comprises application terminal, Automatic Configuration Server ACS and customer data base DB, it is characterized in that,
Said application terminal is used for sending the register requirement that comprises application terminal identification information and gateway identification information to said ACS; And receive the configuration corresponding that said ACS sends with the application terminal;
Wherein, Said application terminal identification information and said gateway identification information are sent to said DB by said ACS; By said DB according to said application terminal identification information and said gateway identification information; And the physical circuit information of gateway, confirm to send to said ACS behind the user service data corresponding with said application terminal, generate said configuration back by said ACS according to said user service data and send to said application terminal.
Can find out from such scheme; The method and system of the sending terminal services that the embodiment of the invention provides; Through in register requirement, carrying application terminal identification information and gateway identification information; Make DB to realize the binding of application terminal and physical circuit, ensure service security granting the corresponding application terminal of gateway down-hanging through the physical circuit information of above-mentioned information and gateway.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, the embodiment of the invention is done further to describe in detail below in conjunction with accompanying drawing.Physical circuit port address information
Embodiments of the invention provide a kind of method of sending terminal services, comprising:
Send the register requirement that comprises application terminal identification information and gateway identification information to ACS (Automatic Configuration Server, Auto-configuration Server);
Receive the configuration corresponding that said ACS sends with the application terminal;
Wherein, Said application terminal identification information and said gateway identification information are sent to customer data base DB by said ACS; By said DB according to said application terminal identification information and said gateway identification information; And the physical circuit information of gateway, confirm to send to said ACS behind the user service data corresponding with said application terminal, generate said configuration back by said ACS according to said user service data and send to said application terminal.
Adopt the method for above-mentioned sending terminal services; Through in register requirement, carrying application terminal identification information and gateway identification information; Make DB to ensure service security granting through the physical circuit information of above-mentioned information and gateway to the corresponding application terminal of gateway down-hanging.
Below use home network to be example, the method for sending terminal services is described in detail.In the home network, the application terminal is not directly to be connected with physical circuit (for example telephone line), is that home gateway and telephone line are direct-connected, and the embodiment of the invention will solve the problem of terminal and physical circuit binding.Like this, bind through application terminal and physical circuit when service dispense at the terminal, can discern the legitimacy of using the terminal, prevents that business that the user subscribes from being provided and use in other families.
With reference to figure 1; In step 102; Home gateway is to DSLAM (digital subscriber line access multiplex; Digital Subscriber Line Access Multiplexer) sends DHCP and know message, comprise the information of the gateway identification information (being gateway ID) such as OUI (organization unique identifier, Organizationally UniqueIdentifier), product type and product ID of home gateway in this message at least; Said information is carried by DHCP (DHCP, Dynamic Host Configuration Protocol) Option imformosome.Wherein OUI, product type and product ID are called equipment unique identification (gateway ID) altogether, the family gateway equipment that the equipment unique identification is corresponding unique.
Step 103; DSLAM is known the physical circuit information (specifically can be physical circuit port address information) that increases this home gateway in the message at the DHCP that is received; The physical circuit information of gateway is carried by the Option imformosome, again DHCP is known that message is sent to Dynamic Host Configuration Protocol server.Wherein, because the port on the DSLAM links to each other with home gateway, the physical circuit information of old family front yard gateway can directly be obtained by DSLAM.
Step 104, Dynamic Host Configuration Protocol server are given customer data base DB the physical circuit information reporting of gateway ID and gateway after receiving that DHCP is known message, the corresponding relation of the physical circuit information of DB record gateway ID and gateway.
Step 105, Dynamic Host Configuration Protocol server are returned DHCP to home gateway and are known response message.
Step 106, Dynamic Host Configuration Protocol server are that home gateway distributes its IP address through the DHCP mode.
Step 107, application terminal be through the device id (comprise OUI, product type and product ID) of DHCP mode to home gateway notice oneself, and obtain the gateway ID of IP address and home gateway from home gateway.Wherein the application terminal identification information is specially the device id of application terminal in this embodiment.
Step 108, register requirement is sent to ACS in the application terminal, comprises the device id at terminal and the gateway id information of home gateway in this request.
Step 109 after ACS receives the register requirement of application terminal, is transmitted to DB with the device id at the terminal that receives and the gateway id information of home gateway, confirms by DB whether each user terminal is legal.Determine whether legally specifically to comprise that DB is an index with the gateway ID of the home gateway received, retrieves the physical circuit information of the gateway of self preserving.Physical circuit information and application terminal device id with the gateway that retrieved is index then, searches corresponding user service data.If the application terminal is connected on other users' family; The meeting of registration was inconsistent when the physical circuit information of the gateway of the application terminal that reports so and application terminal device id and application were professional; Search professional can the failure; So just avoid the terminal being put into the situation that other people family is used, at this moment can return the inquiry failure and withdraw from this flow process, promptly got into step 112.If the success would get into step 110.
Step 110, DB generates the retrieval response message, comprises the physical circuit information and the application terminal device id of user service data, gateway in the retrieval response message, and should retrieve response message and return to ACS.
Step 111, ACS generates the configuration of application terminal according to the user service data in the retrieval response message, and with the terminal of the configuration distributing that is generated to correspondence.Wherein, described configuration can through the configuration file mode issue or command down-transmitting to corresponding terminal.
In sum; Adopt the method for the sending terminal services of the embodiment of the invention, through in the register requirement of sending, increasing application terminal identification information and gateway identification information, and above-mentioned information is transmitted to DB to ACS; Make that DB can be through searching the physical circuit information of corresponding gateway; Relevant information contrast during with the application business confirms whether the application terminal of application business datum is legal, therefore realizes the binding of business datum and physical circuit; Prevent that business that the user subscribes from being provided and use in other families, increase the fail safe of application terminal service dispense.
First system embodiment of the present invention provides a kind of system of sending terminal services, and is as shown in Figure 2, comprises application terminal, Automatic Configuration Server ACS and customer data base DB.Wherein the application terminal is used for sending the register requirement that comprises application terminal identification information and gateway identification information to said ACS; And receive the configuration corresponding that said ACS sends with the application terminal.
Wherein, Said application terminal identification information and said gateway identification information are sent to said DB by said ACS; By said DB according to said application terminal identification information and said gateway identification information; And the physical circuit information of gateway, confirm to send to said ACS behind the user service data corresponding with said application terminal, generate said configuration back by said ACS according to said user service data and send to said application terminal.
In the system of above-mentioned sending terminal services; The application terminal is through carrying application terminal identification information and gateway identification information in register requirement; Make DB to ensure service security granting through the physical circuit information of above-mentioned information and gateway to the corresponding application terminal of gateway down-hanging.
Below be the present invention's second system embodiment with DSL (digital subscriber line, Digital Subscriber Line) network system, the system of sending terminal services is described in detail.
The network model of xDSL is as shown in Figure 3.The user terminal 1 that home gateway is hung down and user terminal 2 are linked in the external network through home gateway.Concrete, home gateway passes through the independently interior digital subscriber line access multiplex DSLAM of physical circuit connection access network, and DSLAM is connected with Broadband Remote Access Server BRAS; BRAS in the Access Network is connected with Dynamic Host Configuration Protocol server, for home gateway provides PPPoE (point-to-point protocol, Point to Point Protocol overEthernet) mode and the access authentication of DHCP mode on the Ethernet, and is connected with core net.The network element relevant with the terminal traffic granting also has ACS, OSS (OSS, Operate Support System) and customer data base (DB), and wherein said OSS links to each other with DB.
Therefore under the access way of xDSL, each user has independently physical circuit and access interface, has discerned circuit or port just is equivalent to discern the user.If the user wants to obtain new business through increasing user terminal; Before service dispense; The user that user terminal is corresponding wants to open related service to operator's application earlier; Operator sends to DB through OSS with user's business datum; This user service data comprises PSTN (PSTN, Public Switched TelephoneNetwork) telephone number, last this user's of DSLAM of user applies physical circuit information, the device identification of user terminal and the business datum of user applies of gateway.
In embodiments of the present invention; The physical circuit information of this gateway is that DSLAM goes up this home gateway corresponding physical line information; Comprise port numbers, VPI (VCI; Virtual Path Identifier), VCI (VPI, Virtual Channel Identifier), VLAN (VLAN ID, Virtual Local Area Network).
In said system embodiment, details are as follows in the effect of each functional entity:
DSLAM is used for the physical circuit information of gateway and gateway identification information are sent to Dynamic Host Configuration Protocol server.
BRAS is used to receive and transmit the relevant information from DSLAM and Dynamic Host Configuration Protocol server.
Dynamic Host Configuration Protocol server is used to receive the physical circuit information and the gateway identification information of the gateway that DSLAM sends, and the physical circuit information and the gateway identification information of gateway is sent to DB.
DB is used to receive and preserve the physical circuit information and the gateway identification information of the gateway that Dynamic Host Configuration Protocol server sends.
Gateway is a home gateway in the present embodiment, is used for that gateway identification information is carried at DHCP and knows that message sends to said DSLAM; And to application terminal transmission gateway identification information.
Further, DB is used for also confirming whether each user terminal is legal, specifically is used for according to gateway identification information, searches the physical circuit information of the gateway corresponding with gateway identification information; The application terminal identification information of registration and the physical circuit information of gateway compare when professional with the physical circuit information of application terminal identification information and gateway and application; Confirm that the application terminal identification information of registration was corresponding when application terminal identification information and application were professional, and the physical circuit information of the physical circuit information of the gateway gateway of registering during with the application business is corresponding; And said user service data is carried at retrieval sends to said ACS in the response message, the user service data in the retrieval response message that is sent according to DB by ACS sends to the application terminal after generating the configuration of application terminal.Wherein, described configuration can through the configuration file mode issue or command down-transmitting to corresponding application terminal.
In sum; Adopt the system of the sending terminal services of the embodiment of the invention, through in the register requirement of sending, increasing application terminal identification information and gateway identification information, and above-mentioned information is transmitted to DB to ACS; Make that DB can be through searching the physical circuit information of corresponding gateway; Relevant information contrast during with the application business confirms whether the application terminal of application business datum is legal, therefore realizes the binding of business datum and physical circuit; Prevent that business that the user subscribes from being provided and use in other families, increase the fail safe of application terminal service dispense.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.