CN1870512A - Method for implementing information management and device for implementing event route - Google Patents

Method for implementing information management and device for implementing event route Download PDF

Info

Publication number
CN1870512A
CN1870512A CNA2005100720060A CN200510072006A CN1870512A CN 1870512 A CN1870512 A CN 1870512A CN A2005100720060 A CNA2005100720060 A CN A2005100720060A CN 200510072006 A CN200510072006 A CN 200510072006A CN 1870512 A CN1870512 A CN 1870512A
Authority
CN
China
Prior art keywords
event
information management
user
processing unit
user interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2005100720060A
Other languages
Chinese (zh)
Other versions
CN100576803C (en
Inventor
李斌
张星亮
陈伟华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN200510072006A priority Critical patent/CN100576803C/en
Publication of CN1870512A publication Critical patent/CN1870512A/en
Application granted granted Critical
Publication of CN100576803C publication Critical patent/CN100576803C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种实现信息管理的方法及实现事件路由的装置,用户界面向事件路由单元发送携带有事件标识的信息管理事件操作请求,事件路由单元向对应于事件标识的业务处理单元发送信息管理事件操作请求;业务处理单元向后台服务器发送携带有事件标识的信息管理事件操作请求,后台服务器对收到的信息管理事件操作请求进行处理,然后向业务处理单元返回处理结果,业务处理单元进行数据存储,实现了基于信息管理事件的路由机制,使得IM中的信息管理简单有效,各事件模块具有良好的可扩展性和可重用性,能够根据业务需求进行变更,为快速推出新业务奠定了良好的基础。本发明进一步提出了统一管理模式,针对不同操作权限的用户显示不同的企业管理器。

Figure 200510072006

The invention discloses a method for realizing information management and a device for realizing event routing. A user interface sends an information management event operation request carrying an event identifier to an event routing unit, and the event routing unit sends information to a service processing unit corresponding to the event identifier. Management event operation request; the business processing unit sends an information management event operation request with an event identifier to the background server, and the background server processes the received information management event operation request, and then returns the processing result to the business processing unit, and the business processing unit performs Data storage implements a routing mechanism based on information management events, making information management in IM simple and effective. Each event module has good scalability and reusability, and can be changed according to business needs, laying the foundation for the rapid launch of new services. good foundation. The present invention further proposes a unified management mode, which displays different enterprise managers for users with different operation rights.

Figure 200510072006

Description

一种实现信息管理的方法及实现事件路由的装置A method for realizing information management and a device for realizing event routing

技术领域technical field

本发明涉及信息管理技术,特别是指一种在即时通信中实现信息管理的方法及实现事件路由的装置。The invention relates to information management technology, in particular to a method for realizing information management in instant messaging and a device for realizing event routing.

背景技术Background technique

即时通信(IM,Instant Messenger)在企业内外沟通中的应用越来越广泛,但是,一般企业并不希望投入额外的成本去建立和维护本企业的服务器,而是希望在公网中设置免费的IM工具,来为中小企业提供更加实用便利的沟通方式,进行企业部门之间、部门内部以及企业与外部之间的交流。根据以上需求,出现了在线企业的概念。在线企业是一种群组通信系统,专为办公人员设计的拥有强大管理功能的企业空间。Instant Messenger (IM, Instant Messenger) is more and more widely used in internal and external communication of enterprises. However, general enterprises do not want to invest additional costs to establish and maintain their own servers, but hope to set up free servers in the public network. IM tools to provide more practical and convenient communication methods for small and medium-sized enterprises to communicate between departments, within departments, and between enterprises and the outside world. Based on the above needs, the concept of online enterprises emerged. Online Enterprise is a group communication system, an enterprise space with powerful management functions specially designed for office workers.

如图1所示,现有的在线企业一般包括客户端110与后台服务器120。其中客户端包括用户界面111以及消息处理模块112。其中,用户界面111用于向用户提供数据输入及其他各种操作的入口,消息处理模块112与用户界面111相耦合,对由用户界面111输入的各种数据及操作进行处理。当企业的创建者或者管理员需要对该企业的相关信息进行管理,或者在线企业中的普通用户需要对个人资料进行修改时,大致的处理过程为:用户通过用户界面111输入相应管理操作,然后由客户端110的用户界面向后台服务器120发送操作命令,后台服务器120根据操作命令进行处理,然后向客户端110的消息处理模块112返回结果,随后,消息处理模块112对后台服务器120返回的结果进行后续的逻辑处理,例如,提示用户修改成功、或将后台服务器打包的数据进行存储等。其中,后台服务器120可指中转服务器、或群组服务器、或扩展服务器等,也可指中转服务器、群组服务器、扩展服务器任意的组合。As shown in FIG. 1 , an existing online enterprise generally includes a client 110 and a background server 120 . The client includes a user interface 111 and a message processing module 112 . Among them, the user interface 111 is used to provide the user with data input and other operations. The message processing module 112 is coupled with the user interface 111 to process various data and operations input through the user interface 111 . When the creator or administrator of an enterprise needs to manage the relevant information of the enterprise, or ordinary users in the online enterprise need to modify their personal data, the general process is as follows: the user inputs the corresponding management operation through the user interface 111, and then The user interface of the client 110 sends an operation command to the background server 120, the background server 120 processes according to the operation command, and then returns a result to the message processing module 112 of the client 110, and then the message processing module 112 returns the result to the background server 120 Perform subsequent logical processing, for example, prompting the user to modify successfully, or storing the data packaged by the background server, etc. Wherein, the background server 120 may refer to a transfer server, a group server, or an extension server, etc., or may refer to any combination of a transfer server, a group server, and an extension server.

根据以上描述可见,上述在线企业的信息处理过程非常简单,但是其中,用户界面111与消息处理模块112之间是相互耦合的关系,即用户界面与消息处理模块紧密结合在一起,若随着业务需求的变化,需要对用户界面做改善时,必须对消息处理模块112一起进行较大的修改,这样就不能及时满足在线企业业务需求的不断发展以及不断变更的需求。According to the above description, it can be seen that the information processing process of the above-mentioned online enterprise is very simple, but among them, the relationship between the user interface 111 and the message processing module 112 is a mutual coupling relationship, that is, the user interface and the message processing module are closely combined. When the requirements change and the user interface needs to be improved, the message processing module 112 must be greatly modified, so that the continuous development and changing requirements of the online enterprise business requirements cannot be met in time.

发明内容Contents of the invention

有鉴于此,本发明的一个目的在于提供一种实现信息管理的方法,本发明的另一目的在于提供一种实现事件路由的装置,使得IM中的信息管理具有清晰的逻辑模块,具有良好的扩展性和重用性;本发明进一步提供了一种与用户操作权限相对应的统一管理模式,为资源模块的扩展提供了极高的灵活性。In view of this, an object of the present invention is to provide a method for implementing information management, and another object of the present invention is to provide a device for implementing event routing, so that information management in IM has a clear logic module and has a good Expansibility and reusability: the present invention further provides a unified management mode corresponding to user operation rights, which provides extremely high flexibility for the expansion of resource modules.

为了达到上述目的,本发明提供了一种实现信息管理的方法,该方法包含以下步骤:In order to achieve the above object, the present invention provides a method for realizing information management, the method includes the following steps:

A、用户界面向事件路由单元发送携带有事件标识的信息管理事件操作请求,事件路由单元向对应于该事件标识的业务处理单元发送信息管理事件操作请求;A. The user interface sends an information management event operation request carrying an event identifier to the event routing unit, and the event routing unit sends an information management event operation request to the service processing unit corresponding to the event identifier;

B、业务处理单元向后台服务器发送携带有客户端标识和事件标识的信息管理事件操作请求;B. The business processing unit sends an information management event operation request carrying the client identifier and the event identifier to the background server;

C、后台服务器对收到的信息管理事件操作请求进行处理,然后根据客户端标识和事件标识向步骤A中所述业务处理单元返回处理结果,该业务处理单元进行数据存储。C. The background server processes the received information management event operation request, and then returns the processing result to the business processing unit described in step A according to the client ID and the event ID, and the business processing unit performs data storage.

步骤A中所述事件路由单元向对应于该事件标识的业务处理单元发送信息管理事件操作请求,包括以下步骤:The event routing unit in step A sends an information management event operation request to the service processing unit corresponding to the event identifier, including the following steps:

A1、事件路由单元根据事件标识确定业务处理单元,然后向对应于该业务处理单元的业务路由单元发送携带有事件标识的信息管理事件操作请求;A1. The event routing unit determines the service processing unit according to the event identifier, and then sends an information management event operation request carrying the event identifier to the service routing unit corresponding to the service processing unit;

A2、业务路由单元向对应于事件标识的事件单元发送信息管理事件操作请求。A2. The service routing unit sends an information management event operation request to the event unit corresponding to the event identifier.

所述步骤A2之前进一步包括:业务路由单元判断是否存在对应于事件标识的事件单元,如果是,则直接执行步骤A2;否则,首先建立事件单元,然后再执行步骤A2。Before step A2, it further includes: the service routing unit judges whether there is an event unit corresponding to the event identifier, and if so, directly executes step A2; otherwise, first establishes an event unit, and then executes step A2.

所述事件标识为业务处理单元标识与事件单元标识的组合。The event identifier is a combination of a service processing unit identifier and an event unit identifier.

较佳地,该方法进一步包括以下步骤:Preferably, the method further comprises the steps of:

e、用户启动用户界面;e. The user starts the user interface;

f、用户界面判断用户是否成功登录,如果是,则执行步骤g;否则,提示用户登录,并返回执行步骤f;f. The user interface judges whether the user has successfully logged in, and if so, executes step g; otherwise, prompts the user to log in, and returns to execute step f;

g、用户界面确定用户的操作权限,并根据该操作权限进行显示。g. The user interface determines the user's operation authority, and displays according to the operation authority.

步骤g中所述用户界面确定用户的操作权限,为:用户界面根据客户端存储的数据确定用户的操作权限;或为:用户界面通过与后台服务器的交互获取数据,并根据该数据确定用户的操作权限。The user interface described in step g determines the user's operation authority, which is: the user interface determines the user's operation authority according to the data stored by the client; or is: the user interface obtains data through interaction with the background server, and determines the user's authority according to the data Operating authority.

步骤g中所述用户界面确定用户的操作权限,为:用户界面首先获取配置资源列表,然后获取用户身份,再然后根据用户身份获取基于配置资源列表的用户权限配置,最终获取用户的操作权限;或为:用户界面首先获取用户身份,然后获取与用户身份相对应的用户权限配置,再然后获取基于该用户权限配置的配置资源列表,最终获取用户的操作权限;或为:用户界面首先获取用户身份,然后获取与用户身份相对应的配置资源列表,再然后获取该基于配置资源列表的用户权限配置,最终获取用户的操作权限。The user interface described in step g determines the user's operation authority, which is: the user interface first obtains the configuration resource list, then obtains the user identity, then obtains the user authority configuration based on the configuration resource list according to the user identity, and finally obtains the user's operation authority; Or: the user interface first obtains the user identity, then obtains the user permission configuration corresponding to the user identity, and then obtains the configuration resource list based on the user permission configuration, and finally obtains the user's operation permission; or is: the user interface first obtains the user Identity, then obtain the configuration resource list corresponding to the user identity, then obtain the user permission configuration based on the configuration resource list, and finally obtain the user's operation permission.

步骤g中所述根据该操作权限进行显示为:动态加载标签,显示用于表示用户界面的企业管理器界面。The display according to the operation authority described in step g is as follows: dynamically load the label, and display the enterprise manager interface used to represent the user interface.

为了达到上述目的,本发明还提供了一种实现事件路由的装置,该装置包括:事件路由单元和业务处理单元,事件路由单元,用于接收来自用户界面的携带有事件标识的信息管理事件操作请求,并向对应于事件标识的业务处理单元发送信息管理事件操作请求;业务处理单元,用于向后台服务器发送信息管理事件操作请求,并根据后台服务器返回的处理结果进行数据存储。In order to achieve the above object, the present invention also provides a device for implementing event routing, which includes: an event routing unit and a business processing unit, and the event routing unit is used to receive information management event operations with event identifiers from the user interface request, and send an information management event operation request to the business processing unit corresponding to the event identifier; the business processing unit is used to send an information management event operation request to the background server, and store data according to the processing result returned by the background server.

所述业务处理单元包括:业务路由单元和事件单元,业务路由单元用于接收来自事件路由单元的信息管理事件操作请求,并向对应于事件标识的事件单元发送信息管理事件操作请求;事件单元用于向后台服务器发送信息管理事件操作请求,并根据后台服务器返回的处理结果进行数据存储。The business processing unit includes: a business routing unit and an event unit, the business routing unit is used to receive the information management event operation request from the event routing unit, and send the information management event operation request to the event unit corresponding to the event identifier; the event unit uses It is used to send an information management event operation request to the background server, and store data according to the processing result returned by the background server.

根据本发明提出的方法,用户界面向事件路由单元发送携带有事件标识的信息管理事件操作请求,事件路由单元向对应于事件标识的业务处理单元发送信息管理事件操作请求;业务处理单元向后台服务器发送携带有事件标识的信息管理事件操作请求,后台服务器对收到的信息管理事件操作请求进行处理,然后向业务处理单元返回处理结果,业务处理单元进行数据存储,实现了基于信息管理事件的路由机制,使得IM中的信息管理简单有效,逻辑清楚,基于路由机制下的各事件模块具有良好的可扩展性和可重用性,能够根据业务需求进行变更,快速响应业务需求的变化,为快速推出新业务奠定了良好的基础。According to the method proposed by the present invention, the user interface sends an information management event operation request carrying an event identifier to the event routing unit, and the event routing unit sends an information management event operation request to the service processing unit corresponding to the event identifier; the service processing unit sends an information management event operation request to the background server Send an information management event operation request with an event identifier, the background server processes the received information management event operation request, and then returns the processing result to the business processing unit, and the business processing unit stores data, realizing routing based on information management events The mechanism makes the information management in IM simple and effective, and the logic is clear. Each event module based on the routing mechanism has good scalability and reusability, and can be changed according to business requirements, and quickly respond to changes in business requirements. A good foundation has been laid for the new business.

另外,本发明进一步提出了统一管理模式,根据用户的操作权限动态加载标签,实现针对不同操作权限的用户显示不同的企业管理器,并且这种统一管理模式适用于多标签的企业管理器中,在在线企业的应用中,将在线企业可访问的资源,如企业BBS、企业相册等,融合到企业管理器中,增强可扩展性,当在线企业可访问的资源中增加新模块或增值服务时,只需动态加载相对应的新的标签和动态连接库即可,提供极高的可扩展性和灵活性,也使对多标签的企业管理器的维护更加简单易行。In addition, the present invention further proposes a unified management mode, which dynamically loads labels according to the user's operation authority, so as to display different enterprise managers for users with different operation authority, and this unified management mode is suitable for multi-label enterprise managers. In the application of online enterprises, the resources accessible to online enterprises, such as enterprise BBS, enterprise albums, etc., are integrated into the enterprise manager to enhance scalability. When new modules or value-added services are added to the resources accessible to online enterprises , it only needs to dynamically load the corresponding new label and dynamic link library, which provides extremely high scalability and flexibility, and also makes the maintenance of the multi-label enterprise manager easier.

附图说明Description of drawings

图1示出了现有技术中信息管理处理过程示意图;FIG. 1 shows a schematic diagram of an information management process in the prior art;

图2示出了在线企业的用户界面显示示意图;Fig. 2 shows a schematic diagram of displaying a user interface of an online enterprise;

图3示出了本发明中信息管理事件路由原理示意图;Fig. 3 shows a schematic diagram of the principle of information management event routing in the present invention;

图4示出了本发明中实现信息管理流程图;Fig. 4 shows the flowchart of implementing information management in the present invention;

图5示出了本发明中实现统一管理模式流程图;Fig. 5 shows the flow chart of realizing unified management mode among the present invention;

图6示出了在线企业中管理员的用户界面显示示意图;Fig. 6 shows a schematic diagram of displaying a user interface of an administrator in an online enterprise;

图7示出了在线企业中普通成员的用户界面显示示意图。Fig. 7 shows a schematic diagram of user interface display of ordinary members in an online enterprise.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面结合附图对本发明作进一步的详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

本发明中,用户通过用户界面输入信息管理事件后,用户界面向事件路由单元发送携带有事件标识的信息管理事件操作请求,事件路由单元向对应于事件标识的业务处理单元发送信息管理事件操作请求;业务处理单元向后台服务器发送携带有事件标识的信息管理事件操作请求,后台服务器对收到的信息管理事件操作请求进行处理,然后向业务处理单元返回处理结果,业务处理单元进行数据存储,并可进一步根据业务规则和存储的数据进行后续处理,例如,对用户界面进行更新,如更新面板及企业管理器,实现了基于信息管理事件的路由机制。本发明提出的方法适用于任何IM中的信息管理,以下仅以在线企业为例,对本发明的具体实现过程进行描述。In the present invention, after the user inputs an information management event through the user interface, the user interface sends an information management event operation request carrying an event identifier to the event routing unit, and the event routing unit sends an information management event operation request to the service processing unit corresponding to the event identifier The business processing unit sends an information management event operation request carrying an event identifier to the background server, and the background server processes the received information management event operation request, and then returns the processing result to the business processing unit, and the business processing unit performs data storage, and Subsequent processing can be further carried out according to business rules and stored data, for example, updating the user interface, such as updating panels and enterprise managers, and implementing a routing mechanism based on information management events. The method proposed by the present invention is applicable to information management in any IM, and the specific implementation process of the present invention will be described below by taking an online enterprise as an example.

图2示出了在线企业的用户界面显示示意图,如图2所示,该用户界面即为本发明的企业管理器的用户界面,用户通过该用户界面输入信息管理事件,如添加员工,根据本发明,可实现基于信息管理事件的路由机制,实现原理参见图3。Fig. 2 shows the user interface display diagram of the online enterprise, as shown in Fig. 2, the user interface is the user interface of the enterprise manager of the present invention, and the user inputs information management events through the user interface, such as adding employees, according to the present invention The invention can implement a routing mechanism based on information management events, see Figure 3 for the implementation principle.

图3示出了本发明中信息管理事件路由原理示意图,如图3所示,本发明中可进一步在业务处理单元中设置事件单元,这样,业务处理单元就包括业务路由单元和事件单元,业务路由单元用于确定至对应于事件标识的事件单元的路由。业务处理单元可视为主信息管理事件,基于业务处理单元的事件单元可视为子信息管理事件。业务处理单元可基于业务进行划分,如在线企业基本资料、在线企业组织架构、成员基本信息等;业务处理单元中包括的各事件单元为基于某一业务下的各具体信息管理事件,如删除信息、添加信息、修改信息等。不同业务处理单元中包含的事件单元可相同,也可不相同。用户通过该用户界面输入信息管理事件,然后用户界面向事件路由单元发送携带有事件标识的信息管理事件操作请求,事件路由单元用于确定至对应于事件标识的业务处理单元的路由,即根据事件标识确定相应业务处理单元,然后向该业务处理单元的业务路由单元发送携带有事件标识的信息管理事件操作请求,业务路由单元根据事件标识确定相应事件单元,然后向该事件单元发送信息管理事件操作请求,该事件单元向后台服务器发送携带有事件标识的信息管理事件操作请求。每个业务处理单元中的事件单元具有唯一的事件标识,即不同业务处理单元中的事件单元可通过事件标识唯一标识。事件标识可为业务处理单元标识、即主事件标识与事件单元标识、即子事件标识的组合,事件路由单元根据事件标识中的主事件标识确定相应业务处理单元,该业务处理单元的业务路由单元根据事件标识中的子事件标识确定相应事件单元。事件标识的不同字段可分别表示主事件标识和子事件标识,例如,事件标识的长度为六位,通过事件标识的第一、二位表示主事件标识,通过事件标识的第三至六位表示子事件标识。Fig. 3 shows the schematic diagram of information management event routing principle in the present invention, as shown in Fig. 3, in the present invention, event unit can be set further in business processing unit, like this, business processing unit just comprises business routing unit and event unit, business The routing unit is used to determine a route to the event unit corresponding to the event identifier. The business processing unit can be regarded as the main information management event, and the event unit based on the business processing unit can be regarded as the sub information management event. Business processing units can be divided based on business, such as online enterprise basic information, online enterprise organizational structure, member basic information, etc.; each event unit included in the business processing unit is based on each specific information management event under a certain business, such as deleting information , add information, modify information, etc. The event units contained in different business processing units may be the same or different. The user inputs an information management event through the user interface, and then the user interface sends an information management event operation request carrying an event identifier to the event routing unit, and the event routing unit is used to determine the route to the service processing unit corresponding to the event identifier, that is, according to the event Identify the corresponding service processing unit, and then send an information management event operation request carrying the event identifier to the service routing unit of the service processing unit, and the service routing unit determines the corresponding event unit according to the event identifier, and then sends the information management event operation to the event unit Request, the event unit sends an information management event operation request carrying an event identifier to the background server. The event unit in each business processing unit has a unique event identifier, that is, the event units in different business processing units can be uniquely identified by the event identifier. The event ID can be a combination of a business processing unit ID, that is, a main event ID and an event unit ID, that is, a sub-event ID, and the event routing unit determines the corresponding business processing unit according to the main event ID in the event ID, and the business routing unit of the business processing unit Determine the corresponding event unit according to the sub-event identifier in the event identifier. Different fields of the event ID can represent the main event ID and the sub-event ID respectively. For example, the length of the event ID is six digits, the first and second digits of the event ID represent the main event ID, and the third to sixth bits of the event ID represent the Event ID.

图3中除后台服务器之外的其余部分均为客户端中包括的部分,其中,事件路由单元及包含业务路由单元和事件单元的业务处理单元共同组成了实现事件路由的装置,该装置中可进一步包括鉴权子系统,用于实现对用户的鉴权。另外,该实现事件路由的装置可仅包括事件路由单元和业务处理单元,其中,事件路由单元用于接收来自用户界面的携带有事件标识的信息管理事件操作请求,并向对应于事件标识的业务处理单元发送信息管理事件操作请求;业务处理单元用于向后台服务器发送信息管理事件操作请求,并根据后台服务器返回的处理结果进行数据存储。在业务处理单元中包括事件路由单元和事件单元时,业务路由单元用于接收来自事件路由单元的信息管理事件操作请求,并向对应于事件标识的事件单元发送信息管理事件操作请求;事件单元用于向后台服务器发送信息管理事件操作请求,并根据后台服务器返回的处理结果进行数据存储。In Fig. 3, the remaining parts except the background server are all parts included in the client, wherein, the event routing unit and the business processing unit including the business routing unit and the event unit together form a device for implementing event routing. It further includes an authentication subsystem, which is used to implement user authentication. In addition, the device for implementing event routing may only include an event routing unit and a service processing unit, wherein the event routing unit is configured to receive an information management event operation request carrying an event identifier from a user interface, and send a request to the service corresponding to the event identifier. The processing unit sends an information management event operation request; the business processing unit is used to send an information management event operation request to the background server, and stores data according to the processing result returned by the background server. When the business processing unit includes the event routing unit and the event unit, the business routing unit is used to receive the information management event operation request from the event routing unit, and send the information management event operation request to the event unit corresponding to the event identifier; the event unit uses It is used to send an information management event operation request to the background server, and store data according to the processing result returned by the background server.

图4示出了本发明中实现信息管理流程图,如图4所示,信息管理的实现过程包括以下步骤:Fig. 4 shows the flow chart of realizing information management in the present invention, as shown in Fig. 4, the realization process of information management comprises the following steps:

步骤401:用户通过用户界面输入信息管理事件,然后用户界面向事件路由单元发送携带有事件标识的信息管理事件操作请求。Step 401: The user inputs an information management event through a user interface, and then the user interface sends an information management event operation request carrying an event identifier to the event routing unit.

步骤402:事件路由单元根据事件标识确定业务处理单元,然后向对应于该业务处理单元的业务路由单元发送携带有事件标识的信息管理事件操作请求。Step 402: The event routing unit determines the service processing unit according to the event identifier, and then sends an information management event operation request carrying the event identifier to the service routing unit corresponding to the service processing unit.

参见图3,在步骤402之前,事件路由单元可启动鉴权子系统对用户进行鉴权,如要求用户通过用户界面输入用户名和密码,如果用户通过鉴权,则继续执行步骤402;否则,拒绝用户输入的信息管理事件。Referring to Fig. 3, before step 402, the event routing unit can start the authentication subsystem to authenticate the user, such as requiring the user to input the user name and password through the user interface, if the user passes the authentication, then proceed to step 402; otherwise, reject Information management event for user input.

步骤403:业务路由单元判断是否存在对应于事件标识的事件单元,如果是,则执行步骤406;否则,执行步骤405。Step 403: The service routing unit judges whether there is an event unit corresponding to the event identifier, and if yes, executes step 406; otherwise, executes step 405.

步骤405:由模型创建中心创建事件单元,该模型创建中心可为类厂中心,然后执行步骤406。Step 405: The event unit is created by the model creation center, which may be a class factory center, and then step 406 is executed.

步骤406:业务路由单元向对应于事件标识的事件单元发送信息管理事件操作请求。由于可在事件单元中配置与该事件单元相对应的事件标识,因此,业务路由单元向事件单元发送的信息管理事件操作请求中可携带事件标识,也可不携带有事件标识。Step 406: The service routing unit sends an information management event operation request to the event unit corresponding to the event identifier. Since the event identifier corresponding to the event unit can be configured in the event unit, the information management event operation request sent by the service routing unit to the event unit may or may not carry the event identifier.

步骤407:事件单元收到信息管理事件操作请求后,向中转服务器发送携带有客户端标识和事件标识的信息管理事件操作请求。Step 407: After receiving the information management event operation request, the event unit sends the information management event operation request carrying the client identifier and the event identifier to the transit server.

步骤408:中转服务器收到信息管理事件操作请求后,根据事件标识向相应群组服务器发送携带有客户端标识和事件标识的信息管理事件操作请求。由于不同群组服务器进行不同操作,因此,中转服务器可根据事件标识确定当前需要的群组服务器,然后向该群组服务器发送携带有客户端标识和事件标识的信息管理事件操作请求。Step 408: After receiving the information management event operation request, the transfer server sends the information management event operation request carrying the client ID and the event ID to the corresponding group server according to the event ID. Since different group servers perform different operations, the transit server can determine the currently needed group server according to the event ID, and then send an information management event operation request carrying the client ID and the event ID to the group server.

步骤409:群组服务器判断信息管理事件操作请求是否为基本管理命令,如果是,则执行步骤411;否则,执行步骤410。Step 409: the group server judges whether the information management event operation request is a basic management command, if yes, execute step 411; otherwise, execute step 410.

步骤410:群组服务器对收到的信息管理事件操作请求进行处理,然后执行步骤413。Step 410: the group server processes the received information management event operation request, and then executes step 413.

步骤411:群组服务器向扩展服务器发送携带有客户端标识和事件标识的信息管理事件操作请求。Step 411: the group server sends an information management event operation request carrying the client identifier and the event identifier to the extension server.

步骤412:扩展服务器对收到的信息管理事件操作请求进行处理,然后执行步骤413。Step 412: the extension server processes the received information management event operation request, and then executes step 413.

由于在IM中,扩展服务器中存储着在线企业的基本信息,如在线企业的名称、组织架构等,群组服务器中存储着在线企业中各成员的信息、成员之间的关系等,如果是对在线企业的基本信息进行管理,则需要由扩展服务器来进行处理;如果是对基本信息以外的其他信息进行管理,则需要由群组服务器来进行处理。因此,群组服务器需要对信息管理事件操作请求涉及的是哪些信息管理进行判断。Because in IM, the basic information of the online enterprise is stored in the extended server, such as the name and organizational structure of the online enterprise, and the information of each member in the online enterprise and the relationship between members are stored in the group server. The management of the basic information of the online enterprise needs to be processed by the extension server; if other information other than the basic information is managed, it needs to be processed by the group server. Therefore, the group server needs to judge which information management is involved in the information management event operation request.

以上所述步骤408~步骤412的处理过程也可为:中转服务器将携带有客户端标识和事件标识的信息管理事件操作请求发送至扩展服务器,由扩展服务器判断信息管理事件操作请求是否为基本管理命令,如果是,则自身对收到的信息管理事件操作请求进行处理,否则,向群组服务器发送携带有客户端标识和事件标识的信息管理事件操作请求。The processing process of steps 408 to 412 described above can also be: the transfer server sends the information management event operation request carrying the client ID and event ID to the extension server, and the extension server judges whether the information management event operation request is a basic management command, if yes, process the received information management event operation request by itself; otherwise, send the information management event operation request carrying the client ID and event ID to the group server.

步骤413:根据客户端标识和事件标识向相应事件单元、即步骤407中所述的事件单元返回处理结果,如果事件单元发送的信息管理事件操作请求是由群组服务器进行的处理,则该处理结果由群组服务器返回;如果事件单元发送的信息管理事件操作请求是由扩展服务器进行的处理,则该处理结果由扩展服务器返回。Step 413: Return the processing result to the corresponding event unit, that is, the event unit described in step 407, according to the client ID and event ID. If the information management event operation request sent by the event unit is processed by the group server, the processing The result is returned by the group server; if the information management event operation request sent by the event unit is processed by the extension server, the processing result is returned by the extension server.

返回处理结果时,群组服务器或扩展服务器可通过中转服务器向事件单元返回处理结果,也可不通过中转服务器向事件单元返回处理结果,如果群组服务器或扩展服务器能够根据客户端标识找到相应客户端,则也可不通过中转服务器向事件单元返回处理结果;如果群组服务器或扩展服务器无法根据客户端标识找到相应客户端,则通过中转服务器向事件单元返回处理结果。When returning the processing result, the group server or the extended server can return the processing result to the event unit through the relay server, or return the processing result to the event unit without the relay server, if the group server or the extended server can find the corresponding client according to the client ID , the processing result may not be returned to the event unit through the relay server; if the group server or the extension server cannot find the corresponding client according to the client ID, the processing result is returned to the event unit through the relay server.

步骤414:事件单元进行数据存储,并可进一步根据业务规则和存储的数据进行后续处理,例如,向用户界面发送更新数据,使用户界面进行更新,如更新面板或企业管理器显示界面。Step 414: The event unit stores data, and can further perform subsequent processing according to business rules and stored data, for example, sending update data to the user interface to update the user interface, such as updating a panel or an enterprise manager display interface.

以上所述的信息管理事件可为修改在线企业基本信息、添加/删除成员、修改成员信息、添加/删除/修改在线企业的部门,等等。The above-mentioned information management events may be modifying basic information of an online enterprise, adding/deleting members, modifying member information, adding/deleting/modifying departments of an online enterprise, and so on.

以上所述业务处理单元或事件单元与后台服务器的信息交互可通过网络接口层进行。同一时刻,客户端只有唯一信息管理事件出口与后台服务器进行信息交互,即同一时刻只有一个业务处理单元或事件单元与后台服务器进行信息交互。The above-mentioned information interaction between the service processing unit or event unit and the background server can be performed through the network interface layer. At the same time, the client has only one information management event outlet for information interaction with the background server, that is, only one business processing unit or event unit for information interaction with the background server at the same time.

由于现有技术中,不具有统一管理模式的企业管理器显示界面,本发明中还提出了一种与用户操作权限相对应的统一管理模式,根据用户的操作权限动态加载标签(TAB),实现针对不同操作权限的用户显示不同的企业管理器。将与在线企业资源相关模块的动态连接库名称和文件路径写入文件,同时根据在线企业中成员的权限进行分配,这些信息可存储在后台服务器中,在用户界面、即企业管理器需要时,由后台服务器提供;也可由企业管理器与后台服务器进行信息交互,获取后直接存储在企业管理器所在的客户端上。例如,可将在线企业中所有成员的权限分成三类:创建者权限、管理员权限和普通成员权限;可将企业资源权限能力分为四个等级:X-执行,F-完全控制,R-读取,W-修改/增加/删除,创建者权限具有最大的控制权,与管理员唯一的区别是创建者可对管理员进行设置、删除等操作,具有全部的管理权限,管理员权限可增加/删除/修改部门、添加/删除成员、修改成员基本信息、修改在线企业的基本信息,普通成员权限仅享有修改个人信息、在企业电子布告栏系统(BBS)中发表帖子以及在企业相册中发布照片等。Because in the prior art, there is no enterprise manager display interface with a unified management mode, the present invention also proposes a unified management mode corresponding to the user's operation authority, and dynamically loads tags (TAB) according to the user's operation authority to realize Different enterprise managers are displayed for users with different operation rights. Write the dynamic link library name and file path of the module related to the online enterprise resource into the file, and at the same time distribute it according to the permissions of the members in the online enterprise. This information can be stored in the background server. It is provided by the background server; it can also be exchanged by the enterprise manager and the background server, and the obtained information is directly stored on the client where the enterprise manager is located. For example, the permissions of all members in an online enterprise can be divided into three categories: creator permissions, administrator permissions, and ordinary member permissions; enterprise resource permission capabilities can be divided into four levels: X-execute, F-full control, R- Read, W-modify/add/delete, the creator authority has the greatest control right, the only difference from the administrator is that the creator can set and delete the administrator, and has all the management authority, the administrator authority can be Add/delete/modify departments, add/delete members, modify basic information of members, and modify basic information of online companies. Ordinary members only have permission to modify personal information, post in the company's electronic bulletin board system (BBS) and in the company's photo album post photos etc.

图5示出了本发明中实现统一管理模式流程图,如图5所示,统一管理模式的实现过程包括以下步骤:Fig. 5 shows the flowchart of realizing unified management mode in the present invention, as shown in Fig. 5, the realization process of unified management mode comprises the following steps:

步骤501:用户启动用户界面。Step 501: The user starts the user interface.

步骤502:用户界面判断用户是否成功登录,如果是,则执行步骤504;否则,执行步骤503。Step 502: The user interface judges whether the user has successfully logged in, and if yes, executes step 504; otherwise, executes step 503.

步骤503:用户界面提示用户登录,然后返回执行步骤502。用户收到提示后,可输入用户名和密码,用户界面通过与后台服务器的交互,确定用户是否成功登陆。Step 503: the user interface prompts the user to log in, and then returns to step 502. After receiving the prompt, the user can enter the user name and password, and the user interface determines whether the user has successfully logged in through the interaction with the background server.

步骤504:用户界面确定用户的操作权限。该步骤的具体实现可分别根据以下三种方式实现:方式一、用户界面首先获取配置资源列表,该配置资源列表的内容可为企业BBS、企业相册、共享内容、网络硬盘、企业邮件系统等,然后获取用户身份,如创建者、管理员、普通成员等,再然后根据用户身份获取基于配置资源列表的用户权限配置,最终获取用户的操作权限;方式二、用户界面首先获取用户身份,然后获取与用户身份相对应的用户权限配置,再然后获取基于该用户权限配置的配置资源列表,最终获取用户的操作权限;方式三、用户界面首先获取用户身份,然后获取与用户身份相对应的配置资源列表,再然后获取基于该配置资源列表的用户权限配置,最终获取用户的操作权限。Step 504: the user interface determines the user's operation authority. The specific implementation of this step can be realized according to the following three methods respectively: Method 1. The user interface first obtains a configuration resource list, the content of which configuration resource list can be the enterprise BBS, enterprise photo album, shared content, network hard disk, enterprise mail system, etc. Then obtain the user identity, such as creator, administrator, ordinary member, etc., and then obtain the user permission configuration based on the configuration resource list according to the user identity, and finally obtain the user's operation permission; method 2. The user interface first obtains the user identity, and then obtains User permission configuration corresponding to the user identity, and then obtain the configuration resource list based on the user permission configuration, and finally obtain the user's operation permission; method 3, the user interface first obtains the user identity, and then obtains the configuration resources corresponding to the user identity List, and then obtain the user permission configuration based on the configuration resource list, and finally obtain the user's operation permission.

以上各种方式下各信息的获取方式可通过用户界面读取自身所在客户端中存储的信息来获取,也可通过用户界面与后台服务器的信息交互来获取,例如,具有一定操作权限的用户第一次登录,由于用户界面所在客户端上未存储有相关信息,因此,用户界面可通过与后台服务器的交互来获取各信息;用户界面所在客户端可对后台服务器提供的各信息进行存储,以便后续处理中需要各信息时,直接读取就可获得。用户界面也可预先与后台服务器进行交互,以获取各信息,然后用户界面所在客户端可对后台服务器提供的各信息进行存储。如果用户界面所在的客户端中存储有相应信息,则用户界面可定时或不定时向后台服务器获取更新信息,以使向客户显示的企业管理器是最新的。The information obtained in the above various ways can be obtained by reading the information stored in the client itself through the user interface, or through the information interaction between the user interface and the background server. For example, the user with certain operation rights Once logged in, since there is no relevant information stored on the client where the user interface is located, the user interface can obtain various information through interaction with the background server; the client where the user interface is located can store various information provided by the background server, so that When the information is needed in subsequent processing, it can be obtained by reading it directly. The user interface can also interact with the background server in advance to obtain various information, and then the client where the user interface is located can store the various information provided by the background server. If the corresponding information is stored in the client where the user interface is located, the user interface can obtain update information from the background server regularly or irregularly, so that the enterprise manager displayed to the client is the latest.

步骤505:用户界面根据用户的操作权限,动态加载标签,对企业管理器进行显示。用户的操作权限中包括该用户可管理的配置资源、基于每一配置资源的操作权限。Step 505: The user interface dynamically loads labels according to the user's operation authority, and displays them on the enterprise manager. The user's operation authority includes the configuration resources that the user can manage and the operation authority based on each configuration resource.

以上所述的统一管理模式实现过程可适用于多标签的企业管理器中。以上所述的配置资源列表、用户权限配置可为标记语言的格式,如可扩展标记语言(XML)。The implementation process of the unified management mode described above can be applied to a multi-label enterprise manager. The configuration resource list and user rights configuration mentioned above may be in the format of markup language, such as Extensible Markup Language (XML).

根据以上的统一管理模式实现流程,可针对不同权限的用户体现出不同的用户界面,即用户的权限不同,与用户操作权限相对应的企业管理器是不相同的,如图2、图6和图7所示,图2为在线企业的创建者的企业管理器显示形式,图6为在线企业的管理员的企业管理器显示形式,图7为在线企业的普通成员的企业管理器显示形式,通过对图2、图6和图7的比较可见,操作权限不同的用户,其客户端上显示出的企业管理器是不相同的,即通过相同的统一管理模式实现流程确定不同用户的企业管理器显示界面,实现了企业管理器的动态配置。According to the above implementation process of the unified management mode, different user interfaces can be displayed for users with different permissions, that is, the user permissions are different, and the enterprise managers corresponding to the user operation permissions are different, as shown in Figure 2, Figure 6 and As shown in Fig. 7, Fig. 2 is the display form of the enterprise manager of the creator of the online enterprise, Fig. 6 is the display form of the enterprise manager of the administrator of the online enterprise, and Fig. 7 is the display form of the enterprise manager of the ordinary member of the online enterprise, Through the comparison of Figure 2, Figure 6 and Figure 7, it can be seen that users with different operating rights have different enterprise managers displayed on their clients, that is, the enterprise management of different users is determined through the same unified management mode to achieve the process The display interface of the enterprise manager realizes the dynamic configuration of the enterprise manager.

总之,以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。In a word, the above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.

Claims (10)

1, a kind of method that realizes information management is characterized in that the method includes the steps of:
A, user interface send the information management event action request that carries event identifier to the incident routing unit, and the incident routing unit sends the request of information management event action to the Service Processing Unit corresponding to this event identifier;
B, Service Processing Unit send the information management event action request that carries client identification and event identifier to background server;
C, background server are handled the information management event action request of receiving, return result according to client identification and event identifier to Service Processing Unit described in the steps A then, and this Service Processing Unit carries out storage.
2, method according to claim 1 is characterized in that, the routing unit of incident described in the steps A sends the request of information management event action to the Service Processing Unit corresponding to this event identifier, may further comprise the steps:
A1, incident routing unit are determined Service Processing Unit according to event identifier, send the information management event action request that carries event identifier to the professional routing unit corresponding to this Service Processing Unit then;
A2, professional routing unit send the request of information management event action to the event elements corresponding to event identifier.
3, method according to claim 2 is characterized in that, further comprise before the described steps A 2: professional routing unit judges whether to exist the event elements corresponding to event identifier, if, then direct execution in step A2; Otherwise, at first set up event elements, and then execution in step A2.
According to claim 2 or 3 described methods, it is characterized in that 4, described event identifier is the combination of Service Processing Unit sign and event elements sign.
5, method according to claim 1 is characterized in that, this method further may further comprise the steps:
E, user start user interface;
F, user interface are judged whether successfully login of user, if, execution in step g then; Otherwise, prompting user login, and return execution in step f;
G, user interface are determined user's operating right, and show according to this operating right.
6, method according to claim 5 is characterized in that, user interface described in the step g is determined user's operating right, for: user interface is determined user's operating right according to the data of client stores; Or be: user interface by with background server obtain data alternately, and determine user's operating right according to these data.
7, according to claim 5 or 6 described methods, it is characterized in that, user interface described in the step g is determined user's operating right, for: user interface is at first obtained the resource allocation tabulation, obtain user identity then, the user right that obtains based on the resource allocation tabulation according to user identity then disposes again, finally obtains user's operating right; Or be: user interface is at first obtained user identity, obtains then and the corresponding user right configuration of user identity, obtains the resource allocation tabulation based on this user right configuration more then, finally obtains user's operating right; Or be: user interface is at first obtained user identity, obtains then and the corresponding resource allocation tabulation of user identity, obtains this user right configuration based on the resource allocation tabulation more then, finally obtains user's operating right.
8, according to claim 5 or 6 described methods, it is characterized in that, be shown as according to this operating right described in the step g: the dynamic load label shows the enterprise manager interface that is used to represent user interface.
9, a kind of device of realization event route is characterized in that, this device comprises: incident routing unit and Service Processing Unit,
The incident routing unit is used to receive the information management event action request that carries event identifier from user interface, and sends the request of information management event action to the Service Processing Unit corresponding to event identifier;
Service Processing Unit is used for sending the request of information management event action to background server, and carries out storage according to the result that background server returns.
10, device according to claim 9 is characterized in that, described Service Processing Unit comprises: professional routing unit and event elements,
Professional routing unit is used to receive the information management event action request from the incident routing unit, and sends the request of information management event action to the event elements corresponding to event identifier;
Event elements is used for sending the request of information management event action to background server, and carries out storage according to the result that background server returns.
CN200510072006A 2005-05-24 2005-05-24 A method for realizing information management and a device for realizing event routing Active CN100576803C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200510072006A CN100576803C (en) 2005-05-24 2005-05-24 A method for realizing information management and a device for realizing event routing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200510072006A CN100576803C (en) 2005-05-24 2005-05-24 A method for realizing information management and a device for realizing event routing

Publications (2)

Publication Number Publication Date
CN1870512A true CN1870512A (en) 2006-11-29
CN100576803C CN100576803C (en) 2009-12-30

Family

ID=37444069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200510072006A Active CN100576803C (en) 2005-05-24 2005-05-24 A method for realizing information management and a device for realizing event routing

Country Status (1)

Country Link
CN (1) CN100576803C (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101312396B (en) * 2007-05-24 2011-01-19 中兴通讯股份有限公司 Electronic workform management system and resource authority control method thereof
CN103399882A (en) * 2013-07-18 2013-11-20 司法部司法鉴定科学技术研究所 Proficiency testing data platform
CN103581143A (en) * 2012-08-03 2014-02-12 北京亿赞普网络技术有限公司 User authority authentication method, system, client side and server side
CN106330656A (en) * 2015-06-18 2017-01-11 天脉聚源(北京)科技有限公司 User authority management method in instant messaging tool and user authority management system thereof
CN107944840A (en) * 2017-12-25 2018-04-20 新疆机汇网络科技有限公司 Data processing method and device for service management
CN108022079A (en) * 2017-10-31 2018-05-11 深圳前海微众银行股份有限公司 Sharing method, device and the computer-readable recording medium of Service Source

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101312396B (en) * 2007-05-24 2011-01-19 中兴通讯股份有限公司 Electronic workform management system and resource authority control method thereof
CN103581143A (en) * 2012-08-03 2014-02-12 北京亿赞普网络技术有限公司 User authority authentication method, system, client side and server side
CN103399882A (en) * 2013-07-18 2013-11-20 司法部司法鉴定科学技术研究所 Proficiency testing data platform
CN103399882B (en) * 2013-07-18 2018-06-19 司法部司法鉴定科学技术研究所 A kind of proficiency testing data platform
CN106330656A (en) * 2015-06-18 2017-01-11 天脉聚源(北京)科技有限公司 User authority management method in instant messaging tool and user authority management system thereof
CN108022079A (en) * 2017-10-31 2018-05-11 深圳前海微众银行股份有限公司 Sharing method, device and the computer-readable recording medium of Service Source
CN107944840A (en) * 2017-12-25 2018-04-20 新疆机汇网络科技有限公司 Data processing method and device for service management

Also Published As

Publication number Publication date
CN100576803C (en) 2009-12-30

Similar Documents

Publication Publication Date Title
RU2598324C2 (en) Means of controlling access to online service using conventional catalogue features
US10552796B1 (en) Approval service in a catalog service platform
US7703667B2 (en) Management and application of entitlements
US20050102297A1 (en) Directory system
CN1741104A (en) Long-distance authorizing system and method
CN101408899A (en) Method and apparatus for switching website multiple data sources
US10572842B1 (en) Notification service for managing actionable messages from backend services
CN111698205A (en) Service calling method and related equipment
US8365261B2 (en) Implementing organization-specific policy during establishment of an autonomous connection between computer resources
US20130312069A1 (en) Multiple authentication support in a shared environment
US7912930B1 (en) System and method for resource provisioning
JP2009217327A (en) Client environment generation system, client environment generation method, client environment generation program and storage medium
US7113979B1 (en) System, method and article of manufacture for enhancing electronic messages
CN101853358A (en) Method for implementing file object authority management
CN102375894A (en) Method for managing different types of file systems
CN1292192A (en) Polymorphic Token Based Control
CN1870512A (en) Method for implementing information management and device for implementing event route
CN102999329B (en) The Active Directory interface exploitation method of configuration is mapped based on extend markup language
US7165251B2 (en) In-context launch management method, system therefor, and computer-readable storage medium
CN112039985B (en) Heterogeneous cloud management method and system
CN112818038A (en) Data management method based on combination of block chain and IPFS (Internet protocol file system) and related equipment
CN112487400A (en) Single sign-on method and device based on multiple pages, electronic equipment and storage medium
CN1851724A (en) Business data operation coutrol method and business system
CN101916396A (en) A digital home government system and method
AU2007305072B2 (en) Method and system for controlling the release of data for multiple-level security systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant