CN103488696A - Business query method, device and system of CPE (customer premises equipment), ACS (auto-configuration server) and CPE - Google Patents
Business query method, device and system of CPE (customer premises equipment), ACS (auto-configuration server) and CPE Download PDFInfo
- Publication number
- CN103488696A CN103488696A CN201310394495.6A CN201310394495A CN103488696A CN 103488696 A CN103488696 A CN 103488696A CN 201310394495 A CN201310394495 A CN 201310394495A CN 103488696 A CN103488696 A CN 103488696A
- Authority
- CN
- China
- Prior art keywords
- cpe
- data model
- request
- obtaining
- model value
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/80—Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
- G06F16/83—Querying
- G06F16/835—Query processing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer And Data Communications (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a business query method, a business query device and a business query system of CPE (customer premises equipment), an ACS (auto-configuration server) and the CPE, which are used for solving the problem that the processing efficiency of the ACS and the CPE is low due to the fact that the query process is complex and tedious, mass gibberish is interacted, and plenty of processing resources and network width are occupied in the existing technology for querying the business of the CPE. The business query method comprises the steps of packaging a query condition designated by a user into a request for acquiring a data model value and sending the request to the CPE designated by the user by the ACS; analyzing the received request for acquiring the data model value to obtain the query condition packaged in the request for acquiring the data model value by the CPE, and querying according to the query condition to obtain a query result conforming to the query condition; packaging the query result into a response aiming at the request for acquiring the data model value and sending the response to the ACS; analyzing the response to obtain a query result packaged in the response by the ACS.
Description
Technical field
The present invention relates to network communicating system, relate to particularly a kind of subscriber equipment (CPE, Customer Premises Equipment) service inquiry method, Apparatus and system, Automatic Configuration Server (ACS, Auto-Configuration Server) and CPE.
Background technology
Terminal wide area network management agreement (CWMP, CPE WAN Management Protocol) composition of framework mainly comprises two-part content: about the function of ACS with about the function of CPE, as shown in Figure 1, ACS is as the management end of CWMP agreement, by CWMP consultative management CPE, a plurality of users of the CPE second line of a couplet, the ACS side at least comprises ACS, name server (DNS, Domain Name Server) and DHCP (DHCP, Dynamic Host Configuration Protocol) server, ACS and CPE are the relations of one-to-many, an ACS can manage thousands of CPE, manage the CPE that is scattered in various places concentratedly by ACS, the remote centralized management of realization to CPE.
The CWMP agreement is as the wide area network management agreement, adopt easy expansion, easy care, intelligible Simple Object Access Protocol (SOAP, Simple Object Access Protocol) protocol encapsulation interaction message, realize extend markup language (XML, Extensible Markup Language) encapsulation and parsing, the data model of supporting by operation CPE is managed the business function that CPE supports, realizes the safe and reliable management to the CPE business.
For the data model that represents the CPE business, protocol definition a series of remote process agreement (RPC, Remote Procedure Call Protocol) method is managed these data models, comprising: the GetParameterNames method of obtaining the data model name, the SetParameterValues method of data model value is set, obtain the GetParameterValues method of data model value, the SetParameterAttributes method of data model attribute is set, obtain the GetParameterAttributes method of data model attribute, add the AddObject method of many instance datas model object and delete the DeleteObject method that realizes the data model object more.
ACS obtains by GetParameterValues RPC method the data model value that cpe device is supported, and then obtains the business function situation of its support, the message encapsulation format of this RPC method as shown in Figure 2:
The message encapsulation mainly is divided into two parts, and a part is message header, for<SOAP-ENV:Header >, a part is message body, for<SOAP-ENV:Body >, message header carries is the unique identification information etc. of this interaction message, and message body is only the real content of this message encapsulation.
The ACS centralized management is scattered in the magnanimity cpe device of user's side, obtains the function situation of CPE business by GetParameterValues RPC method, in existing CWMP technology, also provides the method for obtaining concrete business.The method is obtained concrete business information by instance number, for example, in the time of will inquiring about the wireless user of concrete association, by data model " Device.WiFi.AccessPoint.{i}.AssociatedDevice.{i}. ", go to obtain, when inquiring about concrete user, must " { i} " replace to concrete instance number, as to inquire about the access point instance number be 2, the user that associated wireless user's instance number is 20, the data model of inquiry is " Device.WiFi.AccessPoint.2.AssociatedDevice.20. ".Perhaps, pass through the wireless user of other path query association according to this data model.
Before the concrete business of inquiry, must know the corresponding relation of instance number and concrete business, know such relation, after must at first from CPE, all business being got to ACS, just can know, because instance number is that the variation of following the CPE business changes, the corresponding relation that is instance number and business can only real-time query, by above-mentioned analysis, if inquire about concrete business information by this mode, at first to obtain all business information, draw the corresponding relation of instance number and business information, then go to inquire about concrete business by concrete instance number.
For example, the user expects to inquire about the wireless user that MAC Address is 0011.2233.4455 and is associated on which cpe device, the user can only issue by ACS the operation requests of GetParameterValues method to all cpe devices so, and the data model name is encapsulated as the relative path of " Device.WiFi.AccessPoint. ", CPE situation from associated user to the upper whole MAC Address of ACS feedback CPE, ACS goes to screen the wireless user that MAC Address is 0011.2233.4455 from the message of all CPE feedbacks, finds its associated cpe device.
Visible, obtain inquiry CPE data model value by current GetParameterValues RPC method, there is the following problem:
1, can not one-pass operation, operating process is complicated, loaded down with trivial details and have a large amount of useless data, takies ACS and CPE a large amount of processing resource and the network bandwidth;
2, due to complicated processing procedure and huge data, cause the treatment effeciency of ACS and CPE low.
Also, in the technology of existing inquiry CPE business, there are loaded down with trivial details, the mutual a large amount of gibberishes of query script complexity, take a large amount of processing resource and the network bandwidth, cause the low problem for the treatment of effeciency of ACS and CPE.
Summary of the invention
In view of this, the embodiment of the present invention provides service inquiry method, Apparatus and system, ACS and the CPE of a kind of CPE, in the technology that solves existing inquiry CPE business, existing query script complexity is loaded down with trivial details, mutual a large amount of gibberishes, take a large amount of processing resource and the network bandwidth, causes the low problem for the treatment of effeciency of ACS and CPE.
The technical scheme that the embodiment of the present invention provides is as follows:
The service inquiry method of CPE a kind of comprises: ACS is encapsulated in the querying condition of user's appointment in the request of obtaining the data model value, the request of obtaining the data model value after encapsulation is sent to the CPE of user's appointment; Described ACS receives the response that described CPE returns, and resolves described response and obtains the Query Result encapsulated in described response, and wherein, to be described CPE obtain for the querying condition inquiry in described request of obtaining the data model value described Query Result.
Preferably, described method also comprises: described querying condition is carried out to the legitimacy detection, pass through in the situation that described legitimacy detects, ACS is encapsulated in the querying condition of user's appointment in the request of obtaining the data model value.
Wherein, ACS is encapsulated in the querying condition of user's appointment in the request of obtaining the data model value, specifically comprises: described ACS is encapsulated in described querying condition in described request of obtaining data model with the form of XML and predetermined message format.
Wherein, resolve described response and obtain the Query Result encapsulated in described response, specifically comprise: in described response with the message part of the form of XML encapsulation, resolved with described predetermined message format, obtain the Query Result in described response.
The service inquiry method of CPE a kind of comprises: CPE receives the request of obtaining the data model value from ACS; Described CPE resolves described request of obtaining the data model value, obtains the described querying condition encapsulated in the request of data model value that obtains; Inquired about according to described querying condition, obtained meeting the Query Result of described querying condition; Described Query Result is encapsulated in the response for described request of obtaining the data model value; Described response is sent to described ACS.
Preferably, described method also comprises: comprise querying condition in the situation that described CPE identifies described request of obtaining the data model value, described CPE resolves described request of obtaining the data model value.
Wherein, described CPE resolves described request of obtaining the data model value, specifically comprises: in described request of obtaining the data model value with the message part of the form encapsulation of XML, resolved with the message format of being scheduled to.
Wherein, described Query Result is encapsulated in the response for described request of obtaining the data model value, specifically comprises: with the form of XML and predetermined message format, described Query Result is encapsulated in the response for described request of obtaining the data model value.
The service inquiry device of a kind of CPE comprises: package module is encapsulated in the request of obtaining the data model value for the querying condition by user's appointment; Sending module, send to the CPE of user's appointment for the request of obtaining the data model value by after the encapsulation of described package module; Receiver module, the response of returning for receiving described CPE; Parsing module, obtain for resolving the response that described receiver module receives the Query Result that described response encapsulates, and wherein, to be described CPE obtain for the querying condition inquiry in described request of obtaining the data model value described Query Result.
Preferably, described device also comprises: detection module, for described querying condition is carried out to the legitimacy detection; , described package module, in the situation that the legitimacy detection that described detection module is carried out is passed through, be encapsulated in the querying condition of user's appointment in the request of obtaining the data model value.
Wherein, described package module, specifically for: with the form of XML and predetermined message format, described querying condition is encapsulated in described request of obtaining data model.
Wherein, described parsing module, specifically for: with the message part of the form of XML encapsulation, resolved with described predetermined message format, obtain the Query Result in described response in the response that described receiver module is received.
A kind of Automatic Configuration Server, comprise the service inquiry device of CPE as above.
The service inquiry device of a kind of CPE comprises: receiver module, for receiving the request of obtaining the data model value from Automatic Configuration Server ACS; Parsing module, the request of obtaining the data model value received for resolving described receiver module, obtain the described querying condition encapsulated in the request of data model value that obtains; Enquiry module, inquired about for according to described parsing module, resolving the querying condition obtained, and obtains meeting the Query Result of described querying condition; Package module, be encapsulated in the response of for described, obtaining the request of data model value for the Query Result that described enquiry module inquiry is obtained; Sending module, send to described ACS for the response that described package module encapsulation is obtained.
Preferably, described device also comprises: whether identification module comprises querying condition for identifying described request of obtaining the data model value; , described parsing module, specifically for: comprise querying condition in the situation that described identification module identifies described request of obtaining the data model value, described CPE resolves described request of obtaining the data model value.
Wherein, described parsing module, specifically for: in described request of obtaining the data model value with the message part of the form encapsulation of expandable mark language XML, resolved with the message format of being scheduled to.
Wherein, described package module, specifically for: with the form of XML and predetermined message format, described Query Result is encapsulated in the response for described request of obtaining the data model value.
A kind of CPE, comprise the service inquiry device of CPE as above.
The embodiment of the present invention is encapsulated in the querying condition of user's appointment by ACS in the request of obtaining the data model value, the request of obtaining the data model value after encapsulation is sent to the CPE of user's appointment, CPE resolves the received request of obtaining the data model value, obtains the described querying condition encapsulated in the request of data model value that obtains, and according to described querying condition, is inquired about, and obtains meeting the Query Result of described querying condition, described Query Result is encapsulated in the response for described request of obtaining the data model value, described response is sent to ACS, ACS resolves described response and obtains the Query Result encapsulated in described response, wherein, ACS sends the querying condition of appointment to the CPE of appointment, CPE carries out inquiry according to the querying condition of appointment, and Query Result is fed back to ACS, avoided CPE in the prior art that whole wireless users' information is all fed back to ACS, the Query Result that ACS obtains is all target information, avoided ACS to carry out parsing and the screening of target information from the garbage of magnanimity, thereby can simplify the program of query script, a large amount of gibberishes mutual between ACS and CPE have been avoided, can save a large amount of processing resource and the network bandwidth, can improve significantly the treatment effeciency of ACS and CPE, and then can solve in the technology of existing inquiry CPE business, loaded down with trivial details, the mutual a large amount of gibberishes of existing query script complexity, take a large amount of processing resource and the network bandwidth, cause the low problem for the treatment of effeciency of ACS and CPE.
Other features and advantages of the present invention will be set forth in the following description, and, partly from instructions, become apparent, or understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the instructions write, claims and accompanying drawing.
The accompanying drawing explanation
The structured flowchart of the management system that Fig. 1 is the CPE based on the CWMP framework;
Fig. 2 is the message structure schematic diagram of the request of obtaining the data model value based on PC;
The structured flowchart of the service query system of the CPE that Fig. 3 provides for the embodiment of the present invention;
The workflow diagram of the service inquiry method of the CPE that Fig. 4 provides for the embodiment of the present invention;
The structured flowchart of the service inquiry device of the CPE that Fig. 5 provides for the embodiment of the present invention;
Another structured flowchart of the service inquiry device of the CPE that Fig. 6 provides for the embodiment of the present invention;
Another workflow diagram of the service inquiry method of the CPE that Fig. 7 provides for the embodiment of the present invention;
Another structured flowchart of the service inquiry device of the CPE that Fig. 8 provides for the embodiment of the present invention;
Another structured flowchart of the service inquiry device of the CPE that Fig. 9 provides for the embodiment of the present invention;
Workflow diagram in the concrete application of the service inquiry method of the CPE that Figure 10 provides for the embodiment of the present invention;
The message structure schematic diagram of the request of obtaining the data model value of the encapsulation querying condition that Figure 11 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, embodiments of the invention are described, should be appreciated that embodiment described herein, only for description and interpretation the present invention, is not intended to limit the present invention.
In the technology that solves existing inquiry CPE business, existing query script complexity is loaded down with trivial details, mutual a large amount of gibberishes, take a large amount of processing resource and the network bandwidth, the low problem for the treatment of effeciency that causes ACS and CPE, the embodiment of the present invention provides the service inquiry scheme of a kind of CPE, in order to address this problem.
Fig. 3 shows the structured flowchart of the service query system of the CPE that the embodiment of the present invention provides, and this system comprises: ACS31 and CPE32;
ACS31, be encapsulated in the request of obtaining the data model value for the querying condition by user's appointment, the request of obtaining the data model value after encapsulation is sent to the CPE32 of user's appointment; Receive the response that described CPE32 returns, resolve described response and obtain the Query Result encapsulated in described response;
CPE32, for receiving the request of obtaining the data model value from ACS31; Resolve described request of obtaining the data model value, obtain the described querying condition encapsulated in the request of data model value that obtains; Inquired about according to described querying condition, obtained meeting the Query Result of described querying condition; Described Query Result is encapsulated in the response for described request of obtaining the data model value; Described response is sent to described ACS32.
Particularly, below respectively the principle of work of ACS31 and CPE32 is described.
Fig. 4 shows the workflow diagram of the service inquiry method of the CPE that the embodiment of the present invention provides, is also the principle of work of ACS31 in Fig. 3, and the method comprises:
Preferably, ACS also carries out the legitimacy detection to described querying condition, in the situation that described legitimacy detects, passes through, and ACS is encapsulated in the querying condition of user's appointment in the request of obtaining the data model value; Legitimacy that ACS carries out querying condition detects, and can be the information such as MAC address entries, address resolution protocol (ARP, Address Resolution Protocol) list item or port on user to be checked, CPE to be checked are carried out to the legitimacy detection;
Particularly, ACS is encapsulated in the querying condition of user's appointment the operation in the request of obtaining the data model value, specifically comprises: ACS is encapsulated in described querying condition in described request of obtaining data model with the form of XML and predetermined message format;
Wherein, the querying condition of user's appointment can be the combination of forward querying condition, Query condition or forward querying condition and Query condition, the forward querying condition requires inquiry to meet or comprise the content of specified requirements, the inquiry of Query conditional request does not meet or does not comprise the content of specified requirements, the combination of forward querying condition and Query condition can be: determine the content that does not comprise or do not meet second condition in meeting or comprising the content of first condition, perhaps in not meeting or not comprising the content of first condition, determine the content that comprises or meet second condition, perhaps in meeting or comprising the content of first condition, determine the content that comprises or meet second condition, perhaps in not meeting or not comprising the content of first condition, determine the content that does not comprise or do not meet second condition,
Predetermined message format can be one section message format expanding with the XML form in the message of obtaining the data model value, because the CWMP agreement is supported with XML form encapsulation messages content, the embodiment of the present invention is by encapsulating querying condition with the XML form in the message obtaining the data model value, can carry out compatibility to the existing message of obtaining the data model value, the improvement cost of specific implementation is little, be easy to realize;
In different application scenarioss, the situation that the CPE of user's appointment forms according to user's aware networks is determined, for example, when the user knows business to be checked and belongs to part CPE, can specify to this part CPE and send the request of obtaining the data model value that is packaged with querying condition, when the user does not know business to be checked and belongs to those CPE, can specify to whole CPE and send the request of obtaining the data model value that is packaged with querying condition;
Wherein, resolve the operation that described response obtains the Query Result in described response encapsulation, specifically comprise: in described response with the message part of the form encapsulation of XML, resolved with described predetermined message format, obtain the Query Result in described response.
By above-mentioned processing procedure, ACS sends the querying condition of appointment to the CPE of appointment, the Query Result of the CPE feedback that ACS obtains is that CPE obtains according to querying condition execution inquiry, this Query Result is target information, avoided CPE in the prior art that whole wireless users' information is all fed back to ACS, also avoided ACS to carry out parsing and the screening of target information from the garbage of magnanimity, thereby can simplify the interactive program of query script, a large amount of gibberishes mutual between ACS and CPE have been avoided, can save a large amount of processing resource and the network bandwidth, can improve significantly the treatment effeciency of ACS and CPE, and then can solve in the technology of existing inquiry CPE business, loaded down with trivial details, the mutual a large amount of gibberishes of existing query script complexity, take a large amount of processing resource and the network bandwidth, cause the low problem for the treatment of effeciency of ACS and CPE.
Inventive concept based on identical, the embodiment of the present invention also provides the service inquiry device of a kind of CPE, and this device is arranged in ACS.
Fig. 5 shows the structure of the service inquiry device of the CPE that the embodiment of the present invention provides, and this device comprises:
Sending module 52, be connected to package module 51, sends to the CPE of user's appointment for the request of obtaining the data model value by after described package module 51 encapsulation;
Parsing module 54, be connected to receiver module 53, obtain for resolving the response that described receiver module 53 receives the Query Result that described response encapsulates, wherein, to be described CPE obtain for the querying condition inquiry in described request of obtaining the data model value described Query Result.
Preferably, as shown in Figure 6, the service inquiry device of the CPE that the embodiment of the present invention provides also comprises:
Particularly, package module 51 is encapsulated in described querying condition in described request of obtaining data model with the form of expandable mark language XML and predetermined message format;
Particularly, with the message part of the form of XML encapsulation, resolved with described predetermined message format, obtain the Query Result encapsulated in described response in the response that 54 pairs of described receiver modules of parsing module receive.
By the device shown in Fig. 5 or Fig. 6, also can simplify the interactive program of query script, avoid a large amount of gibberishes mutual between ACS and CPE, can save a large amount of processing resource and the network bandwidth, can improve significantly the treatment effeciency of ACS and CPE; And then can solve in the technology of existing inquiry CPE business, loaded down with trivial details, the mutual a large amount of gibberishes of existing query script complexity, take a large amount of processing resource and the network bandwidth, cause the low problem for the treatment of effeciency of ACS and CPE.
Based on same inventive concept, the embodiment of the present invention also provides a kind of ACS, and this ACS comprises the service inquiry device of the CPE shown in Fig. 5 or Fig. 6.
Fig. 7 shows the workflow diagram of the service inquiry method of the CPE that the embodiment of the present invention provides, is also the principle of work of CPE32 in Fig. 3, and the method comprises:
Preferably, in the situation that described CPE identifies described request of obtaining the data model value, comprise querying condition, described CPE resolves described request of obtaining the data model value; State the request of obtaining the data model value by identification and comprise querying condition, can compatible existing service inquiry processing logic and treatment scheme, in the situation that do not comprise querying condition in identifying the request of obtaining the data model value, can be according to the logical process of existing service inquiry; CPE identifies the operation that whether comprises querying condition in the request of obtaining the data model value, specifically can be identified according to predetermined message format; This predetermined message format is consistent with message format predetermined in step 401;
Wherein, described CPE resolves described operation of obtaining the request of data model value, specifically comprises: in described request of obtaining the data model value with the message part of the form encapsulation of XML, resolved with the message format of being scheduled to; This predetermined message format is consistent with message format predetermined in step 401;
Particularly, the processing that CPE is inquired about according to querying condition, can be inquired about according to file layout concrete in CPE, for example, while storing information with the form of record in CPE, CPE carries out inquiry by the method for record queries, while for example storing information with the form of database in CPE again, CPE carries out inquiry by the method for data base querying;
Particularly, CPE is encapsulated in described Query Result in the response for described request of obtaining the data model value with the form of XML and predetermined message format; This predetermined message format is consistent with message format predetermined in step 401;
According to the processing procedure shown in Fig. 7, the querying condition encapsulated in the request of obtaining the data model value that CPE receives, indicated clearly the required satisfied condition of target information, CPE carries out query manipulation according to querying condition, what obtain is target information, CPE sends to ACS by this target information, can avoid CPE in prior art that whole wireless users' information is all fed back to ACS, thereby the Query Result that ACS obtains is all target information, can avoid ACS to carry out parsing and the screening of target information from the garbage of magnanimity, thereby can simplify the interactive program of query script, avoid a large amount of gibberishes mutual between ACS and CPE, can save a large amount of processing resource and the network bandwidth, can improve significantly the treatment effeciency of ACS and CPE, and then can solve in the technology of existing inquiry CPE business, loaded down with trivial details, the mutual a large amount of gibberishes of existing query script complexity, take a large amount of processing resource and the network bandwidth, cause the low problem for the treatment of effeciency of ACS and CPE.
Inventive concept based on identical, the embodiment of the present invention also provides the service inquiry device of a kind of CPE, and this device is arranged in CPE.
Fig. 8 shows the structured flowchart of the service inquiry device of the CPE that the embodiment of the present invention provides, and this device comprises:
Parsing module 82, be connected to receiver module 81, and for resolving described reception mould, 81 requests of obtaining the data model value that receive, obtain the described querying condition encapsulated in the request of data model value that obtains;
Sending module 85, be connected to package module 84, for the response that described package module 84 encapsulation are obtained, sends to described ACS.
Preferably, as shown in Figure 9, the service inquiry device of the CPE that the embodiment of the present invention provides also comprises:
Parsing module 82, also be connected to identification module 86, also for: comprise querying condition in the situation that described identification module 86 identifies described request of obtaining the data model value, described CPE resolves described request of obtaining the data model value, obtains the described querying condition encapsulated in the request of data model value that obtains;
Particularly, in the described request of obtaining the data model value of 82 pairs of parsing modules with the message part of the form encapsulation of expandable mark language XML, resolved with the message format of being scheduled to.
By the device shown in Fig. 8 or Fig. 9, also can simplify the interactive program of query script, avoid a large amount of gibberishes mutual between ACS and CPE, can save a large amount of processing resource and the network bandwidth, can improve significantly the treatment effeciency of ACS and CPE; And then can solve in the technology of existing inquiry CPE business, loaded down with trivial details, the mutual a large amount of gibberishes of existing query script complexity, take a large amount of processing resource and the network bandwidth, cause the low problem for the treatment of effeciency of ACS and CPE.
Below the situation of the concrete application of the embodiment of the present invention described.
Figure 10 shows the workflow diagram in the concrete application of service inquiry method of the CPE that the embodiment of the present invention provides, and the method comprises:
Step 1001, ACS have judged whether to obtain the querying condition of user's appointment, in the situation that be judged as YES, process and proceed to step 1003, otherwise, process and proceed to step 1002;
The request that step 1002, ACS obtain the data model value according to the existing protocol structure, send to by the request of obtaining the data model value of structure the CPE be connected with ACS;
Step 1003, ACS judges whether querying condition is legal querying condition, in the situation that be judged as YES, process and proceeds to step 1004, otherwise, prompt alarm information, processing finishes;
Step 1004, ACS is encapsulated in described querying condition in the request of obtaining data model with the form of XML and predetermined message format;
Predetermined message format has been shown, newly-increased following XML label in the message body that this message format is GetParameterValues message in existing request of obtaining the data model value in Figure 11:
ConditionSearchList, total label of encapsulation querying condition, with the form appearance of array, packaged querying condition may be one group, also may be many groups;
ConditionSerachStruct, the querying condition construction packages, mean the encapsulation of a group polling condition, may have a plurality of such Tag Packagings;
Name, the business data model of the inquiry of indicating, encapsulation be the data model that means of point minute character string forms, if inquiry is multi-instance object, and indefinitely from which instance objects, search, use " i " expression to search from all instance objects;
ConditionList, the list of encapsulation querying condition, with the form appearance of array, a group polling condition may only include a condition, is likely also the combination of a plurality of conditions;
ConditionStruct, the filtercondition construction packages, mean the encapsulation of a condition, may have a plurality of such Tag Packagings simultaneously;
ConditionName, the model name encapsulation of filtration, filtered for the value of this model;
ConditionValue, conditional value corresponding to model name filtered, expression removes to filter Query Value by this conditional value, and a type attribute is arranged in this label, means the rule of filtering, filtering rule has two kinds, " Match ", mean to choose the business information of mating with filter value, " Not Macth ", mean to select and the inconsistent business information of filter value, contrary with the former;
The querying condition of above-mentioned encapsulation is compatible original service inquiry mode fully, thereby be in GetParameterValues message in the request of obtaining the data model value, can encapsulate separately the message part of existing service inquiry, also can encapsulate separately the message part of querying condition provided by the invention, can also not only encapsulate existing service inquiry message part, but also encapsulate the message part of querying condition provided by the invention; Message format shown in Figure 11 is the impact without any compatible aspect on former protocols having;
The request of obtaining the data model value that step 1005, ACS will encapsulate querying condition sends to the CPE of user's appointment;
Whether comprise querying condition in the request of obtaining the data model value that step 1006, CPE receive according to predetermined message format identification, particularly, can judge in the request of obtaining the data model value ConditionSearchList label whether comprised as shown in figure 11, in the situation that be judged as YES, processing proceeds to step 1008, otherwise, process and proceed to step 1007;
Step 1009, CPE inquire about and obtain Query Result according to querying condition;
By above-mentioned processing, can find out, the service inquiry method of the CPE that the embodiment of the present invention provides can compatible existing CPE the service inquiry mode and the service inquiry mode that the embodiment of the present invention provides, can carry out separately the service inquiry of existing CPE, perhaps carry out separately mode of being inquired about according to querying condition provided by the invention, can also in the request of obtaining the data model value, define these two kinds of modes simultaneously; In the situation that define this two kinds of modes in obtaining the request of data model value simultaneously, CPE carries out respectively this two-part inquiry according to the analysis result of the request to obtaining the data model value; Thereby the service inquiry method of the CPE that the embodiment of the present invention provides only need to increase the funtion part of corresponding " being inquired about according to querying condition " in ACS and CPE to be got final product, avoided existing network and equipment are transformed largely, be convenient to implement, improvement cost is low.
In sum, the embodiment of the present invention is encapsulated in the querying condition of user's appointment by ACS in the request of obtaining the data model value, the request of obtaining the data model value after encapsulation is sent to the CPE of user's appointment, CPE resolves the received request of obtaining the data model value, obtains the described querying condition encapsulated in the request of data model value that obtains, and according to described querying condition, is inquired about, and obtains meeting the Query Result of described querying condition, described Query Result is encapsulated in the response for described request of obtaining the data model value, described response is sent to ACS, ACS resolves described response and obtains the Query Result encapsulated in described response, wherein, ACS sends the querying condition of appointment to the CPE of appointment, CPE carries out inquiry according to the querying condition of appointment, and Query Result is fed back to ACS, avoided CPE in the prior art that whole wireless users' information is all fed back to ACS, the Query Result that ACS obtains is all target information, avoided ACS to carry out parsing and the screening of target information from the garbage of magnanimity, thereby can simplify the program of query script, a large amount of gibberishes mutual between ACS and CPE have been avoided, can save a large amount of processing resource and the network bandwidth, can improve significantly the treatment effeciency of ACS and CPE, and then can solve in the technology of existing inquiry CPE business, loaded down with trivial details, the mutual a large amount of gibberishes of existing query script complexity, take a large amount of processing resource and the network bandwidth, cause the low problem for the treatment of effeciency of ACS and CPE.
One of ordinary skill in the art will appreciate that and realize that all or part of step that above-described embodiment method is carried is to come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, this program, when carrying out, comprises step of embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, also can adopt the form of software function module to realize.If described integrated module usings that the form of software function module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect fully.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) of computer usable program code one or more.
The present invention describes with reference to process flow diagram and/or the block scheme of method, equipment (system) and computer program according to the embodiment of the present invention.Should understand can be in computer program instructions realization flow figure and/or block scheme each flow process and/or the flow process in square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computing machine or other programmable data processing device produce for realizing the device in the function of flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction be stored in this computer-readable memory produce the manufacture that comprises command device, this command device is realized the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing device, make and carry out the sequence of operations step to produce computer implemented processing on computing machine or other programmable devices, thereby the instruction of carrying out on computing machine or other programmable devices is provided for realizing the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention also is intended to comprise these changes and modification interior.
Claims (15)
1. the service inquiry method of a subscriber equipment CPE, is characterized in that, comprising:
Automatic Configuration Server ACS is encapsulated in the querying condition of user's appointment in the request of obtaining the data model value, the request of obtaining the data model value after encapsulation is sent to the CPE of user's appointment;
Described ACS receives the response that described CPE returns, and resolves described response and obtains the Query Result encapsulated in described response, and wherein, to be described CPE obtain for the querying condition inquiry in described request of obtaining the data model value described Query Result.
2. method according to claim 1, is characterized in that, described method also comprises:
Described querying condition is carried out to the legitimacy detection, pass through in the situation that described legitimacy detects, ACS is encapsulated in the querying condition of user's appointment in the request of obtaining the data model value.
3. method according to claim 1, is characterized in that, ACS is encapsulated in the querying condition of user's appointment in the request of obtaining the data model value, specifically comprises:
Described ACS is encapsulated in described querying condition in described request of obtaining data model with the form of expandable mark language XML and predetermined message format;
Resolve described response and obtain the Query Result encapsulated in described response, specifically comprise:
To in described response with the message part of the form of XML encapsulation, resolved with described predetermined message format, obtain the Query Result in described response.
4. the service inquiry method of a subscriber equipment CPE, is characterized in that, comprising:
CPE receives the request of obtaining the data model value from Automatic Configuration Server ACS;
Described CPE resolves described request of obtaining the data model value, obtains the described querying condition encapsulated in the request of data model value that obtains;
Inquired about according to described querying condition, obtained meeting the Query Result of described querying condition;
Described Query Result is encapsulated in the response for described request of obtaining the data model value;
Described response is sent to described ACS.
5. method according to claim 4, is characterized in that, described method also comprises:
Comprise querying condition in the situation that described CPE identifies described request of obtaining the data model value, described CPE resolves described request of obtaining the data model value.
6. method according to claim 4, is characterized in that, described CPE resolves described request of obtaining the data model value, specifically comprises:
To in described request of obtaining the data model value with the message part of the form encapsulation of expandable mark language XML, resolved with the message format of being scheduled to;
Described Query Result is encapsulated in the response for described request of obtaining the data model value, specifically comprises:
With the form of XML and predetermined message format, described Query Result is encapsulated in the response for described request of obtaining the data model value.
7. the service inquiry device of a subscriber equipment CPE, is characterized in that, comprising:
Package module, be encapsulated in the request of obtaining the data model value for the querying condition by user's appointment;
Sending module, send to the CPE of user's appointment for the request of obtaining the data model value by after the encapsulation of described package module;
Receiver module, the response of returning for receiving described CPE;
Parsing module, obtain for resolving the response that described receiver module receives the Query Result that described response encapsulates, and wherein, to be described CPE obtain for the querying condition inquiry in described request of obtaining the data model value described Query Result.
8. device according to claim 7, is characterized in that, described device also comprises:
Detection module, for carrying out the legitimacy detection to described querying condition; ,
Described package module, in the situation that the legitimacy detection that described detection module is carried out is passed through, be encapsulated in the querying condition of user's appointment in the request of obtaining the data model value.
9. device according to claim 7, is characterized in that, described package module, specifically for:
With the form of expandable mark language XML and predetermined message format, described querying condition is encapsulated in described request of obtaining data model;
Described parsing module, specifically for: with the message part of the form of XML encapsulation, resolved with described predetermined message format, obtain the Query Result in described response in the response that described receiver module is received.
10. an Automatic Configuration Server, is characterized in that, comprises the service inquiry device as the described CPE of claim 7~9.
11. the service inquiry device of a subscriber equipment CPE, is characterized in that, comprising:
Receiver module, for receiving the request of obtaining the data model value from Automatic Configuration Server ACS;
Parsing module, the request of obtaining the data model value received for resolving described receiver module, obtain the described querying condition encapsulated in the request of data model value that obtains;
Enquiry module, inquired about for according to described parsing module, resolving the querying condition obtained, and obtains meeting the Query Result of described querying condition;
Package module, be encapsulated in the response of for described, obtaining the request of data model value for the Query Result that described enquiry module inquiry is obtained;
Sending module, send to described ACS for the response that described package module encapsulation is obtained.
12. device according to claim 11, is characterized in that, described device also comprises:
Whether identification module, comprise querying condition for identifying described request of obtaining the data model value; ,
Described parsing module, specifically for: comprise querying condition in the situation that described identification module identifies described request of obtaining the data model value, described CPE resolves described request of obtaining the data model value.
13. device according to claim 11, is characterized in that, described parsing module, specifically for:
To in described request of obtaining the data model value with the message part of the form encapsulation of expandable mark language XML, resolved with the message format of being scheduled to;
Described package module, specifically for: with the form of XML and predetermined message format, described Query Result is encapsulated in the response for described request of obtaining the data model value.
14. a subscriber equipment CPE, is characterized in that, comprises the service inquiry device as the described CPE of any one in claim 11~14.
15. the service query system of a subscriber equipment CPE, is characterized in that, comprising: Automatic Configuration Server ACS and CPE;
ACS, be encapsulated in the request of obtaining the data model value for the querying condition by user's appointment, the request of obtaining the data model value after encapsulation is sent to the CPE of user's appointment; Receive the response that described CPE returns, resolve described response and obtain the Query Result encapsulated in described response;
CPE, for receiving the request of obtaining the data model value from ACS; Resolve described request of obtaining the data model value, obtain the described querying condition encapsulated in the request of data model value that obtains; Inquired about according to described querying condition, obtained meeting the Query Result of described querying condition; Described Query Result is encapsulated in the response for described request of obtaining the data model value; Described response is sent to described ACS.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310394495.6A CN103488696B (en) | 2013-09-03 | 2013-09-03 | CPE service inquiry method, apparatus and system, ACS and CPE |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310394495.6A CN103488696B (en) | 2013-09-03 | 2013-09-03 | CPE service inquiry method, apparatus and system, ACS and CPE |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103488696A true CN103488696A (en) | 2014-01-01 |
CN103488696B CN103488696B (en) | 2017-11-03 |
Family
ID=49828922
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310394495.6A Active CN103488696B (en) | 2013-09-03 | 2013-09-03 | CPE service inquiry method, apparatus and system, ACS and CPE |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103488696B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105302818A (en) * | 2014-06-25 | 2016-02-03 | 国家电网公司 | Query processing method and apparatus |
CN106682105A (en) * | 2016-12-05 | 2017-05-17 | 京信通信技术(广州)有限公司 | Transformation method of TR (technical report) parameters and structure parameters, communication method and communication system for ACS (auto-configuration server) and CPE (customer premises equipment) |
CN110213340A (en) * | 2019-05-10 | 2019-09-06 | 北京星网锐捷网络技术有限公司 | Cloud management method, interchanger, server and the platform of box interchanger |
CN111726367A (en) * | 2020-06-30 | 2020-09-29 | 锐捷网络股份有限公司 | User equipment CPE access binding method, device, system and equipment |
CN112367330A (en) * | 2020-11-17 | 2021-02-12 | 四川天邑康和通信股份有限公司 | Method and system for compatibility of multiple data models on router/CPE (customer premises equipment) |
CN114244756A (en) * | 2021-12-16 | 2022-03-25 | 浪潮通信信息系统有限公司 | Method and system for automatically identifying home broadband CPE (customer premises equipment) model for remote monitoring |
EP4104074A4 (en) * | 2020-02-15 | 2023-11-08 | ARRIS Enterprises LLC | High efficiency remote procedure call for cpe devices |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101193125A (en) * | 2006-11-20 | 2008-06-04 | 华为技术有限公司 | A method and device for local device configuration management of user |
CN101286882A (en) * | 2008-06-11 | 2008-10-15 | 深圳华为通信技术有限公司 | Method, system and apparatus for managing customer premise device |
CN103067422A (en) * | 2011-10-19 | 2013-04-24 | 华为终端有限公司 | Business distribution method, business distribution equipment and business distribution system |
-
2013
- 2013-09-03 CN CN201310394495.6A patent/CN103488696B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101193125A (en) * | 2006-11-20 | 2008-06-04 | 华为技术有限公司 | A method and device for local device configuration management of user |
CN101286882A (en) * | 2008-06-11 | 2008-10-15 | 深圳华为通信技术有限公司 | Method, system and apparatus for managing customer premise device |
CN103067422A (en) * | 2011-10-19 | 2013-04-24 | 华为终端有限公司 | Business distribution method, business distribution equipment and business distribution system |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105302818A (en) * | 2014-06-25 | 2016-02-03 | 国家电网公司 | Query processing method and apparatus |
CN106682105A (en) * | 2016-12-05 | 2017-05-17 | 京信通信技术(广州)有限公司 | Transformation method of TR (technical report) parameters and structure parameters, communication method and communication system for ACS (auto-configuration server) and CPE (customer premises equipment) |
CN110213340A (en) * | 2019-05-10 | 2019-09-06 | 北京星网锐捷网络技术有限公司 | Cloud management method, interchanger, server and the platform of box interchanger |
EP4104074A4 (en) * | 2020-02-15 | 2023-11-08 | ARRIS Enterprises LLC | High efficiency remote procedure call for cpe devices |
CN111726367A (en) * | 2020-06-30 | 2020-09-29 | 锐捷网络股份有限公司 | User equipment CPE access binding method, device, system and equipment |
CN112367330A (en) * | 2020-11-17 | 2021-02-12 | 四川天邑康和通信股份有限公司 | Method and system for compatibility of multiple data models on router/CPE (customer premises equipment) |
CN112367330B (en) * | 2020-11-17 | 2021-08-24 | 四川天邑康和通信股份有限公司 | Method for being compatible with multiple data models on CPE (customer premises equipment) |
CN114244756A (en) * | 2021-12-16 | 2022-03-25 | 浪潮通信信息系统有限公司 | Method and system for automatically identifying home broadband CPE (customer premises equipment) model for remote monitoring |
Also Published As
Publication number | Publication date |
---|---|
CN103488696B (en) | 2017-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11368522B2 (en) | Lightweight IoT information model | |
CN103488696A (en) | Business query method, device and system of CPE (customer premises equipment), ACS (auto-configuration server) and CPE | |
CN107239416B (en) | Computer system for providing uniform abstract representation for intelligent equipment and implementation method | |
JP5981662B2 (en) | Method and apparatus for access authorization authentication in a wireless communication system | |
CN103220285B (en) | Access system based on RESTful interface under ubiquitous service environment | |
CN103218220A (en) | Dynamic pluggable component based-Internet of things middleware system | |
CN107818268A (en) | The access control method and server of big data platform | |
CN109729183A (en) | Request processing method, device, equipment and storage medium | |
US20140096237A1 (en) | Information processing system, access right management method, information processing apparatus and control method and control program therefor | |
CN111563018B (en) | Resource management and monitoring method of man-machine-object fusion cloud computing platform | |
CN101854343A (en) | Method for providing node information, and method and device for acquiring node information | |
CN113658591A (en) | Voice interaction adaptation system for smart home | |
CN105827424A (en) | Data acquisition method and data acquisition device | |
KR20160103110A (en) | Network element data access method and apparatus, and network management system | |
WO2016110070A1 (en) | Data acquiring method and device, and storage medium | |
CN112130864A (en) | Deployment method and deployment device of private cloud platform service software | |
CN113709187B (en) | Multi-server data request method, device, equipment and storage medium | |
CN102904739A (en) | Method for realizing event transmission and common information model (CIM) server | |
CN104462235A (en) | Internet of Things general event service mechanism based on Restful Web Service | |
JP7059916B2 (en) | Information processing systems, methods and programs | |
CN103944777A (en) | Distributed monitoring system information processing method and system | |
CN112764825A (en) | Service integration system, corresponding device and storage medium | |
CN109510728B (en) | Method for automatically converting MIB file of network management information base into XML file | |
CN102315994A (en) | Equipment configuration method, home gateway, remote management platform and communication system | |
US10623492B2 (en) | Service processing method, related device, and system |
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 | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor Patentee after: RUIJIE NETWORKS Co.,Ltd. Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor Patentee before: Beijing Star-Net Ruijie Networks Co.,Ltd. |