CN102646049B - An assembly method and system for collaborative - Google Patents

An assembly method and system for collaborative Download PDF

Info

Publication number
CN102646049B
CN102646049B CN201110038820.6A CN201110038820A CN102646049B CN 102646049 B CN102646049 B CN 102646049B CN 201110038820 A CN201110038820 A CN 201110038820A CN 102646049 B CN102646049 B CN 102646049B
Authority
CN
China
Prior art keywords
client
component
assembly
connection
cooperative
Prior art date
Application number
CN201110038820.6A
Other languages
Chinese (zh)
Other versions
CN102646049A (en
Inventor
都斌
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Priority to CN201110038820.6A priority Critical patent/CN102646049B/en
Publication of CN102646049A publication Critical patent/CN102646049A/en
Application granted granted Critical
Publication of CN102646049B publication Critical patent/CN102646049B/en

Links

Abstract

本申请实施例公开了一种组件协同方法和系统。 Example discloses an assembly method and system of the present collaborative application. 其中,第一客户端组件建立与第二客户端组件之间的组件协同连接;当所述组件协同连接建立成功时,第一客户端组件通过所述组件协同连接,向所述第二客户端组件发送组件协同信息,所述组件协同信息用于指示所述第二客户端组件待执行的协同功能和待执行的协同功能下的协同操作;所述第二客户端组件按照所述组件协同信息的指示与所述第一客户端组件之间进行组件协同。 Wherein the client component to establish a first connection assembly synergies between the second client components; collaborative assembly when the connection is established, the first client component via the cooperative assembly, to the second client cooperation information sending component assembly, said assembly collaborative information for cooperating in the second cooperative function indicates client component to be executed and cooperative functions to be performed; the second client information according to the assembly of components that work for indicating a synergy between the components of the first client component. 根据本申请实施例,可以节省系统资源,同时,也避免了编码和解析的过程本身给系统带来的潜在故障点。 According to an embodiment of the present application, it is possible to save system resources, while also avoiding a potential failure point code and parsing process itself to bring the system.

Description

_种组件协同方法和系统 _ Species assembly method and system for collaborative

技术领域 FIELD

[0001] 本申请涉及计算机技术领域,特别是涉及一种组件协同方法和系统。 [0001] The present application relates to computer technologies, and more particularly to a method and system for cooperative assembly.

背景技术 Background technique

[0002] 组件作为软件的“零部件”,目的是使软件功能模块化,其实现的前提是标准的接口,组件通过标准的接口与软件产品进行对接,从而以模块化的方式为软件产品提供特定的功能。 [0002] Software component as "parts" is intended to enable modular software function, provided its implementation is the standard interface, docking assembly through standard interfaces and software products, so that the software product is provided in a modular manner specific functions. 每一个组件都可以为软件实现一个特定的功能。 Each component can be thought of software that implements a specific function. 例如,在“阿里旺旺”这一即时通讯软件中,“淘乐汇”和“生活助手”即为“阿里旺旺”中的组件。 For example, in "Ali Wang Wang" This instant messaging software, "Amoy music sinks" and "Life Assistant" is "Ali Wang Wang" in the assembly. “淘乐汇”和“生活助手”这两个组件通过标准的接口与“阿里旺旺”实现对接,使“阿里旺旺”具备“淘乐汇”和“生活助手”两个组件所实现的功能。 "Amoy Music Department" and "Life assistant" These two components through standard interfaces and "Ali Wang Wang" to achieve docking, the "Ali Wang Wang" has the function of "Tales sink" and "life assistant" two components to achieve.

[0003] 组件协同就是指基于软件系统提供的平台、通道、通讯方式和功能等,由至少两个客户端上的组件共同完成某项功能。 [0003] refers to components that work based system provides a software platform, channel, and communication functions, a function is completed by the assembly on the at least two clients together. 通过至少两个客户端上的组件协同,最终实现至少两个客户端协同工作,共同完成一个任务。 By components that work on at least two clients, and ultimately at least two clients work together to accomplish a task. 例如,当在两个客户端上通过“网络涂鸦”组件的协同,共同完成一次网络涂鸦任务时,位于两个客户端的两个“网络涂鸦”组件共用一个网络白板,并共同完成一次网络涂鸦任务。 For example, when two clients through synergy "Network graffiti" components together to complete a task graffiti network, two clients located two "Network graffiti" whiteboard assembly share a network, and the network together complete a task graffiti .

[0004]目前,由于组件通常都集成在软件产品中,因此,在实现组件协同时,集成了组件的软件(如上述“阿里旺旺”)需要学习并完全了解组件内部的功能逻辑。 [0004] At present, because the components are usually integrated in the software product, therefore, when implementing the components work together, integrating software components (such as the above "Ali Wang Wang") need to learn and fully understand the function of the internal logic components. 在具体实现上,软件需要分别对用于实现组件协同的控制命令进行编码和解析。 In specific implementation, the software needs to separately control command for achieving synergistic components encoded and parsed. 在编码和解析过程中,往往需要耗费一定的系统资源。 And parsing the encoding process, often it takes system resources. 另外,编码和解析的过程本身也会容易给系统带来潜在的故障点。 In addition, the process of coding and parsing itself can easily bring potential points of failure to the system.

发明内容 SUMMARY

[0005] 为了解决上述技术问题,本申请实施例提供了一种组件协同方法和系统,以节省系统资源。 [0005] To solve the above problems, the present embodiment provides a method and system for cooperative assembly, to conserve system resources.

[0006] 本申请实施例公开了如下技术方案: Embodiment [0006] The present application discloses an embodiment following technical solutions:

[0007] —种组件协同方法,包括:第一客户端组件建立与第二客户端组件之间的组件协同连接;当所述组件协同连接建立成功时,第一客户端组件通过所述组件协同连接,向所述第二客户端组件发送组件协同信息,所述组件协同信息用于指示所述第二客户端组件待执行的协同功能和待执行的协同功能下的协同操作;所述第二客户端组件按照所述组件协同信息的指示与所述第一客户端组件之间进行组件协同。 [0007] - species cooperative assembly, comprising: a first client component to establish synergy between the components connected to the second client components; collaborative assembly when the connection is established, the first through the collaborative client component assembly connection information to the collaborative client component sending the second component, the component information for the cooperative operation of the cooperative collaboration capabilities indicating that the second client component to be executed and cooperative functions to be performed; the second the client component assembly according to the synergy between the components indicated in tandem with the first client component information.

[0008] —种组件协同系统,包括:第一客户端组件和第二客户端组件,其中,所述第一客户端组件,用于建立与第二客户端组件之间的组件协同连接,当所述组件协同连接建立成功时,通过所述组件协同连接向所述第二客户端组件发送组件协同信息,所述组件协同信息用于指示所述第二客户端组件待执行的协同功能和待执行的协同功能下的协同操作;所述第二客户端组件,用于按照所述组件协同信息的指示与所述第一客户端组件之间进行组件协同。 [0008] - species cooperative assembly system, comprising: a first client and a second client component assembly, wherein the first client component, a second component is established between the client component and the collaboration connector, when when the connection is established assembly synergistic, cooperative transmission assembly connecting terminal assembly to said second customer information coordinated by the assembly, the assembly functions for the cooperative coordination information indicating that the second client component to be executed and to be cooperating in synergistic functions performed; the second client component for synergy between the components indicated in tandem with the first client component assembly in accordance with said information.

[0009] 由上述实施例可以看出,与现有技术相比,本申请具有如下优点: [0009] As can be seen from the foregoing embodiment, as compared with the prior art, the present application has the following advantages:

[0010] 在第一客户端组件和第二客户端组件之间建立一个组件协同连接,使第一客户端组件能够独立于集成该组件的软件,通过该组件协同连接与第二客户端组件实现组件协同,组件的协同过程仅由第一客户端组件和第二客户端组件通过建立的组件协同连接完成,集成该组件的软件并不参与到组件的具体协同过程中,避免了现有技术中由于集成该组件的软件在参与组件协同时进行编码和解析所带来的耗费系统资源问题。 [0010] established between the first client and a second client component assembly connected to a cooperative component, the first component can be independent of the client component of the integrated software components to achieve synergistic connection with the second client component assembly cooperative, collaborative process components only by a first client and a second client component assembly cooperative connection is accomplished by establishing the assembly, the integrated software is not involved in the assembly process to the specific cooperative assembly, avoids the prior art due to the integrated software components for encoding and parsing brought consume system resources when participating components fit together. 同时,也避免了编码和解析的过程本身给系统带来的潜在故障点。 It also avoids potential points of failure and resolve coding process itself to the system brings.

附图说明 BRIEF DESCRIPTION

[0011] 为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。 [0011] In order to more clearly illustrate the technical solutions of the present application or in the prior art embodiments, the accompanying drawings briefly described embodiments or the prior art needed to be used in describing the embodiments, those of ordinary skill in the art to speak, without any creative effort, but also can derive from these drawings other drawings.

[0012] 图1为一种组件协同方法的一个实施例的流程图; [0012] Figure 1 is an assembly method of a synergistic flowchart of one embodiment;

[0013] 图2为本申请一种建立组件协同连接的方法的流程图; [0013] FIG 2 is a flowchart of a method to apply one kind of synergy of establishing a connection assembly;

[0014] 图3为本申请另一种建立组件协同连接的方法的流程图; [0014] FIG. 3 is a flowchart of another method for establishing a connection assembly collaborative application;

[0015] 图4为本申请另一种建立组件协同连接的方法的流程图; [0015] FIG 4 is a flowchart of another assembly cooperative application method of connection establishment;

[0016] 图5为本申请一种组件协同方法的另一个实施例的流程图; A flow chart of another embodiment of [0016] FIG 5 an assembly method of the present application synergistic embodiment;

[0017] 图6为本申请另一种建立组件协同连接的方法的流程图; [0017] FIG 6 is a flowchart of another assembly cooperative application method of connection establishment;

[0018]图7为本申请组件协同系统的一个实施例的结构图; [0018] FIG. 7 configuration diagram of a coordinated assembly of the embodiment of the system of the present application;

[0019] 图8为本申请中第一客户端组件的结构示意图; [0019] FIG. 8 is a schematic diagram structure of a first component of the client application;

[0020]图9为本申请中第一客户端组件的一个结构示意图。 [0020] FIG. 9 is a schematic structural diagram of a first client application component.

具体实施方式 Detailed ways

[0021] 下面结合附图及实施例,对本申请实施例进行详细描述。 [0021] The following embodiments and the accompanying drawings, embodiments of the present application is described in detail. 应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。 It should be understood that the specific embodiments described herein are merely used to explain the present application is not intended to limit the present application.

[0022] 实施例一 [0022] Example a

[0023] 请参阅图1,其为本申请一种组件协同方法的一个实施例的流程图,包括以下步骤: [0023] Please refer to FIG. 1, an assembly of the present application is a synergistic method flow diagram of the embodiment, comprising the steps of:

[0024] 步骤101:第一客户端组件建立与第二客户端组件之间的组件协同连接; [0024] Step 101: establishing a first client component and a second component between the connected client component synergy;

[0025] 其中,在第一客户端组件建立与第二客户端组件之间的组件协同连接时,可以有以下两种情况: When [0025] wherein establishing synergy between the components connected to the second client at the first client component assembly, can have the following two cases:

[0026] 第一种情况,第二客户端已经具有第二客户端组件。 [0026] The first case, the second client already has a second client component. 此时,所述第一客户端组件建立与第二客户端组件之间的组件协同连接包括:第一客户端组件通过第一客户端和中转服务器,向第二客户端发送组件协同连接请求;当第二客户端具有第二客户端组件时,所述第二客户端向所述第二客户端组件发送组件协同连接请求;所述第二客户端组件建立组件协同连接后,向所述第一客户端组件反馈组件协同连接响应。 At this time, the first client component to establish the assembly between the second client connector assembly synergistic comprising: a first client components relay server and the first client sends a connection request to the second component collaborative client; when the second client having a second client component, the second client connection request to the collaborative client component sending the second component; the second component after the client component to establish a synergistic connected to the first a client component assembly synergistic feedback connection response.

[0027]例如,请参阅图2,其为本申请一种建立组件协同连接的方法的流程图,如图2所示,为了能够在A客户端的X组件与B客户端的X组件之间建立一个X组件协同连接,A客户端的X组件向A客户端发起一个组件协同连接请求,A客户端将组件协同连接请求转发给中转服务器,中转服务器再将组件协同连接请求发送至B客户端,B客户端判断自身是否有X组件,如果B客户端已经具有X组件,B客户端将组件协同连接请求发送给B客户端的X组件,B客户端的X组件对组件协同连接请求建立一个组件协同连接,组件协同连接建立完毕后,B客户端的X组件向B客户端发送组件协同连接响应,B客户端向中转服务器转发该组件协同连接响应,中转服务器向A客户端发送组件协同连接响应,A客户端向A客户端的X组件发送组件协同连接响应。 [0027] For example, please refer to FIG. 2, one kind of which the present application synergistic flowchart of a method of establishing a connection assembly, shown in Figure 2, in order to establish a client between A and X components X client component B X component synergistic connection, a client X module initiating a component synergistic connection request to the a client, a client component synergistic forwards the connection request to the relay server, the relay server then assembly cooperative connection request to B client, customer B end judging whether an X component, if the B client already has an X component B client components work together connection request to B client X component B client X component of the components work together connection request to establish a component cooperative connection assembly after synergistic connection establishment is completed, B client X component sends to B client component connection response synergistic, B client forwards the assembly cooperative connection response to the relay server, the relay server transmits assembly cooperative connection response to the a client, a client to a X client component sends a connection response synergistic component. 至此,A客户端的X组件与B客户端的X组件之间建立了组件协同连接。 Thus, the establishment of a connection between components A collaborative client component B X X component and the client.

[0028] 第二种情况,临时从组件下载服务器获取第二客户端组件,以便建立组件协同连接。 [0028] The second case, a second temporary acquisition client component assembly from the download server, in order to establish synergy connector assembly. 此时,所述第一客户端组件建立与第二客户端组件之间的组件协同连接包括:第一客户端组件通过第二客户端和中转服务器,向第二客户端发送组件协同连接请求;当第二客户端没有第二客户端组件时,所述第二客户端从组件下载服务器获取第二客户端组件;所述第二客户端向得到的第二客户端组件发送组件协同连接请求;所述第二客户端组件建立组件协同连接后,向所述第一客户端组件返回组件协同连接响应。 At this time, the first client component to establish the assembly between the second client connector assembly synergistic comprising: a first client components relay server and the second client, the component sends a connection request to the second client collaboration; when the second client is not a client of the second assembly, the second client from the client component acquiring the second assembly download servers; the second client sends a client component to obtain a second component cooperative connection request; after establishing the second client component assembly cooperative connection assembly synergistic returns a connection response to the first client component.

[0029]例如,请参阅图3,其为本申请另一种建立组件协同连接的方法的流程图,如图3所示,为了能够在A客户端的X组件与B客户端的X组件之间建立一个X组件协同连接,A客户端的X组件向A客户端发起一个组件协同连接请求,A客户端将组件协同连接请求转发给中转服务器,中转服务器再将组件协同连接请求发送至B客户端,B客户端判断自身是否有X组件,如果B客户端没有X组件,B客户端从组件下载服务器下载X组件,然后,B客户端将组件协同连接请求发送给B客户端的X组件,B客户端的X组件对组件协同连接请求建立一个组件协同连接,组件协同连接建立完毕后,B客户端的X组件向B客户端发送组件协同连接响应,B客户端向中转服务器转发该组件协同连接响应,中转服务器向A客户端发送组件协同连接响应,A客户端向A客户端的X组件发送组件协同连接响应。 [0029] For example, please refer to FIG. 3, a flowchart of another method of the present application synergistic establishing a connection assembly, as shown, in order to be able to establish between the client A and X components X client component B 3 a X component cooperative connection, a client X module initiating a component synergistic connection request to the a client, a client component synergistic forwards the connection request to the relay server, the relay server then assembly cooperative connection request to B client, B client judging whether an X component, if the B client no X component, B client download X components from the assembly download server, and then, B client components work together connection request to B client X component B client X assembly of components that work connection request to establish a component cooperative connection assembly cooperative connection after establishment is completed, B client X module sending component synergistic connection response to the B client, B client forwards the assembly cooperative connection response to the relay server, the relay server to a client sends a connection response synergistic components, a to X client component a client component sends a connection response is synergistic. 至此,A客户端的X组件与B客户端的X组件之间建立了组件协同连接。 Thus, the establishment of a connection between components A collaborative client component B X X component and the client.

[0030] 需要说明的是,组件协同连接是在不同客户端的同类组件之间建立的,并且,在建立了某一类型组件的组件协同连接后,才能实现该类组件的协同。 [0030] Incidentally, components that work connection is established between the different components of the same client, and, after the establishment of a cooperative assembly of connector assembly type, in order to achieve synergy of such components. 例如,在第一客户端的X组件和第二客户端的X组件之间建立X组件协同连接,在第一客户端的Y组件和第二客户端的Y组件之间建立Y组件协同连接。 For example, the establishment of X component between the first client and the second assembly X X component collaborative client connection establishment synergy Y component connected between the first client and a second client component Y of the Y component.

[0031] 步骤102:当所述组件协同连接建立成功时,第一客户端组件通过所述组件协同连接,向所述第二客户端组件发送组件协同消息,所述组件协同消息用于指示所述第二客户端组件待执行的协同功能和待执行的协同功能下的协同操作; [0031] Step 102: when the connection establishment is successful synergistic component, the first client component via the connector assembly synergistic, cooperative message to the second client component sending component, the message to indicate the synergistic component cooperating in said second cooperative function performed by the client component to be synergistic and functions to be performed;

[0032] 例如,所述组件协同消息可以携带协同功能标识和协同操作信息,所述协同功能标识用于指示待执行的协同功能,所述协同操作信息用于指示待执行的协同功能的操作。 [0032] For example, the message may carry assembly synergistic cooperative function identification information and co-operate, the cooperative function identifier for indicating a synergistic functions to be performed, the cooperating operation information indicates synergistic function to be performed.

[0033] 步骤103:所述第二客户端组件按照所述组件协同信息的指示与所述第一客户端组件之间进行组件协同。 [0033] Step 103: the second client component indication information between the client and the first assembly of components according to the cooperative assembly together.

[0034] 当专用于组件协同的组件协同连接建立后,第一客户端组件通过组件协同连接向第二客户端组件发送组件协同消息,使第二客户端组件根据组件协同消息中指示的待执行的协同功能和待执行的协同功能下的协同操作执行具体的组件协同。 [0034] When the synergistic component assembly dedicated to collaborative connection is established, the first client components to the second connection assembly collaborative client interaction message sending component assembly, the second client component to be performed in accordance with cooperative assembly indicated in the message the synergistic co-operating features and functions to be performed synergistic implementation of specific components together.

[0035]另外,还需要说明的是,当组件协同连接建立失败时,第二客户端组件向第一客户端组件发送组件协同连接失败消息。 [0035] Further, also be noted that, when the connection establishment fails synergistic component, the second component collaborative client component sends a connection failure message to the first client component.

[0036]例如,请参阅图4,其为本申请另一种建立组件协同连接的方法的流程图。 [0036] For example, see Figure 4, which present a flowchart of another method of establishing a connection assembly collaborative application. A客户端的X组件向B客户端的X组件发送组件协同请求,其中,B客户端的X组件可以是B客户端在建立组件协同连接之前已经具有的,或者,是B客户端在接收到组件协同请求后,临时从组件下载服务器上获取的。 A client X modules synergistic request to the X module sending component B client, wherein, B client X component may be a B client before establishing assembly synergistic connection already has, or is B client receiving the components that work request after temporarily taken from the assembly download server. 当B客户端的X组件接收到该组件协同请求后,根据组件协同请求建立一个组件协同连接,当该组件协同连接建立失败时,B客户端的X组件向B客户端发送组件协同连接失败消息,B客户端向中转服务器转发该组件协同连接失败消息,中转服务器向A客户端发送组件协同连接失败消息,A客户端再向A客户端的X组件发送组件协同连接失败消息,以便A客户端的X组件可以根据组件协同连接失败消息再次发起一次组件协同连接流程。 When B client X component receiving the components that work request The assembly cooperative request to establish a component cooperative connection when the assembly cooperative connection fails, B client X module sending component synergistic connection failure message to the B client, B the client forwards the relay server where it synergistic connection failure message, the relay server transmits assembly cooperative connection failure message to the a client, a client again message a client X module sending component cooperative connection fails, so that a client X components may The assembly cooperative connection failure message again to initiate a cooperative connector assembly process.

[0037] 由上述实施例可以看出,与现有技术相比,本申请具有如下优点: [0037] As can be seen from the foregoing embodiment, as compared with the prior art, the present application has the following advantages:

[0038] 在第一客户端组件和第二客户端组件之间建立一个组件协同连接,使第一客户端组件能够独立于集成该组件的软件,通过该组件协同连接与第二客户端组件实现组件协同,组件的协同过程仅由第一客户端组件和第二客户端组件通过建立的组件协同连接完成,集成该组件的软件并不参与到组件的具体协同过程中,避免了现有技术中由于集成该组件的软件在参与组件协同时进行编码和解析所带来的耗费系统资源问题。 [0038] established between the first client and a second client component assembly connected to a cooperative component, the first component can be independent of the client component of the integrated software components to achieve synergistic connection with the second client component assembly cooperative, collaborative process components only by a first client and a second client component assembly cooperative connection is accomplished by establishing the assembly, the integrated software is not involved in the assembly process to the specific cooperative assembly, avoids the prior art due to the integrated software components for encoding and parsing brought consume system resources when participating components fit together. 同时,也避免了编码和解析的过程本身给系统带来的潜在故障点。 It also avoids potential points of failure and resolve coding process itself to the system brings.

[0039] 实施例二 [0039] Second Embodiment

[0040] 本实施例与实施例一的区别在于,所述方法还包括:当第二客户端拒绝与第一客户端进行组件协同时,由第二客户端向第一客户端发送组件协同连接拒绝消息。 Difference [0040] This embodiment is characterized in one embodiment, the method further comprising: when the second client refused assembly cooperating with the first client, sent by the second client to the first client connector assembly cooperative rejection message. 请参阅图5,其为本申请一种组件协同方法的另一个实施的流程图。 A flow chart of another embodiment Referring to FIG 5, an assembly method thereof synergistic present application. 包括以下步骤: Comprising the steps of:

[0041] 步骤501:第一客户端组件建立与第二客户端组件之间的组件协同连接,如果连接建立成功,进入步骤502,如果所述第二客户端拒绝与所述第一客户端进行组件协同,进入步骤504 ; [0041] Step 501: The client component to establish a first connection assembly synergies between the second client component, if the connection is established, proceeds to step 502, if the second client refuse with the first client synergistic components, proceeds to step 504;

[0042] 其中,组件协同连接的建立过程可以参见实施例一中的步骤101,由于该步骤已经在实施例一中进行了详细地说明,故此处不再赘述。 [0042] wherein the process of establishing the connection assembly may refer to a synergistic embodiment a step in the embodiment 101, since this embodiment has a step in the embodiment has been described in detail, it is not repeated herein.

[0043] 步骤502:第一客户端组件通过所述组件协同连接,向所述第二客户端组件发送组件协同信息,所述组件协同信息用于指示所述第二客户端组件待执行的协同功能和待执行的协同功能下的协同操作; [0043] Step 502: The first client component via the connector assembly synergistic, cooperative information to the client component sending the second component, the component information indicating a synergistic cooperative the second client component to be performed cooperating in collaboration capabilities and functions to be performed;

[0044] 步骤503:所述第二客户端组件按照所述组件协同信息的指示与所述第一客户端组件之间进行组件协同,结束流程; [0044] Step 503: the indication information between the first client and the second client component assembly in accordance with the cooperative assembly in tandem assembly, the flow ends;

[0045] 上述步骤502和503的执行过程可以参见实施例一中的步骤102和103,由于已经在实施例一中进行了详细地说明,故此处不再赘述。 Execution [0045] The above-described steps 502 and 503 may refer to a procedure of Example 103 and 102 in the embodiment, since the embodiment has been described in detail in an embodiment, it is not repeated herein.

[0046] 步骤504:所述第二客户端通过中转服务器向所述第一客户端发送组件协同连接拒绝消息; [0046] Step 504: the second client through the relay server sends the connection reject message synergistic components to the first client;

[0047] 步骤505:所述第一客户端将所述组件协同连接拒绝消息发送给所述第一客户端组件,结束流程。 [0047] Step 505: the first component of the collaboration client connection reject message to the first client component, the process ends.

[0048]例如,例如,请参阅图6,其为本申请另一种建立组件协同连接的方法的流程图,如图6所示,A客户端的X组件通过A客户端和中转服务器向B客户端发送组件协同请求,此时,无论B客户端是否已经具有X组件,如果B客户端拒绝与A客户端进行任何组件协同,B客户端通过中转服务器向A客户端发送组件协同连接拒绝消息,A客户端再将组件协同拒绝消息发送给A客户端的X组件,以便向A客户端的X组件提示B客户端拒绝进行组件协同。 [0048] e.g., e.g., see Figure 6, which is a flowchart of another method of the present application assembly synergistic establishing a connection, as shown in FIG. 6, the assembly A by an X client A and client B to the client transfer server synergistic component sends a request, this time, regardless of whether the client B has an X component, if the client B reject any component in conjunction with the client A, the client B transmits to the A side by the client server components cooperative relay connection reject message, a client component and then send the reject message X synergistic components to the client a, B in order to prompt the client to refuse to synergistic component X a client component.

[0049] 由上述实施例可以看出,与现有技术相比,本申请具有如下优点: [0049] As can be seen from the foregoing embodiment, as compared with the prior art, the present application has the following advantages:

[0050] 在第一客户端组件和第二客户端组件之间建立一个组件协同连接,使第一客户端组件能够独立于集成该组件的软件,通过该组件协同连接与第二客户端组件实现组件协同,组件的协同过程仅由第一客户端组件和第二客户端组件通过建立的组件协同连接完成,集成该组件的软件并不参与到组件的具体协同过程中,避免了现有技术中由于集成该组件的软件在参与组件协同时进行编码和解析所带来的耗费系统资源问题。 [0050] established between the first client and a second client component assembly connected to a cooperative component, the first component can be independent of the client component of the integrated software components to achieve synergistic connection with the second client component assembly cooperative, collaborative process components only by a first client and a second client component assembly cooperative connection is accomplished by establishing the assembly, the integrated software is not involved in the assembly process to the specific cooperative assembly, avoids the prior art due to the integrated software components for encoding and parsing brought consume system resources when participating components fit together. 同时,也避免了编码和解析的过程本身给系统带来的潜在故障点。 It also avoids potential points of failure and resolve coding process itself to the system brings.

[0051] 实施例三 [0051] Example three

[0052] 与上述组件协同方法相对应,本申请实施例还提供了一种组件协同系统。 [0052] The above-described components work together with the corresponding method, the present application further provides an assembly cooperative system. 请参阅图7,其为本申请组件协同系统的一个实施例的结构图。 Please refer to FIG. 7, a block diagram of components of an embodiment of the collaboration system of the present application thereof. 该系统包括:第一客户端组件701和第二客户端组件702。 The system comprising: a first client component 701 and the second 702 client components.

[0053] 第一客户端组件701,用于建立与第二客户端组件702之间的组件协同连接,当所述组件协同连接建立成功时,通过所述组件协同连接向所述第二客户端组件发送组件协同信息,所述组件协同信息用于指示所述第二客户端组件待执行的协同功能和待执行的协同功能下的协同操作; [0053] The first client component 701, for establishing a connection assembly synergy between the second client component 702, when the connection is established cooperative assembly, said assembly by cooperative connection to the second client cooperation information sending component assembly, said assembly collaborative information for cooperating in the second cooperative function indicates client component to be executed and cooperative functions to be performed;

[0054] 第二客户端组件702,用于按照所述组件协同信息的指示与所述第一客户端组701件之间进行组件协同。 [0054] The second client component 702, the indication information for the cooperative between the first group of clients 701 for cooperative assembly in accordance with said assembly.

[0055] 其中,请参阅图8,其为本申请中第一客户端组件的结构示意图,第一客户端组件701包括:请求发送单元7011和响应接收单元7012 ; [0055] where, see Figure 8, which is a schematic view of the present application, a first component of the client, the first client 701 assembly comprising: a request transmitting unit 7011 and a response receiving unit 7012;

[0056] 请求发送单元7011,用于通过第一客户端和中转服务器,向第二客户端发送组件协同连接请求; [0056] The request transmitting unit 7011, and a terminal relay server, the sending end to the second client by the first client component cooperative connection request;

[0057] 响应接收单元7012,用于所述第二客户端组件702建立组件协同连接后,接收所述第一客户端组件701反馈的组件协同连接响应。 [0057] The response receiving unit 7012, for the second client component 702 after establishing the connection assembly synergistic, cooperative connection assembly in response to receiving the first client component 701 feedback.

[0058] 请参阅图9,其为本申请中第二客户端组件的一个结构示意图,第二客户端组件702包括:第一请求接收单元7021和第一响应发送单元7022 ; [0058] Please refer to FIG. 9, which is a schematic view of a structure of the present application, a second client component, the second client 702 assembly comprising: a first request receiving unit 7021 and transmitting unit 7022 first response;

[0059] 第一请求接收单元7021,用于当第二客户端具有第二客户端组件702时,接收所述第二客户端发送的组件协同连接请求; [0059] The first request receiving unit 7021, configured to, when the second client having a second client component 702, the component receives the collaboration client sending a second connection request;

[0060] 第一响应发送单元7022,用于所述第二客户端组件702建立组件协同连接后,向所述第一客户端组件701反馈组件协同连接响应。 [0060] The first response sending unit 7022, for the second client component 702 after establishing the connection assembly synergistic, cooperative connection response to the first client component 701 feedback component.

[0061] 可替换的,上述第一请求接收单元7021可以被替换为第二请求接收单元,上述第一响应发送单元7022可以被替换为第二响应发送单元,则第二客户端组件702包括: [0061] Alternatively, the first request receiving unit 7021 may be replaced with the second request receiving means, in response to the first transmission unit 7022 may be replaced with a second response sending unit, the assembly 702 comprises a second client:

[0062] 第二请求接收单元,用于当第二客户端当前没有第二客户端组件702,并在所述第二客户端从组件下载服务器获取第二客户端组件702时,接收所述第二客户端发送的组件协同连接请求; [0062] The second request receiving unit, configured to, when the second client is not currently a second client component 702, and acquires from the component in the second download server 702 when the client second client component, receiving said first synergistic two component connection request sent by the client;

[0063] 第二响应发送单元,用于第二客户端组件702建立组件协同连接后,向所述第一客户端组件701反馈组件协同连接响应。 [0063] The second response sending unit, configured to establish a second client after the component assembly 702 connected to a synergistic, cooperative connection response to the first client component 701 feedback component.

[0064] 优选的,该系统中的第二客户端组件702还用于,当所述组件协同连接建立失败时,所述第二客户端组件702向所述第一客户端组件701发送组件协同连接失败消息。 [0064] Preferably, the second component of the client system 702 is further configured to, when the connection establishment fails synergistic component, the second client component 701 to the sending component 702 coordinated the first client component connection failure message.

[0065] 优选的,该系统中的第一客户端组件701还用于,如果所述第二客户端拒绝与所述第一客户端进行组件协同,且所述第二客户端通过中转服务器向所述第一客户端发送组件协同连接拒绝消息时,接收所述第一客户端发送的组件协同连接拒绝消息。 [0065] Preferably, the first client system component 701 is further configured to, if the second client refused assembly cooperating with the first client and the second client to the server through the relay when the first client connection reject message transmission assembly synergistic, cooperative assembly receiving the first client sends a connection rejection message.

[0066] 由上述实施例可以看出,与现有技术相比,本申请具有如下优点: [0066] As can be seen from the foregoing embodiment, as compared with the prior art, the present application has the following advantages:

[0067] 在第一客户端组件和第二客户端组件之间建立一个组件协同连接,使第一客户端组件能够独立于集成该组件的软件,通过该组件协同连接与第二客户端组件实现组件协同,组件的协同过程仅由第一客户端组件和第二客户端组件通过建立的组件协同连接完成,集成该组件的软件并不参与到组件的具体协同过程中,避免了现有技术中由于集成该组件的软件在参与组件协同时进行编码和解析所带来的耗费系统资源问题。 [0067] established between the first client and a second client component assembly connected to a cooperative component, the first component can be independent of the client component of the integrated software components to achieve synergistic connection with the second client component assembly cooperative, collaborative process components only by a first client and a second client component assembly cooperative connection is accomplished by establishing the assembly, the integrated software is not involved in the assembly process to the specific cooperative assembly, avoids the prior art due to the integrated software components for encoding and parsing brought consume system resources when participating components fit together. 同时,也避免了编码和解析的过程本身给系统带来的潜在故障点。 It also avoids potential points of failure and resolve coding process itself to the system brings.

[0068] 以上对本申请所提供的一种组件协同方法和系统进行了详细介绍,本文中应用了具体实施例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,在不脱离本发明描述的原理前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。 [0068] or more be of an assembly cooperative method and system of the present application provided a detailed description herein use specific embodiments of the principle and embodiments of the present application are set forth above description of embodiments merely for understanding of the present application methods and core ideas; Meanwhile, those of ordinary skill in the art, without departing from the principles of the present invention is described, can make various improvements and modifications, improvements and modifications should also be considered protected by the present invention. range.

Claims (11)

1.一种组件协同方法,其特征在于,包括: 第一客户端组件建立与第二客户端组件之间的组件协同连接; 当所述组件协同连接建立成功时,第一客户端组件通过所述组件协同连接,向所述第二客户端组件发送组件协同信息,所述组件协同信息用于指示所述第二客户端组件待执行的协同功能和待执行的协同功能下的协同操作; 所述第二客户端组件按照所述组件协同信息的指示与所述第一客户端组件之间进行组件协同,组件的协同过程仅由第一客户端组件和第二客户端组件通过建立的组件协同连接完成,集成该组件的软件不参与到组件的具体协同过程中。 CLAIMS 1. A method for cooperative assembly, characterized by comprising: a first client component to establish synergy between the components connected to the second client components; collaborative assembly when the connection is established, the first client components said connector assembly collaborative, cooperative information to the client component sending the second component, the component information for the cooperative operation of the cooperative collaboration capabilities indicating that the second client component to be executed and cooperative functions to be performed; the indication information carried between the first client and said second client component assembly in accordance with said component assembly synergistic cooperative, synergistic cooperative process components only by a first client and a second client component assembly created by assembly the connection is completed, the integrated assembly is not involved in the specific software component cooperative process.
2.根据权利要求1所述的方法,其特征在于,所述第一客户端组件建立与第二客户端组件之间的组件协同连接包括: 第一客户端组件通过第一客户端和中转服务器,向第二客户端发送组件协同连接请求; 当第二客户端具有第二客户端组件时,所述第二客户端向所述第二客户端组件发送组件协同连接请求; 所述第二客户端组件建立组件协同连接后,向所述第一客户端组件反馈组件协同连接响应。 2. The method according to claim 1, wherein the first client component to establish synergy between the components and the assembly connected to the second client comprises: a first client component via the relay server and the first client transmitting the second component to the collaborative client connection requests; when the second client having a second client component, the second client connection request to the collaborative client component sending the second component; the second client end component establishes the connection assembly synergistic, cooperative connection response to the first client component feedback component.
3.根据权利要求1所述的方法,其特征在于,所述第一客户端组件建立与第二客户端组件之间的组件协同连接包括: 第一客户端组件通过第一客户端和中转服务器,向第二客户端发送组件协同连接请求; 当第二客户端没有第二客户端组件时,所述第二客户端从组件下载服务器获取第二客户端组件; 所述第二客户端向得到的第二客户端组件发送组件协同连接请求; 所述第二客户端组件建立组件协同连接后,向所述第一客户端组件反馈组件协同连接响应。 3. The method according to claim 1, wherein the first client component to establish synergy between the components and the assembly connected to the second client comprises: a first client component via the relay server and the first client transmitting the second component to the collaborative client connection requests; second client when the client is not a second component, the second client from the client component acquiring the second assembly download servers; to give the second client a second client component sends a connection request cooperative assembly; the second client component to establish the connection assembly collaborative, cooperative connection response to the first client component feedback component.
4.根据权利要求1-3中任意一项所述的方法,其特征在于,所述方法还包括: 当所述组件协同连接建立失败时,所述第二客户端组件向所述第一客户端组件发送组件协同连接失败消息。 4. The method as claimed in any one of the preceding claims, characterized in that the method further comprises: when the connection establishment fails synergistic component, the second client to the first client component end component assembly cooperative transmission connection failure message.
5.根据权利要求1-3中任意一项所述的方法,其特征在于,所述方法还包括: 如果所述第二客户端拒绝与所述第一客户端进行组件协同,所述第二客户端通过中转服务器向所述第一客户端发送组件协同连接拒绝消息,所述第一客户端将所述组件协同连接拒绝消息发送给所述第一客户端组件。 5. The method as claimed in any one of the preceding claims, characterized in that, said method further comprising: if the second client refused assembly cooperating with the first client, the second client sends a connection reject message to the cooperative assembly of the relay server by the first client, the first client to said cooperative component connection reject message to the first client component.
6.一种组件协同系统,其特征在于,包括:第一客户端组件和第二客户端组件,其中, 所述第一客户端组件,用于建立与第二客户端组件之间的组件协同连接,当所述组件协同连接建立成功时,通过所述组件协同连接向所述第二客户端组件发送组件协同信息,所述组件协同信息用于指示所述第二客户端组件待执行的协同功能和待执行的协同功能下的协同操作; 所述第二客户端组件,用于按照所述组件协同信息的指示与所述第一客户端组件之间进行组件协同,组件的协同过程仅由第一客户端组件和第二客户端组件通过建立的组件协同连接完成,集成该组件的软件不参与到组件的具体协同过程中。 A collaborative system assembly, characterized by comprising: a first client and a second client component assembly, wherein the first client component, for establishing between the second component and the client component synergy connection assembly when the connection is established synergistic, cooperative connection assembly through the coordination information to the second client sending component assembly, the component information for the cooperative synergistic indicating the second client component to be performed cooperating in collaboration capabilities and functions to be performed; the second client component for the assembly according to the indication information between the first client component for assembly synergistic cooperative, synergistic components only by the process a first client and a second client component assembly cooperative connection is accomplished by establishing the assembly, the assembly integrated software is not involved in the specific collaborative assembly process.
7.根据权利要求6所述的系统,其特征在于,所述第一客户端组件包括: 请求发送单元,用于通过第一客户端和中转服务器,向第二客户端发送组件协同连接请求; 响应接收单元,用于所述第二客户端组件建立组件协同连接后,接收所述第二客户端组件反馈的组件协同连接响应。 7. The system according to claim 6, wherein the first client assembly comprising: a request sending unit, for the first relay server and the client, the second client sends a connection request cooperative assembly; response receiving unit, for establishing the second client after the component assembly cooperative connection, receiving the second client component assembly synergistic feedback connection response.
8.根据权利要求7所述的系统,其特征在于,所述第二客户端组件包括: 第一请求接收单元,用于当第二客户端具有第二客户端组件时,接收所述第二客户端发送的组件协同连接请求; 第一响应发送单元,用于所述第二客户端组件建立组件协同连接后,向所述第一客户端组件反馈组件协同连接响应。 8. The system according to claim 7, wherein the second client assembly comprising: a first request receiving means for, when the second client having a second client component receiving the second assembly cooperative connection request sent by the client; a first response sending unit, configured to establishing the second client after the component assembly cooperative connection, the connection to the first client in response to feedback component assembly together.
9.根据权利要求7所述的系统,其特征在于,所述第二客户端组件包括: 第二请求接收单元,用于当第二客户端没有第二客户端组件,且所述第二客户端从组件下载服务器获取第二客户端组件时,接收所述第二客户端发送的组件协同连接请求; 第二响应发送单元,用于第二客户端组件建立组件协同连接后,向所述第一客户端组件反馈组件协同连接响应。 9. The system according to claim 7, wherein the second client assembly comprising: receiving a second request means for, when the second client is not a second client component and the second client when the end of the second client component acquiring from the download server component, the second component receiving cooperative connection request sent by the client; a second response sending unit, configured to establish a second client after the component assembly synergistic connected to the first a client component assembly synergistic feedback connection response.
10.根据权利要求6-9中任意一项所述的系统,其特征在于,所述第二客户端组件还用于:当所述组件协同连接建立失败时,所述第二客户端组件向所述第一客户端组件发送组件协同连接失败消息。 10. The system according to any one of claims 6-9, characterized in that said second client component further configured to: when the connection establishment fails synergistic component, the second component to the client the first client sending component assembly cooperative connection failure message.
11.根据权利要求6-9中任意一项所述的系统,其特征在于,所述第一客户端组件还用于:如果所述第二客户端拒绝与所述第一客户端进行组件协同,且所述第二客户端通过中转服务器向所述第一客户端发送组件协同连接拒绝消息时,接收所述第一客户端发送的组件协同连接拒绝消息。 11. The system according to any one of claims 6-9, wherein the first client component is further configured to: if the second client refused assembly cooperating with the first client when, by the second client and the relay server to the first client synergistic component connection reject message sending, receiving cooperative assembly of the first client transmits a connection reject message.
CN201110038820.6A 2011-02-16 2011-02-16 An assembly method and system for collaborative CN102646049B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110038820.6A CN102646049B (en) 2011-02-16 2011-02-16 An assembly method and system for collaborative

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110038820.6A CN102646049B (en) 2011-02-16 2011-02-16 An assembly method and system for collaborative
HK12110492.8A HK1169732A1 (en) 2011-02-16 2012-10-22 Method and system for module coordination

Publications (2)

Publication Number Publication Date
CN102646049A CN102646049A (en) 2012-08-22
CN102646049B true CN102646049B (en) 2016-03-02

Family

ID=46658879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110038820.6A CN102646049B (en) 2011-02-16 2011-02-16 An assembly method and system for collaborative

Country Status (2)

Country Link
CN (1) CN102646049B (en)
HK (1) HK1169732A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102606500A (en) * 2012-04-11 2012-07-25 上海飞和压缩机制造有限公司 Aerotechnical air-concentrated high-yield air compressor with stepped shell and helical blade
CN103618796B (en) * 2013-12-02 2018-03-06 Tcl集团股份有限公司 A server access method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787005A (en) * 2004-12-06 2006-06-14 国际商业机器公司 Method and system to enhance web-based shopping collaborations
CN101064693A (en) * 2006-04-24 2007-10-31 腾讯科技(深圳)有限公司 Method for presenting animation synchronously in instant communication
CN101454774A (en) * 2006-03-31 2009-06-10 谷歌公司 Collaborative online spreadsheet application

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2469501B (en) * 2009-04-16 2012-01-04 Appshare Ltd Method and system for network-based collaboration

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787005A (en) * 2004-12-06 2006-06-14 国际商业机器公司 Method and system to enhance web-based shopping collaborations
CN101454774A (en) * 2006-03-31 2009-06-10 谷歌公司 Collaborative online spreadsheet application
CN101064693A (en) * 2006-04-24 2007-10-31 腾讯科技(深圳)有限公司 Method for presenting animation synchronously in instant communication

Also Published As

Publication number Publication date
CN102646049A (en) 2012-08-22
HK1169732A1 (en) 2017-02-17

Similar Documents

Publication Publication Date Title
JP2014514624A (en) Communication between applications on different terminals
US20110149810A1 (en) Decoupled cascaded mixers architechture and related methods
CN102523100B (en) Method for debugger to launch and attach on compute clusters
JP2004265379A (en) Meta-service selector, meta-service selector protocol, method, client, service, distributed system, and computer software product for deploying service over a plurality of networks
KR20150103313A (en) Wireless docking
CN102077492B (en) System and method for transferring a session between multiple clients
US9628519B2 (en) Call processing method and control apparatus, automatic call distribution apparatus, and agent terminal
CN102710554B (en) Distributed messaging system service status messages and distributed detection system
CN103812755A (en) Message synchronization method and device in instant messaging application
US9106716B2 (en) Method, apparatus, and system for cross-platform conference convergence
CN102567125B (en) Method for realizing communication between browser pages
CN102202015A (en) Method and system for realizing intercommunication among different kinds of instant messaging tools
CN101981897B (en) The standard protocol in the OPC UA client-server system communication method and apparatus
EP2853082A1 (en) Devices and methods for facilitating direct pairing in a wireless docking system
CN104956649B (en) Call is not ready terminal
CN103188300B (en) A method implemented in a cloud computing environment voip call, apparatus and system
CN101262372B (en) Method for video monitoring platform to operate and control front-end device based on SIP server cluster
CN102333128B (en) Active transmission method for real-time Web data
CN103650458B (en) Media stream transmission method, apparatus and system
CN103152378B (en) A method for transmitting data in a network, the client system, and
CN103144447A (en) Household 3D printer system based on cloud platform and realization method thereof
EP2910007A2 (en) Reduction of chaining in conference sessions
EP2712146B1 (en) Method and device for transmitting media stream data in cloud computing system
CN102427585A (en) Interconnection method for base station and access network system
EP2083547A1 (en) Improvements in or relating to communications

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1169732

Country of ref document: HK

C14 Grant of patent or utility model
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1169732

Country of ref document: HK