CN105528343A - Method and apparatus used for data search - Google Patents

Method and apparatus used for data search Download PDF

Info

Publication number
CN105528343A
CN105528343A CN201410508738.9A CN201410508738A CN105528343A CN 105528343 A CN105528343 A CN 105528343A CN 201410508738 A CN201410508738 A CN 201410508738A CN 105528343 A CN105528343 A CN 105528343A
Authority
CN
China
Prior art keywords
result
retrieval
message
ldap
indication information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410508738.9A
Other languages
Chinese (zh)
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.)
Alcatel Optical Networks Israel Ltd
Original Assignee
Alcatel Optical Networks Israel 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 Alcatel Optical Networks Israel Ltd filed Critical Alcatel Optical Networks Israel Ltd
Priority to CN201410508738.9A priority Critical patent/CN105528343A/en
Publication of CN105528343A publication Critical patent/CN105528343A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention aims to provide an efficient method and apparatus used for data search by means of an LDAP. An LDAP client sends a search request to an LDAP server, wherein the search request comprises result transmission indication information which is used for indicating the LDAP server to package all search results in one search result message. If the LDAP server is allowed to package all the search results in one search result message, all the search results are packaged in one search result message, and the search result message is sent to the LDAP client. The LDAP client extracts all the search results from the search result message. According to the invention, the expense of a TCP/IP header or an LDAP header can be obviously reduced, and a lot of search result messages are simplified to form one search result message, so that the system efficiency is greatly improved.

Description

A kind of method and apparatus for retrieve data
Technical field
The present invention relates to communication technical field, particularly relate to the technology of data management under a kind of ldap protocol.
Background technology
LDAP (LightweightDirectoryAccessProtocol, Light Directory Access Protocol) agreement is the agreement of access line directory service.Catalogue described here adopts the data structure of DIT (DirectoryInformationTree) usually, i.e. tree.Each node in tree is called an entry (Entry), and each entry is identified by DN (DistinguishedName, identification name).DN is from left to right together in series by the RDN (RelativeDN) of all superior nodes of present node and present node.RDN refers to the relative distinguished name of present node relative to its immediate superior.For same entry, DN gets the different instances (instance) that different values then corresponds to this entry.
What the network element of usual use ldap protocol adopted is model of client/server.User end to server sends LDAP request message, and wherein contain operation (operation) type, server performs aforesaid operations in respective directories, after being finished, sending LDAP reply message to client.
In practice, the most frequently used operation is retrieval (search) operation.User end to server sends LDAP searching message, i.e. SearchRequest message, according to the regulation of RFC4511, server can return at least one SearchResultEntry message and/or SearchResultReference message to client.Wherein, every bar SearchResultEntry message only comprises the entry that meets search condition.If the entry that server retrieves goes out has a lot of, so, for each entry retrieved, server all can send a SearchResultEntry message to client.Every bar SearchResultEntry message is all transmit with the bag of a TCP/IP in a network.
But transmitting LDAP result for retrieval with multiple little TCP/IP bag is in a network not efficient way, because each SearchResultEntry bag has the expense of TCP/IP head and LDAP head.Experimental data is had to show, each SearchResultEntry is wrapped, the expense of its TCP/IP head and LDAP head is approximately 66 bytes (Byte), and the size of a SearchResultEntry bag is on average about 200 bytes, can find out, the expense of TCP/IP head and LDAP head accounts for greatly 30% of whole SearchResultEntry bag size.For a large amount of SearchResultEntry message that a LDAP search operaqtion may occur, its expense for TCP/IP head and LDAP head is huge, and special in network delay is larger, these huge expenses will greatly reduce the efficiency of system.
Therefore, in the system using ldap protocol, need a kind of method to improve the efficiency of search operaqtion.
Summary of the invention
The object of this invention is to provide a kind of method and apparatus using ldap protocol retrieve data.
According to a first aspect of the invention, provide a kind of in LDAP client the method for retrieve data, the method comprises the following steps: send LDAP retrieval request message to ldap server, wherein contain result and transmit indication information, described result transmission indication information is used to indicate described ldap server and is encapsulated in by all result for retrieval in a result for retrieval message; Receive the result for retrieval message from described ldap server and search complete message; If message that search complete described instruction is described retrieve successfully and described result for retrieval message comprises its support all result for retrieval is encapsulated in indication information in a result for retrieval message, from described result for retrieval message, extract all result for retrieval.
Preferably, result in described LDAP retrieval request message transmits the Controls territory that indication information is positioned at described LDAP retrieval request message, and all result for retrieval indication information be encapsulated in a result for retrieval message is positioned at the Controls territory of described LDAP result for retrieval message by the support of described result for retrieval message.
Preferably, the described step extracting all result for retrieval from described result for retrieval message comprises further: extract other all result for retrieval except first result for retrieval from the Controls territory of described result for retrieval message.
Preferably, described LDAP client is FE, and described ldap server is UDR.
According to a second aspect of the invention, provide a kind of in ldap server the method for retrieve data, the method comprises the following steps: receive the retrieval request message from LDAP client, wherein contain result and transmit indication information, described result transmission indication information is used to indicate described ldap server and is encapsulated in by all result for retrieval in a result for retrieval message; If all result for retrieval are encapsulated in a result for retrieval message by described ldap server support, all result for retrieval are encapsulated in a result for retrieval message; Send described result for retrieval message and the described retrieval of instruction successfully search complete message to described LDAP client, in described result for retrieval message, comprise the indication information that it supports to be encapsulated in by all result for retrieval in a result for retrieval message.
Preferably, result in described LDAP retrieval request message transmits the Controls territory that indication information is positioned at described LDAP retrieval request message, and all result for retrieval indication information be encapsulated in a result for retrieval message is positioned at the Controls territory of described LDAP result for retrieval message by the support of described result for retrieval message.
Preferably, described the step that all result for retrieval are encapsulated in a result for retrieval message to be comprised further: the Controls territory other all result for retrieval except first result for retrieval being placed on described result for retrieval message.
Preferably, described LDAP client is FE, and described ldap server is UDR.
According to a third aspect of the present invention, provide a kind of in LDAP client the device for retrieve data, this device comprises: the first dispensing device, for sending LDAP retrieval request message to ldap server, wherein contain result and transmit indication information, described result transmission indication information is used to indicate described ldap server and is encapsulated in by all result for retrieval in a result for retrieval message; First receiving device, for receiving result for retrieval message from described ldap server and search complete message; Extraction element, for when described search complete message instruction is described retrieve successfully and described result for retrieval message comprise its support all result for retrieval are encapsulated in the indication information in a result for retrieval message time, from described result for retrieval message, extract all result for retrieval.
Preferably, result in described LDAP retrieval request message transmits the Controls territory that indication information is positioned at described LDAP retrieval request message, and all result for retrieval indication information be encapsulated in a result for retrieval message is positioned at the Controls territory of described LDAP result for retrieval message by the support of described result for retrieval message.
Preferably, described extraction element is further used for: extract other all result for retrieval except first result for retrieval from the Controls territory of described result for retrieval message.
Preferably, described LDAP client is FE, and described ldap server is UDR.
According to a fourth aspect of the present invention, provide a kind of in ldap server the device for retrieve data, this device comprises: the second receiving trap, for receiving the retrieval request message from LDAP client, wherein contain result and transmit indication information, described result transmission indication information is used to indicate described ldap server and is encapsulated in by all result for retrieval in a result for retrieval message; Packaging system, for when all result for retrieval are encapsulated in a result for retrieval message by described ldap server support, is encapsulated in a result for retrieval message by all result for retrieval; Second dispensing device, for sending described result for retrieval message and the described retrieval of instruction successfully search complete message to described LDAP client, in described result for retrieval message, comprise the indication information that it supports to be encapsulated in by all result for retrieval in a result for retrieval message.
Preferably, result in described LDAP retrieval request message transmits the Controls territory that indication information is positioned at described LDAP retrieval request message, and all result for retrieval indication information be encapsulated in a result for retrieval message is positioned at the Controls territory of described LDAP result for retrieval message by the support of described result for retrieval message.
Preferably, described packaging system is further used for: the Controls territory other all result for retrieval except first result for retrieval being placed on described result for retrieval message.
Preferably, described LDAP client is FE, and described ldap server is UDR.
Compared with the technology of retrieve data in existing ldap protocol, method of the present invention obviously can reduce the expense of TCP/IP head and LDAP head, a large amount of result for retrieval message is reduced to a result for retrieval message, not only reduce the message traffic in network, also mitigate the processing load of network element, thus substantially increase the efficiency of system.
Method of the present invention is especially effective for the situation that the network bandwidth is less, because larger to the lifting ratio of the utilization ratio of the Internet resources that the situation of little bandwidth is brought by the present invention.The network bandwidth of wide area network is relative to less LAN (Local Area Network) and higher to the requirement of network utilization, and therefore the lifting of the present invention to the bandwidth availability ratio of the LDAP communication of wide area network has good effect.
Accompanying drawing explanation
By reading the detailed description done non-limiting example done with reference to the following drawings, other features, objects and advantages of the present invention will become more obvious:
Fig. 1 illustrates the application scenarios figure using ldap protocol;
Fig. 2 illustrates the process flow diagram flow chart of the use ldap protocol retrieve data according to prior art;
Fig. 3 illustrates the method flow diagram using ldap protocol retrieve data according to an embodiment of the invention;
Fig. 4 illustrate according to an embodiment of the invention in FE for the device schematic diagram of retrieve data;
Fig. 5 illustrate according to an embodiment of the invention in UDR for the device schematic diagram of retrieve data.
In accompanying drawing, same or analogous Reference numeral represents same or analogous parts.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
Fig. 1 illustrates the application scenarios figure using ldap protocol.This is UDC (UserDataConvergence) framework of 3GPP definition.UDC framework proposes a kind of structure of layering, user data process is separated with data storage.UDC framework comprises two parts:
UDR (UserDataRepository, storage of subscriber data): only for storing user data, it is not known for the logical relation between user data.UDR is also referred to as rear end.
FE (FrontEnd, front end): be responsible for business processing.
By Ud interface communication between FE and UDR, Ud interface mainly comprises ldap protocol.Usually, FE is as LDAP client, and UDR is as ldap server.
It should be noted that, Fig. 1 illustrate only the application scenarios using ldap protocol, and method of the present invention is equally also applicable to the network element that other use ldap protocol.
Fig. 2 illustrates the process flow diagram flow chart of the use ldap protocol retrieve data according to prior art.FE2A sends LDAP retrieval request message to UDR2B, SearchRequest message as illustrated in the drawing, after UDR2B receives this message, finds that the entry satisfied condition has n through retrieval, its identification name be respectively DN1, DN2, DN3.。。DNn。Can see, according to the regulation of prior art RFC4511, UDR2B can send n bar result for retrieval message to FE, SearchResultEntry message as illustrated in the drawing, corresponding 1 entry of every bar SearchResultEntry message.As previously mentioned, the efficiency of this method is low-down.
Fig. 3 illustrates the method flow diagram using ldap protocol retrieve data according to an embodiment of the invention.
The method starts from step S301.
In step S301, FE3A sends LDAP retrieval request message to UDR3B, such as SearchRequest message.In this LDAP retrieval request message, contain following result and transmit indication information: all result for retrieval are encapsulated in a result for retrieval message by instruction UDR3B.
Those skilled in the art will be understood that the diversity due to data structure, and the mode arranging result as above transmission indication information in LDAP retrieval request message is diversified.Such as, described result can be set in the Controls territory of LDAP retrieval request message and transmit indication information.According to the regulation of RFC4511, Controls territory is an optional item in LDAP message, and it is defined as follows:
Controls::=SEQUENCEOFcontrolControl
Control::=SEQUENCE{
controlTypeLDAPOID,
criticalityBOOLEANDEFAULTFALSE,
controlValueOCTETSTRINGOPTIONAL}
In the present invention, above-mentioned result can be set in controlType and transmit indication information, such as, controlType is arranged to a new OID (ObjectIdentifier, object identity) to represent that above-mentioned result transmits indication information.
Provide the example of the above-mentioned LDAP retrieval request message according to the present invention's embodiment below:
Wherein, the value of controlType is 1.3.6.1.4.1.637.2.10.1, and this is a new OID, is used to refer to UDR3B and is encapsulated in a result for retrieval message by all result for retrieval.
UDR3B receives above-mentioned LDAP retrieval request message.Then, in step s 302, if UDR3B supports all result for retrieval to be encapsulated in a result for retrieval message, all result for retrieval can be encapsulated in a result for retrieval message by UDR3B, are such as encapsulated in a SearchResultEntry message.
Those skilled in the art will be understood that the diversity due to data structure, and in a LDAP result for retrieval message, the mode of all result for retrieval of encapsulation is diversified.In one embodiment, step S302 comprises further: the objectName territory and the attributes territory that first result for retrieval are placed on SearchResultEntry message, and be placed on the Controls territory of SearchResultEntry message except other all result for retrieval of first result for retrieval, wherein, the ControlType in Controls territory is arranged to indication information, be used to indicate UDR3B to support all result for retrieval to be encapsulated in a result for retrieval message, and other all result for retrieval contained in the ControlValue in Controls territory except first result for retrieval.
Provide the example of the LDAP result for retrieval message according to the present invention's embodiment below:
Can see, in above-mentioned LDAP result for retrieval message, the value of the controlType in Controls territory is 1.3.6.1.4.1.637.2.10.1, this is a new OID, be used to refer to UDR3B to support all result for retrieval to be encapsulated in a result for retrieval message, information corresponding to the objectName territory of LDAP result for retrieval message and attributes territory is the information of first result for retrieval, and information corresponding to the controlValue in Controls territory is the information of second and the 3rd result for retrieval.Like this, in a result for retrieval message, all result for retrieval (3 result for retrieval) are contained.
Then, in step S303, UDR3B sends above-mentioned result for retrieval message and the described retrieval of instruction successfully search complete message to FE3A, comprises the indication information that UDR3B supports to be encapsulated in by all result for retrieval in a result for retrieval message in described result for retrieval message.
FE3A is after receiving above-mentioned result for retrieval message and search complete message, in step s 304, if message that search complete described instruction is described retrieve successfully and described result for retrieval message comprises its support all result for retrieval is encapsulated in indication information in a result for retrieval message, and FE3A extracts all result for retrieval from described result for retrieval message.
The method that FE3A extracts result depends on that UDR3B encapsulates the method for result for retrieval message.In one embodiment, described extraction step comprises further: extract other all result for retrieval except first result for retrieval from the Controls territory of described result for retrieval message.First result for retrieval is placed on objectName territory and the attributes territory of result for retrieval message by UDR3B, and be placed on the Controls territory of result for retrieval message except other all result for retrieval of first result for retrieval, correspondingly, FE3A extracts first result for retrieval from the objectName territory of result for retrieval message and attributes territory, and extracts other all result for retrieval except first result for retrieval from the Controls territory of result for retrieval message.
Can see, adopt method of the present invention, UDR3B only needs to send a result for retrieval message to FE3A, and all result for retrieval can be informed to FE3A, avoid a large amount of result for retrieval message existed in prior art, correspondingly, the expense of TCP/IP head and LDAP head greatly reduces, and significantly improves the efficiency of system.
Fig. 4 illustrate according to an embodiment of the invention in FE3A for the device schematic diagram of retrieve data.This device 400 comprises: the first dispensing device 401, first receiving device 402 and extraction element 403.
The course of work of this device is described in detail below in conjunction with Fig. 3.
First, the first dispensing device 401 sends LDAP retrieval request message to UDR3B, such as SearchRequest message.In this LDAP retrieval request message, contain following result and transmit indication information: all result for retrieval are encapsulated in a result for retrieval message by instruction UDR3B.
Those skilled in the art will be understood that the diversity due to data structure, and the mode arranging result as above transmission indication information in LDAP retrieval request message is diversified.Such as, described result can be set in the Controls territory of LDAP retrieval request message and transmit indication information.According to the regulation of RFC4511, Controls territory is an optional item in LDAP message, and it is defined as follows:
Controls::=SEQUENCEOFcontrolControl
Control::=SEQUENCE{
controlTypeLDAPOID,
criticalityBOOLEANDEFAULTFALSE,
controlValueOCTETSTRINGOPTIONAL}
In the present invention, above-mentioned result can be set in controlType and transmit indication information, such as, controlType is arranged to a new OID (ObjectIdentifier, object identity) to represent that above-mentioned result transmits indication information.
Provide the example of the above-mentioned LDAP retrieval request message according to the present invention's embodiment below:
Wherein, the value of controlType is 1.3.6.1.4.1.637.2.10.1, and this is a new OID, is used to refer to UDR3B and is encapsulated in a result for retrieval message by all result for retrieval.
Then, first receiving device 402 receives result for retrieval message from UDR3B and search complete message.
If message that search complete described instruction is described retrieve successfully and described result for retrieval message comprises its support all result for retrieval is encapsulated in indication information in a result for retrieval message, and extraction element 403 extracts all result for retrieval from described result for retrieval message.
The method that extraction element 403 extracts result depends on that UDR3B encapsulates the method for result for retrieval message.In one embodiment, described extraction element 403 is further used for: extract other all result for retrieval except first result for retrieval from the Controls territory of described result for retrieval message.First result for retrieval is placed on objectName territory and the attributes territory of result for retrieval message by UDR3B, and be placed on the Controls territory of result for retrieval message except other all result for retrieval of first result for retrieval, correspondingly, extraction element 403 extracts first result for retrieval from the objectName territory of result for retrieval message and attributes territory, and extracts other all result for retrieval except first result for retrieval from the Controls territory of result for retrieval message.
Fig. 5 illustrate according to an embodiment of the invention in UDR3B for the device schematic diagram of retrieve data.This device 500 comprises: the second receiving trap 501, packaging system 502 and the second dispensing device 503.
The course of work of this device 500 is described in detail below in conjunction with Fig. 3.
First, the second receiving trap 501 receives the LDAP retrieval request message from FE3A, such as SearchRequest message.In this LDAP retrieval request message, contain following result and transmit indication information: all result for retrieval are encapsulated in a result for retrieval message by instruction UDR3B.
Those skilled in the art will be understood that the diversity due to data structure, and the mode arranging result as above transmission indication information in LDAP retrieval request message is diversified.Such as, described result can be set in the Controls territory of LDAP retrieval request message and transmit indication information.According to the regulation of RFC4511, Controls territory is an optional item in LDAP message, and it is defined as follows:
Controls::=SEQUENCEOFcontrolControl
Control::=SEQUENCE{
controlTypeLDAPOID,
criticalityBOOLEANDEFAULTFALSE,
controlValueOCTETSTRINGOPTIONAL}
In the present invention, above-mentioned result can be set in controlType and transmit indication information, such as, controlType is arranged to a new OID (ObjectIdentifier, object identity) to represent that above-mentioned result transmits indication information.
Provide the example of the above-mentioned LDAP retrieval request message according to the present invention's embodiment below:
Wherein, the value of controlType is 1.3.6.1.4.1.637.2.10.1, and this is a new OID, is used to refer to UDR3B and is encapsulated in a result for retrieval message by all result for retrieval.
Then, if UDR3B supports all result for retrieval to be encapsulated in a result for retrieval message, all result for retrieval can be encapsulated in a result for retrieval message by packaging system 502, are such as encapsulated in a SearchResultEntry message.
Those skilled in the art will be understood that the diversity due to data structure, and in a LDAP result for retrieval message, the mode of all result for retrieval of encapsulation is diversified.In one embodiment, packaging system 502 is further used for: the objectName territory and the attributes territory that first result for retrieval are placed on SearchResultEntry message, and be placed on the Controls territory of SearchResultEntry message except other all result for retrieval of first result for retrieval, wherein, the ControlType in Controls territory is arranged to indication information, be used to indicate UDR3B to support all result for retrieval to be encapsulated in a result for retrieval message, and other all result for retrieval contained in the ControlValue in Controls territory except first result for retrieval.
Provide the example of the LDAP result for retrieval message according to the present invention's embodiment below:
Can see, in above-mentioned LDAP result for retrieval message, the value of the controlType in Controls territory is 1.3.6.1.4.1.637.2.10.1, this is a new OID, be used to refer to UDR3B to support all result for retrieval to be encapsulated in a result for retrieval message, information corresponding to the objectName territory of LDAP result for retrieval message and attributes territory is the information of first result for retrieval, and information corresponding to the controlValue in Controls territory is the information of second and the 3rd result for retrieval.Like this, in a result for retrieval message, all result for retrieval (3 result for retrieval) are contained.
Then, second dispensing device 503 sends above-mentioned result for retrieval message and the described retrieval of instruction successfully search complete message to FE3A, comprises the indication information that UDR3B supports to be encapsulated in by all result for retrieval in a result for retrieval message in described result for retrieval message.
It should be noted that the present invention can be implemented in the assembly of software and/or software restraint, such as, special IC (ASIC), general object computing machine or any other similar hardware device can be adopted to realize.In one embodiment, software program of the present invention can perform to realize step mentioned above or function by processor.Similarly, software program of the present invention (comprising relevant data structure) can be stored in computer readable recording medium storing program for performing, such as, and RAM storer, magnetic or CD-ROM driver or flexible plastic disc and similar devices.In addition, steps more of the present invention or function can adopt hardware to realize, such as, as coordinating with processor thus performing the circuit of each step or function.
In addition, a part of the present invention can be applied to computer program, such as computer program instructions, when it is performed by computing machine, by the operation of this computing machine, can call or provide according to method of the present invention and/or technical scheme.And call the programmed instruction of method of the present invention, may be stored in fixing or moveable recording medium, and/or be transmitted by the data stream in broadcast or other signal bearing medias, and/or be stored in the working storage of the computer equipment run according to described programmed instruction.At this, comprise a device according to one embodiment of present invention, this device comprises the storer for storing computer program instructions and the processor for execution of program instructions, wherein, when this computer program instructions is performed by this processor, trigger this plant running based on the aforementioned method according to multiple embodiment of the present invention and/or technical scheme.
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned one exemplary embodiment, and when not deviating from spirit of the present invention or essential characteristic, the present invention can be realized in other specific forms.Therefore, no matter from which point, all should embodiment be regarded as exemplary, and be nonrestrictive, scope of the present invention is limited by claims instead of above-mentioned explanation, and all changes be therefore intended in the implication of the equivalency by dropping on claim and scope are included in the present invention.Any Reference numeral in claim should be considered as the claim involved by limiting.In addition, obviously " comprising " one word do not get rid of other unit or step, odd number does not get rid of plural number.Multiple unit of stating in device claim or device also can be realized by software or hardware by a unit or device.First, second word such as grade is used for representing title, and does not represent any specific order.

Claims (16)

1. in LDAP client for a method for retrieve data, the method comprises the following steps:
Send LDAP retrieval request message to ldap server, wherein contain result and transmit indication information, described result transmission indication information is used to indicate described ldap server and is encapsulated in by all result for retrieval in a result for retrieval message;
Receive the result for retrieval message from described ldap server and search complete message;
If message that search complete described instruction is described retrieve successfully and described result for retrieval message comprises its support all result for retrieval is encapsulated in indication information in a result for retrieval message, from described result for retrieval message, extract all result for retrieval.
2. method according to claim 1, wherein, result in described LDAP retrieval request message transmits the Controls territory that indication information is positioned at described LDAP retrieval request message, and all result for retrieval indication information be encapsulated in a result for retrieval message is positioned at the Controls territory of described LDAP result for retrieval message by the support of described result for retrieval message.
3. method according to claim 2, wherein, the described step extracting all result for retrieval from described result for retrieval message comprises further:
Other all result for retrieval except first result for retrieval are extracted from the Controls territory of described result for retrieval message.
4. the method according to claim 1 or 2 or 3, wherein, described LDAP client is FE, and described ldap server is UDR.
5. in ldap server for a method for retrieve data, the method comprises the following steps:
Receive the retrieval request message from LDAP client, wherein contain result and transmit indication information, described result transmission indication information is used to indicate described ldap server and is encapsulated in by all result for retrieval in a result for retrieval message;
If all result for retrieval are encapsulated in a result for retrieval message by described ldap server support, all result for retrieval are encapsulated in a result for retrieval message;
Send described result for retrieval message and the described retrieval of instruction successfully search complete message to described LDAP client, in described result for retrieval message, comprise the indication information that it supports to be encapsulated in by all result for retrieval in a result for retrieval message.
6. method according to claim 5, wherein, result in described LDAP retrieval request message transmits the Controls territory that indication information is positioned at described LDAP retrieval request message, and all result for retrieval indication information be encapsulated in a result for retrieval message is positioned at the Controls territory of described LDAP result for retrieval message by the support of described result for retrieval message.
7. method according to claim 6, wherein, describedly to comprise the step that all result for retrieval are encapsulated in a result for retrieval message further:
Other all result for retrieval except first result for retrieval are placed on the Controls territory of described result for retrieval message.
8. the method according to claim 5 or 6 or 7, wherein, described LDAP client is FE, and described ldap server is UDR.
9. in LDAP client for a device for retrieve data, this device comprises:
First dispensing device, for sending LDAP retrieval request message to ldap server, wherein contain result and transmit indication information, described result transmission indication information is used to indicate described ldap server and is encapsulated in by all result for retrieval in a result for retrieval message;
First receiving device, for receiving result for retrieval message from described ldap server and search complete message;
Extraction element, for when described search complete message instruction is described retrieve successfully and described result for retrieval message comprise its support all result for retrieval are encapsulated in the indication information in a result for retrieval message time, from described result for retrieval message, extract all result for retrieval.
10. device according to claim 9, wherein, result in described LDAP retrieval request message transmits the Controls territory that indication information is positioned at described LDAP retrieval request message, and all result for retrieval indication information be encapsulated in a result for retrieval message is positioned at the Controls territory of described LDAP result for retrieval message by the support of described result for retrieval message.
11. devices according to claim 10, wherein, described extraction element is further used for: extract other all result for retrieval except first result for retrieval from the Controls territory of described result for retrieval message.
12. devices according to claim 9 or 10 or 11, wherein, described LDAP client is FE, and described ldap server is UDR.
13. 1 kinds in ldap server for the device of retrieve data, this device comprises:
Second receiving trap, for receiving the retrieval request message from LDAP client, wherein contain result and transmit indication information, described result transmission indication information is used to indicate described ldap server and is encapsulated in by all result for retrieval in a result for retrieval message;
Packaging system, for when all result for retrieval are encapsulated in a result for retrieval message by described ldap server support, is encapsulated in a result for retrieval message by all result for retrieval;
Second dispensing device, for sending described result for retrieval message and the described retrieval of instruction successfully search complete message to described LDAP client, in described result for retrieval message, comprise the indication information that it supports to be encapsulated in by all result for retrieval in a result for retrieval message.
14. devices according to claim 13, wherein, result in described LDAP retrieval request message transmits the Controls territory that indication information is positioned at described LDAP retrieval request message, and all result for retrieval indication information be encapsulated in a result for retrieval message is positioned at the Controls territory of described LDAP result for retrieval message by the support of described result for retrieval message.
15. devices according to claim 14, wherein, described packaging system is further used for: the Controls territory other all result for retrieval except first result for retrieval being placed on described result for retrieval message.
16. methods according to claim 13 or 14 or 15, wherein, described LDAP client is FE, and described ldap server is UDR.
CN201410508738.9A 2014-09-28 2014-09-28 Method and apparatus used for data search Pending CN105528343A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410508738.9A CN105528343A (en) 2014-09-28 2014-09-28 Method and apparatus used for data search

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410508738.9A CN105528343A (en) 2014-09-28 2014-09-28 Method and apparatus used for data search

Publications (1)

Publication Number Publication Date
CN105528343A true CN105528343A (en) 2016-04-27

Family

ID=55770578

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410508738.9A Pending CN105528343A (en) 2014-09-28 2014-09-28 Method and apparatus used for data search

Country Status (1)

Country Link
CN (1) CN105528343A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020156836A1 (en) * 2001-04-24 2002-10-24 Janosik John Louis Method for extracting personalization information from web activity
CN102184231A (en) * 2011-05-12 2011-09-14 广州市动景计算机科技有限公司 Method and device for acquiring page resources
CN102790766A (en) * 2012-06-29 2012-11-21 华为技术有限公司 Object query method, object query system, object query device and object query acquisition device
CN103095724A (en) * 2013-02-05 2013-05-08 西安电子科技大学 Content-centric networking multi-interest package compression sending and processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020156836A1 (en) * 2001-04-24 2002-10-24 Janosik John Louis Method for extracting personalization information from web activity
CN102184231A (en) * 2011-05-12 2011-09-14 广州市动景计算机科技有限公司 Method and device for acquiring page resources
CN102790766A (en) * 2012-06-29 2012-11-21 华为技术有限公司 Object query method, object query system, object query device and object query acquisition device
CN103095724A (en) * 2013-02-05 2013-05-08 西安电子科技大学 Content-centric networking multi-interest package compression sending and processing method

Similar Documents

Publication Publication Date Title
WO2017067391A1 (en) Data sharing method and device for virtual machines
CN107404480B (en) A kind of transmission method of stream medium data, storage medium and streaming media server
US20130282737A1 (en) Method and apparatus for intelligently deploying an application, method and apparatus for processing application access, system for intelligently deploying and scheduling an application
CN102571715B (en) Multidimensional data query method and system
CN103685343B (en) Document transmission method and system
CN103001964A (en) Cache acceleration method under local area network environment
US20170339252A1 (en) Generating a response to a client device in an internet of things domain
CN104378234A (en) Cross-data-center data transmission processing method and system
CN105635083A (en) Service processing method and service processing system based on server and client architecture
CN105471700B (en) A kind of methods, devices and systems of Message Processing
US10298653B1 (en) Methods for monitoring streaming video content quality of experience (QOE) and devices thereof
CN111030999B (en) Method for extracting files based on network data packet
US10230647B2 (en) Data packet processing method and device
CN102802143B (en) Service restoring method, relevant device and system
CN105227386A (en) For method, the Apparatus and system of point population statistics online user number
CN108614820B (en) Method and device for realizing streaming source data analysis
CN106789878B (en) A kind of file towards large traffic environment also original system and method
JP6420462B2 (en) Service node capability processing method, apparatus, service classifier, and service controller
CN105528343A (en) Method and apparatus used for data search
CN107249017B (en) A kind of method and server obtaining HLS content by CDN network
CN105763484A (en) Signaling flow converging apparatus based on compression of flow combination, and method thereof
WO2018077138A1 (en) Data configuration method, index management method, related apparatus and computing device
CN102118256B (en) Method for acquiring simple network management protocol (SNMP) data and equipment-side device
CN104468767A (en) Method and system for detecting cloud storage data collision
CN106095559A (en) Based on mobile terminal data proxy data acclerating section streaming system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160427

WD01 Invention patent application deemed withdrawn after publication