WO2008089632A1 - Communication system,device and method of registering portlets - Google Patents

Communication system,device and method of registering portlets Download PDF

Info

Publication number
WO2008089632A1
WO2008089632A1 PCT/CN2007/070833 CN2007070833W WO2008089632A1 WO 2008089632 A1 WO2008089632 A1 WO 2008089632A1 CN 2007070833 W CN2007070833 W CN 2007070833W WO 2008089632 A1 WO2008089632 A1 WO 2008089632A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
sender
registration code
data
registration
Prior art date
Application number
PCT/CN2007/070833
Other languages
French (fr)
Chinese (zh)
Inventor
Jianjun Liu
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008089632A1 publication Critical patent/WO2008089632A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources

Definitions

  • the invention relates to a portal system communication technology, in particular to a registered portal program
  • Portal is a web-based application that integrates and presents different resources to users. Enterprises can use Portal to integrate all existing applications into a unified website. Portals can achieve reasonable resources through Portal. And the content can be customized.
  • the integration of resources in a typical portal system has three characteristics: personalization, single sign-on, and a collection of content that can be composed from different sources.
  • Portlet is a web-based JAVA technology that can be used as a pluggable user interface component of Portal.
  • Portals assemble the code fragments generated by portlets into complete pages.
  • the portlet container in which the portlet is located manages the portlet, processes the request made by the portlet, and dynamically returns the page to the portlet.
  • Portlet communication is a very important feature in the actual application of Portal. It determines whether portlets can interact and transfer data, and also determines the scalability of the Portal system.
  • portlet data communication can be realized through a uniform resource locating address (URL), and this technical solution transmits data as a parameter to a target portlet. Therefore, the prerequisite for the implementation of this technical solution is that the target page and the target portlet must be known.
  • the customizable features of the Portal system make the pages added by the user dynamically generated. Therefore, the identity of a certain page cannot be known during the development phase, and the target page and the target portlet cannot be determined, so the availability of the technical solution is not strong.
  • the way in which data is passed through a URL has limitations on the format and size of the data. Only string data can be passed on the data format; in data size The total length of the upper URL cannot exceed 2048 characters.
  • Portlet data communication can also be implemented in the prior art through JAVA message service (JMS) communication technology.
  • JMS JAVA message service
  • This solution uses JMS to send and receive messages, that is, Topic-based subscription/distribution. Although it can achieve certain communication purposes, this solution not only needs to specify the target page and target portlet, but also needs to be managed by JMS itself or based on portal.
  • the business application itself developed by the system cannot be managed by the web container.
  • Portal's data transfer is based on the same Hypertext Transfer Protocol (HTTP) request, which means that if the web container performs special processing on the current request, it will also affect the data being passed, such as the termination request. Or when you transfer to another page, the data passed is automatically cleared.
  • HTTP Hypertext Transfer Protocol
  • the prior art portlet communication method when the communication target page, such as the portlet in the target Portal page, is uncertain, the prior art portlet communication method will lose availability or availability.
  • the prior art portlet communication method not only has a great hidden danger in data security, but also has a large limitation on the amount of data and format in the communication process, and implements a common page to the portal by using the portlet communication method of the prior art.
  • pages pass data complex intermediate operations are required, such as the need to produce URLs.
  • An embodiment of the present invention provides a registered portlet communication system and a communication device, and a registration portlet communication method on the other hand, which solves the portlet communication method caused by the uncertainty of the communication target page in the prior art. Loss of availability or low availability.
  • a sender of information for calling a public interface provided by the communication device in its own code, and transmitting data to the communication device;
  • a communication device configured to receive data sent by the sender of the information, and match the received first registration code with the saved second registration code used by the sender of the associated information and the recipient of the information, and determine that the authorized registration is obtained Determining, by the information receiver of the data sent by the sender, the received data to the determined information receiver;
  • the information receiver is configured to receive data forwarded by the communication device.
  • a communication engine configured to receive the first registration code and the data sent by the information sender, and forward the data sent by the information sender to the sender determined by the registration configuration module to obtain the information sent by the sender The recipient of the data;
  • the registration configuration module is configured to match the first registration code received by the communication engine with the saved second registration code used by the associated information sender and the information receiver, and determine that the user has the right to obtain the information sender. The recipient of the information sent by the data.
  • the embodiment of the present invention further provides a registered portlet communication method, the method comprising the following steps: receiving data sent by a sender of information;
  • the registered portlet communication system, the communication device and the method provided by the embodiment of the present invention when receiving the data sent by the information sender, receive the first registration code and the stored information for the associated information sender and information Matching the second registration code of the party to determine the information receiver having the right to obtain the data sent by the sender of the information, and forwarding the data sent by the sender of the received information to the determined authorized access
  • the information receiver of the data sent by the sender of the information thereby realizing the portlet communication without pre-determining the target page, and solving the prior art loss of the portlet communication mode availability or availability due to the uncertainty of the communication target page in the prior art Low problem.
  • FIG. 1 is a structural diagram of a registered portlet communication system according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of a method for registering a portlet according to an embodiment of the present invention
  • FIG. 3 is a flowchart of actively acquiring data by an information receiver of a registered portlet communication method according to an embodiment of the present invention. Mode for carrying out the invention
  • FIG. 1 is a structural diagram of a registered portlet communication system according to an embodiment of the present invention.
  • the system includes: an information sender, a message receiver, and a communication device.
  • the information sender is configured to invoke a public interface provided by the communication device in its own code to send data to the communication device;
  • a communication device configured to receive data sent by the sender of the information, and match the received first registration code with a pre-configured and saved second registration code used by the sender of the associated information and the receiver of the information to determine that the authorized registration is obtained.
  • the information receiver of the data sent by the sender of the information and forwards the data sent by the sender of the information to the determined recipient of the information sent by the sender of the authorized information;
  • the information receiver is configured to receive data forwarded by the communication device.
  • the communication device in the system includes at least: a communication engine and a registration configuration module.
  • the information sender is configured to invoke a public interface provided by the communication engine in its own code to send data to the communication engine;
  • a communication engine configured to receive data sent by the sender of the information, receive the first registration code, and send the first registration code to the registration configuration module, receive the notification from the registration configuration module, and send the data sent by the information sender Forwarding to the information receiver determined by the registration configuration module to obtain information sent by the sender of the information;
  • a registration configuration module configured to match the received first registration code with the saved second registration code for the associated information sender and the information receiver, and determine the information receiver that has the right to obtain the data sent by the information sender, And notify the communication engine.
  • the communication engine may further be configured to send the confirmation information having the data receiving authority to the information receiver determined by the registration configuration module to obtain the data sent by the information sender.
  • the public interface provided by the communication engine can receive any form of data, so the sender of the information and the recipient of the information can be a portlet of the Portal page, or a normal web. page.
  • the data size can be flexibly set by the communication engine. Therefore, the registered portlet communication system provided by the embodiment of the present invention eliminates the limitation of the communication data of the existing portlet communication mechanism, and maintains the independence of each portlet application, thereby improving the independence. The scalability of the Portal system.
  • the portlet communication system provided by the embodiment of the present invention the data transfer between the normal page and the portal page can be realized in a single manner, and no complicated intermediate operations in the prior art, such as generating a URL, are needed.
  • the communication engine has the same lifecycle management mechanism as the HTTP Request save data, that is, when the HTTP request where the data communication between the sender of the information and the information receiver is completed, the web container where the HTTP request is located will instruct the communication engine to clear the request. All relevant data.
  • the communication engine can be deployed in a variety of forms. For example, it can be started as a component as the portlet container is started.
  • the JAVA service business plane (jsp) and portlet can set and acquire data by calling the public interface of the component.
  • the communication engine does not depend on a particular portlet container, but rather, like a standalone JAR package, the user can use it in other portlet containers.
  • the information sender can also be used to register the corresponding registration code with the communication engine.
  • the communication engine is a first communication engine, configured to receive data sent by the information sender and a first registration code corresponding to the sender of the information, and send the received first registration code to the registration configuration module, and receive the The notification of the registration configuration module forwards the data sent by the information sender to the information receiver determined by the registration configuration module to obtain the data sent by the information sender.
  • the information receiver may also be configured to send a data receiving permission request carrying the first registration code corresponding to itself to the communication engine.
  • the communication engine is a second communication engine, configured to receive data sent by the information sender, and receive the first registration code corresponding to the information received by the information receiver, and send the received first registration code to the registration.
  • a configuration module receiving a notification from the registration configuration module, The data sent by the sender of the information is forwarded to the recipient of the information determined by the registration configuration module and having the right to obtain the data transmitted by the sender of the information.
  • the registered portlet communication system provided by this embodiment may further include a security module. As shown in FIG. 1, the module is connected to the communication engine.
  • the communication engine is further configured to: before sending the received first registration code to the registration configuration module, send the first registration code to the security module, and send the first registration code from the security module for security setting to the registration Configuration module
  • a security module configured to detect whether the first registration code sent by the communication engine meets a security requirement, such as whether the security level setting, the encryption requirement, and/or the security data integrity requirement are met, and when determining the compliance, the first registration code is performed
  • Security settings such as encryption settings, permission settings, and/or authentication settings, and send the first registration code that completes the security settings to the communication engine.
  • the embodiment of the present invention further provides a registered portlet communication method, the method comprising the following steps: receiving data sent by a sender of information;
  • the data sent by the received sender of the information is forwarded to the determined recipient of the information.
  • the method further includes: transmitting the confirmation message having the data receiving authority to the recipient of the information determining the data transmitted by the sender of the authorized information.
  • the first registration code may be sent by the information sender or may be sent by the information receiver.
  • the step of receiving the first registration code may be: receiving a first registration code sent by the information sender;
  • the data receiving permission request sent by the receiving party of the receiving information may also be carried, and the request is carried in the request.
  • FIG. 2 is a flow chart of a method for registering a registered portlet according to a first embodiment of the present invention. The process includes the following steps:
  • Step 201 Configure and save a second registration code for the associated information sender and the information receiver.
  • the second registration code may be pre-configured by the developer or dynamically configured in the running state, such as when the administrator adds the information sender information to a certain page.
  • Step 202 Receive data sent by the sender of the information, and a first registration code sent by the sender of the information.
  • the information sender can directly obtain the first registration code corresponding to itself from the own code; if the first registration code is pre-stored to the corresponding information sender In the configuration file, the sender of the information needs to obtain the first registration code corresponding to itself from the configuration file.
  • the sender of the information may be a portlet of the portal page or a normal web page.
  • Step 203 Match the first registration code sent by the information sender with the pre-configured and saved second registration code used by the associated information sender and the information receiver. If the matching is successful, determine one of the second registration code associations. Or the plurality of information receivers have the right to obtain the data sent by the information sender, and step 204 is performed; otherwise, it is determined that no information receiver has the right to obtain the data sent by the information sender, and the process ends.
  • the information receiver may be one or more portlets in the target page, or may be a normal web page.
  • Step 204 Forward the data sent by the information sender to one or more information receivers that have the right to obtain the data sent by the information sender determined in step 203.
  • the method may further include the following steps:
  • the security settings can include encryption settings, permission settings, and/or authentication settings; if not, the process ends.
  • the data communication process between the sender of the message and the receiver of the message shown in Figure 2 is performed in an HTTP request.
  • the web container in which the HTTP request is located will instruct the registered portlet communication system to clear the request. All relevant data.
  • the web container can issue an instruction to clear the data using the requestDestroyed( ) method in the ServletRequestListener method.
  • FIG. 3 is a flowchart of a method for registering a portlet communication according to a second embodiment of the present invention.
  • the information received by the information receiver is obtained by the information receiver actively requesting data receiving authority. Including the following steps:
  • Step 301 Configure and save a second registration code for the associated information sender and the information receiver.
  • Step 302 Receive data sent by one or more information senders.
  • Step 303 Receive a data receiving permission request that is sent by the information receiver and carries the first registration code corresponding to itself.
  • Step 304 Match the first registration code carried in the data receiving permission request sent by the information receiver with the pre-configured and saved second registration code used by the associated information sender and the information receiver. If the matching is successful, Then, it is determined that the information receiver has the right to obtain the information sent by the one or more information senders associated with the second registration code, and step 305 is performed; otherwise, determining that the information receiver does not obtain the permission of the data sent by the information sender, ending the flow Cheng.
  • Step 305 Forward the data sent by the determined one or more information senders associated with the second registration code to the information receiver.
  • the method may further include The following steps:
  • the code performs security settings, which may include encryption settings, rights settings, and/or authentication settings; if not, the process ends.
  • the portlet that obtains the registration code can dynamically send a data receiving permission request to the communication engine in the registered portlet communication system on any page, and then obtain Data receiving permission.
  • the method, the system and the device provided by the embodiments of the present invention can not only ensure the availability of the portlet communication mode but also the information transmission method in the method and system provided by the embodiments of the present invention.
  • the party and the information receiver can be the portlet in the Portal page or the normal web page. Therefore, when the normal page passes the data to the Portal page, no complicated intermediate operations are required, and the ordinary web page is transferred to the portlet of the Portal page. The process of data.
  • the communication device provided by the embodiment of the present invention ensures the data security in the portlet communication by performing security setting on the received first registration code; and realizes the life cycle of the web container by performing portlet communication in the HTTP request. Management.

Abstract

A registering portlet communication system and device includes information transmitter, receiver and communication means. The embodiment also discloses a registering portlet communication method, which includes the following steps, receving the data from the information transmitter, receiving the first registration code, matching the first registration code with the stored second registration codes which is used to relate the information transmitter and the information receiver, determining the information receiver who has the authorization to get the transmitted data and transmitting the data to the determined receiver. With the system, communication device and method provided in the embodiment, portlet communication can be obtained without predetermining the object page. The invention solves the problem that the object page cannot be determined and Portlet communication cannot be realized.

Description

一种注册式门户程序通信系统、 通信装置和方法  Registered portal program communication system, communication device and method
技术领域 Technical field
本发明涉及门户系统通信技术, 特别涉及一种注册式门户程序 The invention relates to a portal system communication technology, in particular to a registered portal program
( Portlet )通信系统、 通信装置和方法。 发明背景 (Portlet) communication system, communication device, and method. Background of the invention
门户系统(Portal )是基于网页 (Web )的应用, 它将不同资源整合 并展现给用户, 企业可以使用 Portal将所有现有应用整合到统一的网站 上, 门户网站可以通过 Portal实现资源的合理配合和内容的可定制。 通 常门户系统对资源的整合具有如下三个特点: 个性化定制、 单点登陆以 及可以构成不同来源的内容集合。  Portal is a web-based application that integrates and presents different resources to users. Enterprises can use Portal to integrate all existing applications into a unified website. Portals can achieve reasonable resources through Portal. And the content can be customized. The integration of resources in a typical portal system has three characteristics: personalization, single sign-on, and a collection of content that can be composed from different sources.
Portlet是一种基于 Web组建的 JAVA技术, 它可以作为 Portal的可 插拔用户界面组件,由 Portal将 Portlet产生的代码片断组装成完整页面。 Portlet所在的 Portlet容器对 Portlet进行管理, 处理 Portlet发出的请求, 并向 Portlet动态返回页面。 Portlet通信是 Portal实际应用中非常重要的 特性, 它决定了 Portlet之间是否可以交互和传递数据, 同时还决定了 Portal系统的可扩展性。  Portlet is a web-based JAVA technology that can be used as a pluggable user interface component of Portal. Portals assemble the code fragments generated by portlets into complete pages. The portlet container in which the portlet is located manages the portlet, processes the request made by the portlet, and dynamically returns the page to the portlet. Portlet communication is a very important feature in the actual application of Portal. It determines whether portlets can interact and transfer data, and also determines the scalability of the Portal system.
现有技术中可以通过统一资源定位地址(URL )实现 Portlet数据通 信, 这种技术方案将数据作为参数传递到目标 Portlet。 因此, 这种技术 方案实现的前提是必须知道目标页面和目标 Portlet。 但 Portal系统的可 定制特性, 使得用户添加的页面属于动态生成的, 因此在开发阶段无法 知道某个页面的标识, 也就不能确定目标页面和目标 Portlet , 所以这种 技术方案的可用性不强。 另外, 通过 URL传递数据的通信方式对数据 格式和大小都有限制。 在数据格式上只能传递字符串数据; 在数据大小 上 URL的总长度不能超过 2048个字符。 In the prior art, portlet data communication can be realized through a uniform resource locating address (URL), and this technical solution transmits data as a parameter to a target portlet. Therefore, the prerequisite for the implementation of this technical solution is that the target page and the target portlet must be known. However, the customizable features of the Portal system make the pages added by the user dynamically generated. Therefore, the identity of a certain page cannot be known during the development phase, and the target page and the target portlet cannot be determined, so the availability of the technical solution is not strong. In addition, the way in which data is passed through a URL has limitations on the format and size of the data. Only string data can be passed on the data format; in data size The total length of the upper URL cannot exceed 2048 characters.
现有技术中还可以通过 JAVA消息服务( JMS )通信技术实现 Portlet 数据通信。 这种方案利用 JMS发送和接收消息, 即基于 Topic的订阅 / 发布, 虽然可以达到一定的通信目的, 但这种方案不仅需要明确目标页 面和目标 Portlet,并且生命周期管理需要由 JMS自身或基于 portal 系统 开发的业务应用本身控制, 无法由 web容器管理。 而 Portal的数据传递 都是基于同一个超文本传输协议(HTTP )请求的, 也就是说如果 web 容器对当前的请求进行了特别的处理, 则也会对所传递的数据造成影 响, 如终止请求或转向另一个页面时, 传递的数据会被自动清除。 而采 用 JMS通信技术实现 Portlet通信时, 由于生命周期管理无法由 web容 器管理实现, 因此如果 web容器对当前的请求进行了特别的处理时, 无 法实现所传递数据的自动清除。  Portlet data communication can also be implemented in the prior art through JAVA message service (JMS) communication technology. This solution uses JMS to send and receive messages, that is, Topic-based subscription/distribution. Although it can achieve certain communication purposes, this solution not only needs to specify the target page and target portlet, but also needs to be managed by JMS itself or based on portal. The business application itself developed by the system cannot be managed by the web container. Portal's data transfer is based on the same Hypertext Transfer Protocol (HTTP) request, which means that if the web container performs special processing on the current request, it will also affect the data being passed, such as the termination request. Or when you transfer to another page, the data passed is automatically cleared. When portlet communication is implemented using JMS communication technology, since lifecycle management cannot be managed by the web container, if the web container performs special processing on the current request, the automatic removal of the transmitted data cannot be achieved.
现有技术中还存在另外两种方案, 一种为通过会话 ( session ) 实现 Portlet数据通信的技术方案, 另一种为通过 request实现 Portlet数据通 信的技术方案。 在这两种方案中, 虽然可以在不明确目标页面的前提下 实现 Portlet通信, 但是由于不明确目标页面, 造成这两种技术方案在数 据安全性上存在很大的隐患, 因此使得这两种方案的可用性很低。  There are two other solutions in the prior art, one is a technical solution for implementing portlet data communication through a session, and the other is a technical solution for implementing portlet data communication through a request. In both scenarios, although the portlet communication can be implemented without specifying the target page, the two technical solutions have great hidden dangers in data security due to the unclear target page. The availability of the solution is very low.
综上所述, 当通信目标页面, 如目标 Portal页面中的 Portlet, 不确 定时, 现有技术的 Portlet通信方式将丧失可用性或可用性很低。 另外, 现有技术的 Portlet通信方式不仅在数据安全性上存在很大的隐患,在通 信过程中对数据量和格式等存在较大限制, 而且利用现有技术的 Portlet 通信方式实现普通页面向 Portal页面传递数据时,需要复杂的中间操作, 如需要生产 URL等。 发明内容 In summary, when the communication target page, such as the portlet in the target Portal page, is uncertain, the prior art portlet communication method will lose availability or availability. In addition, the prior art portlet communication method not only has a great hidden danger in data security, but also has a large limitation on the amount of data and format in the communication process, and implements a common page to the portal by using the portlet communication method of the prior art. When pages pass data, complex intermediate operations are required, such as the need to produce URLs. Summary of the invention
本发明实施例一方面提供了一种注册式 Portlet通信系统和通信装 置, 另一方面提供了一种注册式 Portlet通信方法, 解决了现有技术中由 于通信目标页面不确定,造成的 Portlet通信方式可用性丧失或可用性很 低的问题。  An embodiment of the present invention provides a registered portlet communication system and a communication device, and a registration portlet communication method on the other hand, which solves the portlet communication method caused by the uncertainty of the communication target page in the prior art. Loss of availability or low availability.
本发明实施例提供的注册式 Portlet通信系统, 包括:  The registered portlet communication system provided by the embodiment of the invention includes:
信息发送方, 用于在自身的代码中调用通信装置提供的公共接口, 向所述通信装置发送数据;  a sender of information, for calling a public interface provided by the communication device in its own code, and transmitting data to the communication device;
通信装置, 用于接收所述信息发送方发送的数据, 并将接收到的第 一注册码与保存的用于关联信息发送方和信息接收方的第二注册码进 行匹配, 确定有权限获取所述信息发送方所发送数据的信息接收方, 并 将所述接收到的数据转发给所述确定的信息接收方;  a communication device, configured to receive data sent by the sender of the information, and match the received first registration code with the saved second registration code used by the sender of the associated information and the recipient of the information, and determine that the authorized registration is obtained Determining, by the information receiver of the data sent by the sender, the received data to the determined information receiver;
信息接收方, 用于接收所述通信装置转发的数据。  The information receiver is configured to receive data forwarded by the communication device.
本发明实施例提供的通信装置, 至少包括:  The communication device provided by the embodiment of the present invention includes at least:
通信引擎, 用于接收第一注册码和所述信息发送方发送的数据, 并 将将所述信息发送方发送的数据转发给所述注册配置模块确定的有权 限获取所述信息发送方所发送数据的信息接收方;  a communication engine, configured to receive the first registration code and the data sent by the information sender, and forward the data sent by the information sender to the sender determined by the registration configuration module to obtain the information sent by the sender The recipient of the data;
所述注册配置模块, 用于将所述通信引擎接收到的第一注册码与保 存的用于关联信息发送方和信息接收方的第二注册码进行匹配, 确定有 权限获取所述信息发送方所发送数据的信息接收方。  The registration configuration module is configured to match the first registration code received by the communication engine with the saved second registration code used by the associated information sender and the information receiver, and determine that the user has the right to obtain the information sender. The recipient of the information sent by the data.
本发明实施例还提供注册式 Portlet通信方法,该方法包括如下步骤: 接收信息发送方发送的数据;  The embodiment of the present invention further provides a registered portlet communication method, the method comprising the following steps: receiving data sent by a sender of information;
接收第一注册码, 并将所述第一注册码与保存的用于关联信息发送 方和信息接收方的第二注册码进行匹配, 确定有权限获取所述信息发送 方所发送数据的信息接收方; 将接收到的信息发送方发送的数据转发给所述确定的信息接收方。 利用本发明实施例提供的注册式 Portlet通信系统、通信装置和方法, 当接收到信息发送方发送的数据时, 通过将接收到的第一注册码与保存 的用于关联信息发送方和信息接收方的第二注册码进行匹配, 以确定有 权限获取所述信息发送方所发送数据的信息接收方, 并将所述接收到的 信息发送方发送的数据转发给所述确定的有权限获取所述信息发送方 所发送数据的信息接收方, 从而实现了无需预先确定目标页面, 就可以 实现 Portlet通信, 解决了现有技术中由于通信目标页面不确定, 造成的 Portlet通信方式可用性丧失或可用性很低的问题。 附图简要说明 Receiving the first registration code, and matching the first registration code with the saved second registration code for the associated information sender and the information receiver, and determining that the user has the right to obtain the information received by the information sender. square; Forwarding the data sent by the sender of the information to the determined recipient of the information. The registered portlet communication system, the communication device and the method provided by the embodiment of the present invention, when receiving the data sent by the information sender, receive the first registration code and the stored information for the associated information sender and information Matching the second registration code of the party to determine the information receiver having the right to obtain the data sent by the sender of the information, and forwarding the data sent by the sender of the received information to the determined authorized access The information receiver of the data sent by the sender of the information, thereby realizing the portlet communication without pre-determining the target page, and solving the prior art loss of the portlet communication mode availability or availability due to the uncertainty of the communication target page in the prior art Low problem. BRIEF DESCRIPTION OF THE DRAWINGS
图 1为本发明实施例的注册式 Portlet通信系统的结构图;  1 is a structural diagram of a registered portlet communication system according to an embodiment of the present invention;
图 2为本发明实施例的注册式 Portlet通信方法的流程图;  2 is a flowchart of a method for registering a portlet according to an embodiment of the present invention;
图 3为本发明实施例注册式 Portlet通信方法的信息接收方主动获取 数据的流程图。 实施本发明的方式  FIG. 3 is a flowchart of actively acquiring data by an information receiver of a registered portlet communication method according to an embodiment of the present invention. Mode for carrying out the invention
为使本发明的目的、 技术方案和有益效果更加清楚明白, 下面结合 实施例和附图, 对本发明#文进一步地详细说明。  In order to make the objects, technical solutions and advantageous effects of the present invention more comprehensible, the present invention will be further described in detail below with reference to the embodiments and the accompanying drawings.
本发明实施例提供的注册式 Portlet通信系统、 通信装置和方法中, 当通信装置接收到信息发送方发送的数据时, 将接收到的第一注册码与 保存的用于关联信息发送方和信息接收方的第二注册码进行匹配, 以确 定有权限获取所述信息发送方所发送数据的信息接收方, 并将所述接收 到的信息发送方发送的数据转发给确定的有权限获取所述信息发送方 所发送数据的信息接收方。 图 1为本发明实施例的注册式 Portlet通信系统的结构图。 该系统包 括: 信息发送方、 信息接收方和通信装置。 In the registered portlet communication system, communication device and method provided by the embodiments of the present invention, when the communication device receives the data sent by the information sender, the first registration code received and the saved sender and information for the associated information are saved. The second registration code of the receiver is matched to determine the information receiver having the right to obtain the data sent by the sender of the information, and forwarding the data sent by the sender of the received information to the determined authorized access. The recipient of the information sent by the sender of the message. FIG. 1 is a structural diagram of a registered portlet communication system according to an embodiment of the present invention. The system includes: an information sender, a message receiver, and a communication device.
其中, 信息发送方, 用于在自身的代码中调用通信装置提供的一个 公共接口, 向该通信装置发送数据;  Wherein, the information sender is configured to invoke a public interface provided by the communication device in its own code to send data to the communication device;
通信装置, 用于接收信息发送方发送的数据, 并将接收到的第一注 册码与预先配置并保存的用于关联信息发送方和信息接收方的第二注 册码进行匹配, 确定有权限获取信息发送方所发送数据的信息接收方, 并将信息发送方发送的数据转发给确定的有权限获取信息发送方所发 送数据的信息接收方;  a communication device, configured to receive data sent by the sender of the information, and match the received first registration code with a pre-configured and saved second registration code used by the sender of the associated information and the receiver of the information to determine that the authorized registration is obtained. The information receiver of the data sent by the sender of the information, and forwards the data sent by the sender of the information to the determined recipient of the information sent by the sender of the authorized information;
信息接收方, 用于接收通信装置转发的数据。  The information receiver is configured to receive data forwarded by the communication device.
如图 1所示, 该系统中的通信装置至少包括: 通信引擎和注册配置 模块。  As shown in FIG. 1, the communication device in the system includes at least: a communication engine and a registration configuration module.
其中, 信息发送方, 用于在自身的代码中调用通信引擎提供的一个 公共接口, 向通信引擎发送数据;  The information sender is configured to invoke a public interface provided by the communication engine in its own code to send data to the communication engine;
通信引擎, 用于接收信息发送方发送的数据, 接收第一注册码, 并 将该第一注册码发送给注册配置模块, 接收来自所述注册配置模块的通 知, 并将信息发送方发送的数据转发给该注册配置模块确定的有权限获 取信息发送方所发送信息的信息接收方;  a communication engine, configured to receive data sent by the sender of the information, receive the first registration code, and send the first registration code to the registration configuration module, receive the notification from the registration configuration module, and send the data sent by the information sender Forwarding to the information receiver determined by the registration configuration module to obtain information sent by the sender of the information;
注册配置模块, 用于将接收到的第一注册码与保存的用于关联信息 发送方和信息接收方的第二注册码进行匹配, 确定有权限获取信息发送 方所发送数据的信息接收方, 并通知所述通信引擎。  a registration configuration module, configured to match the received first registration code with the saved second registration code for the associated information sender and the information receiver, and determine the information receiver that has the right to obtain the data sent by the information sender, And notify the communication engine.
通信引擎, 进一步可以用于向注册配置模块确定的有权限获取信息 发送方所发送数据的信息接收方, 发送具有数据接收权限的确认信息。  The communication engine may further be configured to send the confirmation information having the data receiving authority to the information receiver determined by the registration configuration module to obtain the data sent by the information sender.
这里, 通信引擎提供的公共接口可以接收任何形式的数据, 因此信 息发送方和信息接收方可以是 Portal页面的 portlet, 也可以是普通 web 页面。 同时, 通过通信引擎还可以灵活设定数据大小, 因此, 本发明实 施例提供的注册式 Portlet通信系统消除了现有 Portlet通信机制对通信数 据的限制, 保持了各个 Portlet应用的独立性, 提高了 Portal系统的可扩 展性。 并且, 利用本发明实施例提供的 Portlet通信系统, 可以筒单地实 现普通页面和 Portal页面之间的传递数据, 不需要现有技术中复杂的中 间操作, 如生成 URL等。 Here, the public interface provided by the communication engine can receive any form of data, so the sender of the information and the recipient of the information can be a portlet of the Portal page, or a normal web. page. At the same time, the data size can be flexibly set by the communication engine. Therefore, the registered portlet communication system provided by the embodiment of the present invention eliminates the limitation of the communication data of the existing portlet communication mechanism, and maintains the independence of each portlet application, thereby improving the independence. The scalability of the Portal system. Moreover, with the portlet communication system provided by the embodiment of the present invention, the data transfer between the normal page and the portal page can be realized in a single manner, and no complicated intermediate operations in the prior art, such as generating a URL, are needed.
通信引擎具有与 HTTP Request保存数据相同的生命周期管理机制, 即在信息发送方和信息接收方之间的数据通信所在的 HTTP请求完毕 时,该 HTTP请求所在的 web容器将指令通信引擎清除该请求相关的所 有数据。 该通信引擎的部署形式可以是多样的, 如可以作为一个组件随 着 Portlet容器启动而启动, JAVA服务业务面 (jsp )和 Portlet可以通过 调用该组件的公共接口实现数据的设置和获取。 并且, 通信引擎并不依 赖于特定的 Portlet容器, 而是象一个独立的 JAR包一样,用户可以在其 它的 Portlet容器中使用。  The communication engine has the same lifecycle management mechanism as the HTTP Request save data, that is, when the HTTP request where the data communication between the sender of the information and the information receiver is completed, the web container where the HTTP request is located will instruct the communication engine to clear the request. All relevant data. The communication engine can be deployed in a variety of forms. For example, it can be started as a component as the portlet container is started. The JAVA service business plane (jsp) and portlet can set and acquire data by calling the public interface of the component. Also, the communication engine does not depend on a particular portlet container, but rather, like a standalone JAR package, the user can use it in other portlet containers.
该实施例提供的注册式 Portlet通信系统中, 信息发送方还可以用于 向通信引擎注册自身对应的注册码。 在这种情况下, 通信引擎为第一通 信引擎, 用于接收信息发送方发送的数据以及信息发送方对应的第一注 册码, 将接收到的第一注册码发送给注册配置模块, 接收来自所述注册 配置模块的通知, 将信息发送方发送的数据转发给注册配置模块确定的 有权限获取所述信息发送方所发送数据的信息接收方。  In the registered portlet communication system provided by this embodiment, the information sender can also be used to register the corresponding registration code with the communication engine. In this case, the communication engine is a first communication engine, configured to receive data sent by the information sender and a first registration code corresponding to the sender of the information, and send the received first registration code to the registration configuration module, and receive the The notification of the registration configuration module forwards the data sent by the information sender to the information receiver determined by the registration configuration module to obtain the data sent by the information sender.
该实施例提供的注册式 Portlet通信系统中, 信息接收方还可以用于 向通信引擎发送携带有自身对应的第一注册码的数据接收权限请求。 在 这种情况下, 通信引擎为第二通信引擎, 用于接收信息发送方发送的数 据, 并接收信息接收方发送的自身对应的第一注册码, 将接收到的第一 注册码发送给注册配置模块, 接收来自所述注册配置模块的通知,, 将 信息发送方发送的数据转发给注册配置模块确定的有权限获取信息发 送方所发送数据的信息接收方。 In the registered portlet communication system provided by this embodiment, the information receiver may also be configured to send a data receiving permission request carrying the first registration code corresponding to itself to the communication engine. In this case, the communication engine is a second communication engine, configured to receive data sent by the information sender, and receive the first registration code corresponding to the information received by the information receiver, and send the received first registration code to the registration. a configuration module, receiving a notification from the registration configuration module, The data sent by the sender of the information is forwarded to the recipient of the information determined by the registration configuration module and having the right to obtain the data transmitted by the sender of the information.
该实施例提供的注册式 Portlet通信系统还可以进一步包括安全模 块, 如图 1所示, 该模块与通信引擎相连,  The registered portlet communication system provided by this embodiment may further include a security module. As shown in FIG. 1, the module is connected to the communication engine.
通信引擎, 进一步用于在将接收到的第一注册码发送给注册配置模 块前, 将第一注册码发送给安全模块, 并将来自安全模块的进行了安全 设置的第一注册码发送给注册配置模块;  The communication engine is further configured to: before sending the received first registration code to the registration configuration module, send the first registration code to the security module, and send the first registration code from the security module for security setting to the registration Configuration module
安全模块,用于检测通信引擎发送的第一注册码是否符合安全要求, 如是否符合安全级别设置、 加密要求、 和 /或安全数据完整性要求, 在确 定符合时, 对该第一注册码进行安全设置, 如进行加密设置、 权限设置 和 /或认证设置, 并将完成安全设置的第一注册码发送给通信引擎。  a security module, configured to detect whether the first registration code sent by the communication engine meets a security requirement, such as whether the security level setting, the encryption requirement, and/or the security data integrity requirement are met, and when determining the compliance, the first registration code is performed Security settings, such as encryption settings, permission settings, and/or authentication settings, and send the first registration code that completes the security settings to the communication engine.
本发明实施例还提供注册式 Portlet通信方法,该方法包括如下步骤: 接收信息发送方发送的数据;  The embodiment of the present invention further provides a registered portlet communication method, the method comprising the following steps: receiving data sent by a sender of information;
接收第一注册码, 并将第一注册码与保存的用于关联信息发送方和 信息接收方的第二注册码进行匹配, 确定有权限获取信息发送方所发送 数据的信息接收方;  Receiving the first registration code, and matching the first registration code with the saved second registration code for the associated information sender and the information receiver, and determining the information receiver having the right to obtain the data sent by the information sender;
将接收到的信息发送方发送的数据转发给确定的信息接收方。  The data sent by the received sender of the information is forwarded to the determined recipient of the information.
确定有权限获取信息发送方所发送数据的信息接收方的步骤后, 进 一步可以包括: 向确定有权限获取信息发送方所发送数据的信息接收方 发送具有数据接收权限的确认信息。  After the step of determining the recipient of the information having the authority to acquire the data transmitted by the sender of the information, the method further includes: transmitting the confirmation message having the data receiving authority to the recipient of the information determining the data transmitted by the sender of the authorized information.
本发明实施例提供的注册式 Portlet通信方法中, 第一注册码可以由 信息发送方发送, 也可以由信息接收方发送。  In the registered portlet communication method provided by the embodiment of the present invention, the first registration code may be sent by the information sender or may be sent by the information receiver.
即接收第一注册码的步骤可以为: 接收信息发送方发送的第一注册 码;  That is, the step of receiving the first registration code may be: receiving a first registration code sent by the information sender;
也可以为接收信息接收方发送的数据接收权限请求, 该请求中携带 有信息接收方对应的第一注册码。 The data receiving permission request sent by the receiving party of the receiving information may also be carried, and the request is carried in the request. There is a first registration code corresponding to the recipient of the information.
图 2为本发明第一个实施例的注册式 Portlet通信方法的流程图。 该 流程包括如下步骤:  2 is a flow chart of a method for registering a registered portlet according to a first embodiment of the present invention. The process includes the following steps:
步骤 201 , 配置并保存用于关联信息发送方和信息接收方的第二注 册码。  Step 201: Configure and save a second registration code for the associated information sender and the information receiver.
这里, 第二注册码可以由开发人员预先配置, 也可以在运行状态下 动态配置, 如由管理人员在添加信息发送方信息到某一页面时, 进行配 置。  Here, the second registration code may be pre-configured by the developer or dynamically configured in the running state, such as when the administrator adds the information sender information to a certain page.
步骤 202, 接收信息发送方发送的数据, 以及信息发送方发送的第 一注册码。  Step 202: Receive data sent by the sender of the information, and a first registration code sent by the sender of the information.
如果第一注册码预先被写入信息发送方的代码中, 则信息发送方可 以直接从自身的代码中获取自身对应的第一注册码; 如果第一注册码被 预先保存到信息发送方对应的配置文件中, 则信息发送方需要从配置文 件中获取自身对应的第一注册码。  If the first registration code is previously written in the code of the information sender, the information sender can directly obtain the first registration code corresponding to itself from the own code; if the first registration code is pre-stored to the corresponding information sender In the configuration file, the sender of the information needs to obtain the first registration code corresponding to itself from the configuration file.
这里, 信息发送方可以是 Portal页面的 portlet, 也可以是普通 web 页面。  Here, the sender of the information may be a portlet of the portal page or a normal web page.
步骤 203 , 将信息发送方发送的第一注册码与预先配置并保存的用 于关联信息发送方和信息接收方的第二注册码进行匹配, 如果匹配成 功, 则确定第二注册码关联的一个或多个信息接收方有权限获取信息发 送方发送的数据, 执行步骤 204; 否则, 确定没有信息接收方具有获取 信息发送方所发送数据的权限, 结束本流程。  Step 203: Match the first registration code sent by the information sender with the pre-configured and saved second registration code used by the associated information sender and the information receiver. If the matching is successful, determine one of the second registration code associations. Or the plurality of information receivers have the right to obtain the data sent by the information sender, and step 204 is performed; otherwise, it is determined that no information receiver has the right to obtain the data sent by the information sender, and the process ends.
这里, 信息接收方可以是目标页面中的一个或多个 Portlet, 也可以 是普通 web页面。  Here, the information receiver may be one or more portlets in the target page, or may be a normal web page.
步骤 204, 将信息发送方发送的数据转发给步骤 203 中确定的有权 限获取所述信息发送方所发送数据的一个或多个信息接收方。 在步骤 203所述的, 将信息发送方发送的第一注册码与预先配置并 保存的用于关联信息发送方和信息接收方的第二注册码进行匹配前, 可 以进一步包括如下步骤: Step 204: Forward the data sent by the information sender to one or more information receivers that have the right to obtain the data sent by the information sender determined in step 203. Before the first registration code sent by the sender of the information is matched with the pre-configured and saved second registration code for the associated information sender and the information receiver, the method may further include the following steps:
检测信息发送方发送的第一注册码是否符合安全要求, 如是否符合 安全级别设置、 加密要求、 和 /或安全数据完整性要求, 如果符合, 则对 该第一注册码进行安全设置, 所述的安全设置可以包括加密设置、 权限 设置和 /或认证设置; 如果不符合, 则结束流程。  Detecting whether the first registration code sent by the sender of the information meets the security requirement, such as whether the security level setting, the encryption requirement, and/or the security data integrity requirement are met, and if yes, the first registration code is security set, The security settings can include encryption settings, permission settings, and/or authentication settings; if not, the process ends.
图 2 所示信息发送方和信息接收方之间的数据通信流程是在一个 HTTP请求中进行的,当该 HTTP请求完毕时,该 HTTP请求所在的 web 容器将指令注册式 Portlet通信系统清除该请求相关的所有数据。 该 web 容器可以使用 ServletRequestListener方式中的 requestDestroyed( )方法发 出清除数据的指令。  The data communication process between the sender of the message and the receiver of the message shown in Figure 2 is performed in an HTTP request. When the HTTP request is completed, the web container in which the HTTP request is located will instruct the registered portlet communication system to clear the request. All relevant data. The web container can issue an instruction to clear the data using the requestDestroyed( ) method in the ServletRequestListener method.
图 3为本发明第二个实施例的注册式 Portlet通信方法的流程图, 该 实施例中信息接收方获取信息发送方发送的数据是通过信息接收方主 动请求数据接收权限来实现的, 该流程包括如下步骤:  3 is a flowchart of a method for registering a portlet communication according to a second embodiment of the present invention. In this embodiment, the information received by the information receiver is obtained by the information receiver actively requesting data receiving authority. Including the following steps:
步骤 301 , 配置并保存用于关联信息发送方和信息接收方的第二注 册码。  Step 301: Configure and save a second registration code for the associated information sender and the information receiver.
步骤 302, 接收一个或多个信息发送方发送的数据。  Step 302: Receive data sent by one or more information senders.
步骤 303 , 接收信息接收方发送的携带有自身对应的第一注册码的 数据接收权限请求。  Step 303: Receive a data receiving permission request that is sent by the information receiver and carries the first registration code corresponding to itself.
步骤 304, 将信息接收方发送的数据接收权限请求中携带的第一注 册码与预先配置并保存的用于关联信息发送方和所述信息接收方的第 二注册码进行匹配, 如果匹配成功, 则确定信息接收方有权限获取第二 注册码关联的一个或多个信息发送方所发送的信息, 执行步骤 305; 否 则, 确定信息接收方没有获取信息发送方所发送数据的权限, 结束本流 程。 Step 304: Match the first registration code carried in the data receiving permission request sent by the information receiver with the pre-configured and saved second registration code used by the associated information sender and the information receiver. If the matching is successful, Then, it is determined that the information receiver has the right to obtain the information sent by the one or more information senders associated with the second registration code, and step 305 is performed; otherwise, determining that the information receiver does not obtain the permission of the data sent by the information sender, ending the flow Cheng.
步骤 305 , 将确定的第二注册码关联的一个或多个信息发送方发送 的数据转发给信息接收方。  Step 305: Forward the data sent by the determined one or more information senders associated with the second registration code to the information receiver.
在步骤 304所述将信息接收方发送的数据接收权限请求中携带的第 一注册码与预先配置并保存的用于关联信息发送方和信息接收方的第 二注册码进行匹配前, 可以进一步包括如下步骤:  Before the first registration code carried in the data receiving permission request sent by the information receiver is matched with the pre-configured and saved second registration code for the associated information sender and the information receiver, the method may further include The following steps:
检测信息接收方发送的数据接收权限请求中携带的第一注册码是否 符合安全要求, 如是否符合安全级别设置、 加密要求、 和 /或安全数据完 整性要求, 如果符合, 则对该第一注册码进行安全设置, 所述安全设置 可以包括加密设置、权限设置和 /或认证设置;如果不符合,则结束流程。  Checking whether the first registration code carried in the data receiving permission request sent by the information receiving party meets the security requirement, such as whether the security level setting, the encryption requirement, and/or the security data integrity requirement are met, and if yes, the first registration is performed The code performs security settings, which may include encryption settings, rights settings, and/or authentication settings; if not, the process ends.
由图 3所示流程可见, 利用本发明实施例提供的注册式 Portlet通信 方法,获取注册码的 Portlet可以在任何页面动态地向注册式 Portlet通信 系统中的通信引擎发出数据接收权限请求, 进而获取数据接收权限。  It can be seen from the flow shown in FIG. 3 that, by using the registered portlet communication method provided by the embodiment of the present invention, the portlet that obtains the registration code can dynamically send a data receiving permission request to the communication engine in the registered portlet communication system on any page, and then obtain Data receiving permission.
由以上实施例可见, 本发明实施例提供的方法、 系统和装置, 不仅 可以在不确定目标页面的情况下, 保证 Portlet通信方式的可用性, 而且 本发明实施例提供的方法和系统中, 信息发送方和信息接收方即可以是 Portal页面中的 Portlet,也可以是普通 web页面, 因此普通页面向 Portal 页面传递数据时,不需要复杂的中间操作,筒化了普通 web页面向 Portal 页面的 Portlet传递数据的过程。  It can be seen from the above embodiments that the method, the system and the device provided by the embodiments of the present invention can not only ensure the availability of the portlet communication mode but also the information transmission method in the method and system provided by the embodiments of the present invention. The party and the information receiver can be the portlet in the Portal page or the normal web page. Therefore, when the normal page passes the data to the Portal page, no complicated intermediate operations are required, and the ordinary web page is transferred to the portlet of the Portal page. The process of data.
另外, 本发明实施例提供的通信装置通过对接收到的第一注册码进 行安全设置, 保证了 Portlet通信中的数据安全性; 通过在 HTTP请求中 进行 Portlet通信, 实现了由 web容器对生命周期的管理。  In addition, the communication device provided by the embodiment of the present invention ensures the data security in the portlet communication by performing security setting on the received first registration code; and realizes the life cycle of the web container by performing portlet communication in the HTTP request. Management.
总之, 以上所述仅为本发明的较佳实施例而已, 并非用于限定本发 明的保护范围。 凡在本发明的精神和原则之内, 所作的任何修改、 等同 替换、 改进等, 均应包含在本发明的保护范围之内。  In summary, the above description is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权利要求书 Claim
1、 一种注册式门户程序 Portlet通信系统, 其特征在于, 该系统包 括: 信息发送方、 信息接收方和通信装置, A registered portal program portlet communication system, characterized in that the system comprises: an information sender, an information receiver and a communication device,
所述信息发送方, 用于在自身的代码中调用所述通信装置提供的公 共接口, 向所述通信装置发送数据;  The information sender is configured to invoke a public interface provided by the communication device in its own code to send data to the communication device;
所述通信装置, 用于接收所述信息发送方发送的数据, 并将接收到 的第一注册码与保存的用于关联信息发送方和信息接收方的第二注册 码进行匹配, 确定有权限获取所述信息发送方所发送数据的信息接收 方, 并将所述接收到的数据转发给所述确定的信息接收方;  The communication device is configured to receive data sent by the information sender, and match the received first registration code with the saved second registration code used by the associated information sender and the information receiver to determine the permission Acquiring an information receiver of the data sent by the sender of the information, and forwarding the received data to the determined information receiver;
所述信息接收方, 用于接收所述通信装置转发的数据。  The information receiver is configured to receive data forwarded by the communication device.
2、 如权利要求 1所述的系统, 其特征在于, 该通信装置包括: 通信 引擎和注册配置模块,  2. The system of claim 1 wherein the communication device comprises: a communication engine and a registration configuration module,
所述通信引擎,用于接收第一注册码和所述信息发送方发送的数据, 并将所述信息发送方发送的数据转发给所述注册配置模块确定的有权 限获取所述信息发送方所发送数据的信息接收方;  The communication engine is configured to receive the first registration code and the data sent by the information sender, and forward the data sent by the information sender to the sender determined by the registration configuration module to obtain the information sender. The recipient of the information that sent the data;
所述注册配置模块, 用于将所述通信引擎接收到的第一注册码与保 存的用于关联信息发送方和信息接收方的第二注册码进行匹配, 确定有 权限获取所述信息发送方所发送数据的信息接收方。  The registration configuration module is configured to match the first registration code received by the communication engine with the saved second registration code used by the associated information sender and the information receiver, and determine that the user has the right to obtain the information sender. The recipient of the information sent by the data.
3、 如权利要求 2所述的系统, 其特征在于, 所述信息发送方, 进一 步用于向所述通信引擎发送自身对应的第一注册码;  3. The system according to claim 2, wherein the information sender is further configured to send the first registration code corresponding to the communication engine to the communication engine;
所述通信引擎为第一通信引擎, 用于接收所述信息发送方发送的数 据以及所述信息发送方对应的第一注册码, 并将所述信息发送方发送的 数据转发给所述注册配置模块确定的有权限获取所述信息发送方所发 送数据的信息接收方。 The communication engine is a first communication engine, configured to receive data sent by the information sender and a first registration code corresponding to the sender of the information, and forward the data sent by the information sender to the registration configuration. The information receiver determined by the module has the right to acquire the data sent by the sender of the information.
4、 如权利要求 2所述的系统, 其特征在于, 所述信息接收方, 进一 步用于向所述通信引擎发送携带有自身对应的第一注册码的数据接收 权限请求; The system according to claim 2, wherein the information receiving party is further configured to send, to the communication engine, a data receiving permission request carrying a first registration code corresponding thereto;
所述通信引擎为第二通信引擎, 用于接收所述信息发送方发送的数 据, 并接收所述信息接收方发送的自身对应的第一注册码, 并将所述信 息发送方发送的数据转发给所述注册配置模块确定的有权限获取所述 信息发送方所发送数据的信息接收方。  The communication engine is a second communication engine, configured to receive data sent by the information sender, and receive a first registration code corresponding to the information receiver, and forward the data sent by the information sender. A recipient of information determined by the registration configuration module to obtain data transmitted by the sender of the information.
5、如权利要求 2至 4任一项所述的系统,其特征在于,该通信装置, 还包括: 安全模块,  The system of any one of claims 2 to 4, wherein the communication device further comprises: a security module,
所述通信引擎, 进一步用于将所述接收的第一注册码发送给所述安 全模块, 并接收所述安全模块返回的进行了安全设置的第一注册码; 所述安全模块, 用于检测来自所述通信引擎的第一注册码是否符合 安全要求, 在确定符合时, 对该第一注册码进行安全设置, 并将完成安 全设置的第一注册码发送给所述通信引擎。  The communication engine is further configured to send the received first registration code to the security module, and receive a first registration code that is returned by the security module and configured to be secure; the security module is configured to detect Whether the first registration code from the communication engine meets the security requirement, when the determination is met, the first registration code is securely set, and the first registration code that completes the security setting is sent to the communication engine.
6、如权利要求 1至 3任一项所述的系统, 其特征在于, 所述信息发 送方为: Portal页面的 Portlet、 或普通 web页面; 所述信息接收方为: 目标 Portal页面中的 Portlet、 或普通 web页面。  The system according to any one of claims 1 to 3, wherein the information sender is: a portlet of a portal page, or a normal web page; the information receiver is: a portlet in the target portal page , or a normal web page.
7、 一种通信装置, 其特征在于, 该通信装置包括: 通信引擎和注册 配置模块,  7. A communication device, the communication device comprising: a communication engine and a registration configuration module,
所述通信引擎,用于接收第一注册码和所述信息发送方发送的数据, 并将所述信息发送方发送的数据转发给所述注册配置模块确定的有权 限获取所述信息发送方所发送数据的信息接收方;  The communication engine is configured to receive the first registration code and the data sent by the information sender, and forward the data sent by the information sender to the sender determined by the registration configuration module to obtain the information sender. The recipient of the information that sent the data;
所述注册配置模块, 用于将所述通信引擎接收到的第一注册码与保 存的用于关联信息发送方和信息接收方的第二注册码进行匹配, 确定有 权限获取所述信息发送方所发送数据的信息接收方。 The registration configuration module is configured to match the first registration code received by the communication engine with the saved second registration code used by the associated information sender and the information receiver, and determine that the user has the right to obtain the information sender. The recipient of the information sent by the data.
8、如权利要求 7所述的通信装置, 其特征在于, 所述通信引擎为第 一通信引擎, 用于接收所述信息发送方发送的数据以及所述信息发送方 对应的第一注册码, 并将所述信息发送方发送的数据转发给所述注册配 置模块确定的有权限获取所述信息发送方所发送数据的信息接收方。 The communication device according to claim 7, wherein the communication engine is a first communication engine, configured to receive data sent by the information sender and a first registration code corresponding to the sender of the information, And forwarding the data sent by the information sender to the information receiver determined by the registration configuration module to obtain the data sent by the information sender.
9、 如权利要求 7所述的通信装置, 其特征在于, 所述通信引擎为第 二通信引擎, 用于接收所述信息发送方发送的数据, 并接收信息接收方 发送的自身对应的第一注册码, 并将所述信息发送方发送的数据转发给 所述注册配置模块确定的有权限获取所述信息发送方所发送数据的信 息接收方。  The communication device according to claim 7, wherein the communication engine is a second communication engine, configured to receive data sent by the information sender, and receive a first corresponding to the information receiver. And a registration code, and forwarding the data sent by the information sender to the information receiver determined by the registration configuration module to obtain the data sent by the information sender.
10、 如权利要求 7至 9任一项所述的通信装置, 其特征在于, 所述 通信引擎, 进一步用于向所述注册配置模块确定的有权限获取所述信息 发送方所发送数据的信息接收方, 发送具有数据接收权限的确认信息。  The communication device according to any one of claims 7 to 9, wherein the communication engine is further configured to: determine, by the registration configuration module, the information that has the right to acquire data sent by the information sender The receiving party sends a confirmation message with the right to receive data.
11、 如权利要求 7至 9任一项所述的通信装置, 其特征在于, 该装 置还包括: 安全模块,  The communication device according to any one of claims 7 to 9, characterized in that the device further comprises: a security module,
所述通信引擎, 进一步用于将所述接收的第一注册码发送给所述安 全模块, 并接收所述安全模块返回的进行了安全设置的第一注册码; 所述安全模块, 用于检测来自所述通信引擎的第一注册码是否符合 安全要求, 在确定符合时, 对该第一注册码进行安全设置, 并将完成安 全设置的第一注册码发送给所述通信引擎。  The communication engine is further configured to send the received first registration code to the security module, and receive a first registration code that is returned by the security module and configured to be secure; the security module is configured to detect Whether the first registration code from the communication engine meets the security requirement, when the determination is met, the first registration code is securely set, and the first registration code that completes the security setting is sent to the communication engine.
12、 如权利要求 7至 9任一项所述的通信装置, 其特征在于, 所述 通信引擎具有与 HTTP Request保存数据相同的生命周期管理机制。  The communication apparatus according to any one of claims 7 to 9, wherein the communication engine has the same lifecycle management mechanism as the HTTP Request save data.
13、 一种注册式门户程序 Portlet通信方法, 其特征在于, 该方法包 括如下步骤:  13. A registered portal program portlet communication method, characterized in that the method comprises the following steps:
接收信息发送方发送的数据;  Receiving data sent by the sender of the information;
接收第一注册码, 并将所述第一注册码与保存的用于关联信息发送 方和信息接收方的第二注册码进行匹配, 确定有权限获取所述信息发送 方所发送数据的信息接收方; Receiving the first registration code, and transmitting the first registration code and the saved information for association And the second registration code of the information receiver is matched, and the information receiver having the authority to acquire the data sent by the information sender is determined;
将接收到的信息发送方发送的数据转发给所述确定的信息接收方。 Forwarding the data sent by the sender of the information to the determined recipient of the information.
14、如权利要求 13所述的方法, 其特征在于, 所述接收第一注册码 的步骤为: The method according to claim 13, wherein the step of receiving the first registration code is:
接收所述信息发送方发送的第一注册码。  Receiving the first registration code sent by the sender of the information.
15、如权利要求 13所述的方法, 其特征在于, 所述接收第一注册码 的步骤为: 接收信息接收方发送的数据接收权限请求, 该请求中携带有 所述信息接收方对应的第一注册码。  The method according to claim 13, wherein the step of receiving the first registration code is: receiving a data receiving permission request sent by the information receiving party, where the request carries the corresponding information receiving party A registration code.
16、 如权利要求 13至 15所述的方法, 其特征在于, 所述确定有权 限获取所述信息发送方所发送数据的信息接收方后, 进一步包括: 向所 述确定的有权限获取所述信息发送方所发送数据的信息接收方发送具 有数据接收权限的确认信息。  The method according to any one of claims 13 to 15, wherein the determining that the user has the right to acquire the information received by the sender of the information further comprises: obtaining the The information receiver of the data transmitted by the sender of the information transmits the confirmation information with the right to receive the data.
17、 如权利要求 13至 15任一项所述的方法, 其特征在于, 在所述 接收第一注册码的步骤后, 还包括:  The method according to any one of claims 13 to 15, wherein after the step of receiving the first registration code, the method further comprises:
检测所述第一注册码是否符合安全要求,并在确定符合安全要求时, 对所述第一注册码进行安全设置, 得到完成安全设置的第一注册码; 所述将所述第一注册码与保存的用于关联信息发送方和信息接收方 的第二注册码进行匹配的步骤具体为: 将完成安全设置的第一注册码与 保存的用于关联信息发送方和信息接收方的第二注册码进行匹配。  Detecting whether the first registration code meets the security requirement, and when determining that the security requirement is met, performing security setting on the first registration code to obtain a first registration code that completes the security setting; The step of matching with the saved second registration code for the information sender and the information receiver is specifically: the first registration code that completes the security setting and the saved second for the associated information sender and the information receiver The registration code is matched.
18、如权利要求 17所述的方法, 其特征在于, 所述检测所述第一注 册码是否符合安全要求包括: 检测所述第一注册码是否符合安全级别设 置、 加密要求、 和 /或安全数据完整性要求;  The method according to claim 17, wherein the detecting whether the first registration code meets the security requirement comprises: detecting whether the first registration code meets a security level setting, an encryption requirement, and/or security Data integrity requirements;
对所述第一注册码进行安全设置包括: 对所述第一注册码进行加密 设置、 权限设置和 /或认证设置。  Performing security settings on the first registration code includes: performing encryption setting, permission setting, and/or authentication setting on the first registration code.
PCT/CN2007/070833 2007-01-17 2007-09-29 Communication system,device and method of registering portlets WO2008089632A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNA2007100009951A CN101227488A (en) 2007-01-17 2007-01-17 Registration type portal program communication system, communication device and communication method
CN200710000995.1 2007-01-17

Publications (1)

Publication Number Publication Date
WO2008089632A1 true WO2008089632A1 (en) 2008-07-31

Family

ID=39644097

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/070833 WO2008089632A1 (en) 2007-01-17 2007-09-29 Communication system,device and method of registering portlets

Country Status (2)

Country Link
CN (1) CN101227488A (en)
WO (1) WO2008089632A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271332A (en) * 2011-07-18 2011-12-07 中兴通讯股份有限公司 Method and device for maintaining secrecy of terminal information

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065133B (en) * 2010-12-03 2014-03-19 中国科学院软件研究所 Method and system for constructing complex service logic by supporting Portlet cooperation
CN102364491A (en) * 2011-11-01 2012-02-29 宇龙计算机通信科技(深圳)有限公司 Method for managing data authority, and terminal
CN110572304B (en) * 2019-08-08 2021-07-06 深圳拓邦股份有限公司 Equipment permission transfer method and device, storage medium and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010106924A (en) * 2000-05-24 2001-12-07 이재경 Internet Portal Service Method
US20050050021A1 (en) * 2003-08-25 2005-03-03 Sybase, Inc. Information Messaging and Collaboration System
EP1517206A1 (en) * 2003-09-22 2005-03-23 Rockwell Software Inc. Sharing portal configurations
CN1703699A (en) * 2002-10-04 2005-11-30 国际商业机器公司 Method and apparatus for relaying session information from a portal server
US20050278562A1 (en) * 2004-05-28 2005-12-15 International Business Machines Corporation System and method for capturing significant events at web portlets
CN1798151A (en) * 2004-12-29 2006-07-05 国际商业机器公司 Effortless association between services in a communication system and methods thereof
US7093285B2 (en) * 2001-01-31 2006-08-15 International Business Machines Corporation Supplier portal for global procurement e-business applications

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010106924A (en) * 2000-05-24 2001-12-07 이재경 Internet Portal Service Method
US7093285B2 (en) * 2001-01-31 2006-08-15 International Business Machines Corporation Supplier portal for global procurement e-business applications
CN1703699A (en) * 2002-10-04 2005-11-30 国际商业机器公司 Method and apparatus for relaying session information from a portal server
US20050050021A1 (en) * 2003-08-25 2005-03-03 Sybase, Inc. Information Messaging and Collaboration System
EP1517206A1 (en) * 2003-09-22 2005-03-23 Rockwell Software Inc. Sharing portal configurations
US20050278562A1 (en) * 2004-05-28 2005-12-15 International Business Machines Corporation System and method for capturing significant events at web portlets
CN1798151A (en) * 2004-12-29 2006-07-05 国际商业机器公司 Effortless association between services in a communication system and methods thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271332A (en) * 2011-07-18 2011-12-07 中兴通讯股份有限公司 Method and device for maintaining secrecy of terminal information
CN102271332B (en) * 2011-07-18 2017-09-12 中兴通讯股份有限公司 End message time slot scrambling and device

Also Published As

Publication number Publication date
CN101227488A (en) 2008-07-23

Similar Documents

Publication Publication Date Title
US20230319215A1 (en) System and method for selectively sending, delivery and receiving of faxes
CN104270379B (en) HTTPS agency retransmission methods and device based on transmission control protocol
WO2016127914A1 (en) Redirection method, apparatus, and system
US8321678B2 (en) System and method to send a message using multiple authentication mechanisms
JP6756738B2 (en) Reliable login method and equipment
KR20160082967A (en) Method for subscription and notification in m2m communication system and device therefor
CN109450948B (en) Data transmission method and device
US10129743B2 (en) Method and apparatus for establishing a secure communication link between a mobile endpoint device and a networked device
JP2004297767A5 (en)
CN106559405B (en) Portal authentication method and equipment
JP2007180614A5 (en)
WO2016054888A1 (en) Method and device for creating subscription resource
JP2000057112A (en) Method for executing remote procedure call on network, and network system capable of executing remote procedure call
CN101188618B (en) Method, system, server and terminal for canceling push message
CN103532833A (en) Business system access method, terminal and agency service system
US8996715B2 (en) Application firewall validation bypass for impromptu components
CN105074647A (en) Release codes with print job identifiers and directives
WO2008089632A1 (en) Communication system,device and method of registering portlets
JP2009118110A (en) Method and system for provisioning meta data of authentication system, its program and recording medium
US20030037102A1 (en) Message broker
US20110307939A1 (en) Account issuance system, account server, service server, and account issuance method
CN103906050A (en) WPKI security monitoring and control method and system based on mobile terminal
WO2007143903A1 (en) A system and method for realizing message service
KR20200077512A (en) Platform and method for authenticating electronic announcements for electronic identity verification and authentication services (EIDAS)
US9525653B2 (en) Enhanced wireless short message service

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07817024

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07817024

Country of ref document: EP

Kind code of ref document: A1