TWI487340B - Method and device for realizing stand-alone software communication - Google Patents

Method and device for realizing stand-alone software communication Download PDF

Info

Publication number
TWI487340B
TWI487340B TW099113499A TW99113499A TWI487340B TW I487340 B TWI487340 B TW I487340B TW 099113499 A TW099113499 A TW 099113499A TW 99113499 A TW99113499 A TW 99113499A TW I487340 B TWI487340 B TW I487340B
Authority
TW
Taiwan
Prior art keywords
user equipment
software
communication
machine software
stand
Prior art date
Application number
TW099113499A
Other languages
Chinese (zh)
Other versions
TW201138394A (en
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to TW099113499A priority Critical patent/TWI487340B/en
Publication of TW201138394A publication Critical patent/TW201138394A/en
Application granted granted Critical
Publication of TWI487340B publication Critical patent/TWI487340B/en

Links

Description

實現單機軟體通信的方法及裝置Method and device for realizing single-machine software communication

本申請屬於電腦應用技術領域,特別是涉及一種實現單機軟體通信的方法及裝置。The present application belongs to the field of computer application technologies, and in particular, to a method and device for implementing single-machine software communication.

隨著網路技術的發展,用戶對於各種應用軟體的需求已經不僅僅局限於單機功能,越來越多的用戶希望軟體能夠具有一定的網路功能,以便基於軟體的基本功能與遠端的用戶進行交互。With the development of network technology, users' demand for various application software is not limited to single-machine functions. More and more users want software to have certain network functions, so that the basic functions of software-based and remote users can be used. Interact.

用戶對於軟體功能需求的提高,也增加了軟體發展的難度。特別是對於那些原本僅針對單機的軟體,要實現網路功能,必須在軟體中添加相應的通信功能模組。與實現單機功能相比,網路功能的實現對於開發人員與開發環境都提出了更高的要求,如果要實現較為複雜的網路功能,可能還需要搭建伺服器。因此,在單機軟體上實現網路功能,將明顯增加開發難度及開發成本,這也在一定程度上限制了開發人員。此外,由於不同的開發人員在開發或測試時所使用的具體網路環境不同,用戶在實際使用軟體的網路功能時,難免會遇到相容性問題,往往需要用戶針對不同的軟體進行不同的網路連接配置,帶來操作上的麻煩。The increase in user demand for software features has also increased the difficulty of software development. Especially for software that was originally only for stand-alone software, to implement network functions, the corresponding communication function module must be added to the software. Compared with the implementation of the stand-alone function, the implementation of the network function puts higher requirements on the developer and the development environment. If you want to implement more complex network functions, you may need to set up a server. Therefore, implementing network functions on a single-machine software will significantly increase the development difficulty and development cost, which also limits the developers to some extent. In addition, because different developers use different network environments during development or testing, users will inevitably encounter compatibility problems when actually using the software network function, and often require users to differentize for different software. The network connection configuration brings operational troubles.

本申請實施例提供一種實現單機軟體通信的方法及裝置,以解決在單機軟體中實現網路功能所存在的難度高、成本高、相容性差等問題,技術方案如下:本申請實施例提供一種實現單機軟體通信的方法,包括:第一用戶設備與第二用戶設備建立即時通信連接;第一用戶設備中的單機軟體A1使用該即時通信連接,與第二用戶設備中的單機軟體A2進行通信;其中,該第一用戶設備與第二用戶設備互為對端設備,該第一用戶設備與第二用戶設備之間的即時通信連接,由第一用戶設備中的即時通信用戶端B1與第二用戶設備中的即時通信用戶端B2建立;該第一用戶設備中的單機軟體A1與該第二用戶設備中的單機軟體A2為相同軟體。The embodiment of the present application provides a method and a device for implementing a single-machine software communication, which solves the problems of high difficulty, high cost, and poor compatibility in implementing a network function in a single-machine software. The technical solution is as follows: The method for implementing the single-machine software communication includes: establishing, by the first user equipment, an instant communication connection with the second user equipment; the single-machine software A1 in the first user equipment uses the instant communication connection to communicate with the single-machine software A2 in the second user equipment The first user equipment and the second user equipment are mutually peer devices, and the instant communication connection between the first user equipment and the second user equipment is performed by the instant communication user terminal B1 and the first user equipment. The instant messaging client B2 in the second user equipment is established; the single-machine software A1 in the first user equipment and the single-machine software A2 in the second user equipment are the same software.

本申請實施例還提供一種實現單機軟體通信的裝置,位於本地用戶設備與對端用戶設備中,該裝置包括連接建立單元、請求發送單元、請求接收單元和單機軟體啟動單元;該連接建立單元,用於建立本地用戶設備與對端用戶設備的即時通信連接;在本地用戶設備側:該單機軟體啟動單元,用於啟動本地的單機軟體A1;該請求發送單元,用於向對端用戶設備發送單機軟體通信請求,該單機軟體通信請求中,攜帶該單機軟體A1的標識;在對端用戶設備側:該請求接收單元,用於接收該單機軟體通信請求;該單機軟體啟動單元,用於根據該單機軟體通信請求中攜帶的單機軟體標識,啟動本地的單機軟體A2;該單機軟體A1與單機軟體A2使用該連接建立單元建立的即時通信連接進行通信。The embodiment of the present application further provides an apparatus for implementing single-machine software communication, which is located in a local user equipment and a peer user equipment, and the apparatus includes a connection establishing unit, a request sending unit, a request receiving unit, and a single-machine software starting unit; the connection establishing unit, For establishing an instant communication connection between the local user equipment and the peer user equipment; on the local user equipment side: the single-machine software startup unit is used to start the local single-machine software A1; the request sending unit is configured to send to the opposite user equipment The single-machine software communication request, the single-machine software communication request carries the identifier of the single-machine software A1; on the opposite-end user equipment side: the request receiving unit is configured to receive the single-machine software communication request; the single-machine software startup unit is configured to The single-machine software identifier carried in the single-machine software communication request starts the local single-machine software A2; the single-machine software A1 communicates with the stand-alone software A2 using the instant communication connection established by the connection establishment unit.

本申請實施例所提供的技術方案,單機軟體使用即時通信系統所建立的網路連接進行通信,從而不要求單機軟體本身具備通信功能模組,有效降低了在單機軟體實現網路功能的開發難度及開發成本。此外,由於各單機軟體統一使用即時通信系統所建立的網路連接,因此只需一次性配置即可實現多種單機軟體的正常通信,簡化了用戶操作。In the technical solution provided by the embodiment of the present application, the single-machine software communicates using the network connection established by the instant communication system, so that the single-machine software itself does not need the communication function module, thereby effectively reducing the difficulty in realizing the network function in the single-machine software. And development costs. In addition, since each single-machine software uniformly uses the network connection established by the instant messaging system, normal communication of a plurality of single-machine software can be realized in a one-time configuration, which simplifies user operations.

首先對本申請實施例所提供的一種實現單機軟體通信的方法進行說明,包括:第一用戶設備與第二用戶設備建立即時通信連接;第一用戶設備中的單機軟體A1使用該即時通信連接,與第二用戶設備中的單機軟體A2進行通信;其中,該第一用戶設備與第二用戶設備互為對端設備,該第一用戶設備與第二用戶設備之間的即時通信連接,由第一用戶設備中的即時通信用戶端B1與第二用戶設備中的即時通信用戶端B2建立;該第一用戶設備中的單機軟體A1與該第二用戶設備中的單機軟體A2為相同軟體。First, a method for implementing single-machine software communication provided by the embodiment of the present application is described, including: establishing, by the first user equipment, an instant communication connection with the second user equipment; the single-machine software A1 in the first user equipment uses the instant communication connection, and The single-user software A2 in the second user equipment communicates with each other; wherein the first user equipment and the second user equipment are mutually peer devices, and the instant communication connection between the first user equipment and the second user equipment is performed by the first The instant messaging client B1 in the user equipment is established with the instant messaging client B2 in the second user equipment; the single-machine software A1 in the first user equipment and the single-machine software A2 in the second user equipment are the same software.

上述技術方案中,單機軟體使用即時通信系統所建立的網路連接進行通信,從而不要求單機軟體本身具備通信功能模組。從開發人員的角度來講,可以重點關心單機軟體基本功能的實現,對於網路功能的實現部分,只需留出能夠與本地的即時通信用戶端交互的介面即可,即使是相對複雜的網路功能也可以通過即時通信伺服器來實現,有效降低了在單機軟體實現網路功能的開發難度及開發成本。In the above technical solution, the single-machine software communicates using the network connection established by the instant communication system, so that the single-machine software itself is not required to have the communication function module. From the developer's point of view, you can focus on the implementation of the basic functions of the stand-alone software. For the implementation of the network function, you only need to leave an interface that can interact with the local instant messaging client, even a relatively complex network. The road function can also be realized by the instant communication server, which effectively reduces the development difficulty and development cost of implementing the network function in the single machine software.

另一方面,現有技術中,由於不同的開發人員在開發或測試時所使用的具體網路環境不同,用戶在實際使用軟體的網路功能時,難免會遇到相容性問題。應用本申請提供的技術方案,多個單機軟體可以統一使用同一套即時通信系統所建立的網路連接,因此無需針對每個具體的單機軟體進行通信配置,簡化了用戶操作。On the other hand, in the prior art, because different developers use different network environments during development or testing, users often encounter compatibility problems when actually using the software network function. Applying the technical solution provided by the present application, multiple single-machine software can uniformly use the network connection established by the same instant messaging system, so communication configuration is not required for each specific single-machine software, which simplifies user operations.

再一方面,現有技術中,由於開發難度及開發成本等方面的限制,很多在單機軟體中實現的網路功能並不會過多考慮通信安全、故障處理等方面的問題,而即時通信系統一般都具有較為完善的通信安全及故障處理機制,因此,應用本申請技術方案,還可以有效地提高單機軟體通信的可靠性。On the other hand, in the prior art, due to limitations in development and development costs, many network functions implemented in a stand-alone software do not take into account communication security, fault handling, etc., and instant messaging systems generally It has a relatively complete communication security and fault handling mechanism. Therefore, by applying the technical solution of the present application, the reliability of the single-machine software communication can be effectively improved.

為了使本技術領域的人員更好地理解本申請中的技術方案,下面將結合本申請實施例中的附圖,對本申請實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本申請一部分實施例,而不是全部的實施例。基於本申請中的實施例,本領域普通技術人員在沒有做出創造性勞動前提下所獲得的所有其他實施例,都應當屬於本申請保護的範圍。The technical solutions in the embodiments of the present application are clearly and completely described in the following, in which the technical solutions in the embodiments of the present application are clearly and completely described. The embodiments are only a part of the embodiments of the present application, and not all of them. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope shall fall within the scope of the application.

實施例一:Embodiment 1:

在本申請的實施例中,涉及的通信實體包括第一用戶設備與第二用戶設備,在通信過程中,第一用戶設備與第二用戶設備互為對端設備。其中,在第一用戶設備側涉及兩個部分:單機軟體A1與即時通信用戶端B1;在第二用戶設備側也涉及兩個部分:單機軟體A2與即時通信用戶端B2;其中,B1與B2屬於同一即時通信系統,A1與A2為相同的軟體。A1與A2通過B1與B2建立的即時通信連接進行通信。圖1所示為實現本實施例方法的流程圖,包括以下步驟:S101,A1向B1發送通信請求;在本申請實施例中,單機軟體雖然在邏輯上仍具有通信模組,但是該模組實際上並不直接與網路側發生交互。當單機軟體有通信需求時,將首先向本地用戶設備中的即時通信用戶端B1發送一個通信請求。In the embodiment of the present application, the communication entity involved includes the first user equipment and the second user equipment. In the communication process, the first user equipment and the second user equipment are mutually peer devices. There are two parts involved on the first user equipment side: a single-machine software A1 and an instant communication user B1; on the second user equipment side, two parts are also involved: a stand-alone software A2 and an instant communication user B2; wherein, B1 and B2 Belong to the same instant messaging system, A1 and A2 are the same software. A1 and A2 communicate via an instant messaging connection established by B1 and B2. FIG. 1 is a flowchart of a method for implementing the embodiment, including the following steps: S101, A1 sends a communication request to B1; in the embodiment of the present application, although the stand-alone software still has a communication module logically, the module It does not actually interact directly with the network side. When the stand-alone software has communication requirements, it will first send a communication request to the instant messaging client B1 in the local user equipment.

為保證單機軟體能夠正確地使用即時通信連接進行通信,單機軟體和即時通信軟體應具有一定的對應關係。對於即時通信用戶端而言,除了具備基本的即時通信功能之外,還需要預先定義專用的本地通信介面,在本機實現即時通信軟體行程與單機軟體行程之間的內部消息交互。在實現單機軟體的網路功能時,只需依據即時通信軟體所定義的本地通信介面,實現單機軟體與即時通信軟體在本地的交互功能即可,無需涉及與網路的交互部分。可以理解的是,一種單機軟體可以選擇使用多種即時通信軟體實現通信,而一種即時通信軟體也可以同時支援多種單機軟體的通信。In order to ensure that the stand-alone software can correctly communicate using the instant messaging connection, the stand-alone software and the instant messaging software should have a certain correspondence. For the instant messaging client, in addition to the basic instant messaging function, it is also necessary to pre-define a dedicated local communication interface to implement internal message interaction between the instant communication software trip and the stand-alone software trip. When implementing the network function of the stand-alone software, the local communication interface between the stand-alone software and the instant messaging software can be implemented only according to the local communication interface defined by the instant messaging software, and no interaction with the network is involved. Understandably, a single-machine software can choose to use a variety of instant messaging software to communicate, and an instant messaging software can also support communication of multiple stand-alone software at the same time.

假定單機軟體A1為一遊戲軟體,本地用戶希望通過網路與其他用戶進行遊戲,選擇相應的網路功能後,例如請求與某人聯機遊戲,或者尋找聯機對手等等,A1將向本地用戶設備中相應的即時通信用戶端B1發送一個通信請求。當然,以上情況是預設B1當前已經在本地用戶設備中運行的情況,在具體實施時,A1在發送通信請求之前,可以首先檢測本地用戶設備中當前是否有相應的即時通信用戶端在運行,如果沒有,則可以自動啟動相應的即時通信用戶端,或者向用戶發出提示資訊,提示用戶手動啟動相應的即時通信用戶端。Assume that stand-alone software A1 is a game software, local users want to play games with other users through the network, select the corresponding network function, such as requesting online games with someone, or looking for online opponents, etc., A1 will be to local user devices. The corresponding instant messaging client B1 sends a communication request. Of course, the foregoing situation is that the preset B1 is currently running in the local user equipment. In a specific implementation, before sending the communication request, the A1 may first detect whether the corresponding instant communication client is currently running in the local user equipment. If not, the corresponding instant messaging client can be automatically started, or a prompt message can be sent to the user to prompt the user to manually start the corresponding instant messaging client.

S102,B1接收A1發送的通信請求後,對A1進行驗證;出於安全通信目的的考慮,B1接收到A1發送的通信請求後,可以進一步確認是否允許A1使用即時通信連接進行通信。驗證具體可以包括多種實現方式,例如:向用戶提示相關資訊,要求用戶進一步確認;或者,B1要求A1提供的相應的驗證資訊,以確定當前用戶的身份,這個驗證資訊也可以採用與即時聊天帳戶一致的用戶名或密碼。A1也可以在S101中發送的通信請求中,直接攜帶相應的驗證資訊。S102: After receiving the communication request sent by A1, B1 verifies A1. For the purpose of secure communication, after receiving the communication request sent by A1, B1 may further confirm whether A1 is allowed to communicate using the instant communication connection. The verification may include multiple implementation manners, for example, prompting the user for relevant information and requesting the user to further confirm; or, B1 requires the corresponding verification information provided by A1 to determine the identity of the current user, and the verification information may also be used with the instant chat account. A consistent username or password. A1 may also directly carry the corresponding verification information in the communication request sent in S101.

可以理解的是,本步驟還可以用於相容性的檢查。在S101中,A1在向B1發送通信請求時,實際上已經確定了可以通過B1實現網路功能;而在本步驟中,B1還可以進一步確認是否支援A1的通信,具體可以通過檢查版本號、發送特定測試資料等方式實現。本步驟與S101結合,相當於實現了A1與B1的雙向相容性檢查,從而確保A1能夠正確地使用B1所建立的即時通信連接進行通信。It can be understood that this step can also be used for the inspection of compatibility. In S101, when A1 sends a communication request to B1, it actually determines that the network function can be implemented through B1. In this step, B1 can further confirm whether to support communication of A1, specifically by checking the version number, Send specific test data and other means to achieve. This step is combined with S101, which is equivalent to realizing the bidirectional compatibility check of A1 and B1, thereby ensuring that A1 can correctly communicate using the instant communication connection established by B1.

S103,B1向A1發送通信請求回應;本步驟為可選步驟,如果A1通過了B1的驗證,則B1可以在回應消息中通知A1驗證成功,並且繼續執行後續步驟。如果A1沒有通過B1的驗證,B1將拒絕A1的通信請求,並且發送回應消息中通知A1,在回應消息中還可以進一步攜帶拒絕的原因值,例如:用戶身份非法、軟體版本不相容等等。S103, B1 sends a communication request response to A1; this step is an optional step. If A1 passes the verification of B1, B1 may notify A1 that the verification is successful in the response message, and continue to perform the subsequent steps. If A1 does not pass the verification of B1, B1 will reject the communication request of A1, and send a response message to notify A1. In the response message, the reason value of the rejection may be further carried, for example, the user identity is illegal, the software version is incompatible, and the like. .

S104,B1檢測當前是否與對端用戶設備存在即時通信連接。S104: The B1 detects whether an instant communication connection exists with the peer user equipment.

A1通過驗證之後,B1就可以允許A1使用即時通信連接進行通信了,但是在具體執行時,還分為以下幾種情況:After A1 is verified, B1 can allow A1 to communicate using an instant messaging connection, but in the specific implementation, it is divided into the following cases:

1)本地用戶希望與指定的用戶進行通信,並且本地用戶設備與該指定用戶設備之間當前已經存在一個即時通信連接(例如雙方正在進行聊天)。這種情況下,A1可以直接使用當前的即時通信連接與對端用戶設備進行通信。相應地,對端用戶設備中也應啟動同樣的單機軟體,以下稱為A2。即:A1與A2通過本地的即時通信用戶端B1與對端即時通信用戶端(以下稱為B2)所建立的即使通信連接進行通信。可以理解的是,在對端用戶設備側,A2與B2也可以執行類似S102的驗證操作,這裏不再詳細說明。1) The local user wishes to communicate with the specified user, and there is currently an instant communication connection between the local user device and the designated user device (eg, both parties are chatting). In this case, A1 can directly communicate with the peer user equipment using the current instant messaging connection. Correspondingly, the same stand-alone software should also be started in the peer user equipment, hereinafter referred to as A2. That is, A1 and A2 communicate with each other through the local instant messaging client B1 and the peer instant messaging client (hereinafter referred to as B2) even if the communication connection is established. It can be understood that, on the peer user equipment side, A2 and B2 can also perform a verification operation similar to S102, which will not be described in detail herein.

2)本地用戶希望與指定的用戶進行通信,並且本地用戶設備與該指定用戶設備之間當前不存在即時通信連接。2) The local user wishes to communicate with the specified user, and there is currently no instant communication connection between the local user device and the designated user device.

3)本地用戶希望隨機尋找一個通信物件,例如玩遊戲時隨機尋找聯機對手,這種情況下,該隨機尋找的通信物件與本地用戶設備當前必然不存在即時通信連接。3) The local user wants to randomly search for a communication object, for example, randomly searching for an online opponent when playing a game. In this case, the randomly sought communication object and the local user equipment currently have no instant communication connection.

在實際執行中,A1需要向B1提供通信物件設備的標識,該標識可以是一個表示特定通信物件的標識(例如即時通信帳號),也可以是一個用於表示隨機尋找通信物件的標識。該標識也可以直接攜帶於A1發給B1的通信請求中。B1根據該標識對當前的即時通信連接狀態進行檢測,如果是情況1),則允許A1與A2使用當前的即時通信連接進行通信,如果是情況2)或3),則繼續執行S105。In actual implementation, A1 needs to provide B1 with the identity of the communication object device, which may be an identifier indicating a specific communication object (for example, an instant messaging account), or an identifier indicating that the communication object is randomly searched for. The identifier can also be directly carried in the communication request sent by A1 to B1. B1 detects the current instant messaging connection status based on the identity, and if it is case 1), allows A1 and A2 to communicate using the current instant messaging connection, and if it is case 2) or 3), then proceeds to S105.

S105,B1與對端設備建立即時通信連接。S105. The B1 establishes an instant communication connection with the peer device.

針對S104中的2)、3)兩種情況,B1需要根據A1提供的通信物件設備的標識,立即與相應的對端設備建立即時通信連接,以供A1使用。For the cases 2) and 3) in S104, B1 needs to establish an instant communication connection with the corresponding peer device according to the identifier of the communication object device provided by A1 for use by A1.

即時通信系統主要基於兩種協定:TCP(Transfer Control Protocol,傳輸控制協定)和UDP(User Datagram Protocol ,用戶資料報協定)。其中,UDP的特點是不需要建立連接,網路開銷較小,但是資料傳輸可靠性差。而TCP是一種面向連接的協定,其傳輸可靠性較高。在本申請所提供的方案中,單機軟體的通信對於資料可靠性的要求比較高,因此需要在即時通信用戶端之間建立可靠的TCP連接。The instant messaging system is mainly based on two protocols: TCP (Transfer Control Protocol) and UDP (User Datagram Protocol). Among them, the characteristic of UDP is that it does not need to establish a connection, and the network overhead is small, but the data transmission reliability is poor. TCP is a connection-oriented protocol with high transmission reliability. In the solution provided by the present application, the communication of the stand-alone software has higher requirements on data reliability, so it is necessary to establish a reliable TCP connection between the instant communication users.

B1首先將對端設備的標識發送至即時通信伺服器,即時通信伺服器將根據標識的具體類型向B1返回相應的資訊:B1 first sends the identity of the peer device to the instant messaging server, and the instant messaging server will return corresponding information to B1 according to the specific type of the identifier:

對應上述情況2),即時通信伺服器將直接向B1返回該標識所對應的用戶設備的IP地址、TCP埠號等資訊;這裏需要注意的是,對端用戶設備當前必須在即時通信系統中處於在線狀態,否則無法實現即時通信連接。Corresponding to the above situation 2), the instant messaging server will directly return to B1 the information such as the IP address and TCP nickname of the user equipment corresponding to the identifier; here, it should be noted that the peer user equipment must currently be in the instant messaging system. Online status, otherwise an instant communication connection cannot be achieved.

而對應上述情況3),即時通信伺服器將向B1隨機返回某個在線用戶所對應的用戶設備的IP地址、TCP埠號等資訊、或者向B1返回多個在線用戶設備的相關資訊,再由本地用戶自行選擇通信物件。Corresponding to the above situation 3), the instant messaging server will randomly return to B1 the IP address, TCP nickname and other information of the user equipment corresponding to an online user, or return relevant information of multiple online user equipments to B1, and then Local users choose their own communication objects.

B1根據伺服器所返回的對端用戶設備的相關資訊,開始與對端用戶設備的B2建立即時通信連接。B1 starts to establish an instant communication connection with B2 of the peer user equipment according to the information about the peer user equipment returned by the server.

S106,B1向A1返回連接建立成功回應消息。S106, B1 returns a connection establishment success response message to A1.

連接建立成功之後,B1向A1返回連接建立成功回應消息,該步驟為可選步驟。後續A1與A2就可以使用B1與B2所建立的即時通信連接進行通信。其中,根據軟體具體的網路功能需求以及網路環境等因素,可以直接採用點對點的方式進行通信,也可以通過即時通信伺服器進行通信,本實施例對此不做限制。After the connection is successfully established, B1 returns a connection establishment success response message to A1, which is an optional step. Subsequent A1 and A2 can communicate using the instant messaging connection established by B1 and B2. In this embodiment, the communication may be performed in a peer-to-peer manner, or the communication may be performed through an instant messaging server, which is not limited in this embodiment.

實施例二:Embodiment 2:

實施例一所提供的方法中,是由單機軟體發起的整個通信流程,而在實際應用中,更為常見的一種情況是:用戶當前正在使用即時通信系統進行聊天(即B1與B2已經建立了即時通信連接),本地用戶希望運行某個單機軟體並且與對端用戶實現互動,也就是說,通信流程的發起者為本端的即時通信用戶端B1,針對這一具體情況,本實施例提供另一種實現單機軟體通信的方法,流程圖如圖2所示,包括以下步驟:S201,B1與B2建立即時通信連接;在本實施中,啟動單機軟體之前,本地用戶設備已經與對端用戶設備建立了即時通信連接。The method provided in the first embodiment is the entire communication process initiated by the stand-alone software. In practical applications, a more common situation is that the user is currently using the instant messaging system for chatting (ie, B1 and B2 have been established). In the instant communication connection, the local user wants to run a certain stand-alone software and interact with the peer user, that is, the initiator of the communication process is the instant communication user B1 of the local end. For this specific case, this embodiment provides another A method for implementing single-machine software communication, the flow chart is as shown in FIG. 2, and includes the following steps: S201, B1 and B2 establish an instant communication connection; in this implementation, before starting the single-machine software, the local user equipment has been established with the peer user equipment. An instant messaging connection.

S202,B1啟動本地用戶設備中的單機軟體A1;當本地用戶希望運行某個單機軟體A1時,直接由B1來啟動A1。相當於本地的即時通信用戶端直接允許A1使用即時通信連接,因此可以省去驗證等步驟。S202, B1 starts the stand-alone software A1 in the local user equipment; when the local user wants to run a certain stand-alone software A1, A1 is directly started by B1. Equivalent to the local instant messaging client directly allows A1 to use instant messaging connection, so the verification and other steps can be omitted.

現有技術中,在即時通信用戶端中啟動軟體的方式包括兩種:1)單獨開啟一個與聊天視窗相互獨立的視窗,在獨立視窗內運行軟體;2)將聊天視窗擴大並將軟體嵌入聊天視窗運行。其中,方式1)的缺點是:軟體與聊天視窗結合性差,缺乏整體性,無法實現軟體附著聊天視窗移動,使得用戶往往無法從感知上將軟體功能與聊天視窗關聯起來。而方式2)的缺點則是軟體使用過程中無法隨時改變介面大小,靈活性較差。In the prior art, there are two ways to start the software in the instant messaging client: 1) separately opening a window independent of the chat window, running the software in the independent window; 2) expanding the chat window and embedding the software in the chat window run. Among them, the disadvantage of the mode 1) is that the software has poor combination with the chat window, lacks integrity, and cannot implement the soft-attached chat window movement, so that the user often cannot associate the software function with the chat window. The shortcoming of mode 2) is that the interface size cannot be changed at any time during the use of the software, and the flexibility is poor.

針對上述問題,本實施例提供一種在即時通信用戶端中啟動軟體的方式:B1在當前已有即時通信聊天窗口的基礎上,創建一個聊天窗口的擴展窗口,並在擴展窗口中啟動A1,這樣做的好處如下:In response to the above problem, the embodiment provides a method for starting the software in the instant messaging client: B1 creates an extension window of the chat window based on the current instant messaging chat window, and starts A1 in the extended window, so that The benefits are as follows:

1)A1運行過程中,當因為功能介面切換需要改變自身尺寸大小時,即可向由B1管理的擴展窗口發出請求。擴展窗口接收到A1發來的尺寸改變請求後,立即調整自身尺寸以適應A1的功能介面變化。擴展視窗的自適應尺寸變化不限次數及頻率,可以隨時根據A1的請求進行。1) During the operation of A1, when it is necessary to change its size due to the function interface switching, a request can be made to the extended window managed by B1. After receiving the size change request from A1, the extended window adjusts its size to adapt to the functional interface change of A1. The adaptive size change of the extended window is unlimited and frequency, and can be performed at any time according to the request of A1.

2)在同一擴展視窗中,可以同時載入多個軟體,其中,既可以包括有網路功能需求的軟體,也可以包括普通的單機軟體。各個軟體並行工作,互不影響。例如,在擴展視窗中已經存在A1運行的情況下,如果用戶基於該擴展視窗啟動另一個軟體A11,則A11可以與A1同時並行運行,用戶可以通過擴展視窗上的切換裝置切換兩個軟體的功能操作介面,切換過程中,擴展視窗可以始終自適應用戶當前正在使用的軟體介面尺寸變化而調整。2) In the same extended window, multiple softwares can be loaded at the same time, which can include software with network function requirements, and can also include ordinary stand-alone software. Each software works in parallel and does not affect each other. For example, if there is already an A1 running in the extended window, if the user starts another software A11 based on the extended window, A11 can run concurrently with A1, and the user can switch the functions of the two softwares through the switching device on the extended window. The operation interface, during the switching process, the extended window can always be adjusted to adapt to the software interface size change currently being used by the user.

可以理解的是,即時通信用戶端也可以在不同的擴展視窗中啟動本地用戶設備中的多個單機軟體,本實施例對此並不進行限制。It can be understood that the instant messaging client can also activate a plurality of single-machine software in the local user equipment in different extended windows, which is not limited in this embodiment.

3)擴展窗口可以與聊天窗口整體移動,也可獨立移動。在擴展視窗中已經存在軟體運行的情況下,如果用戶拖動聊天視窗位置,則擴展窗口可以附著跟隨聊天窗口一同改變位置,擴展視窗和聊天視窗之間的相對位置不發生變化。如果用戶將擴展窗口拖離聊天窗口,則之後聊天窗口的位置變化與擴展窗口位置變化相互獨立、互不影響。用戶可以將擴展視窗拖動至螢幕任意位置使用。3) The extended window can be moved as a whole with the chat window or independently. In the case where the software is already running in the extended window, if the user drags the chat window position, the extended window can be attached to change the position along with the chat window, and the relative position between the extended window and the chat window does not change. If the user drags the extended window away from the chat window, then the change of the position of the chat window and the change of the extended window position are independent of each other and do not affect each other. Users can drag the extended window to any position on the screen.

S203,B1向B2發送單機軟體通信請求。S203: B1 sends a single-machine software communication request to B2.

B1啟動A1之後,向對端用戶設備的B2發送單機軟體通信請求,在請求中,需要攜帶單機軟體A1的標識,以便B2可以啟動與A1相同的軟體。After B1 starts A1, it sends a single-machine software communication request to B2 of the peer user equipment. In the request, it needs to carry the identifier of the single-machine software A1, so that B2 can start the same software as A1.

本步驟可以由用戶觸發執行,也可以由B1自動執行。其中,在B1自動執行的情況下,由於B1所啟動的軟體可能是有網路功能需求的軟體,也可能是普通的單機軟體,因此,B1可以首先檢測A1是否需要用戶通過網路互動使用,如果是,再向B2發送單機軟體通信請求。This step can be triggered by the user or automatically by B1. In the case of automatic execution of B1, since the software activated by B1 may be a software with network function requirements, or may be an ordinary single-machine software, B1 may first detect whether A1 requires users to interact through the network. If yes, send a separate software communication request to B2.

S204,B2接收該單機軟體通信請求;根據該單機軟體通信請求中攜帶的單機軟體標識,啟動本地用戶設備中的單機軟體A2;其中,啟動A2的操作可以由B2自動執行,也可以由B2向用戶發出提示資訊,由用戶確認是否啟動。B2啟動A2的方式可以與B1啟動A1的方式相同。S204. The B2 receives the single-machine software communication request, and starts the single-machine software A2 in the local user equipment according to the single-machine software identifier carried in the single-machine software communication request. The operation of starting the A2 may be performed automatically by the B2 or by the B2 direction. The user sends a prompt message, and the user confirms whether to start. B2 can start A2 in the same way as B1 starts A1.

本步驟中,如果B2在本機中沒有檢測到相應的軟體,可以提示用戶進行下載,當然也可以拒絕B1所發送的軟體通信請求。In this step, if B2 does not detect the corresponding software in the machine, the user may be prompted to download, and of course, the software communication request sent by B1 may be rejected.

S205,B2啟動A2後,向B1發送單機軟體通信請求回應。S205. After B2 starts A2, it sends a single-machine software communication request response to B1.

至此,A1與A2就可以使用B1與B2所建立的即時通信連接進行通信。At this point, A1 and A2 can communicate using the instant messaging connection established by B1 and B2.

在本實施例中,針對通信雙方當前已經存在即時通信連接的實際情況,由即時通信用戶端發起整個通信流程,與實施例一相比,可以在不損失通信可靠性的前提下,省去驗證以及一些本地交互流步驟流程。另一方面,本實施例還提供一種在擴展視窗中啟動軟體的方法,以實現更好的用戶體驗。In this embodiment, the actual communication process is initiated by the instant communication user terminal, and the verification process can be omitted without losing communication reliability. And some local interactive flow step processes. On the other hand, the embodiment also provides a method for starting the software in the extended window to achieve a better user experience.

實施例三:Embodiment 3:

相應於上面的方法實施例一,本申請還提供一種實現單機軟體通信的裝置,位於本地用戶設備與對端用戶設備中,參見圖3所示,該裝置包括:連接建立單元310,用於建立本地用戶設備與對端用戶設備建立的即時通信連接;請求接收單元320,用於接收本地用戶設備中的單機軟體A1發送的通信請求;驗證通信單元330,用於對A1進行驗證,如果驗證通過,則允許A1與對端用戶設備中的單機軟體A2使用該即時通信連接進行通信;其中,該單機軟體A1與單機軟體A2為相同軟體。Corresponding to the above method embodiment 1, the present application further provides a device for implementing single-machine software communication, which is located in a local user equipment and a peer user equipment. Referring to FIG. 3, the apparatus includes: a connection establishing unit 310, configured to establish An instant communication connection established between the local user equipment and the peer user equipment; the request receiving unit 320 is configured to receive a communication request sent by the single-machine software A1 in the local user equipment; and the verification communication unit 330 is configured to verify the A1, if the verification is passed The A1 and the single-machine software A2 in the peer user equipment are allowed to communicate using the instant communication connection; wherein the single-machine software A1 and the single-machine software A2 are the same software.

實施例四:Embodiment 4:

相應於上面的方法實施例二,本申請還提供另一種實現單機軟體通信的裝置,位於本地用戶設備與對端用戶設備中,參見圖4所示,該裝置包括:連接建立單元410、單機軟體啟動單元420、請求發送單元430和請求接收單元440;該連接建立單元410,用於建立本地用戶設備與對端用戶設備的即時通信連接;在本地用戶設備側:該單機軟體啟動單元420,用於啟動本地的單機軟體A1;該請求發送單元430,用於向對端用戶設備發送單機軟體通信請求,該單機軟體通信請求中,攜帶該單機軟體A1的標識;在對端用戶設備側:該請求接收單元440,用於接收該單機軟體通信請求;該單機軟體啟動單元420,用於根據該單機軟體通信請求中攜帶的單機軟體標識,啟動本地的單機軟體A2;該單機軟體A1與單機軟體A2使用該連接建立單元建立的即時通信連接進行通信。Corresponding to the foregoing method embodiment 2, the present application further provides another apparatus for implementing single-machine software communication, which is located in a local user equipment and a peer user equipment. Referring to FIG. 4, the apparatus includes: a connection establishing unit 410, and a stand-alone software. The initiating unit 420, the request sending unit 430, and the request receiving unit 440; the connection establishing unit 410 is configured to establish an instant communication connection between the local user equipment and the peer user equipment; on the local user equipment side: the single-machine software starting unit 420, The local device software A1 is activated. The request sending unit 430 is configured to send a single-machine software communication request to the peer user equipment. The single-machine software communication request carries the identifier of the single-machine software A1. On the opposite user equipment side: The request receiving unit 440 is configured to receive the single-machine software communication request. The single-machine software startup unit 420 is configured to start the local single-machine software A2 according to the single-machine software identifier carried in the single-machine software communication request; the single-machine software A1 and the stand-alone software A2 communicates using the instant messaging connection established by the connection establishment unit.

其中,該單機軟體啟動單元420,具體可以包括:擴展視窗創建子單元,用於創建即時通信聊天視窗的擴展視窗;啟動子單元,用於在該擴展視窗中啟動單機軟體。The single-machine software starting unit 420 may specifically include: an extended window creating sub-unit for creating an extended window of the instant messaging chat window; and activating sub-unit for starting the stand-alone software in the extended window.

為了描述的方便,描述以上裝置時以功能分為各種單元分別描述。當然,在實施本申請時可以把各單元的功能在同一個或多個軟體和/或硬體中實現。For the convenience of description, the above devices are described separately by function into various units. Of course, the functions of each unit can be implemented in the same software or software and/or hardware in the implementation of the present application.

通過以上的實施方式的描述可知,本領域的技術人員可以清楚地瞭解到本申請可借助軟體加必需的通用硬體平臺的方式來實現。基於這樣的理解,本申請的技術方案本質上或者說對現有技術做出貢獻的部分可以以軟體產品的形式體現出來,該電腦軟體產品可以儲存在儲存媒體中,如ROM/RAM、磁碟、光碟等,包括若干指令用以使得一台電腦設備(可以是個人電腦,伺服器,或者網路設備等)執行本申請各個實施例或者實施例的某些部分所述的方法。As can be seen from the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of a software plus a necessary universal hardware platform. Based on such understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in the form of a software product, which can be stored in a storage medium such as a ROM/RAM, a disk, A disc or the like includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present application or portions of the embodiments.

本說明書中的各個實施例均採用遞進的方式描述,各個實施例之間相同相似的部分互相參見即可,每個實施例重點說明的都是與其他實施例的不同之處。尤其,對於裝置實施例而言,由於其基本相似於方法實施例,所以描述得比較簡單,相關之處參見方法實施例的部分說明即可。以上所描述的裝置實施例僅僅是示意性的,其中所述作為分離部件說明的單元可以是或者也可以不是物理上分開的,作為單元顯示的部件可以是或者也可以不是物理單元,即可以位於一個地方,或者也可以分佈到多個網路單元上。可以根據實際的需要選擇其中的部分或者全部模組來實現本實施例方案的目的。本領域普通技術人員在不付出創造性勞動的情況下,即可以理解並實施。The various embodiments in the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment. The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.

本申請可用於眾多通用或專用的計算系統環境或配置中。例如:個人電腦、伺服器電腦、手持設備或攜帶型設備、平板型設備、多處理器系統、基於微處理器的系統、置頂盒、可編程的消費電子設備、網路PC、小型電腦、大型電腦、包括以上任何系統或設備的分散式計算環境等等。This application can be used in a variety of general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, small computers, large Computer, decentralized computing environment including any of the above systems or devices, and so on.

本申請可以在由電腦執行的電腦可執行指令的一般上下文中描述,例如程式模組。一般地,程式模組包括執行特定任務或實現特定抽象資料類型的常式、程式、物件、元件、資料結構等等。也可以在分散式計算環境中實踐本申請,在這些分散式計算環境中,由通過通信網路而被連接的遠端處理設備來執行任務。在分散式計算環境中,程式模組可以位於包括儲存設備在內的本地和遠端電腦儲存媒體中。The application can be described in the general context of computer-executable instructions executed by a computer, such as a program module. Generally, a program module includes routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types. The present application can also be practiced in a distributed computing environment where tasks are performed by remote processing devices that are connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media, including storage devices.

以上所述僅是本申請的具體實施方式,應當指出,對於本技術領域的普通技術人員來說,在不脫離本申請原理的前提下,還可以做出若干改進和潤飾,這些改進和潤飾也應視為本申請的保護範圍。The above description is only a specific embodiment of the present application, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present application. It should be considered as the scope of protection of this application.

310...連接建立單元310. . . Connection establishment unit

320...請求接收單元320. . . Request receiving unit

330...驗證通信單元330. . . Verify communication unit

410...連接建立單元410. . . Connection establishment unit

420...單機軟體啟動單元420. . . Stand-alone software starter unit

430...請求發送單元430. . . Request sending unit

440...請求接收單元440. . . Request receiving unit

為了更清楚地說明本申請實施例或現有技術中的技術方案,下面將對實施例或現有技術描述中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本申請中記載的一些實施例,對於本領域普通技術人員來講,在不付出創造性勞動的前提下,還可以根據這些附圖獲得其他的附圖。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings to be used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only Some of the embodiments described in the application can be used to obtain other drawings based on these drawings without departing from the prior art.

圖1為本申請實施例一的實現單機軟體通信方法的流程圖;1 is a flowchart of a method for implementing single-machine software communication according to Embodiment 1 of the present application;

圖2為本申請實施例二的實現單機軟體通信方法的流程圖;2 is a flowchart of a method for implementing single-machine software communication according to Embodiment 2 of the present application;

圖3為本申請實施例三的實現單機軟體通信裝置的結構示意圖;3 is a schematic structural diagram of a single-machine software communication device according to Embodiment 3 of the present application;

圖4為本申請實施例四的實現單機軟體通信裝置的結構示意圖。FIG. 4 is a schematic structural diagram of a device for implementing a single-machine software communication according to Embodiment 4 of the present application.

Claims (10)

一種實現單機軟體通信的方法,其特徵在於,包括:由第一用戶設備中的即時通信用戶端B1與第二用戶設備中的即時通信用戶端B2建立該第一用戶設備與第二用戶設備之間的即時通信連接,該第一用戶設備與第二用戶設備互為對端設備;實施第一用戶設備中的單機軟體A1與該第一用戶設備中的即時通信用戶端B1之間的雙向連接相容性檢查,該雙向連接相容性檢查包括,透過確定當前用戶的身分來判斷該第一用戶設備中的單機軟體A1是否經驗證可使用該第一用戶設備中的即時通信用戶端B1,並判斷該第一用戶設備中的單機軟體A1是否與該第一用戶設備中的即時通信用戶端B1相容,以正確地使用該第一用戶設備中的即時通信用戶端B1所建立的即時通信連接來與第二用戶設備中的單機軟體A2進行通信;允許該第一用戶設備中的單機軟體A1使用該即時通信連接,與該第二用戶設備中的單機軟體A2進行通信;其中,該第一用戶設備中的單機軟體A1與該第二用戶設備中的單機軟體A2為相同軟體。 A method for implementing single-machine software communication, comprising: establishing, by the instant communication user B1 in the first user equipment and the instant communication user B2 in the second user equipment, the first user equipment and the second user equipment An instant communication connection between the first user equipment and the second user equipment as a peer device; implementing a two-way connection between the single-machine software A1 in the first user equipment and the instant communication user B1 in the first user equipment a compatibility check, the determining, by determining the identity of the current user, whether the single-machine software A1 in the first user equipment is verified to use the instant communication client B1 in the first user equipment, And determining whether the single-machine software A1 in the first user equipment is compatible with the instant communication user B1 in the first user equipment, so as to correctly use the instant communication established by the instant communication user B1 in the first user equipment. Connecting to communicate with the stand-alone software A2 in the second user equipment; allowing the stand-alone software A1 in the first user equipment to use the instant communication connection, and The single-machine software A2 in the second user equipment communicates with the single-machine software A1 in the first user equipment, and the single-machine software A2 in the second user equipment is the same software. 根據申請專利範圍第1項所述的方法,另外包括:B1接收A1發送的通信請求。 According to the method of claim 1, the method further comprises: B1 receiving a communication request sent by A1. 根據申請專利範圍第2項所述的方法,其中,該通信請求中攜帶該第二用戶設備的標識,其中允許A1使用 該即時通信連接與A2進行通信,包括:根據該第二用戶設備的標識,檢測B1與B2當前是否存在即時通信連接;如果是,則允許A1與A2使用該當前的即時通信連接進行通信;如果否,則B1根據該第二用戶設備的標識與B2建立即時通信連接,並允許A1與A2使用所建立的即時通信連接進行通信。 The method of claim 2, wherein the communication request carries an identifier of the second user equipment, wherein A1 is allowed to be used. The instant messaging connection communicates with the A2, including: detecting, according to the identifier of the second user equipment, whether there is an instant communication connection between B1 and B2; if yes, allowing A1 and A2 to communicate using the current instant messaging connection; No, B1 establishes an instant communication connection with B2 according to the identity of the second user equipment, and allows A1 and A2 to communicate using the established instant messaging connection. 根據申請專利範圍第1項所述的方法,其中,允許A1使用該即時通信連接與A2進行通信,包括:B1與B2建立即時通信連接;B1啟動本地用戶設備中的單機軟體A1;向B2發送單機軟體通信請求,該單機軟體通信請求中,攜帶該單機軟體A1的標識;B2接收該單機軟體通信請求;根據該單機軟體通信請求中攜帶的單機軟體標識,啟動本地用戶設備中的單機軟體A2;及A1與A2使用B1與B2所建立的即時通信連接進行通信。 The method of claim 1, wherein A1 is allowed to communicate with A2 using the instant messaging connection, including: B1 establishes an instant communication connection with B2; B1 activates the stand-alone software A1 in the local user equipment; and sends to the B2 The single-machine software communication request, the single-machine software communication request carries the identifier of the single-machine software A1; the B2 receives the single-machine software communication request; and starts the single-machine software A2 in the local user equipment according to the single-machine software identifier carried in the single-machine software communication request And A1 and A2 communicate using the instant messaging connection established by B1 and B2. 根據申請專利範圍第4項所述的方法,其中,該即時通信用戶端啟動本地用戶設備中的單機軟體,具體實現為:即時通信用戶端創建即時通信聊天視窗的擴展視窗,並在該擴展視窗中啟動單機軟體。 The method of claim 4, wherein the instant messaging client activates the stand-alone software in the local user equipment, and the specific implementation is: the instant messaging user creates an extended window of the instant messaging chat window, and the extended window is displayed in the extended window. Start the stand-alone software. 根據申請專利範圍第5項所述的方法,其中,該即時通信用戶端在擴展視窗中啟動單機軟體,包括:即時通信用戶端在相同的擴展視窗中啟動本地用戶設備中的多個單機軟體;或即時通信用戶端在不同的擴展視窗中啟動本地用戶設備中的多個單機軟體。 The method of claim 5, wherein the instant messaging client starts the stand-alone software in the extended window, comprising: the instant messaging client launching the plurality of stand-alone software in the local user device in the same extended window; Or the instant messaging client starts multiple stand-alone software in the local user equipment in different extended windows. 根據申請專利範圍第4、5或6項所述的方法,其中,B1向B2發送單機軟體通信請求之前,還包括:B1檢測A1是否需要用戶通過網路互動使用,如果是,則向B2發送單機軟體通信請求。 According to the method of claim 4, 5 or 6, wherein before B1 sends a single-machine software communication request to B2, the method further includes: B1 detecting whether A1 needs to be used by the user through network interaction, and if yes, sending to B2 Single machine software communication request. 一種實現單機軟體通信的裝置,位於本地用戶設備與對端用戶設備中,其特徵在於,該裝置包括:連接建立單元,用於建立本地用戶設備與對端用戶設備建立的即時通信連接;請求接收單元,用於接收本地用戶設備中的單機軟體A1發送的通信請求;及驗證通信單元,用於實施該本地用戶設備中的單機軟體A1與即時通信用戶端B1之間的雙向連接相容性檢查,該雙向連接相容性檢查包括,透過確定當前用戶的身分來判斷A1是否經驗證可使用B1,並判斷A1是否與B1相容,以正確地使用B1所建立的即時通信連接來與對端用戶設備中的單機軟體A2進行通信;其中,該單機軟體A1與單機軟體A2為相同軟體。 An apparatus for implementing a single-machine software communication, which is located in a local user equipment and a peer user equipment, wherein the apparatus comprises: a connection establishing unit, configured to establish an instant communication connection established between the local user equipment and the opposite user equipment; requesting to receive a unit, configured to receive a communication request sent by the single-machine software A1 in the local user equipment; and a verification communication unit, configured to implement a two-way connection compatibility check between the stand-alone software A1 and the instant communication user B1 in the local user equipment The two-way connection compatibility check includes determining whether the A1 is verified to use B1 by determining the identity of the current user, and determining whether A1 is compatible with B1, so as to correctly use the instant communication connection established by B1 to the opposite end. The single-machine software A2 in the user equipment communicates; wherein the single-machine software A1 and the stand-alone software A2 are the same software. 一種實現單機軟體通信的裝置,位於本地用戶設備 與對端用戶設備中,其特徵在於,該裝置包括連接建立單元、驗證通信單元、請求發送單元、請求接收單元和單機軟體啟動單元;該連接建立單元,用於建立本地用戶設備與對端用戶設備的即時通信連接;驗證通信單元,用於實施該本地用戶設備中的單機軟體A1與即時通信用戶端B1之間的雙向連接相容性檢查,該雙向連接相容性檢查包括,透過確定當前用戶的身分來判斷A1是否經驗證可使用B1,並判斷A1是否與B1相容,以正確地使用B1所建立的即時通信連接來與對端用戶設備中的單機軟體A2進行通信;在本地用戶設備側:該單機軟體啟動單元,用於啟動本地的單機軟體A1;該請求發送單元,用於向對端用戶設備發送單機軟體通信請求,該單機軟體通信請求中,攜帶該單機軟體A1的標識;在對端用戶設備側:該請求接收單元,用於接收該單機軟體通信請求;該單機軟體啟動單元,用於根據該單機軟體通信請求中攜帶的單機軟體標識,啟動本地的單機軟體A2;該單機軟體A1與單機軟體A2使用該連接建立單元建立的即時通信連接進行通信。 A device for implementing single-machine software communication, located in a local user equipment And the peer user equipment, wherein the apparatus comprises a connection establishing unit, a verification communication unit, a request sending unit, a request receiving unit, and a stand-alone software starting unit; the connection establishing unit is configured to establish a local user equipment and a peer user An instant communication connection of the device; a verification communication unit, configured to implement a two-way connection compatibility check between the stand-alone software A1 and the instant communication user B1 in the local user equipment, the two-way connection compatibility check includes: The user's identity to determine whether A1 is verified to use B1, and to determine whether A1 is compatible with B1, to correctly use the instant messaging connection established by B1 to communicate with the stand-alone software A2 in the peer user equipment; The device side: the single-machine software startup unit is configured to start the local single-machine software A1; the request sending unit is configured to send a single-machine software communication request to the peer user equipment, where the single-machine software communication request carries the identifier of the single-machine software A1 On the peer user equipment side: the request receiving unit is configured to receive the single-machine software communication request The stand-alone software starting unit, based on the stand-alone software for communication request identifier carried in the stand-alone software, start a local stand-alone software A2; A1 is connected to the stand-alone software used to communicate with a standalone software A2 the connection establishment unit establishes the IM. 根據申請專利範圍第9項所述的裝置,其中,該 單機軟體啟動單元,包括:擴展視窗創建子單元,用於創建即時通信聊天視窗的擴展視窗;啟動子單元,用於在該擴展視窗中啟動單機軟體。 The device of claim 9, wherein the The single-machine software startup unit includes: an extended window creation sub-unit for creating an extended window of the instant messaging chat window; and a startup sub-unit for starting the stand-alone software in the extended window.
TW099113499A 2010-04-28 2010-04-28 Method and device for realizing stand-alone software communication TWI487340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW099113499A TWI487340B (en) 2010-04-28 2010-04-28 Method and device for realizing stand-alone software communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW099113499A TWI487340B (en) 2010-04-28 2010-04-28 Method and device for realizing stand-alone software communication

Publications (2)

Publication Number Publication Date
TW201138394A TW201138394A (en) 2011-11-01
TWI487340B true TWI487340B (en) 2015-06-01

Family

ID=46759842

Family Applications (1)

Application Number Title Priority Date Filing Date
TW099113499A TWI487340B (en) 2010-04-28 2010-04-28 Method and device for realizing stand-alone software communication

Country Status (1)

Country Link
TW (1) TWI487340B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050086309A1 (en) * 2003-10-06 2005-04-21 Galli Marcio Dos S. System and method for seamlessly bringing external services into instant messaging session
US20060036692A1 (en) * 2004-08-10 2006-02-16 Microsoft Corporation Method and system of integrating instant messaging with other computer programs
TW200838227A (en) * 2007-03-02 2008-09-16 Asustek Comp Inc Method and system for monitoring and controlling voice instant messaging

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050086309A1 (en) * 2003-10-06 2005-04-21 Galli Marcio Dos S. System and method for seamlessly bringing external services into instant messaging session
US20060036692A1 (en) * 2004-08-10 2006-02-16 Microsoft Corporation Method and system of integrating instant messaging with other computer programs
TW200838227A (en) * 2007-03-02 2008-09-16 Asustek Comp Inc Method and system for monitoring and controlling voice instant messaging

Also Published As

Publication number Publication date
TW201138394A (en) 2011-11-01

Similar Documents

Publication Publication Date Title
US11336511B2 (en) Managing network connected devices
US10587728B2 (en) Method, apparatus and non-transitory computer storage medium for migrating application data between terminals
CN110351269B (en) Method for logging in open platform through third-party server
US9712486B2 (en) Techniques for the deployment and management of network connected devices
US9807600B2 (en) Mobile device management
US20200127891A9 (en) Managing network connected devices
CN105468462B (en) Method and system for interprocess communication identity verification and communication between application software
US10142425B2 (en) Session reliability for a redirected USB device
US20150113172A1 (en) Deploying and managing networked devices
WO2012130036A1 (en) Cross-application network communication method and device
WO2016184267A1 (en) Method, device, terminal and system for providing specified communication service
WO2014082558A1 (en) Server data update method and system
TWI487340B (en) Method and device for realizing stand-alone software communication
CN110784474B (en) Embedded product access authorization method and device
JP5722906B2 (en) Method and apparatus for implementing stand-alone software communication
CN105227320A (en) A kind of authorization method, server, terminal and system
CN115987546A (en) Browser security access system, method, device, equipment and storage medium
EP3903470B1 (en) Scoping the lifetime of personal devices connected to communal computing devices
CN105119801B (en) A kind of social message management method, system, user terminal and server
WO2016026332A1 (en) Login processing method, apparatus and system
TWI555350B (en) Internet computer automatic authentication and automatic connection method and its computer program, the computer can be Read the media
WO2014127651A1 (en) Methods and systems for connecting multiple devices online
Sánchez et al. Botnet-inspired architecture for interactive spaces
CN104268465A (en) Information processing method and electronic device
CN104660624B (en) File sharing method, device and mobile device