TWI675598B - Business processing method and device - Google Patents

Business processing method and device Download PDF

Info

Publication number
TWI675598B
TWI675598B TW106101951A TW106101951A TWI675598B TW I675598 B TWI675598 B TW I675598B TW 106101951 A TW106101951 A TW 106101951A TW 106101951 A TW106101951 A TW 106101951A TW I675598 B TWI675598 B TW I675598B
Authority
TW
Taiwan
Prior art keywords
client
service
message body
server
session
Prior art date
Application number
TW106101951A
Other languages
Chinese (zh)
Other versions
TW201828727A (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 TW106101951A priority Critical patent/TWI675598B/en
Publication of TW201828727A publication Critical patent/TW201828727A/en
Application granted granted Critical
Publication of TWI675598B publication Critical patent/TWI675598B/en

Links

Abstract

本發明提供一種業務處理方法和裝置,其中方法包括:接收會話中的第一客戶端發送的業務請求,該業務請求用於請求與處於同一會話中的其他客戶端共同執行目標業務;並獲取該第一客戶端確定的目標業務對應的業務操作對象;產生包括該業務操作對象的消息體以及消息體對應的消息體標識,並將該消息體和消息體標識發送至會話中的各個客戶端;獲取該其他客戶端中的第二客戶端通過消息體發送的對應目標業務的業務資訊,並建立該業務資訊與第一客戶端的對應關係;在接收到該第一客戶端的業務處理指示時,通過該第一客戶端根據第一客戶端的業務資訊以及該第二客戶端的業務資訊執行該目標業務。本發明提高了業務處理效率。 The invention provides a service processing method and device, wherein the method includes: receiving a service request sent by a first client in a session, the service request being used to request a target service to be executed jointly with other clients in the same session; and obtaining the service A business operation object corresponding to the target service determined by the first client; generating a message body including the business operation object and a message body identifier corresponding to the message body, and sending the message body and the message body identifier to each client in the session; Obtain the business information of the target client corresponding to the target service sent by the second client of the other clients through the message body, and establish the corresponding relationship between the service information and the first client; when receiving the service processing instruction of the first client, The first client executes the target service according to the service information of the first client and the service information of the second client. The invention improves service processing efficiency.

Description

業務處理方法和裝置    Business processing method and device   

本發明關於網路技術,特別關於一種業務處理方法和裝置。 The present invention relates to network technologies, and in particular, to a service processing method and device.

目前人們經常使用移動終端進行各種應用,例如,可以使用移動終端上網、交水電費、或者購物等。有時不同的用戶可能需要使用相同的應用,處理相同的業務,此時可以由其中一人代為大家一起處理,可以稱為代理人。相關技術中,其他人需要將自己的要處理的業務資訊告知代理人,由代理人將每個人的業務資訊都整理一次,然後一次性執行該業務。這種方式使得業務處理效率較低。 At present, people often use mobile terminals for various applications, for example, they can use mobile terminals to access the Internet, pay utility bills, or shop. Sometimes different users may need to use the same application to process the same business. At this time, one of them can handle it for everyone, which can be called an agent. In the related technology, others need to inform the agent of the business information to be processed, and the agent arranges the business information of each person once, and then executes the business at one time. This approach makes business processing less efficient.

有鑑於此,本發明提供一種業務處理方法和裝置,以提高業務處理效率。 In view of this, the present invention provides a service processing method and device to improve service processing efficiency.

具體地,本發明是通過如下技術方案實現的:第一方面,提供一種業務處理方法,該方法應用於伺服器,包括: 接收會話中的第一客戶端發送的業務請求,該業務請求用於請求與處於同一會話中的其他客戶端共同執行目標業務;並獲取該第一客戶端確定的目標業務對應的業務操作對象;產生包括該業務操作對象的消息體以及該消息體對應的消息體標識,並將該消息體和消息體標識發送至該會話中的各個客戶端;獲取該其他客戶端中的第二客戶端通過該消息體發送的對應目標業務的業務資訊,並建立該業務資訊與第一客戶端的對應關係;在接收到該第一客戶端的業務處理指示時,通過該第一客戶端根據第一客戶端的業務資訊以及該第二客戶端的業務資訊執行該目標業務。 Specifically, the present invention is implemented by the following technical solution. In a first aspect, a service processing method is provided. The method is applied to a server and includes: receiving a service request sent by a first client in a session, where the service request is used for Request to execute the target service together with other clients in the same session; and obtain a business operation object corresponding to the target service determined by the first client; generate a message body including the business operation object and a message body identifier corresponding to the message body And send the message body and the message body identifier to each client in the session; obtain the business information corresponding to the target service sent by the second client of the other clients through the message body, and establish the service information and Correspondence between the first client; when receiving the service processing instruction of the first client, the target client is executed by the first client according to the service information of the first client and the service information of the second client.

第二方面,提供一種業務處理方法,該方法應用於會話中的第一客戶端,該方法包括:向伺服器發送業務請求,該業務請求用於請求與處於同一會話中的其他客戶端共同執行目標業務;獲取對應該目標業務的業務操作對象發送至該伺服器,以使得該伺服器產生包括該業務操作對象的消息體發送至該會話中的各個客戶端;接收該伺服器發送的該其他客戶端中的第二客戶端通過該消息體發送的對應目標業務的業務資訊;向該伺服器發送業務處理指示,該業務處理指示用於指示伺服器根據第一客戶端的業務資訊以及該第二客戶端 的業務資訊處理該目標業務。 In a second aspect, a service processing method is provided. The method is applied to a first client in a session. The method includes: sending a service request to a server, where the service request is used to request co-execution with other clients in the same session. Target business; obtain a business operation object corresponding to the target business and send it to the server, so that the server generates a message body including the business operation object and sends it to each client in the session; receive the other sent by the server The second client in the client sends service information corresponding to the target service through the message body; sends a service processing instruction to the server, the service processing instruction is used to instruct the server to use the service information of the first client and the second client The service information of the client processes the target service.

第三方面,提供一種業務處理方法,該方法應用於會話中的第二客戶端,該方法包括:通過消息體訪問對應該目標業務的業務操作對象,該業務操作對象是處於同一會話中的第一客戶端確定;向伺服器發送對應該目標業務的業務資訊,並攜帶該消息體的消息體標識,以使得該伺服器根據該消息體標識建立該業務資訊與該第一客戶端的對應關係。 According to a third aspect, a service processing method is provided. The method is applied to a second client in a session. The method includes: accessing, through a message body, a business operation object corresponding to a target service, where the business operation object is the first in a same session. A client determines; sends service information corresponding to the target service to the server, and carries a message body identifier of the message body, so that the server establishes a correspondence between the service information and the first client according to the message body identifier.

第四方面,提供一種業務處理裝置,該裝置應用於伺服器,包括:請求接收模組,用於接收會話中的第一客戶端發送的業務請求,該業務請求用於請求與處於同一會話中的其他客戶端共同執行目標業務;並獲取該第一客戶端確定的目標業務對應的業務操作對象;消息發送模組,用於產生包括該業務操作對象的消息體以及該消息體對應的消息體標識,並將該消息體和消息體標識發送至該會話中的各個客戶端;關聯綁定模組,用於獲取該其他客戶端中的第二客戶端通過該消息體發送的對應目標業務的業務資訊,並建立該業務資訊與第一客戶端的對應關係;業務處理模組,用於在接收到該第一客戶端的業務處理指示時,通過該第一客戶端根據第一客戶端的業務資訊以及該第二客戶端的業務資訊執行該目標業務。 According to a fourth aspect, a service processing device is provided. The device is applied to a server and includes a request receiving module for receiving a service request sent by a first client in a session. The service request is used for requesting to be in the same session as a service request. Other clients jointly execute the target service; and obtain a business operation object corresponding to the target service determined by the first client; a message sending module for generating a message body including the business operation object and a message body corresponding to the message body Identification, and send the message body and message body identification to each client in the session; the associated binding module is used to obtain the corresponding target service sent by the second client among the other clients through the message body Business information, and establish a corresponding relationship between the business information and the first client; a business processing module, configured to receive the business processing instruction of the first client through the first client according to the business information of the first client and The service information of the second client executes the target service.

第五方面,提供一種業務處理裝置,該裝置應用於會 話中的第一客戶端,該裝置包括:請求發送模組,用於向伺服器發送業務請求,該業務請求用於請求與處於同一會話中的其他客戶端共同執行目標業務;對象上報模組,用於獲取對應該目標業務的業務操作對象發送至該伺服器,以使得該伺服器產生包括該業務操作對象的消息體發送至該會話中的各個客戶端;資訊接收模組,用於接收該伺服器發送的該其他客戶端中的第二客戶端通過該消息體發送的對應目標業務的業務資訊;處理指示模組,用於向該伺服器發送業務處理指示,該業務處理指示用於指示該伺服器根據第一客戶端的業務資訊以及該第二客戶端的業務資訊處理該目標業務。 According to a fifth aspect, a service processing device is provided. The device is applied to a first client in a session. The device includes a request sending module for sending a service request to a server, and the service request is used for requesting to be in the same session as a server. The other clients in the system jointly execute the target business; the object reporting module is used to obtain the business operation object corresponding to the target business and send it to the server, so that the server generates a message body including the business operation object and sends it to the server. Each client in the session; an information receiving module for receiving service information corresponding to the target service sent by the second client of the other clients sent by the server through the message body; a processing instruction module for A service processing instruction is sent to the server, and the service processing instruction is used to instruct the server to process the target service according to the service information of the first client and the service information of the second client.

第六方面,提供一種業務處理裝置,該裝置應用於會話中的第二客戶端,該裝置包括:對象訪問模組,用於通過消息體訪問對應該目標業務的業務操作對象,該業務操作對象是處於同一會話中的第一客戶端確定;資訊發送模組,用於向伺服器發送對應該目標業務的業務資訊,並攜帶該消息體的消息體標識,以使得該伺服器根據該消息體標識建立該業務資訊與該第一客戶端的對應關係。 According to a sixth aspect, a service processing device is provided. The device is applied to a second client in a session. The device includes an object access module for accessing a service operation object corresponding to a target service through a message body. The service operation object It is determined by the first client in the same session; the information sending module is used to send the service information corresponding to the target service to the server, and carry the message body identifier of the message body, so that the server can The identifier establishes a correspondence between the service information and the first client.

本發明提供的業務處理方法和裝置,通過由伺服器將包含業務操作對象的消息體分發給各個客戶端,使得客戶 端通過該消息體發送目標業務的業務資訊,並且伺服器可以將該業務資訊與確定業務操作對象的第一客戶端建立對應關係,從而使得第一客戶端可以根據各客戶端的業務資訊執行目標業務,這種自動建立業務資訊與客戶端綁定關係的方式,提高了業務處理效率。 The service processing method and device provided by the present invention distribute a message body including a business operation object to each client by a server, so that the client sends service information of a target service through the message body, and the server can use the service information Establish a corresponding relationship with the first client that determines the business operation object, so that the first client can execute the target service according to the business information of each client. This method of automatically establishing a binding relationship between business information and the client improves business processing. effectiveness.

11‧‧‧用戶A 11‧‧‧User A

12‧‧‧用戶B 12‧‧‧User B

13‧‧‧用戶C 13‧‧‧User C

14‧‧‧伺服器 14‧‧‧Server

201~204‧‧‧步驟 201 ~ 204‧‧‧step

301~304‧‧‧步驟 301 ~ 304‧‧‧ steps

401、402‧‧‧步驟 Steps 401, 402‧‧‧‧

501~511‧‧‧步驟 501 ~ 511‧‧‧step

1201‧‧‧請求接收模組 1201‧‧‧Request receiving module

1202‧‧‧消息發送模組 1202‧‧‧Message sending module

1203‧‧‧關聯綁定模組 1203‧‧‧Associated binding module

1204‧‧‧業務處理模組 1204‧‧‧Business Processing Module

1205‧‧‧資訊更新模組 1205‧‧‧Information Update Module

1401‧‧‧請求發送模組 1401‧‧‧Request sending module

1402‧‧‧對象上報模組 1402‧‧‧ Object reporting module

1403‧‧‧資訊接收模組 1403‧‧‧Information receiving module

1404‧‧‧處理指示模組 1404‧‧‧Processing instruction module

1501‧‧‧對象訪問模組 1501‧‧‧ Object Access Module

1502‧‧‧資訊發送模組 1502‧‧‧Information sending module

圖1是本發明一示例性實施例示出的一種業務處理的應用系統架構;圖2是本發明一示例性實施例示出的一種業務處理方法的流程圖;圖3是本發明一示例性實施例示出的另一種業務處理方法的流程圖;圖4是本發明一示例性實施例示出的又一種業務處理方法的流程圖;圖5是本發明一示例性實施例示出的又一種業務處理方法的流程圖;圖6是本發明一示例性實施例示出的一種應用示意圖;圖7是本發明一示例性實施例示出的另一種應用示意圖;圖8是本發明一示例性實施例示出的又一種應用示意圖;圖9是本發明一示例性實施例示出的又一種應用示意 圖;圖10是本發明一示例性實施例示出的又一種應用示意圖;圖11是本發明一示例性實施例示出的又一種應用示意圖;圖12是本發明一示例性實施例示出的一種業務處理裝置的結構圖;圖13是本發明一示例性實施例示出的另一種業務處理裝置的結構圖;圖14是本發明一示例性實施例示出的又一種業務處理裝置的結構圖;圖15是本發明一示例性實施例示出的又一種業務處理裝置的結構圖。 FIG. 1 is an application system architecture of a service process according to an exemplary embodiment of the present invention; FIG. 2 is a flowchart of a service process method according to an exemplary embodiment of the present invention; and FIG. 3 is an exemplary embodiment of the present invention. FIG. 4 is a flowchart of another service processing method according to an exemplary embodiment of the present invention; FIG. 5 is a flowchart of another service processing method according to an exemplary embodiment of the present invention Flowchart; FIG. 6 is a schematic diagram of an application shown in an exemplary embodiment of the present invention; FIG. 7 is another schematic diagram of an application shown in an exemplary embodiment of the present invention; FIG. 8 is another Application schematic diagram; FIG. 9 is another application schematic diagram according to an exemplary embodiment of the present invention; FIG. 10 is another application schematic diagram according to an exemplary embodiment of the present invention; FIG. 11 is another exemplary embodiment of the present invention; An application schematic diagram; FIG. 12 is a structural diagram of a service processing device according to an exemplary embodiment of the present invention; FIG. 13 is an exemplary embodiment of the present invention FIG. 14 is a structural diagram of another service processing apparatus according to an exemplary embodiment of the present invention; FIG. 15 is a structural diagram of another service processing apparatus according to an exemplary embodiment of the present invention Structure diagram.

這裡將詳細地對示例性實施例進行說明,其示例表示在圖式中。下面的描述涉及圖式時,除非另有表示,不同圖式中的相同數字表示相同或相似的要素。以下示例性實施例中所描述的實施方式並不代表與本發明相一致的所有實施方式。相反,它們僅是與如所附申請專利範圍中所詳述的、本發明的一些方面相一致的裝置和方法的例子。 Exemplary embodiments will be described in detail here, examples of which are illustrated in the drawings. When the following description refers to drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present invention. Rather, they are merely examples of devices and methods consistent with aspects of the invention as detailed in the scope of the appended patent application.

當遇到多人需要執行同一個業務時,本發明實施例的業務處理方法可以使得業務的執行更加便捷。例如,在多人執行同一個業務時,需要有其中一人來執行,可以稱為 代理人,其他人可以將自己的業務資訊告知該代理人;而本實施例的業務處理方法的執行,將使得其他人操作完自己的業務資訊後,代理人將可以自動收到該業務資訊,並且業務資訊到代理人以後將作為可執行的形式,代理人可以直接根據該資訊執行業務,不需要代理人再輸入一次該業務資訊才能執行業務。 When multiple people need to execute the same service, the service processing method of the embodiment of the present invention can make the execution of the service more convenient. For example, when multiple people execute the same business, one of them needs to execute it, which can be called an agent, and others can inform their agents of their business information; and the execution of the business processing method of this embodiment will make After other people have completed their own business information, the agent will automatically receive the business information, and the business information will be executable after the agent arrives. The agent can directly perform the business based on the information, and the agent is no longer required. Enter this business information once to execute the business.

圖1示例了在該業務處理方法中應用的系統架構,如圖1所示,假設用戶A、用戶B和用戶C這幾個用戶想要共同執行一項業務,例如,其各自在智慧手機上安裝了社交客戶端,用戶A使用客戶端a11,用戶B使用客戶端b12,用戶C使用客戶端c13,而伺服器14可以為社交伺服器,通過社交伺服器與各個客戶端之間的互動,用戶A至用戶C可以進行社交會話,例如,具體可以是這幾個用戶正在聊天。那麼本實施例的業務處理方法,將在用戶會話的過程中完成對業務的執行。 Figure 1 illustrates the system architecture applied in this service processing method. As shown in Figure 1, suppose that users A, B, and C want to execute a service together. For example, each of them is on a smart phone. A social client is installed, user A uses client a11, user B uses client b12, user C uses client c13, and server 14 can be a social server, which interacts with various clients through the social server, The users A to C can have a social conversation, for example, the users may be chatting. Then the service processing method in this embodiment will complete the execution of the service during the user session.

圖2示例了在該業務處理方法中,伺服器端執行的流程,包括: Figure 2 illustrates the process performed by the server in the business processing method, including:

201、接收會話中的第一客戶端發送的業務請求,該業務請求用於請求與處於同一會話中的其他客戶端共同執行目標業務;並獲取該第一客戶端確定的目標業務對應的業務操作對象;例如,在本步驟中,第一客戶端即為業務的執行者,比如,圖1中的用戶A、用戶B和用戶C要一起在同一個店鋪買衣服進行併單,用戶B和用戶C選好要買的衣服 發給用戶A之後,由用戶A來進行下單付款,那麼用戶A就為該併單業務的執行者,即客戶端a。 201. Receive a service request sent by a first client in a session, where the service request is used to request that a target service be executed jointly with other clients in the same session; and obtain a service operation corresponding to the target service determined by the first client. Object; for example, in this step, the first client is the executor of the service. For example, user A, user B, and user C in Figure 1 want to buy clothes together in the same store for billing, and user B and user After C selects the clothes to buy and sends them to user A, and user A makes the order payment, then user A is the performer of the merger business, that is, client a.

例如,該的處於同一會話中的其他客戶端,仍以圖1為例,那麼與用戶A處於同一會話聊天中的其他客戶端,則為用戶B和用戶C對應的客戶端。“共同執行目標業務”例如為幾個用戶一起併單購物,目標業務則為併單業務,這裡的共同執行是該多個用戶共同在同一店鋪下單,執行者可以為其中一個用戶。 For example, the other clients in the same session still use FIG. 1 as an example. Then, the other clients in the same conversation with User A are the clients corresponding to User B and User C. The "common execution of the target business" is, for example, several users shopping together, and the target business is a single business. The common execution here is that the multiple users place orders together in the same store, and the executor can be one of the users.

例如,目標業務對應的業務操作對象,如果仍以同店併單為例,目標業務為併單業務,業務操作對象則為進行併單的店鋪,比如,該多個用戶在哪個店鋪進行買衣服併單。 For example, if the business operation object corresponding to the target business still uses the same store merger as an example, the target business is the merger business, and the business operation object is the store where the merger is performed. For example, in which store are the multiple users buying clothes and single.

202、產生包括該業務操作對象的消息體以及該消息體對應的消息體標識,並將該消息體和消息體標識發送至該會話中的各個客戶端;例如,以同店鋪併單為例,消息體可以包括該店鋪(業務操作對象)的連結位址。在本步驟中,伺服器可以將消息體和標識發送至會話中的各個客戶端,比如,在圖1的示例中,伺服器13能夠得知客戶端a至客戶端c正處於會話中,比如這幾個客戶端對應的用戶A至用戶C正在聊天,那麼每個客戶端都會收到伺服器發送的上述資訊。 202. Generate a message body including the business operation object and a message body identifier corresponding to the message body, and send the message body and the message body identifier to each client in the session; for example, taking a single store as an example, The message body may include the link address of the store (business operation object). In this step, the server can send the message body and identifier to each client in the session. For example, in the example of FIG. 1, the server 13 can know that the client a to the client c are in the conversation, such as Users A to C corresponding to these clients are chatting, then each client will receive the above information sent by the server.

203、獲取該其他客戶端中的第二客戶端通過該消息體發送的對應目標業務的業務資訊,並建立該業務資訊與 第一客戶端的對應關係;例如,本步驟中,第二客戶端指的是在會話中除了業務執行者以外的其他客戶端,比如,在圖1的示例中,客戶端a的用戶A負責進行併單時的下單付款等處理,那麼用戶B和用戶C對應的客戶端b和客戶端c就可以稱為“第二客戶端”。 203: Obtain service information corresponding to the target service sent by the second client of the other clients through the message body, and establish a corresponding relationship between the service information and the first client; for example, in this step, the second client refers to It is the other clients in the session other than the business executor. For example, in the example in Figure 1, user A of client a is responsible for processing such as order payment when the order is merged, then user B corresponds to user C. Client b and client c can be called “second clients”.

例如,以併單購物為例,第二客戶端通過消息體發送業務資訊,可以是通過消息體中包括的店鋪的連結位址訪問店鋪,並通過流覽店鋪選擇要購買的商品,包括商品名稱、商品數量、顏色、型號等,都可以稱為業務資訊。 For example, in the case of combined purchase shopping, the second client sends business information through the message body. The second client can access the store through the link address of the store included in the message body, and browse the store to select the product to be purchased, including the product name. , Product quantity, color, model, etc., can all be called business information.

例如,建立該業務資訊與第一客戶端的對應關係的意思是,仍以併單購物為例,第一客戶端即用戶A對應的客戶端a,用戶A希望尋找可以併單的同伴,那麼,如果用戶B可以與用戶A一起在同一店鋪併單,那麼用戶B可以將要併單的衣服資訊上報伺服器,伺服器則將這些資訊與用戶A綁定,形象的說,伺服器可以直接將用戶B要購買的衣服資訊放入用戶A的購物車,用戶A就可以直接下單結算了。 For example, the establishment of the correspondence between the service information and the first client means that the combination shopping is still taken as an example. The first client is the client a corresponding to the user A. The user A wants to find a companion who can combine the orders. If user B and user A can merge together in the same store, then user B can report the clothing information to the server, and the server binds this information to user A. Visually speaking, the server can directly The clothing information that user B wants to buy is put into the shopping cart of user A, and user A can directly place an order and settle.

204、在接收到該第一客戶端的業務處理指示時,通過該第一客戶端根據第一客戶端的業務資訊和第二客戶端的業務資訊執行該目標業務。 204. When the service processing instruction of the first client is received, the target service is executed by the first client according to the service information of the first client and the service information of the second client.

例如,如上述的例子中,第一客戶端的用戶A是執行者,當各個同伴都選擇好要併單的寶貝(淘寶網用語)時,只有用戶A可以發送業務處理指示,比如點擊第一客戶端 的“併好了,去結算”的選項。 For example, as in the above example, user A of the first client is the executor. When each companion selects the baby to be merged (Taobao term), only user A can send business processing instructions, such as clicking the first Client's "and okay, go to checkout" option.

例如,通過第一客戶端根據第一客戶端的用戶A選擇的業務資訊和第二客戶端的用戶B選擇的業務資訊執行目標業務時,用戶A選擇的業務資訊可以是用戶A選擇的衣服詳情(如,型號、數量等),同樣,用戶B選擇的業務資訊可以是用戶B選擇的衣服詳情,其中的目標業務可以是上述的併單業務,即伺服器可以使用用戶A的帳號去下單,訂單中可以包括用戶A的寶貝資訊和用戶B的寶貝資訊。 For example, when the first client executes the target service based on the service information selected by user A of the first client and the service information selected by user B of the second client, the service information selected by user A may be the details of the clothing selected by user A (such as , Model, quantity, etc.) Similarly, the business information selected by user B can be the details of the clothing selected by user B. The target business can be the above-mentioned merger business, that is, the server can use the account of user A to place an order, and the order It can include the baby information of user A and the baby information of user B.

通過上述例子的描述可以看到,在本實施例的業務處理方法中,伺服器可以根據業務發起者選擇的業務操作對象,發佈一個消息體,只要其他客戶端訪問該消息體上報業務資訊,伺服器就可以根據業務資訊對應的消息體標識,將業務資訊與發起者的客戶端建立關聯,實現自動關聯的方式。 It can be seen from the description of the above example that, in the service processing method of this embodiment, the server may publish a message body according to the service operation object selected by the service initiator, as long as other clients access the message body to report business information, The server can associate the business information with the client of the initiator according to the message body identifier corresponding to the business information, and implement the automatic association method.

與伺服器端相配合的,會話中的第一客戶端(即業務執行者)執行的流程,可以參見圖3的示例,包括: The process performed by the first client (that is, the business executor) in the session in cooperation with the server end can refer to the example in FIG. 3, including:

301、向伺服器發送業務請求,該請求用於請求與處於同一會話中的其他客戶端共同執行目標業務;例如,用戶A可以在其智慧手機上的客戶端a,點擊某個選項以觸發向伺服器發送業務請求,比如,請求是否有同伴進行併單。 301. Send a service request to the server, which is used to request the execution of the target service with other clients in the same session; for example, user A can click on an option on client a on his smartphone to trigger a The server sends a business request, for example, whether there is a companion for the merger.

302、獲取對應目標業務的業務操作對象發送至伺服器,以使得該伺服器產生包括該業務操作對象的消息體發 送至該會話中的各個客戶端;例如,用戶A可以在客戶端a選擇需要進行併單的店鋪,即業務操作對象,發送至伺服器。伺服器可以將該店鋪分享給正在與用戶A在會話中的其他客戶端,以使得其他客戶端可以訪問該店鋪與用戶A進行併單。 302. Obtain a business operation object corresponding to the target service and send it to a server, so that the server generates a message body including the business operation object and sends it to each client in the session; for example, user A can select the client a The shop that performed the merger, that is, the business operation object, is sent to the server. The server can share the store with other clients who are in a session with user A, so that other clients can access the store and make a purchase with user A.

303、接收該伺服器發送的該其他客戶端中的第二客戶端通過該消息體發送的對應目標業務的業務資訊;例如,用戶B選擇自己要購買的寶貝後,伺服器可以將該寶貝的資訊即業務資訊發送至第一客戶端,業務資訊可以包括衣服名稱、顏色、號碼等,在本步驟中,伺服器可以將該寶貝放入用戶A的購物車中。 303. Receive the service information corresponding to the target service sent by the second client of the other clients sent by the server through the message body; for example, after user B selects the baby he wants to purchase, the server may send the baby ’s The information is business information sent to the first client. The business information may include clothes name, color, number, etc. In this step, the server may put the baby in the shopping cart of user A.

304、向伺服器發送業務處理指示,該業務處理指示用於指示伺服器根據第一客戶端的業務資訊以及該第二客戶端的業務資訊處理該目標業務。 304. Send a service processing instruction to the server, where the service processing instruction is used to instruct the server to process the target service according to the service information of the first client and the service information of the second client.

通過上述例子的描述可以看到,在本實施例的業務處理方法中,第一客戶端可以向伺服器發起業務,並且告知伺服器業務操作對象,以使得伺服器產生包括該對象的消息體,這樣其他客戶端就可以據此進行業務處理了。 It can be seen from the description of the above example that in the business processing method of this embodiment, the first client can initiate a service to the server and notify the server of the business operation object, so that the server generates a message body including the object. Then other clients can perform business processing accordingly.

與伺服器端相配合的,會話中的第二客戶端執行的流程,該第二客戶端可以是客戶端b或者客戶端c,可以參見圖4的示例,包括: In cooperation with the server, the second client in the session executes the process. The second client can be client b or client c. See the example in Figure 4, including:

401、通過消息體訪問對應目標業務的業務操作對象,該業務操作對象是處於同一會話中的第一客戶端確定; 例如,用戶B可以通過客戶端b訪問用戶A分享的店鋪位址,即該進行併單的店鋪是用戶A確定的,相當於是由第一客戶端確定,即用戶A在自己的第一客戶端上選擇確定。 401. Access a service operation object corresponding to a target service through a message body, where the service operation object is determined by a first client in the same session; for example, user B can access the store address shared by user A through client b, that is, the The shop where the merger is performed is determined by the user A, which is equivalent to being determined by the first client, that is, the user A selects and determines on his first client.

402、向伺服器發送對應該目標業務的業務資訊,並攜帶該消息體的消息體標識,以使得該伺服器根據該消息體標識建立該業務資訊與該第一客戶端的對應關係。 402: Send service information corresponding to the target service to the server, and carry a message body identifier of the message body, so that the server establishes a correspondence between the service information and the first client according to the message body identifier.

例如,用戶B在訪問店鋪時,在選擇好要併單的寶貝後,可以將寶貝資訊即業務資訊發送至伺服器。在本例子中,第二客戶端在上報業務資訊時,還攜帶消息體的消息體標識,這樣伺服器就可以據此得知用戶B是通過訪問消息體訪問店鋪,即用戶B要進行併單,而且是要與消息體對應的第一客戶端進行併單,則伺服器可以建立業務資訊與第一客戶端的對應關係。 For example, when user B visits the store, after selecting the baby to be combined, he can send baby information, that is, business information, to the server. In this example, when the second client reports the service information, it also carries the message body identifier of the message body, so that the server can know that user B is accessing the store by accessing the message body, that is, user B wants to perform Order, and the first client corresponding to the message body is required to perform the merger, the server may establish a correspondence between the service information and the first client.

通過上述例子的描述可以看到,在本實施例的業務處理方法中,第二客戶端是通過消息體訪問業務操作對象並上報業務資訊,這種方式下上報業務資訊也一同攜帶消息體的標識,從而方便伺服器根據標識建立業務資訊與第一客戶端的對應關係,實現業務資訊自動傳輸至第一客戶端。 As can be seen from the description of the above example, in the service processing method of this embodiment, the second client accesses the service operation object through the message body and reports the service information. In this way, the reported service information also carries the message body. To facilitate the server to establish the corresponding relationship between the business information and the first client according to the identification, so that the business information is automatically transmitted to the first client.

如下的例子,以同店併單為例,描述通過本實施例的業務處理方法進行同店併單的完整流程;其中,同店併單即幾個用戶在同一家網上店鋪購物,並且通過一個訂單來結算。並且,本公開實施例的同店併單,可以應用於即時 通訊等社交應用中,例如,可以在即時通訊的會話過程中,在參與同一會話的客戶端之間實現同店併單。 The following example uses the same store merger as an example to describe the complete flow of the same store merger through the business processing method of this embodiment. Among them, the same store merger is that several users make purchases in the same online store and use an order to obtain Settlement. In addition, the same store merger in the embodiments of the present disclosure can be applied to social applications such as instant messaging. For example, during the instant messaging session, the same store merger can be implemented between clients participating in the same conversation.

參見圖5所示的流程,該流程以用戶A為併單業務的發起者為例,用戶B和用戶C可以參與該併單,其中,在圖5的流程中示例了一個第二客戶端的參與,當多個第二客戶端參與時,每個客戶端也執行相同的流程,可以包括如下步驟: Referring to the process shown in FIG. 5, the process uses user A as the initiator of the merger service as an example. User B and user C can participate in the merger. The process of FIG. 5 illustrates the participation of a second client. When multiple second clients participate, each client also executes the same process, which can include the following steps:

501、用戶A通過第一客戶端向伺服器發送業務請求;例如,用戶A可以在第一客戶端上,並且可以是在第一客戶端的會話頁面中(比如,用戶B和用戶C正在與用戶A進行會話聊天),點擊了會話介面的“同店併單”應用,此時將觸發第一客戶端向伺服器發送業務請求,該請求相當於通知伺服器用戶A要找其他用戶一起進行同店併單的業務。 501. User A sends a service request to the server through the first client; for example, user A may be on the first client and may be in the session page of the first client (for example, user B and user C are communicating with the user A performs a conversation and chat), and clicks the "same shop consolidation" application in the conversation interface. At this time, the first client will be triggered to send a service request to the server. This request is equivalent to notifying the server user A to find other users to conduct the same store together and Single business.

該步驟的應用圖例可以參見圖6所示,如圖6所示,“同店併單”可以作為一種應用展示,作為同店併單業務的觸發按鈕,用戶A可以點擊該應用,即相當於觸發該觸發按鈕,以觸發業務請求的發送。 The application example of this step can be shown in Figure 6. As shown in Figure 6, "Same Store Merger" can be displayed as an application. As a trigger button for the same store merger service, user A can click the application, which is equivalent to triggering the Trigger button to trigger the sending of business requests.

502、伺服器向第一客戶端發送操作對象清單;例如,在該例子中,操作對象清單可以為用戶A收藏的店鋪資訊,參見圖7的示例,伺服器可以向第一客戶端發送該店鋪列表,以供用戶A去選擇想要進行併單的店鋪。 502. The server sends a list of operation objects to the first client; for example, in this example, the list of operation objects may be store information collected by user A. Referring to the example in FIG. 7, the server may send the store to the first client. List for user A to select the store that he wants to perform the merger.

可選的,該店鋪清單可以是伺服器自身存儲,或者由其他位置獲取。 Optionally, the store list may be stored by the server itself or obtained from another location.

503、第一客戶端向伺服器發送確定的業務操作對象;例如,假設用戶A通過第一客戶端從操作對象清單中選擇的店鋪是“Linda’s shop”,參見圖7的示例,“Linda’s shop”可以稱為對應併單業務的業務操作對象,即本次併單業務是在該店鋪進行併單。那麼第一客戶端可以將該操作對象上報伺服器。 503. The first client sends the determined business operation object to the server; for example, suppose that the shop A selected by the user A from the operation object list through the first client is "Linda's shop". See the example in Fig. 7, "Linda's shop" It can be called the business operation object corresponding to the merger business, that is, the merger business is conducted in this shop. Then the first client may report the operation object to the server.

504、伺服器可以產生包括業務操作對象的消息體,以及消息體標識;例如,該消息體中可以包括在503中確定的店鋪的連結位址,還可以包括店鋪招牌、店鋪名稱、店鋪星級等,並且,伺服器還產生該消息體對應的消息體標識,可以稱為消息體ID。 504. The server may generate a message body including a business operation object and a message body identifier. For example, the message body may include a link address of the store determined in 503, and may also include a shop signboard, a shop name, and a shop star rating. Etc. Moreover, the server also generates a message body identifier corresponding to the message body, which may be referred to as a message body ID.

505、伺服器將消息體和消息體標識發送至會話中的各個客戶端;例如,伺服器向各個客戶端發送的消息體,可以參見圖8的示例,該消息體中攜帶click事件,即用戶只要點擊該消息體,就可以進入店鋪。在客戶端a、客戶端b和客戶端c都可以看到該消息體,而且,該消息體與用戶A對應的客戶端a對應顯示,例如顯示在用戶A的頭像處。 505. The server sends the message body and the message body identifier to each client in the session. For example, for the message body sent by the server to each client, see the example in FIG. 8. The message body carries the click event, that is, the user. Just click on the message body to enter the store. The message body can be seen on the client a, the client b, and the client c, and the message body is displayed corresponding to the client a corresponding to the user A, for example, displayed on the avatar of the user A.

在將消息體分享至各個客戶端後,每個客戶端都可以根據該消息體進行併單操作;在本例子中,主要說明第二 客戶端如何進行併單。 After the message body is shared to each client, each client can perform the merge operation according to the message body; in this example, it mainly explains how the second client performs the merge.

506、第二客戶端通過消息體訪問業務操作對象,並上報業務資訊和消息體標識;例如,可以結合參見圖8,用戶B點擊了消息體,消息體中包含用戶A確定的店鋪連結位址,則用戶B可以開始訪問該店鋪,選擇自己喜歡的寶貝。並且,當用戶B進入該店鋪時,可以將消息體ID帶入店鋪,以使得後續用戶B上報在店鋪選擇的寶貝資訊時也能夠帶上該消息體ID。 506. The second client accesses the business operation object through the message body, and reports the business information and the message body identifier. For example, referring to FIG. 8, the user B clicks the message body, and the message body includes the store link position determined by the user A. Address, then user B can start to visit the store and select his favorite baby. In addition, when the user B enters the store, the message body ID can be brought into the store, so that the subsequent user B can also bring the message body ID when reporting the baby information selected at the store.

假設用戶B選中了一件衣服,參見圖9的示例,用戶B可以點擊“一起併單”,則接著可以彈出讓用戶B選擇SKU的頁面,例如用戶B可以選擇衣服的顏色、件數、號碼等資訊。 Suppose user B has selected a piece of clothing. See the example in Figure 9, user B can click "Merge together", and then a page asking user B to select the SKU will pop up. For example, user B can choose the color, number of pieces, Numbers and more.

待用戶B確定自己的寶貝資訊後,可以點擊確定,則此時第二客戶端可以向伺服器上報用戶B確定的業務資訊,例如上述的衣服名稱、顏色、件數等資訊。同時,還一起上報消息體ID,表明這些寶貝資訊是用戶B通過訪問消息體ID對應的消息體來選擇確定的。 After user B determines his own baby information, he can click OK. At this time, the second client can report the business information determined by user B to the server, such as the clothing name, color, and number of pieces. At the same time, the message body ID is also reported together, indicating that the baby information is selected and determined by user B by accessing the message body corresponding to the message body ID.

需要說明的是,在本步驟中,第二客戶端上報的用戶B確定的寶貝資訊至伺服器,與上述步驟505中分發消息體的伺服器,可以是同一個伺服器,也可以是不同的伺服器。 It should be noted that, in this step, the baby information determined by the user B reported by the second client to the server may be the same server or different from the server distributing the message body in the above step 505. Server.

例如,如果這兩個伺服器不同,那麼分發消息體的可以是社交伺服器,用於與客戶端a、客戶端b這些社交客 戶端互動,而當用戶B點擊消息體訪問店鋪的連結位址時,訪問的可以是購物伺服器,該購物伺服器存儲有店鋪資訊,並且用戶B的第二客戶端上報業務資訊和消息體標識也是向購物伺服器上報。那麼購物伺服器在得到用戶B的業務資訊和消息體標識後,可以通過某種通信介面和協定,將這些資訊轉發給社交伺服器,由社交伺服器繼續執行後續步驟。或者,如果上述是同一個伺服器,那可以直接得到資訊。 For example, if the two servers are different, the social server can be used to distribute the message body, which is used to interact with social clients such as client a and client b, and when user B clicks the message body to access the link address of the store At this time, the shopping server can be accessed. The shopping server stores the store information, and the second client of user B reports the business information and the message body identifier to the shopping server. Then, after obtaining the business information and message body identification of user B, the shopping server may forward these information to the social server through some communication interface and agreement, and the social server continues to perform the subsequent steps. Or, if the above are the same server, you can get the information directly.

此外,在上述例子中,購物伺服器在接收到用戶B的第二客戶端通過訪問消息體發送的訪問店鋪請求時,由於第二客戶端攜帶了消息體標識,購物伺服器據此可以獲知第二客戶端是在執行併單業務。則購物伺服器在向第二客戶端發送寶貝頁面時,例如圖9示例的頁面,就可以顯示“一起併單”的觸發選項,以供用戶B通過該選項發送併單指示,並進行後續的填寫SKU。 In addition, in the above example, when the shopping server receives the request to access the store sent by the second client of the user B through the access message body, because the second client carries the message body identifier, the shopping server can know the first The second client is performing the merge business. Then when the shopping server sends the baby page to the second client, such as the page shown in FIG. 9, the trigger option of “join together” can be displayed for user B to send a merger instruction through this option and perform subsequent Fill in the SKU.

507、伺服器根據消息體標識,將業務資訊與第一客戶端建立對應關係;例如,伺服器接收到第二客戶端發送的業務資訊和消息體標識後,得知該業務資訊是第二客戶端通過訪問消息體上報的,伺服器再查看該消息體是根據第一客戶端發送的業務操作對象產生的,相當於業務資訊和第一客戶端都對應該消息體標識,將業務資訊和第一客戶端建立對應關係。 507. The server establishes a correspondence relationship between the service information and the first client according to the message body identifier. For example, after receiving the service information and the message body identifier sent by the second client, the server learns that the service information is the second client. The client reports by accessing the message body, and the server checks that the message body is generated based on the business operation object sent by the first client, which is equivalent to both the service information and the first client corresponding to the message body identifier, The first client establishes a corresponding relationship.

其中,建立業務資訊和第一客戶端的對應關係,例 如,用戶A使用一個聊天軟體聊天時,該第一客戶端是用戶A的社交帳號,這個帳號只有用戶A可以操作,比如可以在該帳號下產生訂單、輸入購物位址等資訊,那麼將用戶B的業務資訊與該第一客戶端綁定,也就是說,相當於該業務資訊對應的用戶B選擇的衣服已經放入用戶A的購物車了,當用戶A通過第一客戶端輸入購物位址等產生訂單時,其中就可以包括業務資訊對應的用戶B的衣服。 The correspondence between the business information and the first client is established. For example, when the user A uses a chat software to chat, the first client is the social account of the user A, and this account can only be operated by the user A, for example, under the account Generate order, input shopping address and other information, then bind the business information of user B to the first client, that is, the clothes selected by user B corresponding to the business information have been placed in the shopping cart of user A Now, when the user A generates an order by entering a shopping address or the like through the first client terminal, the user A may include the clothes of the user B corresponding to the business information.

508、向第一客戶端發送業務資訊,並攜帶消息體標識;例如,伺服器向第一客戶端發送的業務資訊,可以不是接收到的業務資訊的全部,比如,伺服器可以只將用戶B選擇的衣服名稱或者圖片發送至第一客戶端,還包括該併單寶貝的連結位址。 508. Send the service information to the first client and carry the message body identifier. For example, the service information sent by the server to the first client may not be all of the received service information. For example, the server may only send the user B The selected clothes name or picture is sent to the first client, and also includes the link address of the combined baby.

509、第一客戶端根據消息體標識將業務資訊顯示在消息體;例如,第一客戶端根據消息體標識,可以將衣服名稱或圖片顯示在消息體,如圖10所示,消息體中增加了一個併單商品的顯示。用戶如果想查看併單商品,可以如圖10的示例,點擊加號區域,則可以直接訪問併單寶貝查看詳情。 509. The first client displays the business information in the message body according to the message body identifier. For example, the first client may display the clothes name or picture in the message body according to the message body identifier. As shown in FIG. 10, the message body is added with A combined merchandise display. If the user wants to view and order the goods, as shown in the example of FIG. 10, he can directly access the order and view the details by clicking the plus sign area.

510、第一客戶端向伺服器發送業務處理指示;例如,在大家都選擇好併單商品後,用戶A可以點擊“併好了,去結算”,相當於向伺服器發送了業務處理指 示,開始進行併單處理。參見圖11所示,用戶可以點擊,客戶端可以檢測用戶的點擊是否是要結束併單去結算處理,如果用戶點擊的是“併好了,去結算”,表示用戶要結算,那麼向伺服器發送業務處理指示。如果用戶點擊的是加號區域,表明用戶要查看寶貝。 510. The first client sends a business processing instruction to the server; for example, after everyone has selected and ordered the goods, user A can click "OK and go to settle", which is equivalent to sending a business processing instruction to the server. Begin processing and order processing. As shown in FIG. 11, the user can click, and the client can detect whether the user's click is to end and settle the order. If the user clicks "and OK, go to settle", it means that the user wants to settle, then the server Send business processing instructions. If the user clicks on the plus sign, it means that the user wants to view the baby.

示例性的,當用戶A點擊了“併好了,去結算”後,相當於開始下單,則可以彈出讓用戶填寫收貨位址、郵政編號、手機號等資訊,而此時,其他用戶參與併單的商品已經在用戶A的購物車了。 For example, when user A clicks "OK, go to checkout", which is equivalent to starting an order, the user can pop up information such as the delivery address, postal code, and mobile phone number. At this time, other users The participating products have already been placed in the shopping cart of user A.

511、伺服器通過第一客戶端根據業務資訊執行目標業務。 511. The server executes the target service according to the service information through the first client.

例如,伺服器根據第一客戶端上傳的資訊,比如在501中獲得的收貨位址、郵政編號、手機號等資訊,以及用戶A的購物車中的併單商品資訊,進行併單處理,完成訂單的下達。 For example, the server performs the merge processing based on the information uploaded by the first client, such as the receiving address, postal number, and mobile phone number obtained in 501, and the information of the merged goods in the shopping cart of user A. Release the order.

通過上述的流程可以看到,通過使用本實施例的業務處理方式來進行同店併單業務,伺服器可以根據消息體標識將各個客戶端的併單寶貝資訊都與第一客戶端綁定,相當於自動放入了第一客戶端的用戶的購物車,用戶只要通過第一客戶端下達訂單即可;而在傳統方式中,第一客戶端的用戶還需要自己將其他用戶併單的業務資訊重新輸入一次,比如根據第二客戶端用戶告知的寶貝位址、件數、顏色等資訊,找到該寶貝,選擇對應的顏色和件數,相當於第二客戶端用戶和第一客戶端用戶都要輸一次,效率較 低。很明顯,本實施例的業務處理方式中,只要第二客戶端用戶輸一次,將自動由伺服器放入第一客戶端用戶的購物車中,第一客戶端用戶直接結算即可,效率提高。 It can be seen from the above process that by using the business processing method of this embodiment to perform the same-store merger operation, the server can bind the information of each client's merger information to the first client according to the message body identifier, which is equivalent to The shopping cart of the user of the first client is automatically placed, and the user only needs to place an order through the first client. In the traditional method, the user of the first client also needs to re-enter the business information of the other user's order. For example, based on the baby's address, number of pieces, color and other information notified by the second client user, find the baby, select the corresponding color and number of pieces, which is equivalent to the second client user and the first client user having to lose once. , Low efficiency. Obviously, in the business processing method of this embodiment, as long as the second client user inputs once, it will be automatically put into the shopping cart of the first client user by the server, and the first client user can directly settle the bill, which improves the efficiency. .

為了實現上述的業務處理方法,本發明還提供了一種業務處理裝置,對於裝置實施例而言,由於其基本對應於方法實施例,所以相關之處參見方法實施例的部分說明即可。 In order to implement the above-mentioned service processing method, the present invention further provides a service processing device. As for the device embodiment, since it basically corresponds to the method embodiment, the relevant parts may refer to the description of the method embodiment.

如圖12所示,該業務處理裝置應用於伺服器,該裝置可以包括:請求接收模組1201、消息發送模組1202、關聯綁定模組1203和業務處理模組1204;請求接收模組1201,用於接收會話中的第一客戶端發送的業務請求,該業務請求用於請求與處於同一會話中的其他客戶端共同執行目標業務;並獲取該第一客戶端確定的目標業務對應的業務操作對象;消息發送模組1202,用於產生包括該業務操作對象的消息體以及該消息體對應的消息體標識,並將該消息體和消息體標識發送至該會話中的各個客戶端;關聯綁定模組1203,用於獲取該其他客戶端中的第二客戶端通過該消息體發送的對應目標業務的業務資訊,並建立該業務資訊與第一客戶端的對應關係;業務處理模組1204,用於在接收到該第一客戶端的業務處理指示時,通過該第一客戶端根據第一客戶端的業務資訊以及該第二客戶端的業務資訊執行該目標業務。 As shown in FIG. 12, the service processing device is applied to a server. The device may include: a request receiving module 1201, a message sending module 1202, an association binding module 1203, and a business processing module 1204; and a request receiving module 1201 For receiving a service request sent by a first client in a session, the service request for requesting a target service to be executed jointly with other clients in the same session; and acquiring a service corresponding to the target service determined by the first client Operation object; message sending module 1202, for generating a message body including the business operation object and a message body identifier corresponding to the message body, and sending the message body and message body identifier to each client in the session; association A binding module 1203 is configured to obtain service information corresponding to the target service sent by the second client of the other clients through the message body, and establish a corresponding relationship between the service information and the first client; the service processing module 1204 For receiving the service processing instruction of the first client, by using the first client according to the service information of the first client and the The service information of the second client executes the target service.

進一步的,請求接收模組1201,具體用於獲取對應 該目標業務的操作對象清單,並將該操作對象清單發送至該第一客戶端;接收該第一客戶端由該操作對象清單中選擇的業務操作對象。 Further, the request receiving module 1201 is specifically configured to obtain an operation object list corresponding to the target service and send the operation object list to the first client; receive the first client selected from the operation object list Business operation object.

進一步的,關聯綁定模組1203,具體用於獲取該第二客戶端通過消息體訪問業務操作對象上報的業務資訊、以及該消息體的消息體標識;根據該消息體標識,將對應同一消息體標識的該業務資訊和第一客戶端建立對應關係。 Further, the association binding module 1203 is specifically configured to obtain the service information reported by the second client to access the service operation object through the message body, and the message body identifier of the message body; according to the message body identifier, it will correspond to the same The service information identified by the message body establishes a corresponding relationship with the first client.

進一步的,參見圖13所示,該裝置還可以包括:資訊更新模組1205,用於向該第一客戶端發送該業務資訊,並攜帶該消息體標識,以使得該第一客戶端根據消息體標識將該業務資訊顯示在該消息體。 Further, as shown in FIG. 13, the device may further include: an information update module 1205, configured to send the service information to the first client, and carry the message body identifier, so that the first client can respond to the message according to the message. The body identifier displays the business information in the message body.

如圖14所示,該業務處理裝置應用於第一客戶端,該裝置可以包括:請求發送模組1401、對象上報模組1402、資訊接收模組1403和處理指示模組1404;請求發送模組1401,用於向伺服器發送業務請求,該業務請求用於請求與處於同一會話中的其他客戶端共同執行目標業務;對象上報模組1402,用於獲取對應該目標業務的業務操作對象發送至該伺服器,以使得該伺服器產生包括該業務操作對象的消息體發送至該會話中的各個客戶端;資訊接收模組1403,用於接收該伺服器發送的該其他客戶端中的第二客戶端通過該消息體發送的對應目標業務的業務資訊; 處理指示模組1404,用於向該伺服器發送業務處理指示,該業務處理指示用於指示該伺服器根據第一客戶端的業務資訊以及該第二客戶端的業務資訊處理該目標業務。 As shown in FIG. 14, the service processing device is applied to a first client, and the device may include: a request sending module 1401, an object reporting module 1402, an information receiving module 1403, and a processing instruction module 1404; the request sending module Group 1401 is used to send a service request to the server, and the service request is used to request the target service to be executed jointly with other clients in the same session; the object reporting module 1402 is used to obtain a service operation object corresponding to the target service Send to the server, so that the server generates a message body including the business operation object and sends it to each client in the session; the information receiving module 1403 is used to receive the other clients sent by the server Business information corresponding to the target service sent by the second client through the message body; a processing instruction module 1404 is configured to send a service processing instruction to the server, and the service processing instruction is used to instruct the server according to the service of the first client The information and the service information of the second client process the target service.

進一步的,對象上報模組1402,具體用於接收該伺服器發送的對應該目標業務的操作對象清單;並向該伺服器發送用戶由該操作對象清單中選擇的業務操作對象。 Further, the object reporting module 1402 is specifically configured to receive an operation object list corresponding to the target service sent by the server; and send to the server the business operation object selected by the user from the operation object list.

進一步的,資訊接收模組1403,還用於接收該業務資訊對應的消息體標識,並將該業務資訊顯示在該消息體標識對應的消息體。 Further, the information receiving module 1403 is further configured to receive a message body identifier corresponding to the service information, and display the service information in a message body corresponding to the message body identifier.

進一步的,該第一客戶端和第二客戶端參與的該會話,是即時通訊會話;並且,該即時通訊會話的會話介面中包括:該目標業務的觸發按鈕;請求發送模組1401,用於在檢測到用戶對該觸發按鈕的觸發時,向該伺服器發送該業務請求。 Further, the session in which the first client and the second client participate is an instant messaging session; and the session interface of the instant messaging session includes: a trigger button of the target service; and a request sending module 1401, configured to: When the user triggers the trigger button, the service request is sent to the server.

如圖15所示,該業務處理裝置應用於第二客戶端,該裝置可以包括:對象訪問模組1501、資訊發送模組1502;其中,對象訪問模組1501,用於通過消息體訪問對應該目標業務的業務操作對象,該業務操作對象是處於同一會話中的第一客戶端確定;資訊發送模組1502,用於向伺服器發送對應該目標業務的業務資訊,並攜帶該消息體的消息體標識,以使得該伺服器根據該消息體標識建立該業務資訊與該第一客戶 端的對應關係。 As shown in FIG. 15, the service processing device is applied to a second client. The device may include: an object access module 1501 and an information sending module 1502; and the object access module 1501 is configured to access a response through a message body. Business operation object of the target service. The business operation object is determined by the first client in the same session. The information sending module 1502 is used to send the server the business information corresponding to the target service and carry the message of the message body. The body identifier, so that the server establishes a correspondence between the service information and the first client according to the message body identifier.

以上所述僅為本發明的較佳實施例而已,並不用以限制本發明,凡在本發明的精神和原則之內,所做的任何修改、等同替換、改進等,均應包含在本發明保護的範圍之內。 The above are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention shall be included in the present invention. Within the scope of protection.

Claims (20)

一種業務處理方法,其特徵在於,該方法應用於伺服器,包括:接收會話中的第一客戶端發送的業務請求,該業務請求用於請求與處於同一會話中的其他客戶端共同執行目標業務;並獲取該第一客戶端確定的目標業務對應的業務操作對象;產生包括該業務操作對象的消息體以及該消息體對應的消息體標識,並將該消息體和消息體標識發送至該會話中的各個客戶端;獲取該其他客戶端中的第二客戶端通過該消息體發送的對應目標業務的業務資訊,並建立該業務資訊與第一客戶端的對應關係;在接收到該第一客戶端的業務處理指示時,通過該第一客戶端根據第一客戶端的業務資訊以及該第二客戶端的業務資訊執行該目標業務。     A service processing method, which is characterized in that the method is applied to a server and includes: receiving a service request sent by a first client in a session, the service request being used to request a target service to be executed jointly with other clients in the same session ; And obtain a business operation object corresponding to the target service determined by the first client; generate a message body including the business operation object and a message body identifier corresponding to the message body, and send the message body and the message body identifier to the session Each client in the network; acquiring the service information of the target service corresponding to the second client among the other clients through the message body, and establishing a corresponding relationship between the service information and the first client; upon receiving the first client When the service processing instruction of the client is instructed, the target service is executed by the first client according to the service information of the first client and the service information of the second client.     根據申請專利範圍第1項所述的方法,其中,該獲取該第一客戶端確定的目標業務對應的業務操作對象,包括:獲取對應該目標業務的操作對象清單,並將該操作對象清單發送至該第一客戶端;接收該第一客戶端由該操作對象清單中選擇的業務操作對象。     The method according to item 1 of the scope of patent application, wherein the obtaining a business operation object corresponding to the target service determined by the first client includes: obtaining a list of operation objects corresponding to the target service, and sending the operation object list To the first client; receiving the business operation object selected by the first client from the operation object list.     根據申請專利範圍第1項所述的方法,其中,該 建立該業務資訊與第一客戶端的對應關係,包括:獲取該第二客戶端通過該消息體訪問業務操作對象上報的業務資訊、以及該消息體的消息體標識;根據該消息體標識,將對應同一消息體標識的該業務資訊和第一客戶端建立對應關係。     The method according to item 1 of the scope of patent application, wherein establishing the correspondence between the service information and the first client includes: obtaining the service information reported by the second client to access the service operation object through the message body, and The message body identifier of the message body; according to the message body identifier, a corresponding relationship is established between the service information corresponding to the same message body identifier and the first client.     根據申請專利範圍第1項所述的方法,其中,在將該業務資訊與第一客戶端建立對應關係之後,還包括:向該第一客戶端發送該業務資訊,並攜帶該消息體標識,以使得該第一客戶端根據消息體標識將該業務資訊顯示在該消息體。     The method according to item 1 of the scope of patent application, wherein after establishing the correspondence between the service information and the first client, the method further includes: sending the service information to the first client and carrying the message body identifier, So that the first client displays the service information in the message body according to the message body identifier.     根據申請專利範圍第1項所述的方法,其中,該第一客戶端和第二客戶端參與的該會話,是即時通訊會話;並且,該即時通訊會話的會話介面中包括:該目標業務的觸發按鈕;該業務請求是第一客戶端根據用戶對該觸發按鈕的觸發發送。     The method according to item 1 of the scope of patent application, wherein the session in which the first client and the second client participate is an instant messaging session; and the session interface of the instant messaging session includes: Trigger button; the service request is sent by the first client according to the user's trigger on the trigger button.     一種業務處理方法,其特徵在於,該方法應用於會話中的第一客戶端,該方法包括:向伺服器發送業務請求,該業務請求用於請求與處於同一會話中的其他客戶端共同執行目標業務;獲取對應該目標業務的業務操作對象發送至該伺服器,以使得該伺服器產生包括該業務操作對象的消息體發送至該會話中的各個客戶端;接收該伺服器發送的該其他客戶端中的第二客戶端通 過該消息體發送的對應目標業務的業務資訊;向該伺服器發送業務處理指示,該業務處理指示用於指示該伺服器根據第一客戶端的業務資訊以及該第二客戶端的業務資訊處理該目標業務。     A service processing method, which is characterized in that the method is applied to a first client in a session, and the method includes: sending a service request to a server, the service request being used to request a common execution target with other clients in the same session Business; obtain a business operation object corresponding to the target business and send it to the server, so that the server generates a message body including the business operation object and sends it to each client in the session; receive the other customers sent by the server The second client in the client sends service information corresponding to the target service through the message body; sends a service processing instruction to the server, the service processing instruction is used to instruct the server to use the service information of the first client and the second client The service information of the client processes the target service.     根據申請專利範圍第6項所述的方法,其中,該獲取對應該目標業務的業務操作對象發送至該伺服器,包括:接收該伺服器發送的對應該目標業務的操作對象清單;向該伺服器發送用戶由該操作對象清單中選擇的業務操作對象。     The method according to item 6 of the scope of patent application, wherein the obtaining the business operation object corresponding to the target service and sending it to the server includes: receiving a list of operation object corresponding to the target service sent by the server; and sending to the server The processor sends the business operation object selected by the user from the operation object list.     根據申請專利範圍第6項所述的方法,其中,在該接收伺服器發送的其他客戶端中的第二客戶端通過消息體發送的對應目標業務的業務資訊時,還包括:接收該業務資訊對應的消息體標識,並將該業務資訊顯示在該消息體標識對應的消息體。     The method according to item 6 of the scope of patent application, wherein when the second client among the other clients sent by the receiving server sends the service information corresponding to the target service through the message body, the method further includes: receiving the service information The corresponding message body identifier, and the service information is displayed in the message body corresponding to the message body identifier.     根據申請專利範圍第6項所述的方法,其中,該第一客戶端和第二客戶端參與的該會話,是即時通訊會話;並且,該即時通訊會話的會話介面中包括:該目標業務的觸發按鈕;該向伺服器發送業務請求,包括:在檢測到用戶對該觸發按鈕的觸發時,向該伺服器發送該業務請求。     The method according to item 6 of the scope of patent application, wherein the session in which the first client and the second client participate is an instant messaging session; and the session interface of the instant messaging session includes: the target service's A trigger button; the sending of a service request to the server includes sending the service request to the server when a trigger of the trigger button by the user is detected.     一種業務處理方法,其特徵在於,該方法應用於會話中的第二客戶端,該方法包括: 通過消息體訪問對應該目標業務的業務操作對象,該業務操作對象是處於同一會話中的第一客戶端確定;向伺服器發送對應該目標業務的業務資訊,並攜帶該消息體的消息體標識,以使得該伺服器根據該消息體標識建立該業務資訊與該第一客戶端的對應關係。     A business processing method, characterized in that the method is applied to a second client in a session, and the method includes: accessing, through a message body, a business operation object corresponding to a target service, the business operation object being the first in the same session The client determines; sends service information corresponding to the target service to the server, and carries a message body identifier of the message body, so that the server establishes a correspondence between the service information and the first client according to the message body identifier.     一種業務處理裝置,其特徵在於,該裝置應用於伺服器,包括:請求接收模組,用於接收會話中的第一客戶端發送的業務請求,該業務請求用於請求與處於同一會話中的其他客戶端共同執行目標業務;並獲取該第一客戶端確定的目標業務對應的業務操作對象;消息發送模組,用於產生包括該業務操作對象的消息體以及該消息體對應的消息體標識,並將該消息體和消息體標識發送至該會話中的各個客戶端;關聯綁定模組,用於獲取該其他客戶端中的第二客戶端通過該消息體發送的對應目標業務的業務資訊,並建立該業務資訊與第一客戶端的對應關係;業務處理模組,用於在接收到該第一客戶端的業務處理指示時,通過該第一客戶端根據第一客戶端的業務資訊以及該第二客戶端的業務資訊執行該目標業務。     A service processing device, which is characterized in that the device is applied to a server and includes: a request receiving module for receiving a service request sent by a first client in a session; the service request is used to request the Other clients execute the target service together; and obtain the business operation object corresponding to the target service determined by the first client; the message sending module is used to generate a message body including the business operation object and a message body identifier corresponding to the message body And send the message body and the message body identifier to each client in the session; the associated binding module is used to obtain the service corresponding to the target service sent by the second client among the other clients through the message body Information and establish the corresponding relationship between the service information and the first client; a service processing module is configured to receive, by the first client, the service processing instruction of the first client according to the service information of the first client and the The service information of the second client executes the target service.     根據申請專利範圍第11項所述的裝置,其中,該請求接收模組,具體用於獲取對應該目標業務的操作對象清單,並將該操作對象清單發送至該第一客戶端;接收該第一客戶端由該操作對象清單中選擇的業務操作對 象。     The device according to item 11 of the scope of patent application, wherein the request receiving module is specifically configured to obtain an operation object list corresponding to the target service and send the operation object list to the first client; receive the first A client selects a business operation object from the operation object list.     根據申請專利範圍第11項所述的裝置,其中,該關聯綁定模組,具體用於獲取該第二客戶端通過消息體訪問業務操作對象上報的業務資訊、以及該消息體的消息體標識;根據該消息體標識,將對應同一消息體標識的該業務資訊和第一客戶端建立對應關係。     The device according to item 11 of the scope of patent application, wherein the associated binding module is specifically configured to obtain the service information reported by the second client accessing the service operation object through the message body and the message body of the message body Identification; according to the message body identifier, a corresponding relationship is established between the service information corresponding to the same message body identifier and the first client.     根據申請專利範圍第11項所述的裝置,其中,還包括:資訊更新模組,用於向該第一客戶端發送該業務資訊,並攜帶該消息體標識,以使得該第一客戶端根據消息體標識將該業務資訊顯示在該消息體。     The device according to item 11 of the scope of patent application, further comprising: an information updating module for sending the service information to the first client, and carrying the message body identifier, so that the first client can The message body identifier displays the service information in the message body.     根據申請專利範圍第11項所述的裝置,其中,該第一客戶端和第二客戶端參與的該會話,是即時通訊會話;並且,該即時通訊會話的會話介面中包括:該目標業務的觸發按鈕;該業務請求是第一客戶端根據用戶對該觸發按鈕的觸發發送。     The device according to item 11 of the scope of patent application, wherein the session in which the first client and the second client participate is an instant messaging session; and the session interface of the instant messaging session includes: Trigger button; the service request is sent by the first client according to the user's trigger on the trigger button.     一種業務處理裝置,其特徵在於,該裝置應用於會話中的第一客戶端,該裝置包括:請求發送模組,用於向伺服器發送業務請求,該業務請求用於請求與處於同一會話中的其他客戶端共同執行目標業務;對象上報模組,用於獲取對應該目標業務的業務操作對象發送至該伺服器,以使得該伺服器產生包括該業務操 作對象的消息體發送至該會話中的各個客戶端;資訊接收模組,用於接收該伺服器發送的該其他客戶端中的第二客戶端通過該消息體發送的對應目標業務的業務資訊;處理指示模組,用於向該伺服器發送業務處理指示,該業務處理指示用於指示該伺服器根據第一客戶端的業務資訊以及該第二客戶端的業務資訊處理該目標業務。     A service processing device, characterized in that the device is applied to a first client in a session, and the device includes a request sending module for sending a service request to a server, and the service request is used to request and be in the same session Other clients jointly execute the target business; the object reporting module is used to obtain the business operation object corresponding to the target business and send it to the server, so that the server generates a message body including the business operation object and sends it to the session Each client in the system; an information receiving module for receiving service information of the corresponding target service sent by the second client of the other clients sent by the server through the message body; a processing instruction module for The server sends a service processing instruction, and the service processing instruction is used to instruct the server to process the target service according to the service information of the first client and the service information of the second client.     根據申請專利範圍第16項所述的裝置,其中,該對象上報模組,具體用於接收該伺服器發送的對應該目標業務的操作對象清單;並向該伺服器發送用戶由該操作對象清單中選擇的業務操作對象。     The device according to item 16 of the scope of patent application, wherein the object reporting module is specifically configured to receive a list of operation objects corresponding to the target service sent by the server; and send a user to the server by the operation object The business operation object selected in the list.     根據申請專利範圍第16項所述的裝置,其中,該資訊接收模組,還用於接收該業務資訊對應的消息體標識,並將該業務資訊顯示在該消息體標識對應的消息體。     The device according to item 16 of the scope of patent application, wherein the information receiving module is further configured to receive a message body identifier corresponding to the service information, and display the service information in a message body corresponding to the message body identifier.     根據申請專利範圍第16項所述的裝置,其中,該第一客戶端和第二客戶端參與的該會話,是即時通訊會話;並且,該即時通訊會話的會話介面中包括:該目標業務的觸發按鈕;該請求發送模組,用於在檢測到用戶對該觸發按鈕的觸發時,向該伺服器發送該業務請求。     The device according to item 16 of the scope of patent application, wherein the session in which the first client and the second client participate is an instant messaging session; and the session interface of the instant messaging session includes: Trigger button; this request sending module is used to send the service request to the server when the user triggers the trigger button.     一種業務處理裝置,其特徵在於,該裝置應用於會話中的第二客戶端,該裝置包括:對象訪問模組,用於通過消息體訪問對應該目標業務 的業務操作對象,該業務操作對象是處於同一會話中的第一客戶端確定;資訊發送模組,用於向伺服器發送對應該目標業務的業務資訊,並攜帶該消息體的消息體標識,以使得該伺服器根據該消息體標識建立該業務資訊與該第一客戶端的對應關係。     A service processing device, which is characterized in that the device is applied to a second client in a session. The device includes an object access module for accessing a business operation object corresponding to a target service through a message body. The business operation object is The first client in the same session is determined; the information sending module is used to send the service information corresponding to the target service to the server, and carry the message body identifier of the message body, so that the server is based on the message body identifier Establishing a correspondence between the service information and the first client.    
TW106101951A 2017-01-19 2017-01-19 Business processing method and device TWI675598B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106101951A TWI675598B (en) 2017-01-19 2017-01-19 Business processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106101951A TWI675598B (en) 2017-01-19 2017-01-19 Business processing method and device

Publications (2)

Publication Number Publication Date
TW201828727A TW201828727A (en) 2018-08-01
TWI675598B true TWI675598B (en) 2019-10-21

Family

ID=63960111

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106101951A TWI675598B (en) 2017-01-19 2017-01-19 Business processing method and device

Country Status (1)

Country Link
TW (1) TWI675598B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103208077A (en) * 2013-03-28 2013-07-17 腾讯科技(深圳)有限公司 Method, equipment and system for synergistic ordering
CN105654366A (en) * 2016-02-05 2016-06-08 朱亮红 Commodity transaction method and server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103208077A (en) * 2013-03-28 2013-07-17 腾讯科技(深圳)有限公司 Method, equipment and system for synergistic ordering
CN105654366A (en) * 2016-02-05 2016-06-08 朱亮红 Commodity transaction method and server

Also Published As

Publication number Publication date
TW201828727A (en) 2018-08-01

Similar Documents

Publication Publication Date Title
WO2017045556A1 (en) Service processing method and apparatus
US10319011B2 (en) System and method for enabling global and remote flash sale or daily deal commerce through unsecured electronic channels
JP5124042B1 (en) Net mall system with support functions for those who wish to purchase products
US20130103538A1 (en) Facilitating Online Transactions
US20190130412A1 (en) Systems and methods for performing secure commercial transactions
US9336527B2 (en) Collaborative website presence
WO2013181883A1 (en) Method and server for information processing
US11252131B2 (en) Obfuscation of email addresses
JP7191349B2 (en) Server device and electronic commerce method
US20100205100A1 (en) Real-Time Collaborative Selection of Service Providers
CN108629620A (en) A kind of task puts method and system on someone's head
JP2019197427A (en) Sales support system
JP2015005291A (en) Device for supporting auction exhibition information creation, method for supporting auction exhibition information creation, program, and transaction system
US20150324878A1 (en) Online group shopping system and method
TWI675598B (en) Business processing method and device
TW201342285A (en) Push-pull shopping system and method thereof
CN103456097A (en) Vending machine bound for use with chatting software
KR20070108631A (en) System and method for servicing shirts business by using e-catalog
US9264551B2 (en) Collaborating with a caller by internet sites
JP5576968B1 (en) Auction apparatus, auction method, program, and auction system
CN107169814B (en) Method and equipment for displaying object and processing order
CN106656726B (en) Service processing method and device
CN109410000A (en) Order reminding method and device
KR20160051927A (en) Registration system and method for a member using order information of a non-member
KR20120075624A (en) Terminal system, shopping system and method for shopping using the same