CN105791146A - Method, device and system for interaction of customer premises equipment and auto-configuration sever - Google Patents

Method, device and system for interaction of customer premises equipment and auto-configuration sever Download PDF

Info

Publication number
CN105791146A
CN105791146A CN201410817798.9A CN201410817798A CN105791146A CN 105791146 A CN105791146 A CN 105791146A CN 201410817798 A CN201410817798 A CN 201410817798A CN 105791146 A CN105791146 A CN 105791146A
Authority
CN
China
Prior art keywords
cpe
acs
address
corresponding relation
buffer memory
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.)
Granted
Application number
CN201410817798.9A
Other languages
Chinese (zh)
Other versions
CN105791146B (en
Inventor
汪洪恩
王永前
邓庆锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410817798.9A priority Critical patent/CN105791146B/en
Publication of CN105791146A publication Critical patent/CN105791146A/en
Application granted granted Critical
Publication of CN105791146B publication Critical patent/CN105791146B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention provides a method, device and system for interaction of a piece of customer premises equipment and an auto-configuration sever, and relates to the field of communication. According to the method, device and system, the load of a load balancer LB can be mitigated, and the LB is prevented from appearing performance bottleneck. The method comprises that the LB receives service messages sent by the customer premises equipment CPE; the service messages are analyzed, thus obtaining the IP address of the CPE; when the LB caches the corresponding relationship of the IP address of the CPE and the auto-configuration sever ACS, it is determined that the corresponding relationship is in a preset cache valid period; and the service messages are sent to the ACS; wherein the corresponding relationship of the IP address of the CPE and the ACS is built by the LB according to the mapping relationship of the unique identifier of the CPE and the ACS. The embodiment of the invention is used for interaction of the CPE and the ACS.

Description

The method, apparatus and system that user side equipment is mutual with configuration service device
Technical field
The present invention relates to the communications field, particularly relate to the method, apparatus and system that a kind of user side equipment is mutual with configuration service device.
Background technology
Development along with the Internet, the business of its carrying is enriched constantly, also derived Broadband Terminal Equipment of a great variety, substantial amounts simultaneously, such as, Set Top Box, home gateway, IP phone terminal etc., different types of Broadband Terminal Equipment is referred to as CPE (CustomerPremisesEquipment, user side equipment).Wherein, the work such as relevant to CPE configuration, diagnosis, upgrading complete by ACS (Auto-ConfigurationSever, configuration service device).
Generally, CPE and ACS's is mutual each through LB (LoadBalancer, load-balancing device) it is scheduling, this LB is when receiving the CPE service message sent, it is resolved to the 7th layer (application layer) of this service message, obtain unique mark of this CPE, and according to this uniquely mark be this CPE unique ACS of distribution by preset rules, realize the binding of CPE and ACS, now, owing to all CPE are required for being scheduling by LB to the ACS service message sent, and this LB needs service message is carried out deep layer parsing, easily causes the performance bottleneck of LB.
Summary of the invention
The present invention provides the method, apparatus and system that a kind of user side equipment and configuration service device are mutual, it is possible to alleviate the burden of LB, it is to avoid performance bottleneck occurs LB.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
First aspect, it is provided that a kind of method that user side equipment is mutual with configuration service device, including:
Load-balancing device LB receives the user side equipment CPE service message sent;
Resolve described service message, obtain the internet protocol address of described CPE;
When described LB is cached with the corresponding relation of the IP address of described CPE and configuration service device ACS, it is determined that described corresponding relation is in default buffer memory effect duration, sends described service message to described ACS;Wherein, the IP address of described CPE and the corresponding relation of described ACS are that described LB sets up with the mapping relations of described ACS according to unique mark of described CPE.
In conjunction with in the first possible implementation of first aspect, after the internet protocol address of the described CPE of described acquisition, described method also includes:
When the corresponding relation of the uncached IP address having described CPE of described LB and ACS, obtain unique mark of described CPE;
Unique according to described CPE identifies, and unique mark of CPE determines the ACS corresponding with described CPE with the mapping relations of ACS;
The IP address of CPE described in buffer memory and the corresponding relation of described ACS.
In the implementation that the second in conjunction with first aspect is possible, after the internet protocol address of the described CPE of described acquisition, described method also includes:
When described LB is cached with the corresponding relation of the IP address of described CPE and an ACS, it is determined that the IP address of described CPE and the corresponding relation of an ACS are not in described default buffer memory effect duration, obtain unique mark of described CPE;
Unique according to described CPE identifies, and uniquely identifying of CPE determines twoth ACS corresponding with described CPE with the mapping relations of ACS;A described ACS and described 2nd ACS is the arbitrary ACS in wide area network terminal management system;
The IP address of described CPE is utilized to update the IP address of described CPE and the corresponding relation of a described ACS with the corresponding relation of described 2nd ACS.
In conjunction with the implementation that first or the second of first aspect are possible, in the implementation that the third is possible, described method also includes: the cache-time mark of the corresponding relation of the IP address of CPE described in described LB buffer memory and ACS;
Described determine that described corresponding relation was in default buffer memory effect duration and specifically include:
Determine the cache-time mark of described corresponding relation, with the time difference of current time less than or equal to described default buffer memory effect duration;
Described determine that the IP address of described CPE and the corresponding relation of an ACS are not in described default buffer memory effect duration to specifically include:
Determine that the cache-time of the IP address of described CPE and the corresponding relation of a described ACS identifies, with the time difference of current time more than described default buffer memory effect duration.
In conjunction with any one the possible implementation in the third possible implementation of first aspect to first aspect, in the 4th kind of possible implementation, described method also includes:
Described CPE does not specifically support the uniform resource locator URL CPE revised.
Second aspect, it is provided that a kind of load-balancing device, including:
Receive unit, for receiving the user side equipment CPE service message sent;
Resolution unit, for resolving the service message that described reception unit receives, obtains the internet protocol address of described CPE;
Determine unit, when described LB is cached with the corresponding relation of the IP address of described CPE and configuration service device ACS, it is determined that described corresponding relation was in default buffer memory effect duration;Wherein, the IP address of described CPE and the corresponding relation of described ACS are that described LB sets up with the mapping relations of described ACS according to unique mark of described CPE;
Transmitting element, for sending described service message to described ACS.
In conjunction with in the first possible implementation of second aspect, described resolution unit is additionally operable to, if the corresponding relation of the uncached IP address having described CPE of described LB and ACS, obtains unique mark of described CPE;
Described determine that unit is additionally operable to, the unique mark according to described CPE, and unique mark of CPE determines the ACS corresponding with described CPE with the mapping relations of ACS;
Described LB also includes memory element, the corresponding relation of the IP address of CPE and described ACS described in buffer memory.
In the implementation that the second in conjunction with second aspect is possible, described determine that unit is additionally operable to, when described LB is cached with the corresponding relation of the IP address of described CPE and an ACS, it is determined that the IP address of described CPE and the corresponding relation of an ACS were not in described default buffer memory effect duration;
Described resolution unit is additionally operable to, and obtains unique mark of described CPE;
Described determine that unit is additionally operable to, the unique mark according to described CPE, and uniquely identifying of CPE determine twoth ACS corresponding with described CPE with the mapping relations of ACS;A described ACS and described 2nd ACS is the arbitrary ACS in wide area network terminal management system;
Described LB also includes memory element, and the corresponding relation of IP address with described 2nd ACS for utilizing described CPE updates the IP address of described CPE and the corresponding relation of a described ACS.
In conjunction with the implementation that first or the second of second aspect are possible, in the implementation that the third is possible, described memory element is additionally operable to: the cache-time being cached with the IP address of described CPE and the corresponding relation of ACS identifies;
Described determine that unit is determined that described corresponding relation was in default buffer memory effect duration and specifically included: determine the cache-time mark of described corresponding relation, with the time difference of current time less than or equal to described default buffer memory effect duration;
Described determine that unit determines that the IP address of described CPE and the corresponding relation of an ACS are not in described default buffer memory effect duration to specifically include:
Determine that the cache-time of the IP address of described CPE and the corresponding relation of a described ACS identifies, with the time difference of current time more than described default buffer memory effect duration.
The third aspect, it is provided that a kind of wide area network terminal management system, including, configuration service device ACS and user side equipment CPE, also include: load-balancing device LB;
Wherein, described LB is connected with described CPE and described ACS respectively;
Described LB be second aspect to second aspect the third possible implementation described in load-balancing device.
In conjunction with in the first possible implementation of the third aspect:
Described CPE is used for, and receives the ACS uniform resource locator URL of described ACS sent at described CPE, and after utilizing the URL of described ACS to replace the URL preset in described CPE, by described default URL backup storage;
Determine that described CPE meets pre-conditioned according to the URL of described ACS to the described ACS service message sent;The described pre-conditioned number of times for sending described service message reaches the threshold value preset, or, described pre-conditioned for described CPE after first time sends described service message, the time threshold through presetting does not receive the described ACS response message sent;
Described default URL according to backup storage sends described service message.
Adopt such scheme, load-balancing device LB sets up the IP address of also this CPE of buffer memory and the corresponding relation of ACS according to unique mark of user side equipment CPE with the mapping relations of configuration service device ACS, and within default buffer memory effect duration, this LB is after receiving this CPE service message sent, only service message need to be carried out 3 layers and resolve acquisition IP address, in compared to existing technology, LB receives this CPE service message sent every time, all need to carry out 7 layers and resolve the unique mark of acquisition, the embodiment of the present invention alleviates the burden of LB, it is to avoid performance bottleneck occurs in this LB.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below the accompanying drawing used required during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structural representation of existing wide area network terminal management system;
The schematic flow sheet of the method that a kind of user side equipment that Fig. 2 provides for the embodiment of the present invention is mutual with configuration service device;
The schematic flow sheet of the method that the another kind of user side equipment that Fig. 3 provides for the embodiment of the present invention is mutual with configuration service device;
The structural representation of a kind of load-balancing device that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the another kind of load-balancing device that Fig. 5 provides for the embodiment of the present invention;
The structural representation of a kind of wide area network terminal management system that Fig. 6 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Following example of the present invention are for wide area network terminal management system as shown in Figure 1, this wide area network terminal management system includes load-balancing device LB, ACS cluster and user side equipment CPE, this ACS cluster includes at least two ACS, this LB is for dispatching the CPE service message sent to ACS, realize the load balancing of ACS cluster, this ACS is for according to the CPE service message sent, issuing the business such as configuration, diagnosis or the upgrading relevant to this CPE.In order to avoid ACS is when receiving the request of CPE every time, from DB (DataBase, data base), all obtain configuration data corresponding to this CPE, cause data base's bottleneck, ACS can access the configuration data of the CPE of this ACS by buffer memory in advance, it is therefore desirable to the fixing binding of CPE and ACS.
In order to those skilled in the art can fast understanding technical scheme, below the relational language that the present invention relates to is illustrated:
OSI (OpenSystemInterconnection, open system interconnection net reference model): it is the method for designing of a kind of framework, it is logically divided into procotol 7 layers, is followed successively by from the bottom to top: physical layer, data link layer, Internet, transport layer, session layer, expression layer, application layer.Wherein, the parsing of message is resolved to top order successively only in the bottom.
Wherein, resolve the CPE service message sent to Internet, IP (InternetProtocol, the Internet protocol) address of this CPE can be got.IP address is network is each CPE logical address distributed, and when CPE starts every time, the IP address that network is this CPE distribution is likely to difference;Resolve the CPE service message sent to application layer, unique mark of this CPE can be got.
Unique mark of CPE: it can be the MAC (MediaAccessControl of CPE, media access control layer) address, can also being the equipment Serial Number (SerialNumber) of CPE, wherein, unique mark of CPE be included in the application layer of this CPE service message sent.
The embodiment of the present invention provides a kind of method that user side equipment and configuration service device are mutual, as in figure 2 it is shown, the method includes:
S201, LB receive the CPE service message sent.
Wherein, this LB can be a configuration service device ACS, say, that there is an independent ACS in the ACS cluster of wide area network terminal management system and is used as load balancing.It addition, CPE is when dispatching from the factory, the ACSURL (UniformResourceLocator, uniform resource locator) of default configuration is the URL of this LB, and so, service message upon actuation, is sent to this LB by this CPE according to the URL of acquiescence.
S202, this LB resolve this service message, obtain the IP address of this CPE.
S203, when this LB is cached with the corresponding relation of the IP address of this CPE and configuration service device ACS, this LB determines that this corresponding relation is in default buffer memory effect duration, this service message is sent to this ACS, wherein, the IP address of this CPE and the corresponding relation of this ACS are that this LB sets up with the mapping relations of this ACS according to unique mark of this CPE.
It should be noted that this LB storage has unique mark of CPE and the mapping relations of ACS, wherein, these mapping relations can be pre-set according to the quantity of CPE and the quantity of ACS by user.It addition, by preceding description it can be seen that unique mark of this CPE can be the MAC Address of this CPE, it is also possible to for the equipment Serial Number of this CPE.
Specifically, this LB, when the corresponding relation of the uncached IP address having this CPE and ACS, obtains unique mark of this CPE, the unique mark according to this CPE, and uniquely identifying of CPE determine the IP address of the ACS corresponding with this CPE, this CPE of buffer memory and the corresponding relation of this ACS with the mapping relations of ACS.
In a kind of possible implementation of the embodiment of the present invention, this LB is while the IP address of this CPE of buffer memory with the corresponding relation of this ACS, the cache-time mark of this corresponding relation of buffer memory, this cache-time mark can be this LB system time when this corresponding relation of buffer memory.
So, this LB determines that this corresponding relation was in default buffer memory effect duration and is specifically as follows, it is determined that the cache-time mark of this corresponding relation, with the time difference of current time less than or equal to this buffer memory effect duration preset.Wherein, this buffer memory effect duration can by user previously according to requirements set, such as 30 seconds.
Further, this LB is when being cached with the corresponding relation of the IP address of this CPE and an ACS, it is determined that the IP address of this CPE and the corresponding relation of an ACS are not in the buffer memory effect duration preset, and obtain unique mark of this CPE;Unique according to this CPE identifies, and uniquely identifying of CPE determines twoth ACS corresponding with this CPE with the mapping relations of ACS;Oneth ACS and the 2nd ACS is the arbitrary ACS in wide area network terminal management system;The IP address of this CPE and the corresponding relation of the 2nd ACS is utilized to update the IP address of this CPE and the corresponding relation of an ACS.
What deserves to be explained is, the IP address of this CPE is variable when each starting up, therefore, if LB is that CPE assigns ACS according only to the mapping relations of IP address Yu ACS, it is impossible to ensure the fixing binding of CPE and ACS, say, that, after twice start of this CPE, the ACS of access is likely to difference.But, in embodiments of the present invention, unique mapping relations identified with ACS that the IP address of CPE and the corresponding relation of ACS are according to CPE are set up, unique mark of CPE is constant, so, LB, at the default effective after date of buffer memory, all can set up the IP address of CPE and the corresponding relation of ACS according to unique mark of CPE with the mapping relations of ACS, it is ensured that can be linked into identical ACS after each starting up of this CPE again.
And, within default buffer memory effect duration, this LB, after receiving this CPE service message sent, obtains the IP address of this CPE, from the above-mentioned explanation to OSI, LB obtains the IP address of CPE only need to carry out 3 layers of parsing to service message, in compared to existing technology, LB receives this CPE service message sent every time, all needs to carry out 7 layers and resolves the unique mark obtaining this CPE, the embodiment of the present invention alleviates the burden of LB, it is to avoid performance bottleneck occurs in this LB.
The technical scheme of a kind of method that the embodiment of the present invention provides in order to enable those skilled in the art to be more clearly understood that user side equipment and configuration service device are mutual, below by specific embodiment, technical scheme provided by the invention is described in detail, as it is shown on figure 3, include:
S301, LB receive the CPE service message sent.
S302, this LB are resolved to the Internet of this service message, obtain the IP address of this CPE.
By the aforementioned introduction to OSI, Internet belongs to the 3rd layer of service message.
S303, this LB determine whether the corresponding relation of IP address and the ACS being cached with this CPE.
Wherein, as it is shown in figure 1, an ACS is the arbitrary ACS in this wide area network terminal management system.
Further, if the corresponding relation of the uncached IP address having this CPE of this LB and an ACS, step S304 to step SS307 is performed;If this LB is cached with the IP address of this CPE and the corresponding relation of an ACS, perform step S308.
S304, this LB are resolved to the application layer of this service message, obtain unique mark of this CPE.
By the aforementioned introduction to OSI, application layer belongs to the 7th layer of service message.
S305, this LB identify according to the unique of this CPE, and uniquely identifying of CPE determines an ACS corresponding for this CPE with the mapping relations of ACS.
Alternatively, these mapping relations are that the unique mark to CPE adopts the cryptographic Hash of hash algorithm acquisition and the corresponding relation of ACS, then this LB calculates the cryptographic Hash of this MAC Address, inquires about this mapping relations, it is determined that the ACS that this cryptographic Hash is corresponding.
Illustratively, before system start-up, user presets the radix of hash algorithm in LB according to the quantity of CPE, such as, the quantity of this CPE is 1,000,000, then can set the radix of this hash algorithm as 10,000, say, that the span of the uniquely identified cryptographic Hash of all CPE is one to one ten thousand;And according to the quantity of ACS to cryptographic Hash segmentation, for instance, the quantity of this ACS is 4, then cryptographic Hash can be divided into four sections: 1-2500,2501-5000,5001-7500,7501-10000, wherein, and the corresponding ACS of each Hash section.Therefore, this LB, after the uniquely identified cryptographic Hash obtaining this CPE, inquires about the Hash section residing for this cryptographic Hash, and it is this CPE ACS assigned that ACS corresponding to this Hash section is this LB.
S306, this LB this CPE of buffer memory the corresponding relation of IP address and an ACS, and the cache-time mark of this corresponding relation.
Wherein, this cache-time mark can be this LB system time when this corresponding relation of buffer memory.
This service message is sent to an ACS by S307, this LB.
Whether S308, this LB determine that the cache-time of the IP address of this CPE and the corresponding relation of an ACS identifies, with the time difference of current time less than or equal to default buffer memory effect duration.
Wherein, this buffer memory effect duration can by user previously according to requirements set, and such as 30 seconds, this was not limited by the present invention.
Further, if the cache-time that this LB determines the IP address of this CPE and the corresponding relation of an ACS identifies, with the time difference of current time less than or equal to default buffer memory effect duration, then perform step S309;If the cache-time that this LB determines the IP address of this CPE and the corresponding relation of an ACS identifies, with the time difference of current time more than this buffer memory effect duration preset, then perform step S310 to step S313.
This service message is sent to an ACS by S309, this LB.
S310, this LB are resolved to the application layer of this service message, obtain unique mark of this CPE.
S311, this LB identify according to the unique of this CPE, and uniquely identifying of CPE determines the 2nd corresponding for this CPE ACS with the mapping relations of ACS.
It should be noted that the 2nd ACS is the arbitrary ACS in wide area network terminal management system.Further, if the IP address after this starting up of this CPE is identical with the IP address after last time starting up, then a 2nd ACS and ACS is same ACS.
S312, this LB utilize the IP address of this CPE and the corresponding relation of the 2nd ACS to update the IP address of this CPE and the corresponding relation of an ACS, utilize the cache-time mark of the IP address with cache-time mark this CPE of renewal of the corresponding relation of the 2nd ACS, the IP address of this CPE and the corresponding relation of an ACS.
This service message is sent to the 2nd ACS by S313, this LB.
What deserves to be explained is, if this LB is cached with the IP address of this CPE and the corresponding relation of an ACS, and the cache-time mark of this corresponding relation, with the time difference of current time more than default buffer memory effect duration, then an ACS was this IP address before this buffer memory effect duration preset, the ACS that affiliated CPE is corresponding.If the CPE that this IP address is belonging to before this buffer memory effect duration preset is identical with the CPE that this sends service message, then an ACS and the 2nd ACS is same ACS.
By above-mentioned steps it can be seen that LB is at the default effective after date of buffer memory, all again the IP address of CPE and the corresponding relation of ACS can be set up according to unique mark of CPE with the mapping relations of ACS, it is ensured that after each starting up of this CPE, identical ACS can be linked into.It should be noted that this buffer memory effect duration preset should be less than the interval between twice start of CPE, otherwise, twice start of this CPE is likely to access different ACS.Therefore, user according to the practical situation at CPE available machine time interval, can set rational buffer memory effect duration.
So, within default buffer memory effect duration, this LB, after receiving this CPE service message sent, obtains the IP address of this CPE, from the above-mentioned explanation to OSI, LB obtains the IP address of CPE only need to carry out 3 layers of parsing to service message, in compared to existing technology, LB receives this CPE service message sent every time, all needs to carry out 7 layers and resolves the unique mark obtaining this CPE, the embodiment of the present invention alleviates the burden of LB, it is to avoid performance bottleneck occurs in this LB.
Additionally, according to existing TR069 agreement, ACS is after receiving the CPE service message sent, it is capable of identify that whether this CPE belongs to this ACS, for not being the CPE belonging to this ACS, this ACS sends the URL of self to this CPE, and this CPE is after receiving this ACS URL sent, the URL of this CPE LB stored is replaced by the URL utilizing this ACS, and the URL according to this ACS directly sends service message to this ACS.But, of a great variety due to CPE, some CPE support the amendment of URL, some CPE do not support the amendment of URL, therefore, in a kind of possible implementation of the embodiment of the present invention, for not supporting that the URL CPE revised, this type of CPE still send service message to LB, LB it is scheduling;For supporting that the CPE, this type of CPE of URL amendment according to existing procedure after the URL using ACS replaces the URL of LB, can directly transmit service message to ACS.So, this LB only receives the service message not supporting that the URL CPE revised sends, and further mitigates the burden of this LB.
It should be noted that, for said method embodiment, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, secondly, those skilled in the art also should know, embodiment described in this description belongs to preferred embodiment, necessary to involved action and the module not necessarily present invention.
The embodiment of the present invention provides a kind of load-balancing device LB40, this LB40 for implementing the embodiment of the method for above-mentioned Fig. 2, and its each functional unit is used equally to said method step.As shown in Figure 4, including:
Receive unit 41, for receiving the CPE service message sent;
Resolution unit 42, for resolving the service message that this reception unit 41 receives, obtains the internet protocol address of this CPE;
Determine unit 43, when this LB is cached with the corresponding relation of the IP address of this CPE and configuration service device ACS, it is determined that this corresponding relation was in default buffer memory effect duration;Wherein, the IP address of described CPE and the corresponding relation of described ACS are that described LB sets up with the mapping relations of described ACS according to unique mark of described CPE;
Transmitting element 44, for sending this service message to this ACS.
Alternatively, this resolution unit 42 is additionally operable to, if the corresponding relation of the uncached IP address having this CPE of this LB and ACS, obtains unique mark of this CPE;This determines that unit 43 is additionally operable to, the unique mark according to this CPE, and unique mark of CPE determines the ACS corresponding with this CPE with the mapping relations of ACS;This LB40 also includes memory element 45, for the corresponding relation of IP address and this ACS of this CPE of buffer memory.
Alternatively, this determines that unit 43 is additionally operable to, when this LB is cached with the corresponding relation of the IP address of this CPE and an ACS, it is determined that the IP address of this CPE and the corresponding relation of an ACS were not in this buffer memory effect duration preset;This resolution unit is additionally operable to, and obtains unique mark of this CPE;This determines that unit 43 is additionally operable to, the unique mark according to this CPE, and uniquely identifying of CPE determines twoth ACS corresponding with this CPE with the mapping relations of ACS;Oneth ACS and the 2nd ACS is the arbitrary ACS in wide area network terminal management system;This memory element 45 is additionally operable to, and utilizes the IP address of this CPE and the corresponding relation of the 2nd ACS to update the IP address of this CPE and the corresponding relation of an ACS.
Specifically, this memory element 45 is additionally operable to, and the cache-time of the IP address of this CPE of buffer memory and the corresponding relation of ACS identifies;This determines that unit 43 is determined that this corresponding relation was in default buffer memory effect duration and specifically included: determine the cache-time mark of this corresponding relation, with the time difference of current time less than or equal to this buffer memory effect duration preset;This determines that unit 43 determines that the IP address of this CPE and the corresponding relation of an ACS are not in this buffer memory effect duration preset and specifically include: determine that the cache-time of the IP address of this CPE and the corresponding relation of an ACS identifies, with the time difference of current time more than this default buffer memory effect duration.
By the above-mentioned explanation to OSI, 3rd layer (Internet) of service message carries the IP address of this CPE, 7th layer (application layer) carries unique mark of this CPE, adopt above-mentioned load-balancing device LB, this LB storage has unique mark of CPE and the mapping relations of configuration service device ACS, and sets up the IP address of also this CPE of buffer memory and the corresponding relation of ACS according to these mapping relations.So, within default buffer memory effect duration, this LB is after receiving this CPE service message sent, only service message need to be carried out 3 layers and resolve acquisition IP address, in compared to existing technology, LB receives this CPE service message sent every time, all needs to carry out 7 layers and resolves the unique mark of acquisition, the embodiment of the present invention alleviates the burden of LB, it is to avoid performance bottleneck occurs in this LB;At the default effective after date of buffer memory, this LB all can set up the IP address of also this CPE of buffer memory and the corresponding relation of ACS again according to unique mark of CPE and these mapping relations, it is ensured that the fixing binding of CPE and ACS.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, only it is illustrated with the division of above-mentioned each functional module, in practical application, as desired above-mentioned functions distribution can be completed by different functional modules, it is divided into different functional modules, to complete all or part of function described above by the internal structure of device.The device of foregoing description and the specific works process of unit, it is possible to reference to the corresponding process in preceding method embodiment, do not repeat them here.
The embodiment of the present invention provides another kind of load-balancing device LB50, as it is shown in figure 5, this LB50 includes:
Processor (processor) 51, communication interface (CommunicationsInterface) 52, memorizer (memory) 53 and communication bus 54;Wherein, described processor 51, described communication interface 52 complete mutual communicating with described memorizer 53 by described communication bus 54.
Processor 51 is probably a multi-core central processing unit CPU or specific integrated circuit ASIC (ApplicationSpecificIntegratedCircuit), or is configured to implement one or more integrated circuits of the embodiment of the present invention.
Memorizer 53 is used for depositing program code, and described program code includes computer-managed instruction and network flow graph.Memorizer 53 is likely to comprise high-speed RAM memorizer, it is also possible to also include nonvolatile memory (non-volatilememory), for instance at least one disk memory.
Described communication interface 52, for realizing the connection communication between these devices.
Described processor 51 is for performing the program code in described memorizer 53, to realize following operation:
Receive the CPE service message sent;
Resolve described service message, obtain the internet protocol address of described CPE;
When described LB is cached with the corresponding relation of the IP address of described CPE and configuration service device ACS, it is determined that described corresponding relation is in default buffer memory effect duration, sends described service message to described ACS;Wherein, the IP address of described CPE and the corresponding relation of described ACS are that described LB sets up with the mapping relations of described ACS according to unique mark of described CPE.
Alternatively, after the internet protocol address of the described CPE of described acquisition, described operation also includes:
When the corresponding relation of the uncached IP address having described CPE of described LB and ACS, obtain unique mark of described CPE;
Unique according to described CPE identifies, and unique mark of CPE determines the ACS corresponding with described CPE with the mapping relations of ACS;
The IP address of CPE described in buffer memory and the corresponding relation of described ACS.
Alternatively, after the internet protocol address of the described CPE of described acquisition, described operation also includes:
When described LB is cached with the corresponding relation of the IP address of described CPE and an ACS, it is determined that the IP address of described CPE and the corresponding relation of an ACS are not in described default buffer memory effect duration, obtain unique mark of described CPE;
Unique according to described CPE identifies, and uniquely identifying of CPE determines twoth ACS corresponding with described CPE with the mapping relations of ACS;A described ACS and described 2nd ACS is the arbitrary ACS in wide area network terminal management system;
The IP address of described CPE is utilized to update the IP address of described CPE and the corresponding relation of a described ACS with the corresponding relation of described 2nd ACS.
Alternatively, described operation also includes: the cache-time mark of the corresponding relation of the IP address of CPE described in described LB buffer memory and ACS;
Described determine that described corresponding relation was in default buffer memory effect duration and specifically include:
Determine the cache-time mark of described corresponding relation, with the time difference of current time less than or equal to described default buffer memory effect duration;
Described determine that the IP address of described CPE and the corresponding relation of an ACS are not in described default buffer memory effect duration to specifically include:
Determine that the cache-time of the IP address of described CPE and the corresponding relation of a described ACS identifies, with the time difference of current time more than described default buffer memory effect duration.
The embodiment of the present invention provides a kind of wide area network terminal management system 60, and as shown in Figure 6, this wide area network terminal management system 60 includes: configuration service device ACS61 and user side equipment CPE62, also includes, load-balancing device LB63.
Wherein, this LB63 is connected with this CPE62 and this ACS61 respectively, and this LB63 is the load-balancing device shown in Fig. 4 or Fig. 5, specifically can refer to the description of corresponding diagram 4 or Fig. 5 in above-described embodiment, repeats no more herein.
It should be noted that wide area network terminal management system can include multiple ACS and multiple CPE.
Adopt above-mentioned wide area network terminal management system, LB storage in this wide area network terminal management system has unique mark of CPE and the mapping relations of configuration service device ACS, and the IP address of also this CPE of buffer memory and the corresponding relation of ACS is set up according to these mapping relations, and, within default buffer memory effect duration, this LB is after receiving this CPE service message sent, only service message need to be carried out 3 layers and resolve acquisition IP address, in compared to existing technology, LB receives this CPE service message sent every time, all need to carry out 7 layers and resolve the unique mark of acquisition, the embodiment of the present invention alleviates the burden of LB, avoid this LB and performance bottleneck occurs;At the default effective after date of buffer memory, this LB all can set up the IP address of also this CPE of buffer memory and the corresponding relation of ACS again according to unique mark of CPE and these mapping relations, it is ensured that the fixing binding of CPE and ACS.
Alternatively, this CPE62 is used for, and receives the ACS URL of this ACS sent at this CPE, and after utilizing the URL of this ACS to replace the URL preset in this CPE, by this URL preset backup storage;Determine that this CPE meets pre-conditioned according to the URL of this ACS to this ACS service message sent;This URL preset according to backup storage sends this service message.Wherein, this pre-conditioned number of times for sending this service message reaches the threshold value preset, or, this pre-conditioned for this CPE after first time sends this service message, the time threshold through presetting does not receive this ACS response message sent.
Specifically, this CPE62 specifically supports the URL CPE revised, and when this CPE dispatches from the factory, the URL of default configuration is the URL of load-balancing device LB.This CPE sends service message to this LB, and this service message is sent to ACS by this LB.According to existing TR069 agreement, ACS is after receiving the CPE service message sent, and for not being the CPE belonging to this ACS, the URL transmission of self to this CPE, this CPE is utilized the URL of this ACS to replace the URL of this LB by this ACS, and the URL of this LB is backed up storage.So, the CPE supporting URL amendment directly can send service message to this ACS according to amended URL.
Further, this CPE, when the URL transmission service message according to this ACS accesses this ACS failure, retries.Illustratively, this CPE of user preset carries out the times N retried, then the number of times sending this service message is counted by this CPE, after transmission times reaches n times, if this CPE does not access this ACS yet, it is determined that meet this pre-conditioned, such as, this ACS breaks down and is replaced, and the URL of the ACS after replacement changes, then this CPE still cannot access this ACS after repeatedly retrying.
It addition, this CPE can also carry out timing when starting to retry, when timing time reaches the time threshold preset, if this CPE does not access this ACS yet, it is determined that meet this pre-conditioned.
Further, this CPE sends this service message according to the URL of this LB of backup storage, so, with reference to the method step shown in Fig. 3, this LB is after receiving this ACS service message sent, again ACS is assigned for this CPE, thus enhancing the fault-tolerant ability of wide area network terminal management system according to above-mentioned steps S301 to step S313.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, it is possible to realize by another way.Such as, device embodiment described above is merely schematic, such as, the division of described module or unit, being only a kind of logic function to divide, actual can have other dividing mode when realizing, for instance multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can ignore, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be through INDIRECT COUPLING or the communication connection of some interfaces, device or unit, it is possible to be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE.Some or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it is also possible to be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit is using the form realization of SFU software functional unit and as independent production marketing or use, it is possible to be stored in a computer read/write memory medium.Based on such understanding, part or all or part of of this technical scheme that prior art is contributed by the technical scheme of the application substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform all or part of step of method described in each embodiment of the application.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-OnlyMemory), the various media that can store program code such as random access memory (RAM, RandomAccessMemory), magnetic disc or CD.
The above; being only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any those familiar with the art is in the technical scope that the invention discloses; the change that can readily occur in or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.

Claims (11)

1. the method that a user side equipment is mutual with configuration service device, it is characterised in that including:
Load-balancing device LB receives the user side equipment CPE service message sent;
Resolve described service message, obtain the internet protocol address of described CPE;
When described LB is cached with the corresponding relation of the IP address of described CPE and configuration service device ACS, it is determined that described corresponding relation is in default buffer memory effect duration, sends described service message to described ACS;Wherein, the IP address of described CPE and the corresponding relation of described ACS are that described LB sets up with the mapping relations of described ACS according to unique mark of described CPE.
2. method according to claim 1, it is characterised in that after the internet protocol address of the described CPE of described acquisition, described method also includes:
When the corresponding relation of the uncached IP address having described CPE of described LB and ACS, obtain unique mark of described CPE;
Unique according to described CPE identifies, and unique mark of CPE determines the ACS corresponding with described CPE with the mapping relations of ACS;
The IP address of CPE described in buffer memory and the corresponding relation of described ACS.
3. method according to claim 1, it is characterised in that after the internet protocol address of the described CPE of described acquisition, described method also includes:
When described LB is cached with the corresponding relation of the IP address of described CPE and an ACS, it is determined that the IP address of described CPE and the corresponding relation of an ACS are not in described default buffer memory effect duration, obtain unique mark of described CPE;
Unique according to described CPE identifies, and uniquely identifying of CPE determines twoth ACS corresponding with described CPE with the mapping relations of ACS;A described ACS and described 2nd ACS is the arbitrary ACS in wide area network terminal management system;
The IP address of described CPE is utilized to update the IP address of described CPE and the corresponding relation of a described ACS with the corresponding relation of described 2nd ACS.
4. according to the method in claim 2 or 3, it is characterised in that described method also includes: the cache-time mark of the corresponding relation of the IP address of CPE described in described LB buffer memory and ACS;
Described determine that described corresponding relation was in default buffer memory effect duration and specifically include:
Determine the cache-time mark of described corresponding relation, with the time difference of current time less than or equal to described default buffer memory effect duration;
Described determine that the IP address of described CPE and the corresponding relation of an ACS are not in described default buffer memory effect duration to specifically include:
Determine that the cache-time of the IP address of described CPE and the corresponding relation of a described ACS identifies, with the time difference of current time more than described default buffer memory effect duration.
5. the method according to any one of Claims 1-4, it is characterised in that described method also includes:
Described CPE does not specifically support the uniform resource locator URL CPE revised.
6. a load-balancing device, it is characterised in that including:
Receive unit, for receiving the user side equipment CPE service message sent;
Resolution unit, for resolving the service message that described reception unit receives, obtains the internet protocol address of described CPE;
Determine unit, when described LB is cached with the corresponding relation of the IP address of described CPE and configuration service device ACS, it is determined that described corresponding relation was in default buffer memory effect duration;Wherein, the IP address of described CPE and the corresponding relation of described ACS are that described LB sets up with the mapping relations of described ACS according to unique mark of described CPE;
Transmitting element, for sending described service message to described ACS.
7. load-balancing device according to claim 6, it is characterised in that described resolution unit is additionally operable to, if the corresponding relation of the uncached IP address having described CPE of described LB and ACS, obtains unique mark of described CPE;
Described determine that unit is additionally operable to, the unique mark according to described CPE, and unique mark of CPE determines the ACS corresponding with described CPE with the mapping relations of ACS;
Described LB also includes memory element, the corresponding relation of the IP address of CPE and described ACS described in buffer memory.
8. load-balancing device according to claim 6, it is characterized in that, described determine that unit is additionally operable to, when described LB is cached with the corresponding relation of the IP address of described CPE and an ACS, it is determined that the IP address of described CPE and the corresponding relation of an ACS were not in described default buffer memory effect duration;
Described resolution unit is additionally operable to, and obtains unique mark of described CPE;
Described determine that unit is additionally operable to, the unique mark according to described CPE, and uniquely identifying of CPE determine twoth ACS corresponding with described CPE with the mapping relations of ACS;A described ACS and described 2nd ACS is the arbitrary ACS in wide area network terminal management system;
Described LB also includes memory element, and the corresponding relation of IP address with described 2nd ACS for utilizing described CPE updates the IP address of described CPE and the corresponding relation of a described ACS.
9. the load-balancing device according to claim 7 or 8, it is characterised in that described memory element is additionally operable to: the cache-time of the IP address of CPE described in buffer memory and the corresponding relation of ACS identifies;
Described determine that unit is determined that described corresponding relation was in default buffer memory effect duration and specifically included: determine the cache-time mark of described corresponding relation, with the time difference of current time less than or equal to described default buffer memory effect duration;
Described determine that unit determines that the IP address of described CPE and the corresponding relation of an ACS are not in described default buffer memory effect duration to specifically include:
Determine that the cache-time of the IP address of described CPE and the corresponding relation of a described ACS identifies, with the time difference of current time more than described default buffer memory effect duration.
10. a wide area network terminal management system, including, configuration service device ACS and user side equipment CPE, it is characterised in that also include: load-balancing device LB;
Wherein, described LB is connected with described CPE and described ACS respectively;
Described LB is the load-balancing device described in any one of claim 6 to 9.
11. wide area network terminal management system according to claim 10, it is characterised in that:
Described CPE is used for, and receives the ACS uniform resource locator URL of described ACS sent at described CPE, and after utilizing the URL of described ACS to replace the URL preset in described CPE, by described default URL backup storage;
Determine that described CPE meets pre-conditioned according to the URL of described ACS to the described ACS service message sent;The described pre-conditioned number of times for sending described service message reaches the threshold value preset, or, described pre-conditioned for described CPE after first time sends described service message, the time threshold through presetting does not receive the described ACS response message sent;
Described default URL according to backup storage sends described service message.
CN201410817798.9A 2014-12-24 2014-12-24 The method, apparatus and system that user side equipment is interacted with configuration server Active CN105791146B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410817798.9A CN105791146B (en) 2014-12-24 2014-12-24 The method, apparatus and system that user side equipment is interacted with configuration server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410817798.9A CN105791146B (en) 2014-12-24 2014-12-24 The method, apparatus and system that user side equipment is interacted with configuration server

Publications (2)

Publication Number Publication Date
CN105791146A true CN105791146A (en) 2016-07-20
CN105791146B CN105791146B (en) 2019-03-19

Family

ID=56378428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410817798.9A Active CN105791146B (en) 2014-12-24 2014-12-24 The method, apparatus and system that user side equipment is interacted with configuration server

Country Status (1)

Country Link
CN (1) CN105791146B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108282363A (en) * 2017-12-30 2018-07-13 京信通信系统(中国)有限公司 Remote configuring method, device and the system of CPE and ACS
CN109151025A (en) * 2018-08-22 2019-01-04 京信通信系统(中国)有限公司 Load-balancing method, device, computer storage medium and equipment based on URL

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668049A (en) * 2008-09-04 2010-03-10 深圳华为通信技术有限公司 Method and device for reporting address, method and device for establishing connection and communication system
CN101729328A (en) * 2008-10-27 2010-06-09 中兴通讯股份有限公司 Automatic configuration server redirection method and automatic configuration servers
CN101729326A (en) * 2008-10-21 2010-06-09 中兴通讯股份有限公司 Automatic configuration server selection method and system, domain name system and home gateway
CN101778126A (en) * 2009-12-31 2010-07-14 中兴通讯股份有限公司 Method and system for automatic configuration of server for remote management of user front-end equipment
CN101783774A (en) * 2009-01-19 2010-07-21 华为终端有限公司 Network device connection method, system and device
CN103001783A (en) * 2011-09-13 2013-03-27 中兴通讯股份有限公司 Network management system and message processing method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668049A (en) * 2008-09-04 2010-03-10 深圳华为通信技术有限公司 Method and device for reporting address, method and device for establishing connection and communication system
CN101729326A (en) * 2008-10-21 2010-06-09 中兴通讯股份有限公司 Automatic configuration server selection method and system, domain name system and home gateway
CN101729328A (en) * 2008-10-27 2010-06-09 中兴通讯股份有限公司 Automatic configuration server redirection method and automatic configuration servers
CN101783774A (en) * 2009-01-19 2010-07-21 华为终端有限公司 Network device connection method, system and device
CN101778126A (en) * 2009-12-31 2010-07-14 中兴通讯股份有限公司 Method and system for automatic configuration of server for remote management of user front-end equipment
CN103001783A (en) * 2011-09-13 2013-03-27 中兴通讯股份有限公司 Network management system and message processing method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108282363A (en) * 2017-12-30 2018-07-13 京信通信系统(中国)有限公司 Remote configuring method, device and the system of CPE and ACS
CN108282363B (en) * 2017-12-30 2021-03-12 京信通信系统(中国)有限公司 Remote configuration method, device and system for CPE and ACS
CN109151025A (en) * 2018-08-22 2019-01-04 京信通信系统(中国)有限公司 Load-balancing method, device, computer storage medium and equipment based on URL
CN109151025B (en) * 2018-08-22 2022-03-29 京信网络系统股份有限公司 Load balancing method and device based on URL, computer storage medium and equipment

Also Published As

Publication number Publication date
CN105791146B (en) 2019-03-19

Similar Documents

Publication Publication Date Title
EP3311544B1 (en) Managing dynamic ip address assignments
CN105979009B (en) A kind of increase load automatic balancing method for cloud application container
CN109067930B (en) Domain name access method, domain name resolution method, server, terminal and storage medium
CN103856569A (en) Method and device for synchronizing domain name system resource information
CN108989430B (en) Load balancing method, device and storage medium
CN109451088A (en) A kind of data access method and device
WO2014094468A1 (en) System, method and browser client for enabling browser data synchronization
CN102438278B (en) Load allocation method and device for mobile communication network
CN104113435B (en) Generate the method and device of mark
CN102165741A (en) Method for intercepting and searching host in IPV6 network
CN102143229A (en) Method and system for upgrading terminals in batches
CN103905572A (en) Domain name resolution request processing method and device
CN112416969B (en) Parallel task scheduling system in distributed database
CN105373420A (en) Data transmission method and apparatus
CN102231765A (en) Method and device for realizing load balance and set-top box
CN111327647A (en) Method and device for providing service to outside by container and electronic equipment
CN102917084A (en) Automatic allocation method of IP address of node inside fat tree structure networking data center
CN107210924A (en) Method and apparatus for configuring communication system
CN106612339A (en) Domain name updating method, system and main DNS (Domain Name System) server
CN106941420A (en) A kind of cluster application environment upgrade method and device
CN103259866A (en) DNS zone file multi-node transmission method and system
CN113361913A (en) Communication service arranging method, device, computer equipment and storage medium
JP5526015B2 (en) Gateway system, gateway device, and load balancing method
CN104301439A (en) Load balancing method, device and system
CN112866424A (en) Domain name query method and related equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant