[go: up one dir, main page]

TWI381692B - Application Layer Interactive Sowing Service Agreement Method - Google Patents

Application Layer Interactive Sowing Service Agreement Method Download PDF

Info

Publication number
TWI381692B
TWI381692B TW97145488A TW97145488A TWI381692B TW I381692 B TWI381692 B TW I381692B TW 97145488 A TW97145488 A TW 97145488A TW 97145488 A TW97145488 A TW 97145488A TW I381692 B TWI381692 B TW I381692B
Authority
TW
Taiwan
Prior art keywords
group
subscription
message
allowed
user
Prior art date
Application number
TW97145488A
Other languages
Chinese (zh)
Other versions
TW201021486A (en
Original Assignee
Univ Nat Cheng Kung
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 Univ Nat Cheng Kung filed Critical Univ Nat Cheng Kung
Priority to TW97145488A priority Critical patent/TWI381692B/en
Publication of TW201021486A publication Critical patent/TW201021486A/en
Application granted granted Critical
Publication of TWI381692B publication Critical patent/TWI381692B/en

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Description

應用層互動些播服務協定方法Application layer interaction broadcast service agreement method

本發明是有關於一種協定方法,特別是指一種應用層互動些播服務協定方法。The present invention relates to a protocol method, and more particularly to an application layer interaction broadcast service agreement method.

網頁技術的發展至今已經趨於成熟,只要透過瀏覽器就可以獲得所要的資訊,加上現今於網路社群間最為被熱切討論且受歡迎的強調個人化應用之Web 2.0概念誕生,因此,藉由Web 2.0相關技術已經可以讓網頁不像傳統式的單向給予,而是加強即時、互動、社群、客製化導向等功能,但目前僅限於資料上的互動與分享。The development of web technology has matured so far, as long as the information you need is available through the browser, and the Web 2.0 concept that emphasizes the most eagerly discussed and popular personalized applications among the online community is born. With Web 2.0 related technologies, it is possible to make web pages not like traditional one-way giving, but to enhance functions such as instant, interactive, community, and customization. However, it is currently limited to data interaction and sharing.

由於傳統的播送(Casting)方式為建構於網路第三層,因此要組成一個群組對於使用者而言,實在不容易。傳統的網路第三層之播送方式為單點播送(Uni-cast)、廣播(Broadcast)、群體廣播(Multi-cast)與隨播(Anycast),但缺乏一個簡易且有效的應用層通訊機制,而較無法將訊息傳遞給不同群組中某些成員,而建立起通訊服務,並將訊息傳遞給相關之成員。Since the traditional Casting method is built on the third layer of the network, it is not easy for a user to form a group. The traditional third layer of network transmission is Uni-cast, Broadcast, Multi-cast and Anycast, but lacks an easy and effective application layer communication mechanism. It is less able to pass messages to certain members of different groups, establish communication services, and pass messages to relevant members.

因此,現有的網路播送技術依其播送種類具有以下待改進之缺失:Therefore, the existing network broadcast technology has the following defects to be improved according to its broadcast type:

(一)單點播送:單點播送協定為一對一的通訊協定,必須要知道接受端的網際網路位址(IP),且一次只能跟一台主機通訊。(1) Unicast: The unicast protocol is a one-to-one communication protocol. It must know the Internet address (IP) of the receiving end and can only communicate with one host at a time.

(二)廣播:廣播的協定會廣播過量的封包,並於進行後續些播協定時,針對同一個網域下之群組發出訊息,而造成封包傳輸過量的情形。(2) Broadcasting: The broadcasting agreement broadcasts excessive packets, and when a subsequent broadcast agreement is made, a message is sent to the group under the same domain, resulting in excessive packet transmission.

(三)群體廣播:群體廣播會將資料播送給一個特定群組中之所有成員,且此所有成員只能收到一樣的訊息。(3) Group Broadcast: The group broadcast will broadcast the data to all members in a specific group, and all members can only receive the same message.

(四)隨播:進行隨播時通常會找尋最適合服務的主機,然而前述之現行最適合服務主機之找尋,僅是於網路條件下找尋跳躍數(Hop Counts)最低的伺服主機,往往最後所找到的伺服主機並非是最適合個別條件現況所需且最快的主機。(4) Companion: When performing the broadcast, it usually finds the most suitable host for the service. However, the above-mentioned search for the most suitable service host is only to find the lowest host of the Hop Counts under the network conditions, often The last found servo host is not the fastest and most suitable host for the individual conditions.

所以,如何提出一具有不需知道網際網路位址即可進行通訊,且於進行播送機制時,是可依據所需條件篩選個別群組播送,並於播送時降低封包傳輸量之優點的互動些播服務協定方法,便成為相關學、業界之專家欲努力尋求解決的目標。Therefore, how to propose an interaction that can communicate without knowing the Internet address, and when the broadcast mechanism is used, it can filter the individual group multicast transmission according to the required conditions, and reduce the packet transmission volume during the broadcast. Some of the methods of broadcasting service agreements have become the goal of experts in the relevant fields and industries to seek solutions.

因此,本發明之目的,即在提供一種於現今網路架構之應用層上所進行的互動些播服務之相關協定方法。Accordingly, it is an object of the present invention to provide a related protocol method for interactive broadcast services performed at the application layer of today's network architecture.

於是,本發明應用層互動些播服務協定方法,包含以下步驟:Therefore, the application layer of the present invention interacts with the broadcast service agreement method, and includes the following steps:

(a)一伺服器端接收到一伺服應用層所發出之一啟動訊息。(a) A server receives a start message from a servo application layer.

(b)該伺服器端對複數用戶端發出複數邀請訊息。(b) The server sends a plurality of invitation messages to the plurality of clients.

(c)該等用戶端接收該等邀請訊息,且每一用戶端將其接收之邀請訊息轉送至一用戶應用層,並等待接收是否有一加入確認訊息的回應,當收到該加入確認訊息時,再傳送至該伺服器端。(c) the client receives the invitation message, and each client forwards the invitation message it receives to a user application layer, and waits to receive a response to the confirmation message, when the confirmation message is received. And then to the server.

(d)該伺服器端每接收到一加入確認訊息,便將此用戶端納入至一訂閱群組,而成一訂閱成員。(d) Each time the server receives a join confirmation message, the client is included in a subscription group to form a subscription member.

(e)當該伺服應用層對該伺服器端觸發一些播服務,並傳送一需求條件時,該伺服器端對該訂閱群組傳送至少一確認詢問訊息,並等待回應。(e) When the servo application layer triggers some broadcast service to the server end and transmits a demand condition, the server end transmits at least one confirmation inquiry message to the subscription group and waits for a response.

(f)當該伺服器端接收到由該訂閱群組之訂閱成員所發出之至少一確認回應訊息時,再判斷該需求條件是否已滿足,若否,則接受此訂閱成員之確認回應訊息,而納入至一允許群組而成一允許成員,並等待次一確認回應訊息之接收,若是,則允許該允許群組進入一行為服務。(f) when the server receives at least one confirmation response message sent by the subscription member of the subscription group, and then determines whether the requirement condition has been met, and if not, accepts the confirmation response message of the subscription member. The inclusion into an allowed group becomes an allowed member, and waits for the receipt of the next confirmation response message, and if so, allows the allowed group to enter a behavioral service.

此外,本發明之另一目的,即在提供另外一種於現今網路架構之應用層上所進行的互動些播服務之相關協定方法。In addition, another object of the present invention is to provide an associated protocol method for interactive broadcast services performed on an application layer of a current network architecture.

於是,本發明應用層互動些播服務協定方法,包含以下步驟:Therefore, the application layer of the present invention interacts with the broadcast service agreement method, and includes the following steps:

(a)一伺服器端接收到一伺服應用層所發出之一啟動訊息。(a) A server receives a start message from a servo application layer.

(b)該伺服器端對一具有複數第一用戶端之第一用戶群組及一具有複數第二用戶端之第二用戶群組分別發出複數第一邀請訊息及複數第二邀請訊息。(b) The server sends a plurality of first invitation messages and a plurality of second invitation messages to a first user group having a plurality of first users and a second user group having a plurality of second users.

(c)該第一用戶群組及第二用戶群組接收該等第一邀請訊息及該等第二邀請訊息,且每一第一用戶端及每一第二用戶端分別將其接收之第一邀請訊息及第二邀請訊息轉送至一第一用戶應用層及第二用戶應用層,並等待接收是否有分別相對應之一第一加入確認訊息及一第二加入確認訊息的回應,再傳送至該伺服器端。(c) the first user group and the second user group receive the first invitation message and the second invitation message, and each of the first user terminal and each second user terminal respectively receives the first invitation message An invitation message and a second invitation message are forwarded to a first user application layer and a second user application layer, and wait for receiving a response corresponding to one of the first joining confirmation message and the second joining confirmation message, and then transmitting To the server side.

(d)當該伺服器端每接收到該第一加入確認訊息,便將其內之此第一用戶端納入至一第一訂閱群組,而成一第一訂閱成員,而當該伺服器端每接收到該第二加入確認訊息,便將其內之第二用戶端納入至一第二訂閱群組,而成一第二訂閱成員。(d) when the server receives the first join confirmation message, the first user in the server is included in a first subscription group, and becomes a first subscription member, and when the server is Each time the second join confirmation message is received, the second user end is included in a second subscription group to form a second subscription member.

(e)當該伺服應用層對該伺服器端觸發一些播服務,並分別針對該第一用戶群組及該第二用戶群組傳送一第一需求條件及一第二需求條件時,該伺服器端對該第一訂閱群組及該第二訂閱群組分別傳送至少一第一確認詢問訊息及至少一第二確認詢問訊息,並等待回應。(e) when the servo application layer triggers some broadcast services for the server end, and transmits a first demand condition and a second demand condition for the first user group and the second user group respectively, the servo The device end transmits at least one first confirmation inquiry message and at least one second confirmation inquiry message to the first subscription group and the second subscription group, respectively, and waits for a response.

(f)當該伺服器端接收到由該第一訂閱群組之第一訂閱成員所發出之至少一第一確認回應訊息時,再判斷該第一需求條件是否已滿足,若否,則接受此第一訂閱成員之第一確認回應訊息,而納入至一第一允許群組而成一第一允許成員,並等待次一第一確認回應訊息之接收,若是,則允許該第一允許群組進入一行為服務,而當該伺服器端接收到由該第二訂閱群組之第二訂閱成員所發出之至少一第二確認回應訊息時,再判斷該第二需求條件是否已滿足,若否,則接受此第二訂閱成員之第二確認回應訊息,而納入至一第二允許群組而成一第二允許成員,並等待次一第二確認回應訊息之接收,若是,則允許該第二允許群組進入該行為服務。(f) when the server receives at least one first confirmation response message sent by the first subscription member of the first subscription group, and then determines whether the first requirement condition has been met, and if not, accepts The first confirmation response message of the first subscription member is included in a first allowed group to form a first allowed member, and waits for the receipt of the first first confirmation response message, and if so, the first allowed group is allowed Entering a behavior service, and when the server receives at least one second confirmation response message sent by the second subscription member of the second subscription group, determining whether the second requirement condition has been met, and if not Receiving a second confirmation response message of the second subscription member, and incorporating the second permission group into a second permitted member, and waiting for the receipt of the second second confirmation response message, and if so, allowing the second Allow groups to enter the behavioral service.

本發明之功效在於,藉由該伺服器端與該等用戶端間之各式訊息之請求及回應的相互傳遞,以及該需求條件的使用,使得該伺服器端能有效率地篩選出符合所需的成員或群組,而進行後續的相關通訊等方面的行為服務。The effect of the invention is that the server end can efficiently filter out the compliance by the mutual transmission of the request and response of the various messages between the server and the client, and the use of the requirement condition. The required members or groups, and the subsequent related communication services.

有關本發明之前述及其他技術內容、特點與功效,在以下配合參考圖式之二個較佳實施例的詳細說明中,將可清楚的呈現。The above and other technical contents, features and advantages of the present invention will be apparent from the following detailed description of the preferred embodiments of the invention.

在本發明被詳細描述之前,要注意的是,在以下的說明內容中,類似的元件是以相同的編號來表示。Before the present invention is described in detail, it is noted that in the following description, similar elements are denoted by the same reference numerals.

參閱圖1及圖2,本發明應用層互動些播服務協定方法之第一較佳實施例,包含以下步驟:首先,如步驟10所示,一伺服器端21接收到一伺服應用層22所發出之一啟動訊息。Referring to FIG. 1 and FIG. 2, a first preferred embodiment of the application layer interactive broadcast service agreement method of the present invention includes the following steps. First, as shown in step 10, a server end 21 receives a servo application layer 22. Issue one of the startup messages.

其次,如步驟11所示,該伺服器端21由一伺服關閉狀態開始,而對複數用戶端31發出複數邀請210訊息。並於此同時,該伺服器端21將一訂閱成員計數值設定為零。Next, as shown in step 11, the server terminal 21 starts with a servo off state and issues a plurality of invitation 210 messages to the plurality of client terminals 31. At the same time, the server terminal 21 sets a subscription member count value to zero.

接著,如步驟12所示,該等用戶端31接收該等邀請210訊息,且每一用戶端31將其接收之邀請210訊息轉送至一用戶應用層32,並等待接收是否有一加入確認310訊息的回應;而如步驟13所示,當收到該加入確認310訊息 時,再傳送至該伺服器端21。此時,該伺服器端21於發出該等邀請210訊息後,則自該伺服關閉狀態轉為一聆聽狀態,而該等用戶端31於接收該等邀請210訊息前,是處於一用戶關閉狀態,而於接收該等邀請210訊息後,則自該用戶關閉狀態轉為一受邀狀態,並於發出該加入確認310訊息至該伺服器端21後,自該受邀狀態轉為一參加狀態。Then, as shown in step 12, the client 31 receives the invitation 210 message, and each client 31 forwards the invitation 210 message it receives to a user application layer 32, and waits to receive a presence confirmation message 310. Response; as shown in step 13, when receiving the join confirmation 310 message Then, it is transmitted to the server terminal 21. At this time, after the server 210 sends the invitation 210 message, the server is turned off from the servo off state to a listening state, and the user terminals 31 are in a user closed state before receiving the invitation 210 message. After receiving the invitation 210 message, the user is turned off from the closed state to an invited state, and after the confirmation message 310 is sent to the server terminal 21, the invited state is changed to a participating state. .

緊接著,如步驟14所示,該伺服器端21每接收到一加入確認310訊息,便將此用戶端31納入至一訂閱群組33,而成一訂閱成員331。且在本第一較佳實施例中,於將此用戶端31納入該訂閱群組33之同時,記錄該訂閱群組33中每一訂閱成員331的一識別資料。此外,當該伺服器端21每接收到一加入確認310訊息時,便將該訂閱成員計數值加一,以統計該訂閱群組33內目前之訂閱成員331之數量。且此時,每一被納入該訂閱群組33之用戶端31,其狀態自該參加狀態轉為一訂閱成功狀態。Then, as shown in step 14, the server end 21 receives the join confirmation 310 message, and then includes the client 31 into a subscription group 33 to form a subscription member 331. In the first preferred embodiment, an identification data of each subscription member 331 in the subscription group 33 is recorded while the user terminal 31 is included in the subscription group 33. In addition, when the server end 21 receives a join confirmation 310 message, the subscriber member count value is incremented by one to count the number of current subscription members 331 in the subscription group 33. At this time, each of the clients 31 included in the subscription group 33 changes its state from the participating state to a subscription success state.

再來,如步驟15所示,當該伺服應用層22對該伺服器端21觸發一些播服務,並傳送一需求條件時,該伺服器端21對該訂閱群組33傳送至少一確認詢問211訊息,並等待回應。此時,該伺服器端21於接受該些播服務之觸發後,則自該聆聽狀態轉為一些播要求狀態。Then, as shown in step 15, when the servo application layer 22 triggers some broadcast service to the server terminal 21 and transmits a demand condition, the server terminal 21 transmits at least one confirmation query 211 to the subscription group 33. Message and wait for a response. At this time, after receiving the trigger of the broadcast services, the server terminal 21 changes from the listening state to some broadcast request states.

值得注意的是,當該伺服器端21於開始進行該些播服務後,卻再收到自該等用戶端31中之其一所傳送之加入確認310訊息時,則拒絕將此用戶端31標示為該訂閱成員331,此乃因為該伺服器端21徵求該等用戶端31成為訂閱成員331的請求時限已過,而不再接受尚未成為訂閱成員331身分之用戶端31的請求。It should be noted that when the server end 21 receives the join confirmation 310 message transmitted from one of the client terminals 31 after starting the broadcast service, the server terminal 21 rejects the client terminal 31. It is indicated as the subscriber member 331. This is because the server terminal 21 requests that the client 31 become the subscription member 331 has passed the request, and does not accept the request of the client 31 who has not become the subscriber member 331 identity.

然後,如步驟16所示,該訂閱群組33中之用戶端31於回傳其確認回應311訊息至該伺服器端21後,自該訂閱成功狀態轉為一允許等待狀態;而當該伺服器端21接收到由該訂閱群組33之訂閱成員331所發出之至少一確認回應311訊息時,再判斷該需求條件是否已滿足?Then, as shown in step 16, after the user terminal 31 in the subscribing group 33 returns the acknowledgement response 311 message to the server end 21, the subscriber 31 changes from the subscription success state to an allowable wait state; When the terminal 21 receives the at least one confirmation response 311 message sent by the subscription member 331 of the subscription group 33, it is determined whether the demand condition has been met.

若否,則如步驟17所示,接受此訂閱成員331之確認回應311訊息,而納入至一允許群組34而成一允許成員341,並等待次一確認回應311訊息之接收。If not, then, as shown in step 17, the confirmation response 311 message of the subscriber member 331 is accepted, and is included in an allowed group 34 to become an allowed member 341, and waits for the receipt of the next confirmation response 311 message.

若是,則如步驟18所示,允許該允許群組34進入一行為服務35。此時,該伺服器端21於允許該允許群組34進入該行為服務35時,自該些播要求狀態轉為一行為狀態,而每一進行該行為服務35之允許成員341,自該允許等待狀態轉為一行動狀態。If so, the allowed group 34 is allowed to enter a behavioral service 35 as shown in step 18. At this time, the server terminal 21 changes from the broadcast request state to a behavior state when the permission group 34 is allowed to enter the behavior service 35, and each of the permission members 341 who perform the behavior service 35 is allowed to do so. The wait state is changed to an action state.

值得一提的是,本步驟18所述之行為服務35,在本第一較佳實施例中,可為一使該允許群組34內之各允許成員341間相互進行通訊的功能,而在此所述之通訊功能,於實務上可以是Web化的通訊平台、電子郵件、簡訊(SMS)、語音功能等,此為一般具有相關領域背景者所易於變化轉用,因此並不應以該第一較佳實施例中所揭露者為限。It is to be noted that, in the first preferred embodiment, the behavior service 35 described in this step 18 may be a function of enabling each of the allowed members 341 in the permission group 34 to communicate with each other. The communication function described in the above may be a web-based communication platform, an e-mail, a text message (SMS), a voice function, etc., which is easily changed and used by those who have relevant backgrounds, and therefore should not be used. The disclosure in the first preferred embodiment is limited.

在該步驟17中,每一訂閱成員331被納入至該允許群組34而成該允許成員341時,亦同時地將每一允許成員341的識別資料記錄於該允許群組34中。In this step 17, when each subscriber member 331 is incorporated into the permission group 34 as the permission member 341, the identification data of each of the permitted members 341 is also recorded in the permission group 34 at the same time.

需補充說明的是,在本第一較佳實施例之步驟15及步驟16中,該需求條件為一對該允許成員341的數量限制,例如以十人為限,且該伺服器端21是利用一初始值為零之一允許成員計數值的同步增加,來統計該允許群組34之允許成員341的數量,然而,在實務應用上,該需求條件也可以是一接受該訂閱群組33之一確認回應311訊息的有效時間區段,例如十分鐘之內,此需求條件之訂定是具有相關背景者所易於思及而變化運用,故不應受該第一較佳實施例之特定範例為限。It should be noted that, in step 15 and step 16 of the first preferred embodiment, the requirement condition is a limit on the number of the allowed members 341, for example, limited to ten people, and the server end 21 is utilized. An initial value of zero allows the synchronization of the member count value to increase the number of allowed members 341 of the allowed group 34. However, in practical applications, the demand condition may also be an acceptance of the subscription group 33. A valid time period for confirming the response 311 message, for example, within ten minutes, the requirement condition is determined by the relevant background, and should not be affected by the specific example of the first preferred embodiment. Limited.

最後,如步驟19所示,當該伺服器端21結束該行為服務35時,便對該伺服應用層22傳送一結束訊息,並對該允許群組34中之每一允許成員341發出一關閉訊息。此時,該伺服器端21自該行為狀態轉回該伺服關閉狀態。而每一成為允許成員341之用戶端31接收到該伺服器端21之關閉訊息後,則自該行動狀態轉回該用戶關閉狀態。Finally, as shown in step 19, when the server terminal 21 ends the behavior service 35, an end message is transmitted to the servo application layer 22, and a shutdown is issued to each of the allowed members 341 of the permission group 34. message. At this time, the server end 21 is switched back from the behavior state to the servo off state. After the user 31, which is the permission member 341, receives the close message of the server terminal 21, it returns from the action state to the user closed state.

因此,藉由上述之第一較佳實施例所提供之應用層互動些播服務協定方法,即可運用於下述例子之相關應用範疇:當網路上有一具有n位會員(即用戶端31)之網路部落格(blog)網站(即伺服器端21)要舉辦一感恩回饋活動,而回饋條件(即需求條件)為:從使用超過兩年以上之k位會員(即訂閱成員331)中,挑選前100位(即允許成員341)最速報名之會員進行紀念品回饋,因此前述之會員數的關係即為100≦k≦n,所以,該網路部落格網站管理者便可利用本發明第一較佳實施例所提供之應用層互動些播服務協定方法,來選取欲贈獎的100位會員,並利用網路傳輸方式,於此100位會員之個人部落格內利用彈跳網頁(Pop up Window)通知中獎訊息。Therefore, the application layer interactive broadcast service agreement method provided by the first preferred embodiment described above can be applied to the related application scope of the following example: when there is an n-member (ie, client 31) on the network. The web blog site (server side 21) has a gratitude feedback activity, and the feedback condition (ie, the demand condition) is: from the k-members (ie, the subscription member 331) who have used more than two years or more. , select the top 100 (that is, allow member 341) members to apply for souvenir feedback, so the relationship of the number of members mentioned above is 100≦k≦n, so the online blog website administrator can use the invention The application layer interactive broadcast service agreement method provided by a preferred embodiment selects 100 members to be awarded and uses the network transmission method to utilize the bounce page in the personal blog of the 100 members (Pop up Window) Notifies the winning message.

參閱圖3及圖4,本發明應用層互動些播服務協定方法之第二較佳實施例,其主要概念大致與前述之第一較佳實施例類似,故其類似之處的相關說明,以下不再加以贅述,而其主要不同之處在於,在該第一較佳實施例中,該些播服務協定僅對該等用戶端31進行,然而,在下列之第二較佳實施例中,前述所提之些播服務可擴大地應用於複數不同類型之群組上,且每一群組中皆具有複數其相關群員,所以,本第二較佳實施例以具有二種不同類型之群組所進行之些播服務協定為例,依序進行以下步驟401至步驟414:首先,如步驟401所示,該伺服器端21接收到該伺服應用層22所發出之該啟動訊息。Referring to FIG. 3 and FIG. 4, a second preferred embodiment of the application layer interactive broadcast service agreement method of the present invention is substantially similar to the first preferred embodiment described above, so the related description of the similarities is as follows. It will not be described again, but the main difference is that in the first preferred embodiment, the broadcast service agreements are only performed for the client terminals 31. However, in the following second preferred embodiment, The foregoing broadcast services may be applied to a plurality of different types of groups, and each group has a plurality of related group members. Therefore, the second preferred embodiment has two different types. For example, some of the broadcast service protocols performed by the group are performed in the following steps 401 to 414. First, as shown in step 401, the server terminal 21 receives the activation message sent by the servo application layer 22.

其次,如步驟402所示,該伺服器端21對一具有複數第一用戶端51之第一用戶群組5及一具有複數第二用戶端61之第二用戶群組6分別發出複數第一邀請212訊息及複數第二邀請214訊息。並同時將一第一訂閱成員計數值及一第二訂閱成員計數值分別設定為零。Next, as shown in step 402, the server end 21 issues a complex first to a first user group 5 having a plurality of first users 51 and a second user group 6 having a plurality of second users 61. Invitation 212 message and plural second invitation 214 message. At the same time, a first subscription member count value and a second subscription member count value are respectively set to zero.

再來,如步驟403所示,該第一用戶群組5及第二用戶群組6接收該等第一邀請212訊息及該等第二邀請214訊息,且每一第一用戶端51及每一第二用戶端61分別將其接收之第一邀請212訊息及第二邀請214訊息轉送至一第一用戶應用層52及一第二用戶應用層62,並如步驟404所示,等待接收是否有分別相對應之一第一加入確認510訊息及一第二加入確認610訊息的回應,再傳送至該伺服器端21。Then, as shown in step 403, the first user group 5 and the second user group 6 receive the first invitation 212 message and the second invitation 214 message, and each first user terminal 51 and each A second client 61 forwards the first invitation 212 message and the second invitation 214 message received to a first user application layer 52 and a second user application layer 62, and waits for receiving as shown in step 404. There is a corresponding one of the first join confirmation 510 message and a second join confirmation 610 message, and then transmitted to the server terminal 21.

而後,如步驟405所示,當該伺服器端21每接收到該第一加入確認510訊息,便將其內之此第一用戶端51納入至一第一訂閱群組53,而成一第一訂閱成員531,而當該伺服器端21每接收到該第二加入確認610訊息,便將其內之第二用戶端61納入至一第二訂閱群組63,而成一第二訂閱成員631。在本第二較佳實施例中,於將此第一、二用戶端51、61分別納入其第一、二訂閱群組53、63之同時,分別記錄該第一訂閱群組53中每一第一訂閱成員531的一第一識別資料及該第二訂閱群組63中每一第二訂閱成員631的一第二識別資料。Then, as shown in step 405, when the server terminal 21 receives the first join confirmation 510 message, the first user terminal 51 is included in the first subscription group 53 to form a first The member 531 is subscribed, and when the server terminal 21 receives the second join confirmation 610 message, the second client 61 therein is included in a second subscription group 63 to form a second subscription member 631. In the second preferred embodiment, each of the first and second subscribers 51, 61 is included in the first and second subscriber groups 53, 63, and each of the first subscriber groups 53 is recorded. A first identification material of the first subscription member 531 and a second identification material of each second subscription member 631 of the second subscription group 63.

此外,於前述步驟中,當該伺服器端21每接收到一第一加入確認510訊息時,便將該第一訂閱成員計數值加一,而每接收到一第二加入確認610訊息,便將該第二訂閱成員計數值加一,以分別統計該第一訂閱群組53內及該第二訂閱群組63內之第一訂閱成員531及第二訂閱成員631之數量。In addition, in the foregoing step, when the server end 21 receives a first join confirmation 510 message, the first subscription member count value is incremented by one, and each time a second join confirmation 610 message is received, The second subscription member count value is incremented by one to separately count the number of the first subscription member 531 and the second subscription member 631 in the first subscription group 53 and the second subscription group 63.

接著,如步驟406所示,當該伺服應用層22對該伺服器端21觸發一些播服務,並分別針對該第一用戶群組5及該第二用戶群組6傳送一第一需求條件及一第二需求條件時,如步驟407所示,該伺服器端21對該第一訂閱群組53及該第二訂閱群組63分別傳送至少一第一確認詢問213訊息及至少一第二確認詢問215訊息,並等待回應。Then, as shown in step 406, the server application layer 22 triggers some broadcast services for the server terminal 21, and transmits a first demand condition for the first user group 5 and the second user group 6, respectively. In a second demand condition, as shown in step 407, the server end 21 transmits at least one first confirmation query 213 message and at least one second confirmation to the first subscription group 53 and the second subscription group 63, respectively. Ask 215 for a message and wait for a response.

在此需補充說明的是,於進行步驟406時,當該伺服器端21於開始進行該些播服務後,卻再收到自該第一用戶群組5中之其一第一用戶端51所傳送之第一加入確認510訊息時,則拒絕將此第一用戶端51標示為該第一訂閱成員531,而當收到自該第二用戶群組6中之其一第二用戶端61所傳送之第二加入確認610訊息時,則拒絕將此第二用戶端61標示為該第二訂閱成員631。It should be noted that, when step 406 is performed, when the server end 21 starts to perform the broadcast service, it is again received from a first user terminal 51 of the first user group 5. When the first join confirmation 510 message is transmitted, the first user 51 is rejected as the first subscription member 531, and when the second user 61 is received from the second user group 6. When the second join confirmation 610 message is transmitted, the second client 61 is refused to be marked as the second subscription member 631.

緊接著,如步驟408所示,當該伺服器端21接收到由該第一訂閱群組53之第一訂閱成員531所發出之至少一第一確認回應511訊息時,再判斷該第一需求條件是否已滿足?Then, as shown in step 408, when the server end 21 receives the at least one first confirmation response 511 message sent by the first subscription member 531 of the first subscription group 53, the first requirement is determined. Has the condition been met?

若否,則如步驟409所示,接受此第一訂閱成員531之第一確認回應511訊息,而納入至一第一允許群組54而成一第一允許成員541,並等待次一第一確認回應511訊息之接收。If not, the first confirmation response 511 message of the first subscription member 531 is accepted as shown in step 409, and is included in a first allowed group 54 to form a first allowed member 541, and waits for the first confirmation. Respond to the receipt of the 511 message.

若是,則如步驟410所示,允許該第一允許群組54進入該行為服務35。If so, then as shown in step 410, the first allowed group 54 is allowed to enter the behavioral service 35.

再者,如步驟411所示,而當該伺服器端21接收到由該第二訂閱群組63之第二訂閱成員631所發出之至少一第 二確認回應611訊息時,再判斷該第二需求條件是否已滿足?Furthermore, as shown in step 411, when the server end 21 receives at least one of the second subscription members 631 issued by the second subscription group 63 2. When confirming the response to the 611 message, determine whether the second demand condition has been met.

若否,則如步驟412所示,接受此第二訂閱成員631之第二確認回應611訊息,而納入至一第二允許群組64而成一第二允許成員641,並等待次一第二確認回應611訊息之接收。If not, the second confirmation response 611 message of the second subscription member 631 is accepted as shown in step 412, and is included in a second permission group 64 to form a second permission member 641, and waits for the second confirmation. Respond to the receipt of the 611 message.

若是,則如步驟413所示,允許該第二允許群組64進入該行為服務35。If so, the second allowed group 64 is allowed to enter the behavioral service 35 as shown in step 413.

在該步驟409及步驟412中,每一第一訂閱成員531或第二訂閱成員631被納入至該第一、二允許群組54、64而成該第一、二允許成員541、641時,亦同時且分別地將每一第一允許成員541及第二允許成員641的第一識別資料及第二識別資料記錄於該第一、二允許群組54、64中。In step 409 and step 412, each first subscription member 531 or second subscription member 631 is included in the first and second allowed groups 54, 64 to form the first and second allowed members 541, 641. The first identification data and the second identification data of each of the first allowable members 541 and the second allowable members 641 are also recorded in the first and second allowable groups 54, 64 simultaneously and separately.

再者,前述之行為服務35在本第二較佳實施例中,可僅為一使該第一允許群組54內之各第一允許成員541間相互進行通訊的功能,亦可為一使該第二允許群組64內之各第二允許成員641間相互進行通訊的功能,或是一使該第一允許群組54內之各第一允許成員541與該第二允許群組64內之各第二允許成員641間相互進行通訊的功能。In addition, in the second preferred embodiment, the foregoing behavioral service 35 may only be a function of enabling each of the first allowed members 541 in the first allowed group 54 to communicate with each other. The functions of the second permission members 641 in the second permission group 64 to communicate with each other, or the first permission members 541 in the first permission group 54 and the second permission group 64 Each of the second allows members 641 to communicate with each other.

此外,前述步驟406、步驟408及步驟411所提之該第一、二需求條件可相異地分別為下列之條件形式或皆同為其中之一種:該第一需求條件可為一接受該第一訂閱群組53之第一確認回應511訊息的有效時間區段,或是一對該第一允許成員541的數量限制,且該伺服器端21是利用一初始值為零之一第一允許成員計數值的同步增加,來統計該第一允許群組54之第一允許成員541的數量。而該第二需求條件為一接受該第二訂閱群組63之第二確認回應611訊息的有效時間區段,或是一對該第二允許成員641的數量限制,且該伺服器端21是利用一初始值為零之一第二允許成員計數值的同步增加,來統計該第二允許群組64之第二允許成員641的數量。In addition, the first and second requirement conditions mentioned in the foregoing steps 406, 408, and 411 may be different according to the following condition forms or one of the following: the first requirement condition may be an acceptance of the first The first confirmation response 511 of the subscription group 53 is valid for the time period of the message, or a pair of the first allowed member 541, and the server end 21 is one of the first allowed members using an initial value of zero. The synchronization of the count values is increased to count the number of first allowed members 541 of the first allowed group 54. The second requirement condition is a valid time period of accepting the second confirmation response 611 of the second subscription group 63, or a limit of the number of the second allowed members 641, and the server end 21 is The number of second allowed members 641 of the second allowed group 64 is counted using a synchronization increase of one of the initial values of one of the second allowed member count values.

最後,如步驟414所示,當該伺服器端21結束該行為服務35時,便對該伺服應用層22傳送一結束訊息,並分別對該第一允許群組54及該第二允許群組64中之每一第一允許成員541及第二允許成員641發出該關閉訊息。Finally, as shown in step 414, when the server end 21 ends the behavior service 35, an end message is transmitted to the servo application layer 22, and the first allowed group 54 and the second allowed group are respectively respectively Each of the first allowable member 541 and the second allowable member 641 of 64 issues the close message.

此外,與前述之第一較佳實施例類似,在本第二較佳實施例中,對於該伺服器端21而言:在該步驟401中,於該伺服器端21接收到該伺服應用層22所發出之啟動訊息前,是處於該伺服關閉狀態。In addition, similar to the foregoing first preferred embodiment, in the second preferred embodiment, for the server end 21: in the step 401, the server application layer 21 receives the servo application layer. Before the start message sent by 22, it is in the servo off state.

而在該步驟402中,該伺服器端21於發出該等第一邀請212訊息及該等第二邀請214訊息後,則自該伺服關閉狀態轉為一聆聽狀態,且在該步驟406中,該伺服器端21接受該些播服務之觸發後,則自該聆聽狀態轉為一些播要求狀態。In the step 402, after the first invitation 212 message and the second invitation 214 message are sent, the server end 21 changes from the servo off state to a listening state, and in the step 406, After the server end 21 accepts the triggering of the broadcast services, the server terminal 21 changes from the listening state to some broadcast request states.

並在該步驟410及該步驟413中,該伺服器端21於允許該行為服務35時,自該些播要求狀態轉為一行為狀態,而在該步驟414中,該伺服器端21於結束該行為服務35時,自該行為狀態轉回該伺服關閉狀態。And in the step 410 and the step 413, the server terminal 21 changes from the broadcast request state to a behavior state when the behavior service 35 is permitted, and in the step 414, the server terminal 21 ends. When the behavior service 35, the behavior state is switched back to the servo off state.

然而,對於該等第一用戶端51及該等第二用戶端61而言:在該步驟403中,該等用第一戶端51與該等第二用戶端61於接收相對之該等第一邀請212訊息及該等第二邀請214訊息前,分別是處於一用戶關閉狀態;而於接收該等第一邀請212訊息及第二邀請214訊息後,則自該用戶關閉狀態轉為一受邀狀態;並於分別發出該第一加入確認510訊息及該第二加入確認610訊息至該伺服器端21後,自該受邀狀態轉為一參加狀態;在該步驟405中,當被分別納入該第一訂閱群組53及該第二訂閱群組63時,其狀態自該參加狀態轉為一訂閱成功狀態。However, for the first user terminal 51 and the second user terminals 61, in the step 403, the first client 51 and the second client terminal 61 are opposite to each other. Before inviting the 212 message and the second invitation 214 message, the user is in a user-off state; and after receiving the first invitation 212 message and the second invitation 214 message, the user is turned off from the user-off state. Inviting the status; and after issuing the first join confirmation 510 message and the second join confirmation 610 message to the server end 21, respectively, from the invited state to a participating state; in the step 405, when respectively When the first subscription group 53 and the second subscription group 63 are included, the status changes from the participation status to a subscription success status.

在該步驟408及步驟411中,該第一訂閱群組53中之第一用戶端51與第二訂閱群組63中之第二用戶端61分別於回傳其第一確認回應511訊息及第二確認回應611訊息至該伺服器端21後,自該訂閱成功狀態轉為一允許等待狀態,並於進行該行為服務35時,自該允許等待狀態轉為一行動狀態。In the step 408 and the step 411, the first user end 51 of the first subscribing group 53 and the second user end 61 of the second subscribing group 63 respectively return their first confirmation response 511 message and the first After confirming the response 611 message to the server terminal 21, the subscription success state is changed to an allowable wait state, and when the behavior service 35 is performed, the permission waiting state is changed to an action state.

而在該步驟414中,每一成為第一允許成員541之第一用戶端51及每一成為第二允許成員641之第二用戶端61接分別收到該伺服器端21之關閉訊息後,則自該行動狀態轉回該用戶關閉狀態。In this step 414, after the first user end 51 that becomes the first permitted member 541 and the second user end 61 that becomes the second permitted member 641 respectively receive the close message of the server end 21, Then the state of the action is switched back to the user closed state.

在此再針對上述之第二較佳實施例所提供之應用層互動些播服務協定方法,運用於下述例子之相關應用作更進一步的實務說明:我們以一醫療服務系統為例,當某醫院中之某病房內的一身理感測器偵測到某病患之身理訊號發生異常,或一視訊設備偵測到病患發生一危險狀況時,前述之相關偵測裝備即運用本發明應用層互動些播服務協定方法,於已事先內建且依人員專長或執掌分類的多個群組(即第一用戶群組5、第二用戶群組6及其他群組)中,找尋相關人員協助,以組成一個臨時緊急的照護處理小組,例如此小組需要1位內科醫師(即第一用戶端51)、2位護理人員(即第二用戶端61)及2位保全人員(其他用戶群組內之用戶端)等3種群組之共5位人員參與救助,由此可知,透過本發明第二較佳實施例所提供之應用層互動些播服務協定方法即可簡單且迅速地達成人員篩選目的。Here again, the application layer interactive broadcast service agreement method provided by the second preferred embodiment described above is applied to related applications of the following examples for further practical explanation: we take a medical service system as an example, when a certain When a sensor in a hospital ward detects an abnormality in the body signal of a patient, or a video device detects a dangerous situation in the patient, the related detection device uses the present invention. The application layer interacts with the broadcast service agreement method, and searches for related groups in multiple groups (ie, the first user group 5, the second user group 6, and other groups) that have been built in advance and are classified according to personnel's expertise or management. Personnel assistance to form a temporary emergency care team, for example, this group requires 1 physician (ie first client 51), 2 nurses (ie second client 61) and 2 security personnel (other users) A total of 5 people in the 3 groups of the user in the group participate in the rescue. It can be seen that the application layer interactive broadcast service agreement method provided by the second preferred embodiment of the present invention can be simply and quickly Reaching personnel Screening purposes.

最後,須補充說明的是,在本較佳實施例中,雖然所舉之例子僅針對第一用戶群組5及第二用戶群組6等二群組進行說明,然而,於實務應用上,本發明之架構及相關機制可擴及至二個以上之多個群組而適用,如圖5所示之第一用戶群組5至第n用戶群組7之態樣,由於此n個群組與該伺服器端21間之個別傳訊互動皆與本較佳實施例相似,故在此不再予以贅述。Finally, it should be added that, in the preferred embodiment, although the example is only for the first group of users 5 and the second group of users 6 and the like, in practical applications, The architecture and related mechanisms of the present invention can be extended to more than two groups, as shown in FIG. 5, the first user group 5 to the nth user group 7, since the n groups The individual communication interactions with the server terminal 21 are similar to the preferred embodiment, and therefore will not be further described herein.

綜上所述,本發明應用層互動些播服務協定方法具有以下優點:(一)單點播送:當使用應用層互動些播服務協定方法時,進行通訊之雙方不需要知道彼此的IP位址,只需要透過如Web 2.0之網頁方式即可進行通訊。In summary, the application layer interactive broadcast service agreement method of the present invention has the following advantages: (1) unicast: When using the application layer to interact with the broadcast service agreement method, the two parties communicating need not know each other's IP address. It only needs to communicate through the webpage such as Web 2.0.

(二)廣播:藉由本發明所提供之些播服務協定方法,可以選擇所需要的成員,進行相關邀請訊息的發送,而明顯地降低封包的傳輸量。(2) Broadcasting: With the broadcast service agreement method provided by the present invention, the required members can be selected to transmit related invitation messages, and the transmission amount of the packets is obviously reduced.

(三)群體廣播:透過此應用層互動些播服務協定方法,除了可以依據群組中的特定成員發出訊息外,還可以選定各群組中的部分成員發出訊息,此外,也可以依據需求條件篩選不同群組的成員,而進一步地再建構出一經篩選過的另一新群組。(3) Group broadcast: Through this application layer, the interactive broadcast service agreement method can not only send messages according to specific members in the group, but also select some members of each group to send messages. In addition, according to the demand conditions Filter the members of different groups and further reconstruct another new group that has been screened.

(四)隨播:運用本發明所提供之些播服務協定方法所找尋出由一群最快且最合適的相關服務成員所組成之團隊,比習知技術之僅判斷跳躍數較低的網路條件更為有效且更能因應相關狀況所需。(4) Companion: Using the broadcasting service agreement methods provided by the present invention to find a team composed of a group of the fastest and most appropriate related service members, only the network with lower judgment hops than the prior art Conditions are more effective and more responsive to the relevant conditions.

因此,由上述所歸納之四點主要優勢明顯可知,確實能達成本發明之目的。Therefore, it is apparent from the four main advantages summarized above that the object of the present invention can be achieved.

惟以上所述者,僅為本發明之二較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及發明說明內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。However, the above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, that is, the simple equivalent changes and modifications made in accordance with the scope of the present invention and the description of the invention. All remain within the scope of the invention patent.

10~19...步驟10~19. . . step

21...伺服器端twenty one. . . Server side

210...邀請210. . . invite

211...確認詢問211. . . Confirmation inquiry

212...第一邀請212. . . First invitation

213...第一確認詢問213. . . First confirmation inquiry

214...第二邀請214. . . Second invitation

215...第二確認詢問215. . . Second confirmation inquiry

22...伺服應用層twenty two. . . Servo application layer

31...用戶端31. . . user terminal

310...加入確認310. . . Join confirmation

311...確認回應311. . . Confirm response

32...用戶應用層32. . . User application layer

33...訂閱群組33. . . Subscription group

331...訂閱成員331. . . Subscribe to members

34...允許群組34. . . Allow group

341...允許成員341. . . Allow members

35...行為服務35. . . Behavioral service

401~414...步驟401~414. . . step

5...第一用戶群組5. . . First user group

51...第一用戶端51. . . First client

510...第一加入確認510. . . First join confirmation

511...第一確認回應511. . . First confirmation response

52...第一用戶應用層52. . . First user application layer

53...第一訂閱群組53. . . First subscription group

531...第一訂閱成員531. . . First subscriber member

54...第一允許群組54. . . First allowed group

541...第一允許成員541. . . First allowed member

6...第二用戶群組6. . . Second user group

61...第二用戶端61. . . Second client

610...第二加入確認610. . . Second addition confirmation

611...第二確認回應611. . . Second confirmation response

62...第二用戶應用層62. . . Second user application layer

63...第二訂閱群組63. . . Second subscription group

631...第二訂閱成員631. . . Second subscription member

64...第二允許群組64. . . Second allowed group

641...第二允許成員641. . . Second allowed member

7...第n用戶群組7. . . Nth user group

圖1是一流程圖,說明本發明應用層互動些播服務協定方法的第一較佳實施例所述之相關步驟;1 is a flow chart illustrating the steps associated with the first preferred embodiment of the application layer interactive broadcast service agreement method of the present invention;

圖2是一示意圖,說明與該第一較佳實施例相對應之系統運作態樣;Figure 2 is a schematic view showing the operation of the system corresponding to the first preferred embodiment;

圖3A及3B是流程圖,說明本發明應用層互動些播服務協定方法的第二較佳實施例所述之相關步驟;3A and 3B are flowcharts showing the steps involved in the second preferred embodiment of the application layer interactive broadcast service agreement method of the present invention;

圖4是一示意圖,說明與該第二較佳實施例相對應之系統運作態樣;及Figure 4 is a schematic view showing the operation of the system corresponding to the second preferred embodiment; and

圖5是一示意圖,說明將該第二較佳實施例之系統擴及至多個群組的運作態樣。Figure 5 is a schematic diagram showing the operation of expanding the system of the second preferred embodiment to a plurality of groups.

10~19...步驟10~19. . . step

Claims (24)

一種應用層互動些播服務協定方法,包含以下步驟:(a)一伺服器端接收到一伺服應用層所發出之一啟動訊息;(b)該伺服器端對複數用戶端發出複數邀請訊息;(c)該等用戶端接收該等邀請訊息,且每一用戶端將其接收之邀請訊息轉送至一用戶應用層,並等待接收是否有一加入確認訊息的回應,當收到該加入確認訊息時,再傳送至該伺服器端;(d)該伺服器端每接收到一加入確認訊息,便將此用戶端納入至一訂閱群組,而成一訂閱成員;(e)當該伺服應用層對該伺服器端觸發一些播服務,並傳送一需求條件時,該伺服器端對該訂閱群組傳送至少一確認詢問訊息,並等待回應;及(f)當該伺服器端接收到由該訂閱群組之訂閱成員所發出之至少一確認回應訊息時,再判斷該需求條件是否已滿足,若否,則接受此訂閱成員之確認回應訊息,而納入至一允許群組而成一允許成員,並等待次一確認回應訊息之接收,若是,則允許該允許群組進入一行為服務。 An application layer interaction broadcast service agreement method includes the following steps: (a) a server receives a start message sent by a servo application layer; (b) the server sends a plurality of invitation messages to the plurality of users; (c) the client receives the invitation message, and each client forwards the invitation message it receives to a user application layer, and waits to receive a response to the confirmation message, when the confirmation message is received. And transmitting to the server end; (d) each time the server receives a join confirmation message, the user is included in a subscription group to form a subscription member; (e) when the server application layer is paired When the server triggers some broadcast service and transmits a demand condition, the server transmits at least one confirmation inquiry message to the subscription group and waits for a response; and (f) when the server receives the subscription When at least one confirmation response message is sent by the subscribing member of the group, it is judged whether the requirement condition has been met, and if not, the confirmation response message of the subscribing member is accepted, and is included in an allowed group. Allow members, and wait for a time to acknowledge receipt of the response message, and if so, allowing the group to enter a permit acts of service. 依據申請專利範圍第1項所述之應用層互動些播服務協定方法,其中,在該(d)步驟中,記錄該訂閱群組中每一訂閱成員的一識別資料,而在該(f)步驟中,再將每一允 許成員的識別資料記錄於該允許群組中。 According to the application layer interactive broadcast service agreement method of claim 1, wherein in the step (d), an identification data of each subscription member in the subscription group is recorded, and in the (f) In the step, each will be The identification data of the member is recorded in the allowed group. 依據申請專利範圍第1項所述之應用層互動些播服務協定方法,其中,在該(e)步驟中,當該伺服器端於開始進行該些播服務後,再收到自該等用戶端中之其一所傳送之加入確認訊息時,則拒絕將此用戶端標示為該訂閱成員。 According to the application layer interactive broadcast service agreement method of claim 1, wherein in the (e) step, when the server end starts to perform the broadcast service, it is received from the users again. When one of the end sends a confirmation message, the user is refused to be marked as the subscriber. 依據申請專利範圍第1項所述之應用層互動些播服務協定方法,其中,在該(e)步驟中,該需求條件為一接受該訂閱群組之確認回應訊息的有效時間區段。 The application layer interaction broadcast service agreement method according to claim 1, wherein in the (e) step, the requirement condition is a valid time period of accepting the confirmation response message of the subscription group. 依據申請專利範圍第1項所述之應用層互動些播服務協定方法,其中,在該(e)步驟中,該需求條件為一對該允許成員的數量限制,且該伺服器端是利用一初始值為零之一允許成員計數值的同步增加,來統計該允許群組之允許成員的數量。 The application layer interaction broadcast service agreement method according to claim 1, wherein in the (e) step, the requirement condition is a limit on the number of the allowed members, and the server end utilizes a One of the initial values of zero allows the synchronization of the member count values to be counted to count the number of allowed members of the allowed group. 依據申請專利範圍第1至5項中之任一項所述之應用層互動些播服務協定方法,更包含一位於該(f)步驟後之(g)步驟,當該伺服器端結束該行為服務時,便對該伺服應用層傳送一結束訊息,並對該允許群組中之每一允許成員發出一關閉訊息。 The application layer interactive broadcast service agreement method according to any one of claims 1 to 5, further comprising a step (g) after the step (f), when the server ends the behavior At the time of service, an end message is transmitted to the servo application layer, and a close message is sent to each of the allowed members in the allowed group. 依據申請專利範圍第6項所述之應用層互動些播服務協定方法,其中,在該(b)步驟中,該伺服器端將一訂閱成員計數值設定為零,而在該(d)步驟中,該伺服器端每接收到一加入確認訊息,便將該訂閱成員計數值加一,以統計該訂閱群組內之訂閱成員之數量。According to the application layer interactive broadcast service agreement method of claim 6, wherein in the step (b), the server end sets a subscription member count value to zero, and in the step (d) Each time the server receives a join confirmation message, the subscriber member count value is incremented by one to count the number of subscription members in the subscription group. 依據申請專利範圍第7項所述之應用層互動些播服務協定方法,其中,在該(a)步驟中,該伺服器端於接收到該伺服應用層所發出之啟動訊息前,是處於一伺服關閉狀態,在該(b)步驟中,該伺服器端於發出該等邀請訊息後,則自該伺服關閉狀態轉為一聆聽狀態,且在該(e)步驟中,該伺服器端接受該些播服務之觸發後,則自該聆聽狀態轉為一些播要求狀態,並在該(f)步驟中,該伺服器端於允許該允許群組進入該行為服務時,自該些播要求狀態轉為一行為狀態,而在該(g)步驟中,該伺服器端於結束該行為服務時,自該行為狀態轉回該伺服關閉狀態。According to the application layer interactive broadcast service agreement method of claim 7, wherein in the step (a), the server end is in a state before receiving the start message sent by the servo application layer. In the servo off state, in the step (b), after the server sends the invitation message, the server is switched from the servo off state to a listening state, and in the step (e), the server end accepts After the triggering of the broadcast service, the listening state is changed to some broadcast request state, and in the step (f), the server end allows the permission group to enter the behavior service, from the broadcast request The state is changed to a behavior state, and in the step (g), the server end returns to the servo off state from the behavior state when the behavior service is ended. 依據申請專利範圍第8項所述之應用層互動些播服務協定方法,其中,在該(c)步驟中,該等用戶端於接收該等邀請訊息前,是處於一用戶關閉狀態,而於接收該等邀請訊息後,則自該用戶關閉狀態轉為一受邀狀態,並於發出該加入確認訊息至該伺服器端後,自該受邀狀態轉為一參加狀態,在該(d)步驟中,每一被納入該訂閱群組之用戶端之狀態自該參加狀態轉為一訂閱成功狀態,在該(f)步驟中,該訂閱群組中之用戶端於回傳其確認回應訊息至該伺服器端後,自該訂閱成功狀態轉為一允許等待狀態,並於進行該行為服務時,自該允許等待狀態轉為一行動狀態,而在該(g)步驟中,每一成為允許成員之用戶端接收到該伺服器端之關閉訊息後,則自該行動狀態轉回該用戶關閉狀態。According to the application layer interactive broadcast service agreement method of claim 8, wherein in the step (c), the users are in a user-off state before receiving the invitation message, and After receiving the invitation message, the user is turned off from the closed state to an invited state, and after the confirmation message is sent to the server, the invited state is changed to a participating state, in the (d) In the step, the status of each user included in the subscription group is changed from the participation status to a subscription success status. In the step (f), the user in the subscription group returns the confirmation response message. After the server end, the subscription success state is changed to an allowable waiting state, and when the behavior service is performed, the permission waiting state is changed to an action state, and in the (g) step, each becomes After the user of the member is allowed to receive the close message of the server, the user is switched back from the action state to the user closed state. 依據申請專利範圍第9項所述之應用層互動些播服務協定方法,其中,在該(f)步驟中,該行為服務為一使該允許群組內之各允許成員間相互進行通訊的功能。The application layer interactive broadcast service agreement method according to claim 9, wherein in the step (f), the behavior service is a function of enabling each of the allowed members in the allowed group to communicate with each other. . 一種應用層互動些播服務協定方法,包含以下步驟:(a)一伺服器端接收到一伺服應用層所發出之一啟動訊息;(b)該伺服器端對一具有複數第一用戶端之第一用戶群組及一具有複數第二用戶端之第二用戶群組分別發出複數第一邀請訊息及複數第二邀請訊息;(c)該第一用戶群組及第二用戶群組接收該等第一邀請訊息及該等第二邀請訊息,且每一第一用戶端及每一第二用戶端分別將其接收之第一邀請訊息及第二邀請訊息轉送至一第一用戶應用層及一第二用戶應用層,並等待接收是否有分別相對應之一第一加入確認訊息及一第二加入確認訊息的回應,再傳送至該伺服器端;(d)當該伺服器端每接收到該第一加入確認訊息,便將其內之此第一用戶端納入至一第一訂閱群組,而成一第一訂閱成員,而當該伺服器端每接收到該第二加入確認訊息,便將其內之第二用戶端納入至一第二訂閱群組,而成一第二訂閱成員;(e)當該伺服應用層對該伺服器端觸發一些播服務,並分別針對該第一用戶群組及該第二用戶群組傳送一第一需求條件及一第二需求條件時,該伺服器端對該第一訂閱群組及該第二訂閱群組分別傳送至少一第一確認詢問訊息及至少一第二確認詢問訊息,並等待回應;及(f)當該伺服器端接收到由該第一訂閱群組之第一訂閱成員所發出之至少一第一確認回應訊息時,再判斷該第一需求條件是否已滿足,若否,則接受此第一訂閱成員之第一確認回應訊息,而納入至一第一允許群組而成一第一允許成員,並等待次一第一確認回應訊息之接收,若是,則允許該第一允許群組進入一行為服務,而當該伺服器端接收到由該第二訂閱群組之第二訂閱成員所發出之至少一第二確認回應訊息時,再判斷該第二需求條件是否已滿足,若否,則接受此第二訂閱成員之第二確認回應訊息,而納入至一第二允許群組而成一第二允許成員,並等待次一第二確認回應訊息之接收,若是,則允許該第二允許群組進入該行為服務。 An application layer interaction broadcast service agreement method includes the following steps: (a) a server end receives a start message sent by a servo application layer; (b) the server end has a plurality of first user terminals The first user group and the second user group having the plurality of second users respectively send a plurality of first invitation messages and a plurality of second invitation messages; (c) the first user group and the second user group receive the Waiting for the first invitation message and the second invitation message, and each first user terminal and each second user terminal respectively forward the first invitation message and the second invitation message received by the first user terminal and the second user message to a first user application layer and a second user application layer, and waiting to receive whether there is a corresponding one of the first join confirmation message and a second join confirmation message, and then transmitted to the server; (d) when the server receives each After the first join confirmation message is received, the first user end is included in a first subscription group to form a first subscription member, and each time the server receives the second join confirmation message, Will use the second one in it The terminal is included in a second subscription group to form a second subscription member; (e) when the server application layer triggers some broadcast services to the server end, and respectively for the first user group and the second user group When the group transmits a first requirement condition and a second requirement condition, the server end transmits at least one first confirmation inquiry message and at least one second confirmation inquiry message to the first subscription group and the second subscription group respectively. And waiting for a response; and (f) when the server receives at least one first confirmation response message sent by the first subscription member of the first subscription group, and then determines whether the first requirement condition has been met. If not, accepting the first confirmation response message of the first subscription member, and incorporating the first allowed group into a first allowed member, and waiting for the receipt of the first first confirmation response message, and if so, allowing The first allowed group enters a behavior service, and when the server receives at least one second confirmation response message sent by the second subscription member of the second subscription group, the second requirement condition is determined. Yes If yes, accept the second confirmation response message of the second subscription member, and include the second permission group as a second permitted member, and wait for the second confirmation response message to be received, and if so, The second allowed group is allowed to enter the behavioral service. 依據申請專利範圍第11項所述之應用層互動些播服務協定方法,其中,在該(d)步驟中,分別記錄該第一訂閱群組中每一第一訂閱成員的一第一識別資料及該第二訂閱群組中每一第二訂閱成員的一第二識別資料,而在該(f)步驟中,再分別將每一第一允許成員及第二允許成員的第一識別資料及第二識別資料記錄於該第一、二允許群組中。 According to the application layer interactive broadcast service agreement method of claim 11, wherein in the step (d), a first identification data of each first subscription member in the first subscription group is separately recorded. And a second identification material of each second subscription member in the second subscription group, and in the step (f), respectively, the first identification data of each of the first allowed member and the second allowed member respectively The second identification data is recorded in the first and second allowed groups. 依據申請專利範圍第11項所述之應用層互動些播服務協定方法,其中,在該(e)步驟中,當該伺服器端於開始進行該些播服務後,再收到自該第一用戶群組中之其一第 一用戶端所傳送之第一加入確認訊息時,則拒絕將此第一用戶端標示為該第一訂閱成員,而當收到自該第二用戶群組中之其一第二用戶端所傳送之第二加入確認訊息時,則拒絕將此第二用戶端標示為該第二訂閱成員。 According to the application layer interactive broadcast service agreement method of claim 11, wherein in the (e) step, when the server end starts to perform the broadcast service, it is received from the first One of the user groups When the first join confirmation message transmitted by the user end, the first user end is marked as the first subscription member, and when received from a second user end of the second user group When the second join confirmation message, the second client is refused to be marked as the second subscription member. 依據申請專利範圍第11項所述之應用層互動些播服務協定方法,其中,在該(e)步驟中,該第一需求條件為一接受該第一訂閱群組之第一確認回應訊息的有效時間區段。 According to the application layer interactive broadcast service agreement method of claim 11, wherein in the (e) step, the first requirement condition is that the first confirmation response message of the first subscription group is accepted. Valid time zone. 依據申請專利範圍第11項所述之應用層互動些播服務協定方法,其中,在該(e)步驟中,該第二需求條件為一接受該第二訂閱群組之第二確認回應訊息的有效時間區段。 According to the application layer interactive broadcast service agreement method of claim 11, wherein in the (e) step, the second requirement condition is a second confirmation response message accepting the second subscription group. Valid time zone. 依據申請專利範圍第11項所述之應用層互動些播服務協定方法,其中,在該(e)步驟中,該第一需求條件為一對該第一允許成員的數量限制,且該伺服器端是利用一初始值為零之一第一允許成員計數值的同步增加,來統計該第一允許群組之第一允許成員的數量。 According to the application layer interactive broadcast service agreement method of claim 11, wherein in the (e) step, the first requirement condition is a limit on the number of the first allowed members, and the server The end uses the synchronization increase of the first allowed member count value, which is one of the initial values of zero, to count the number of the first allowed members of the first allowed group. 依據申請專利範圍第11項所述之應用層互動些播服務協定方法,其中,在該(e)步驟中,該第二需求條件為一對該第二允許成員的數量限制,且該伺服器端是利用一初始值為零之一第二允許成員計數值的同步增加,來統計該第二允許群組之第二允許成員的數量。 According to the application layer interaction broadcast service agreement method of claim 11, wherein in the (e) step, the second requirement condition is a limit on the number of the second allowed members, and the server The terminal counts the number of second allowed members of the second allowed group by using a synchronization increase of one of the initial values of one of the second allowed member count values. 依據申請專利範圍第11至17項中之任一項所述之應用層互動些播服務協定方法,更包含一位於該(f)步驟後之(g)步驟,當該伺服器端結束該行為服務時,便對該伺服應用層傳送一結束訊息,並分別對該第一允許群組及該第二允許群組中之每一第一允許成員及第二允許成員發出一關閉訊息。The application layer interactive broadcast service agreement method according to any one of claims 11 to 17, further comprising a step (g) after the step (f), when the server ends the behavior At the time of service, an end message is transmitted to the servo application layer, and a close message is sent to each of the first allowed group and the second allowed member of the second allowed group. 依據申請專利範圍第18項所述之應用層互動些播服務協定方法,其中,在該(b)步驟中,該伺服器端將一第一訂閱成員計數值及一第二訂閱成員計數值分別設定為零,而在該(d)步驟中,該伺服器端每接收到一第一加入確認訊息,便將該第一訂閱成員計數值加一,而每接收到一第二加入確認訊息,便將該第二訂閱成員計數值加一,以分別統計該第一訂閱群組內及該第二訂閱群組內之第一訂閱成員及第二訂閱成員之數量。The application layer interaction broadcast service agreement method according to claim 18, wherein in the step (b), the server end respectively sets a first subscription member count value and a second subscription member count value Set to zero, and in the step (d), the server end increments the first subscription member count value every time a first join confirmation message is received, and each time a second join confirmation message is received, The second subscription member count value is incremented by one to separately count the number of the first subscription member and the second subscription member in the first subscription group and the second subscription group. 依據申請專利範圍第19項所述之應用層互動些播服務協定方法,其中,在該(a)步驟中,該伺服器端於接收到該伺服應用層所發出之啟動訊息前,是處於一伺服關閉狀態,在該(b)步驟中,該伺服器端於發出該等第一邀請訊息及該等第二邀請訊息後,則自該伺服關閉狀態轉為一聆聽狀態,且在該(e)步驟中,該伺服器端接受該些播服務之觸發後,則自該聆聽狀態轉為一些播要求狀態,並在該(f)步驟中,該伺服器端於允許該行為服務時,自該些播要求狀態轉為一行為狀態,而在該(g)步驟中,該伺服器端於結束該行為服務時,自該行為狀態轉回該伺服關閉狀態。The application layer interaction broadcast service agreement method according to claim 19, wherein in the step (a), the server end is in a state before receiving the startup message sent by the servo application layer. The servo off state, in the step (b), after the server sends the first invitation message and the second invitation message, the server is switched from the servo off state to a listening state, and in the (e) In the step, after the server end accepts the triggering of the broadcast services, the server changes from the listening state to some broadcast request state, and in the step (f), the server end allows the behavior service, The broadcast request state is changed to a behavior state, and in the (g) step, the server end returns to the servo off state from the behavior state when the behavior service is ended. 依據申請專利範圍第20項所述之應用層互動些播服務協定方法,其中,在該(c)步驟中,該等用第一戶端與該等第二用戶端於接收相對之該等第一邀請訊息及該等第二邀請訊息前,分別是處於一用戶關閉狀態,而於接收該等第一邀請訊息及第二邀請訊息後,則自該用戶關閉狀態轉為一受邀狀態,並於分別發出該第一加入確認訊息及該第二加入確認訊息至該伺服器端後,自該受邀狀態轉為一參加狀態,在該(d)步驟中,當被分別納入該第一訂閱群組及該第二訂閱群組時,其狀態自該參加狀態轉為一訂閱成功狀態,在該(f)步驟中,該第一訂閱群組中之第一用戶端與第二訂閱群組中之第二用戶端分別於回傳其第一確認回應訊息及第二確認回應訊息至該伺服器端後,自該訂閱成功狀態轉為一允許等待狀態,並於進行該行為服務時,自該允許等待狀態轉為一行動狀態,而在該(g)步驟中,每一成為第一允許成員之第一用戶端及每一成為第二允許成員之第二用戶端接分別收到該伺服器端之關閉訊息後,則自該行動狀態轉回該用戶關閉狀態。The application layer interactive broadcast service agreement method according to claim 20, wherein in the step (c), the first client and the second client receive the same Before the invitation message and the second invitation message, respectively, the user is in a closed state, and after receiving the first invitation message and the second invitation message, the user is turned off from the user to the invited state, and After the first joining confirmation message and the second joining confirmation message are respectively sent to the server end, the invited state is changed to a participating state, and in the step (d), when being included in the first subscription respectively The group and the second subscription group change their status from the participation status to a subscription success status. In the (f) step, the first user group and the second subscription group in the first subscription group After the second user end returns the first confirmation response message and the second confirmation response message to the server end, respectively, the subscription success status is changed to an allowable waiting state, and when the behavior service is performed, The allowable wait state is turned into an action In the step (g), after the first user that becomes the first allowed member and the second user that becomes the second allowed member respectively receive the closing message of the server, The action state is switched back to the user closed state. 依據申請專利範圍第21項所述之應用層互動些播服務協定方法,其中,在該(f)步驟中,該行為服務為一使該第一允許群組內之各第一允許成員間相互進行通訊的功能。The application layer interactive broadcast service agreement method according to claim 21, wherein, in the step (f), the behavior service is to make each of the first allowed members in the first allowed group mutually The function of communication. 依據申請專利範圍第21項所述之應用層互動些播服務協定方法,其中,在該(f)步驟中,該行為服務為一使該第二允許群組內之各第二允許成員間相互進行通訊的功能。The application layer interactive broadcast service agreement method according to claim 21, wherein in the step (f), the behavior service is to make each second allowed member in the second allowed group mutually The function of communication. 依據申請專利範圍第21項所述之應用層互動些播服務協定方法,其中,在該(f)步驟中,該行為服務為一使該第一允許群組內之各第一允許成員與該第二允許群組內之各第二允許成員間相互進行通訊的功能。The application layer interaction broadcast service agreement method according to claim 21, wherein in the step (f), the behavior service is a first allowed member in the first allowed group and the The second permission function of each of the second allowed members in the group to communicate with each other.
TW97145488A 2008-11-25 2008-11-25 Application Layer Interactive Sowing Service Agreement Method TWI381692B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97145488A TWI381692B (en) 2008-11-25 2008-11-25 Application Layer Interactive Sowing Service Agreement Method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97145488A TWI381692B (en) 2008-11-25 2008-11-25 Application Layer Interactive Sowing Service Agreement Method

Publications (2)

Publication Number Publication Date
TW201021486A TW201021486A (en) 2010-06-01
TWI381692B true TWI381692B (en) 2013-01-01

Family

ID=44832645

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97145488A TWI381692B (en) 2008-11-25 2008-11-25 Application Layer Interactive Sowing Service Agreement Method

Country Status (1)

Country Link
TW (1) TWI381692B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030018800A1 (en) * 1999-12-31 2003-01-23 Toni Paila Service transmission in a packet data network
US20030231629A1 (en) * 2002-06-13 2003-12-18 International Business Machines Corporation System and method for gathering multicast content receiver data
US6856604B2 (en) * 2001-12-19 2005-02-15 Qualcomm Incorporated Efficient multi-cast broadcasting for packet data systems
US20060094408A1 (en) * 2004-04-15 2006-05-04 Huawei Technologies Co., Ltd. Method of counting the number of multimedia broadcasting multicast service subscribers
US7113998B1 (en) * 2000-02-03 2006-09-26 International Business Machines Corporation System and method for grouping recipients of streaming data
TW200737825A (en) * 2006-02-06 2007-10-01 Lg Electronics Inc MBMS dual receiver

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030018800A1 (en) * 1999-12-31 2003-01-23 Toni Paila Service transmission in a packet data network
US7113998B1 (en) * 2000-02-03 2006-09-26 International Business Machines Corporation System and method for grouping recipients of streaming data
US6856604B2 (en) * 2001-12-19 2005-02-15 Qualcomm Incorporated Efficient multi-cast broadcasting for packet data systems
US20030231629A1 (en) * 2002-06-13 2003-12-18 International Business Machines Corporation System and method for gathering multicast content receiver data
US20060094408A1 (en) * 2004-04-15 2006-05-04 Huawei Technologies Co., Ltd. Method of counting the number of multimedia broadcasting multicast service subscribers
TW200737825A (en) * 2006-02-06 2007-10-01 Lg Electronics Inc MBMS dual receiver

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Panzieri,F.,andRoccetti,M.:‘Synchronizationsupportandgroup-membershipservicesforreliabledistributedmultimediaapplications,’ACMMultimediaSystems,1997,5,pp.1-22 *
黃崇明、龔旭陽、劉沛川"Internet上的多媒體群體廣播架構(TheFrameworkforMulticastMultimediaPresentationoverInternet),中華民國資訊學會通訊第一卷第二期,1997April *

Also Published As

Publication number Publication date
TW201021486A (en) 2010-06-01

Similar Documents

Publication Publication Date Title
CN101098267B (en) Method and system for establishing cluster conversation
TWI445433B (en) Method, user equipment and software product for media stream transfer between devices
CN104813655B (en) The method of preview caller in videoconference session
CN100399744C (en) A way to implement group chat
JP4203014B2 (en) Automatic search method between devices in a network
JP5907889B2 (en) Multimedia conferencing method between a UPnP-capable telephony device including a telephony client (TC) device and a plurality of wide area network (WAN) devices in a telephony server (TS), and the telephony server
DE112012002343T5 (en) System and procedure for the secure exchange of instant messages
CN101283541B (en) Method and apparatus for handling invitations to multi-user communication sessions
CN102037684A (en) Group communication system using media server having distributed structure and method thereof
WO2013063886A1 (en) Gateway, inter-community group information processing system and method
WO2005107156A1 (en) Group communication in a communication system
CN101453696A (en) Establishment method, system and apparatus for broadcast and multicast bearing
CN103092870A (en) Method for establishing relational data of contact in network communication system and device for achieving the same
TW201006189A (en) System and method for connecting a wireless network device
CN101164275A (en) Data service system and access control method
JP2009538004A (en) Method, system and apparatus for realizing group talk QoE
EP1836802B1 (en) A method and apparatus for communicating messages in a communications network
WO2011147217A1 (en) Message sending and receiving method for set-top boxes and set-top boxes
JP4959803B2 (en) Distribution reports in communication systems
JP2009513081A (en) Method and apparatus for push-to-talk service
TWI381692B (en) Application Layer Interactive Sowing Service Agreement Method
CN101621657A (en) Wireless video conference system and voting method
JP5208724B2 (en) Method and system for collecting opinions of PoC participants in a push-to-talk over cellular network
CN101115073A (en) Session release method and system for PoC service
CN100396000C (en) Method and system for client to apply for service from server

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees