Client-server interaction method based on LDAP protocol and system thereof

An interactive method and client-side technology, which is applied in the field of lightweight directory access protocols, can solve the problems affecting the processing performance of the LDAP client and the number of LDAP_Result calls, so as to improve the processing performance and solve the effect of calling too many times

Active Publication Date: 2009-06-03
ZTE CORP
View PDF0 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that if LDAP_Result is called too many times, it will affect the processing performance of the LDAP client
[0023] Therefore, in order

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Client-server interaction method based on LDAP protocol and system thereof
  • Client-server interaction method based on LDAP protocol and system thereof
  • Client-server interaction method based on LDAP protocol and system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] As mentioned above, in the currently used interaction process between the LDAP client and the server, specifically, in the process of initiating addition, deletion, query, and modification operations by the client and checking the response result of the server, LDAP_Result is called too many times. pass image 3 process can better reflect the problem.

[0047] Such as image 3 As shown, at present, the process of adding entries from the LDAP client to the server (taking adding entries as an example, also applies to modifying and deleting entries) includes the following steps:

[0048] Step 301, the LDAP client invokes the ldap_add interface, and asynchronously sends a request for adding an entry (add employee Zhang) to the server, and the operation request is marked with msgid=1; the LDAP client obtains the control right, but does not know whether the operation of adding an entry is successful at this time ;

[0049] Step 302-a, the LDAP server side processes the req...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a client-server interaction method based on a lightweight directory access protocol and a system thereof. In the method, a client sends a plurality of operation item requests to a server in succession; a server asynchronously processes a plurality of operation item requests and returns corresponding request result of every operation item request to the client; and the client checks a buffer to judge whether the server returns the corresponding request results of all operation item requests. The invention solves the problem in related technology that LDAP_Result is called too frequently, so that the invention can improve the processing performance of an LDAP client.

Description

technical field [0001] The present invention relates to a lightweight directory access protocol (Lightweight Directory Access Protocol, LDAP for short) in the communication field, and in particular, relates to an interaction method and system between a client and a server based on the lightweight directory access protocol. Background technique [0002] Lightweight Directory Access Protocol (Lightweight Directory Access Protocol, referred to as LDAP) is a standard, extensible Internet protocol for accessing directory services. The protocol is partly based on the X.500 standard, but it is simpler and more refined. Scalability is better. [0003] The concepts of the LDAP protocol involved in this article include: [0004] (1) Directory (Directory), which stores object information, which is organized in a certain order and used to describe each object in detail; [0005] (2) Directory Information Tree (DIT for short), wherein a collection of directory entries constitutes a dir...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/06H04L12/56G06F17/30
Inventor 昂卫武
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products