WO2023082244A1 - Group affiliation method and corresponding device - Google Patents

Group affiliation method and corresponding device Download PDF

Info

Publication number
WO2023082244A1
WO2023082244A1 PCT/CN2021/130622 CN2021130622W WO2023082244A1 WO 2023082244 A1 WO2023082244 A1 WO 2023082244A1 CN 2021130622 W CN2021130622 W CN 2021130622W WO 2023082244 A1 WO2023082244 A1 WO 2023082244A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
attachment
group
client
attach
Prior art date
Application number
PCT/CN2021/130622
Other languages
French (fr)
Chinese (zh)
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 PCT/CN2021/130622 priority Critical patent/WO2023082244A1/en
Publication of WO2023082244A1 publication Critical patent/WO2023082244A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/04Large scale networks; Deep hierarchical networks
    • H04W84/08Trunked mobile radio systems

Definitions

  • This application mainly relates to the field of MCS clusters, and more specifically relates to a group attachment method and corresponding equipment.
  • the MCS standard defines the group attachment standard, that is, the group attachment Affiliation standard. Specifically, the MCS can control the MCC through the group attachment Affiliation standard. (Mission Critical Client) After joining the group, the MCC attached to the group can initiate or receive the group business.
  • MCC usually needs to generate an attach request message containing information of all groups that the user is interested in, and send the attach request message to the MCS to perform the attach operation.
  • the attach result message of the group information is fed back to the MCC.
  • the present application proposes a group attachment method, the method comprising:
  • the target attachment ID is used to indicate that the client is attached to all of the multiple groups that currently exist, or that the client is attached to the multiple groups part of a group;
  • the attach request message at least includes the target attach identifier
  • the acquiring the target attachment identifiers satisfied by the target group includes:
  • the target relationship is the first relationship that the target group is all of the multiple groups, or the target group is the second relationship of some of the multiple groups. relationship, and the second relationship includes a combination of one or more partial groups.
  • the determining the target group for which the client requests to attach, and obtaining the target attachment identifier satisfied by the target group includes:
  • the selected attachment identifier is determined as the target attachment identifier.
  • the method also includes:
  • the uniform resource identifier format stipulated in the group attachment protocol configure the first attachment identifier used to indicate that the client is attached to all of the multiple groups that currently exist;
  • the uniform resource identifier format configure a second attachment identifier used to indicate that the client is attached to some of the multiple groups.
  • the target attachment identifier includes part of the multiple groups that are used to indicate that the client is attached to currently existing groups, generating an attachment for the target group by using the target group attachment identifier request message, including:
  • the present application also proposes a group attachment method, the method comprising:
  • the target group is at least one of a plurality of currently existing groups
  • the attach request message uses the target group to satisfy generated by the target attachment ID, at least including the target attachment ID
  • the target attachment ID is used to indicate that the client is attached to all of the multiple groups that currently exist, or that the client is attached to the multiple groups part of a group
  • control the client In response to the attach request message, control the client to perform an attach operation on the target group according to the target attach identifier.
  • the responding to the attach request message, and controlling the client to perform an attach operation on the target group according to the target attach identifier includes:
  • the method also includes:
  • the present application also proposes a group attachment device, the device comprising:
  • a target group determination module configured to determine the target group to which the client requests to attach
  • a target attachment identification acquisition module configured to acquire a target attachment identification satisfied by the target group;
  • the target attachment identification includes all groups used to indicate that the client is currently attached to a plurality of groups, or the The client is attached to some groups in the plurality of groups;
  • An attach request message generating module configured to generate an attach request message for the target group by using the target attach identifier; the attach request message at least includes the target attach identifier;
  • An attach request message sending module configured to send the attach request message to a server, so that the server responds to the attach request message and controls the client to perform an attach operation on the target group.
  • the present application also proposes a group attachment device, the device comprising:
  • An attach request message receiving module configured to receive an attach request message for a target group sent by a client; wherein, the target group is at least one group among multiple groups that currently exist; the attach request message is generated by using the target attachment identifier satisfied by the target group, and at least includes the target attachment identifier; the target attachment identifier includes all the groups used to indicate that the client is attached to a plurality of groups that currently exist, or the client is attached to some of the multiple groups;
  • An attach operation module configured to control the client to perform an attach operation on the target group according to the target attach identifier in response to the attach request message.
  • the present application also proposes a storage medium on which a computer program is stored, and the computer program is invoked and executed by a processor to implement the above-mentioned group attachment method.
  • the present application also proposes a group attachment system, the system includes at least one terminal and a server, wherein:
  • the terminal includes at least one first memory and at least one first processor
  • the first memory is configured to store a first program implementing the above-mentioned group attachment method on the client side;
  • the first processor is configured to load and execute the first program stored in the first memory, so as to implement the above-mentioned group attachment method on the client side;
  • the server includes at least one second memory and at least one second processor
  • the second memory is configured to store a second program implementing the above-mentioned group attachment method on the server side;
  • the second processor is configured to load and execute the second program stored in the second memory, so as to implement the above-mentioned group attachment method on the server side.
  • the present application provides a group attachment method and corresponding equipment. After determining the target group that the client requests to attach, in order to avoid directly using the group information of each target group, a longer attachment request message is formed. , to increase the packet loss probability and time delay of the attach request message transmission in the wireless environment, this application proposes to obtain the target attach ID that the target group satisfies, that is, the pre-configured very Short identification, to replace the group information of each target group, generate an attach request message for the target group, greatly shorten the length of the attach request message, so that it is sent to the server for attach operation in a wireless environment, The probability of packet loss and time delay in the transmission of the attach request message are reduced, thereby improving the reliability and efficiency of the transmission of the attach request message.
  • FIG. 1 is a schematic flow diagram of an optional example of a group attachment method applicable to a client proposed in this application;
  • Figure 2a is an optional example of an attach request message based on the full amount of group information attached by the client in the existing group attach method
  • FIG. 2b is an optional example of an attachment request message for the client to attach all groups in the group attachment method applicable to the client proposed by the present application;
  • FIG. 2c is another optional example of an attach request message based on the full amount of group information attached by the client in the existing group attach method
  • FIG. 2d is an optional example of an attach request message for a client to attach a partial group in the group attach method applicable to a client proposed in this application;
  • FIG. 3 is a schematic flowchart of another optional example of a group attachment method suitable for a client proposed in this application;
  • FIG. 4 is a schematic flow diagram of an optional example of a group attachment method applicable to a server proposed by the present application
  • FIG. 5a is an optional example of an attachment notification message for a client to attach all groups in an existing group attachment method
  • FIG. 5b is an optional example of the attachment notification message for the client to attach all groups in the group attachment method applicable to the server proposed by the present application;
  • FIG. 5c is an optional example of an attachment notification message for a client to attach a part of the group in the group attachment method applicable to the server proposed by the present application;
  • FIG. 6 is a schematic structural diagram of an optional example of a group attachment device suitable for a client proposed in this application;
  • FIG. 7 is a schematic structural diagram of an optional example of a group attachment device applicable to a server proposed in this application.
  • FIG. 8 is a schematic diagram of a hardware structure of an optional example of a group attachment system applicable to the group attachment method and device proposed in this application;
  • Fig. 9 is a schematic diagram of a hardware structure of another optional example of a terminal applicable to the group attachment method and apparatus proposed in this application.
  • this application hopes to shorten the connection between the client (that is, the above-mentioned mission-critical client, Mission Critical Client, MCC for short) and the server (that is, the above-mentioned mission-critical client) on the basis of ensuring that the requirements of the client attachment group are met.
  • the length of attachment information exchanged between critical servers (Mission Critical Service, referred to as MCS) to avoid easy loss of transmission data packets in a wireless environment and long delays, resulting in low efficiency and poor reliability of attachment information transmission technical problems.
  • this application proposes to optimize the application/pidf+xml schema message in the attachment message interacted between MCC and MCS on the basis of following the MCS standard, that is, the message carrying the group information of all groups that the user is interested in , specifically proposed to configure the attachment identifier to replace these group messages, and at the same time enable the client or server receiving the message to know the group that the client wants to attach to or the group that has successfully attached based on the content of the attachment identifier , in this way, in the data interaction process of attach request message/attach notification message between the client and the server, it is not necessary to implement based on the full amount of application/pidf+xml schema messages, especially when the client needs to attach a large number of groups
  • the processing method proposed by this application to replace the group information of all attachment groups with the attachment identifier greatly shortens the length of the attachment information transmitted between the client and the server, and reduces the packet loss probability of data transmission in the wireless environment. , which reduces the delay, thereby improving
  • the above-mentioned application/pidf+xml schema message is a group attachment standard defined in accordance with the MCS standard, that is, the group attachment Affiliation standard, and the message format (or protocol) requirements for data interaction between the MCC and the MCS are determined, and this application applies to it
  • the specific content is not limited, depending on the situation.
  • FIG. 1 it is a schematic flowchart of an optional example of the group attachment method proposed in this application.
  • This method can be applied to terminals, such as electronic devices that support human-computer interaction functions. Specifically, it can be performed by a client in the electronic device, namely MCC (Mission Critical Client) implements the group attachment method described in this embodiment.
  • MCC Mobility Critical Client
  • This application does not limit the product type of electronic equipment and the application type of MCC, depending on the situation.
  • the mission-critical client is referred to as the client
  • the mission-critical server MCS is referred to as the server, and the following embodiments will not be described one by one.
  • the group attachment method described from the MCC side may include:
  • Step S11 determining the target group to which the client requests to attach
  • the user can start the client in the electronic device and output the group attachment page, the group The attachment page can usually display multiple groups that currently exist, such as all groups to which the user belongs, and the attachment status of each group. After that, the user can select one or more interested groups to attach to.
  • the group selected by the user is recorded as the target group.
  • the above-mentioned target group may be one or more groups that the user is interested in, and based on the selection method of the target group described above, step S11 may specifically respond to the group selection of multiple groups that currently exist.
  • the attach selection operation determines the target group to which the selected client requests to attach.
  • the method for determining the target group includes but is not limited to the selection method described in this embodiment.
  • Step S12 obtaining the target attachment identifiers satisfied by the target group
  • this application does not want to carry the group information of all groups that the user who logs in to the client is interested in (that is, requests to attach), so, for different group attachment situations , this application pre-configures the corresponding attachment identifier, such as the first attachment identifier used to indicate that the client is attached to all of the multiple groups that currently exist, denoted as Flag1; it is used to indicate that the client is attached to the currently existing multiple groups
  • the second attachment identifier of some of the groups in the groups is denoted as Flag2 and so on.
  • This application does not limit the specific content of Flaga1 and Flag2, such as numbers, characters, etc., depending on the situation.
  • the above-mentioned first attachment flag Flag1 may indicate that the user The clients of the client must attach to all the groups they belong to. It should be understood that the group to which the user belongs does not mean that the user is currently interested in the services of the group. Therefore, the group to which the user belongs does not mean that the user's client is attached to the group. According to MCS Standard, there are usually users who belong to a certain group, but the user is temporarily not interested in the services of the group, and the user's client will not attach to the group, so it cannot initiate service access requests to the group, and cannot Accept the business information fed back by this group.
  • the target attachment identifier may be the above-mentioned first attachment identifier Flag1, and the specific acquisition method is not limited.
  • the application can also configure the above-mentioned second attachment flag Flag2, using To indicate that the user is interested in the belonging partial group, the user's client requests to attach the belonging partial group.
  • the target group identifier of the target group such as the group name, number and other unique identifiers, can usually be obtained. There is no restriction on the content of the group logo, and it depends on the situation.
  • first attachment identifier Flag1 and second attachment identifier Flga2 when configuring the above-mentioned first attachment identifier Flag1 and second attachment identifier Flga2, it needs to be implemented in accordance with the uniform resource identifier (Uniform Resource Identifier, URI) format specified in the group attachment protocol, so that the first attachment identifier Flag1 and the second attachment identifier
  • the second attachment flag Flga2 conforms to the format requirements, and can be used as the content of the attach request message/attach notification message to be exchanged between the MCC and the MCS.
  • the group attachment protocol may be the above-mentioned application/pidf+xml
  • the format may be the xs:anyURI format specified in application/pidf+xm, and this application does not limit its content.
  • the target attachment identifier obtained in step S12 can be used to indicate that the client is attached to all of the multiple groups that currently exist, or the client is attached to any of the multiple groups.
  • a partial group which may be determined according to the relationship between the determined target group and multiple existing groups.
  • this application can also configure other attachment identifiers representing other content according to actual needs, such as classifying multiple groups currently existing in a more fine-grained manner, for
  • the attachment identification corresponding to the attachment configuration of different types of groups is no longer limited to the classification method of all/part of the group attachment. The specific classification method depends on the situation.
  • the application methods for different attachment identifications are similar. This application does not make a a detailed description.
  • the group categories contained in these groups may be different.
  • the category of some groups can also be refined , that is, one-to-one corresponding attachment identifiers can be configured for combinations of different partial groups.
  • this application can also determine the group identifiers of the groups included in the part of the group to be attached when it is necessary to attach the part of the group after determining the attachment identifier of the unified partial group. This is not limited.
  • Step S13 using the target attachment identifier to generate an attachment request message for the target group
  • the application obtains the target attachment identifier, which can directly indicate whether the user of the client is currently interested in all the groups or some of the groups to which he belongs.
  • the client initiates an attach request message for the target group, it can
  • the obtained target attachment ID replaces the group information of all groups that the user is interested in, and informs the server of each group to be attached by the client.
  • the attach request message may at least include the target attach ID. Due to the length of the target attach ID, the length of group information relative to all interested groups is very short. This method of message generation greatly shortens the The length of the attach request message reduces the probability of packet loss during the transmission of the group attach to the wireless network and the Internet, reduces the delay, and improves the transmission efficiency and reliability of the attach message.
  • the first attachment identifier configured in the above manner may be sip:all-groups@mcs.group.com, compared to the group information carrying the five groups as shown in Figure 2a (the dotted frame area in Figure 2a content in the application/pidf+xml message, that is, the attachment request message, as shown in Figure 2b, this application directly replaces the application/pidf+xml message in the application/pidf+xml message by Flag1 (the content in the dotted box area in Figure 2b) Group messages for five groups.
  • the second attachment ID can be obtained in the above way to replace the groups that the client wants to attach to Group information (the contents of the dotted frame area in the attach request message as shown in Figure 2c), at this time, the second attach identifier can be sip:part-groups@mcs.group.com, which can indicate that the client wants to attach the user
  • the methods for generating attach request messages of other partial groups are similar, and the present application does not
  • this application can also pre-configure the corresponding second attachment identifier for the scenario of attaching different partial groups.
  • the second attachment identifier can not only represent the desired attachment
  • Partial groups can further indicate which one or more groups the partial groups are attached to this time. There is no need to configure additional group identifiers.
  • the server can directly determine the client’s current request based on the second attachment identifier that characterizes the content. Which part of the group is attached, the implementation process is similar, and this application will not describe it in detail.
  • the traditional attach request message is based on the full amount of data operations performed by application/pidf+xml, which leads to the redundant definition of the XML Schema interface field information of application/pidf+xml, namely The more groups the client needs to attach, especially if all groups need to be attached, the length of the application/pidf+xml information will be too long; and the attachment identification proposed in this application does not need to be attached
  • the group information of each group to be attached is listed in the request message one by one, especially in the case of a large number of groups to be attached, the length of the attach request message is greatly shortened, and the reliability of the attach request message transmission is improved sex and efficiency.
  • Step S14 sending the attach request message to the server, so that the server responds to the attach request message and controls the client to perform an attach operation on the target group.
  • the server after the server receives the attach request message sent by the client, by parsing the attach request message, it can be determined from the target attachment identifier contained in it that the client requests to attach to all groups. It is also a part of the groups, and which part of the groups. In this way, the client can be controlled to perform an attach operation on these target groups.
  • the specific implementation method of the attach operation will not be described in detail in this application.
  • this application proposes to obtain the target attachment ID that the target group satisfies, that is, a pre-configured very short ID indicating that the client is attached to all or part of the group, instead of The group information of each target group generates an attach request message for the target group, which greatly shortens the length of the attach request message. In this way, it is sent to the server for attach operation in a wireless environment, reducing the transmission rate of the attach request message. Packet loss probability and delay, thereby improving the reliability and efficiency of attach request message transmission.
  • FIG. 3 it is a schematic flowchart of another optional example of the group attachment method proposed in this application.
  • This embodiment can be an optional detailed implementation method for the group attachment method described above, but it is not limited The detailed implementation method described in this embodiment.
  • the method may include:
  • Step S31 in response to the group attach selection operation on the currently existing groups, determine the target group to which the selected client requests to attach;
  • the user starts the client MCC and outputs the group attachment interface, and can select from among the multiple groups that currently exist on the group attachment interface, such as the multiple groups to which the user belongs.
  • Interested target groups to request that the client attach to these target groups.
  • it is not limited to this method of determining the target group.
  • Step S32 according to the target relationship between the target group and multiple existing groups, select a target attachment ID that matches the target relationship from multiple pre-configured attachment IDs;
  • the target relationship in the embodiment of the present application may be the first relationship in which the target group is all of the multiple groups that currently exist, or the target group is the multiple The second relation of the partial groups in the group, and the second relation includes a combination of one or more partial groups, as the case may be.
  • the target relationship is the second relationship, it means that the user is interested in the part of the group to which he belongs, and the pre-configured second attachment ID can be the target attachment ID; if the target relationship is the first relationship, it means that the user feels Interested in all the groups it belongs to, the pre-configured first attachment ID can be selected as the target attachment ID.
  • the manner of determining the target attachment identifier is not limited to the implementation method described in this embodiment.
  • the application can also jump to output the attachment identification selection interface, and display multiple pre-configured attachment identifications in the attachment identification selection interface, and can also target different Attachment ID, output whether the attached group indicated by it is all or part of the attached group, to prompt the user to select an appropriate attached ID as the target attached ID, in this case, the client can respond to multiple attached to the output
  • the identification selection operation determines the selected attachment identification as the target attachment identification.
  • the present application can also select the target group of interest and its corresponding attachment ID at the same time in the group attachment interface, which is not limited to the method for selecting the target attachment ID described in some other embodiments above.
  • step S33 according to the format of the attach request message, the target attach identifier is used to replace the group information of the target group to form an attach request message for the target group;
  • the attachment request message sent by the client MCC to the server MCS must follow the corresponding protocol format requirements, which are recorded as the attachment request message format, as shown in Figure 2a to Figure 2d above
  • the format of the attachment request message shown in the figure so after the client determines the target group that the user is interested in and the target attachment ID that it satisfies, it can generate an attachment request message for the target group according to this format, as shown in the above figure
  • the content in the dotted box in 2b may be replaced by the group information of the target group by the target group identifier to form an attach request message with a small length.
  • the above-mentioned target attachment ID is the second attachment ID, that is, the user is interested in some belonging groups, and in order to know which part of the belonging group he is interested in, the respective target group IDs of the target groups can be obtained, such as Group name, serial number, etc.
  • the group information of the target group can be replaced by the target group identifier and the target attachment identifier according to the attach request message format to form an attach request for the target group
  • the attach request message will not be described in detail in this application.
  • the content and message format of the attachment request message generated by this application can be determined according to actual protocol requirements and business needs, and this application will not describe them in detail .
  • Step S34 sending the attach request message to the server, so that the server responds to the attach request message and controls the client to perform an attach operation on the target group.
  • the server will allow the client to initiate service access to the attached target group after controlling the client to attach the target group according to the target attachment identifier contained in the attach request message, and receive the target group feedback from the server.
  • the service information of the group this application does not describe in detail the implementation process of the client's service access to the attached group.
  • the user selects the target group of interest from the multiple groups to which he belongs, he can base the target relationship between the target group and the multiple groups, such as the target group being one of the multiple groups Part of the group or all groups, select the target attachment ID related to the target from the pre-configured multiple attachment IDs to indicate that the client attaches part of the group or all of the groups, and then, according to the attachment request message Format, the target attachment identifier replaces the group messages of each target group, generates an attachment request message and sends it to the server, avoids packet loss and time delay caused by too long attachment request message, and improves data transmission efficiency and reliability.
  • FIG. 4 it is a schematic flow diagram of another optional example of the group attachment method proposed by this application.
  • This method can be applied to a server MCS, such as a physical server or a cloud server supporting cloud computing.
  • a server MCS such as a physical server or a cloud server supporting cloud computing.
  • This application applies to the MCS equipment
  • the type is not limited and may vary depending on the situation.
  • the group attachment methods implemented by the MCS may include:
  • Step S41 receiving an attach request message for the target group sent by the client;
  • the target group may be at least one of the multiple groups that currently exist; the attach request message may be generated using the target attach ID that the target group satisfies. , including at least a target attachment identifier; the target attachment identifier may be used to indicate that the client is attached to all of the multiple groups that currently exist, or the client is attached to some of the multiple groups.
  • the acquisition process of the attach request message reference may be made to, but not limited to, the description of the corresponding part of the above embodiment, and details are not described in this embodiment.
  • Step S42 responding to the attach request message, and controlling the client to perform an attach operation on the target group according to the target attach identifier
  • the server parses the attachment request message, and after obtaining the target attachment ID, it can determine the target group that the client requests to attach based on the target attachment ID, that is, determine that the user of the client is interested in Which groups are selected, so as to control the client to perform an attach operation on the target group, and this application does not describe the specific implementation process of the attach operation in detail.
  • Step S43 according to the attachment notification message format, the target attachment identifier is used to replace the group information of the client's successful attachment group to form an attachment notification message for the client attachment group;
  • Step S44 feeding back the attachment notification message to the client.
  • the server MCS implements the attach operation of the client MCC to the target group, it can inform the client MCC of the attachment result.
  • the MCS can still determine the The attachment notification message format requires that an attachment notification message containing the group attachment result of the client be generated.
  • this application still uses the target attachment identifier to replace the group information of the client's successful attachment group.
  • An attach notification message is composed for a client attachment group.
  • the generation method of the attachment notification message for the partial group to which the client attaches belongs is similar. It should be noted that it is similar to the above method for generating the attachment request message for the partial belonging group, as shown in Figure 5c
  • the attachment identifier of part-groups@mcs.group.com replaces the group information of the part of the attached group
  • groups numbers "A, B”
  • the attach request message sent by the client may include a one-to-one target attachment identifier corresponding to the partial group.
  • the server can directly determine which group or groups the client requests to attach this time from the target attachment ID. In this case, it is not necessary to add the respective group IDs of these groups in the generated attachment request message , further reducing the length of the attach request message.
  • the server may not succeed in attaching all the target groups.
  • the server constructs the attach notification message the required attach identifier may be different from The target attachment ID in the received attachment request message is different. If the attachment request message is the target attachment ID and is the first attachment ID, the server controls the client to only attach A, B, C, D, and E in five groups. Groups B, C, and D are attached successfully. Then, the attachment notification message fed back by the server will be generated by the second attachment ID instead of the group messages of the four groups A, B, C, and D.
  • the specific implementation process is the same as above.
  • the implementation process of the embodiment described in the embodiment in which all the target groups requesting to attach are successfully attached is similar, and this application will not describe it in detail with examples.
  • the attach request message sent by the client is composed of the target attach identifier instead of the group information of the interested target group, it is ensured that the server can quickly and completely obtain the attach request message.
  • the server In the process of responding to the attach request message, it is possible to directly determine which target groups the client requests to attach based on the target attach identifier, thereby controlling the client to perform attach operations on these target groups, and determining the target groups to which the client successfully attaches.
  • the server After grouping, in order to ensure that the attachment result is quickly and reliably fed back to the client, the server will replace it with the corresponding target attachment ID.
  • the group information of the client successfully attaching to the group constitutes an attachment notification message for the client attachment group, which greatly shortens the The length of the attachment notification message can be quickly and completely fed back to the client in the transmission of the wireless environment, so that the client can know which target group the client is currently attached to from the target attachment ID contained in it.
  • Group such as all or part of the group to which the user belongs, so that the user can perform business access operations on the attached target group to meet the user's business access needs.
  • the client MCC and server MCS can be implemented based on SIP (Session Initiation Protocol, Session Initiation Protocol).
  • SIP Session Initiation Protocol
  • the data interaction between them meets the communication needs of corresponding applications.
  • it can be an extended application defined according to the SIP event notification mechanism specification, that is, a subscription (SUBSCRIBE) for initiating a subscription request, and a subscription (SUBSCRIBE) for notifying the current resource status.
  • Notify create a dialogue link between the client MCC and the server MCS.
  • the SUBSCRIBE message sent by the client to the server may include a request uniform resource identifier (Request-URI), That is, the URI of the resource to be requested.
  • Request-URI uniform resource identifier
  • the subscription relationship between the client MCC and the server MCS can be established through the Subscribe method, so as to obtain the group attachment result through the NOTIFY method.
  • the client MCC can send a group attachment result SIP Subscribe subscription request to the server MCS, and the server MCS can build a subscription relationship between the server MCS and the client MCC in response to the subscription request.
  • the subsequent client MCC If the group attachment result changes (such as adding a new group attachment based on the original attachment group, etc.), the subscription relationship can be triggered, and the server MCS can feed back the change to the client through SIP Notify (ie attachment notification message) MCC.
  • SIP Notify ie attachment notification message
  • the user enters the client MCC group attachment interface, and sees the groups to which the user belongs, the attachment status of the user client to each group (that is, whether the client is attached to the corresponding group), and the services supported by each group.
  • Type and other information from which you can select all or part of the groups you are interested in (which may include the attached group, the unattached group, etc.), so as to request to attach to the selected group.
  • the client MCC can send a SIP SUBSCRIBE message (such as the above-mentioned attachment request message) to the server MCS, carrying the application/pidf composed of the target attachment identifier satisfied by the selected target group of interest.
  • the server receives the SIP SUBSCRIBE message, and can feed back a confirmation message, such as a SIP 200OK response message, which can indicate that the subscription has been accepted and the user has been authorized to subscribe to the requested resource.
  • the server MCS can respond to the SIP SUBSCRIBE message in the above-mentioned manner to realize the attachment of the client to the target group, so that the group attachment result of the client changes.
  • the content and format of the SIP 200OK response fed back by the client MCC and the server MCS can be determined according to the SIP protocol specification, and this application does not limit it.
  • FIG. 6 it is a schematic structural diagram of an optional example of the group attachment device proposed in this application.
  • the device can be applied to an electronic device, and more specifically, the device can be a virtual device of a client MCC in an electronic device.
  • the device may include:
  • a target group determination module 61 configured to determine the target group to which the client requests to attach
  • a target attachment identification acquisition module 62 configured to acquire a target attachment identification satisfied by the target group; the target attachment identification includes all groups used to indicate that the client attachment currently exists in multiple groups, or The client is attached to some groups in the plurality of groups;
  • An attach request message generating module 63 configured to use the target attach identifier to generate an attach request message for the target group; the attach request message at least includes the target attach identifier;
  • An attach request message sending module 64 configured to send the attach request message to the server, so that the server responds to the attach request message and controls the client to perform an attach operation on the target group.
  • the above-mentioned target attachment identification acquisition module 62 may include:
  • a first selection unit configured to select a target attachment identifier that matches the target relationship from a variety of pre-configured attachment identifiers according to the target relationship between the target group and multiple currently existing groups;
  • the target relationship is the first relationship that the target group is all of the multiple groups, or the target group is the second relationship of some of the multiple groups. relationship, and the second relationship includes a combination of one or more partial groups.
  • the above-mentioned target group determination module 61 may include:
  • a selection determination unit configured to determine a target group to which the selected client requests to attach in response to a group attachment selection operation on a plurality of currently existing groups
  • the above-mentioned target attachment identification acquisition module 62 may also include:
  • the second selection unit is configured to determine the selected attachment ID as the target attachment ID in response to a selection operation on the output multiple attachment IDs.
  • the device may also include:
  • the first configuration unit is configured to configure, according to the uniform resource identifier format specified in the group attachment protocol, the first attachment identifier used to indicate that the client is attached to all of the multiple groups that currently exist;
  • the second configuration unit is configured to configure, according to the uniform resource identifier format, a second attachment identifier used to indicate that the client is attached to some of the groups in the plurality of groups.
  • the above-mentioned attach request message generating module 63 may include:
  • a group identification obtaining unit configured to obtain the respective target group identifications of the target groups
  • the message constituting unit is configured to compose an attach request message for the target group according to the format of the attach request message and according to the target group identifier.
  • FIG. 7 it is a schematic structural diagram of another optional example of the group attachment device proposed in this application.
  • This device can be applied to a server, such as the above-mentioned MCS.
  • the device can include:
  • An attach request message receiving module 71 configured to receive an attach request message for a target group sent by a client; wherein, the target group is at least one of a plurality of groups that currently exist; the attach request The message is generated by using the target attachment identifier satisfied by the target group, and at least includes the target attachment identifier; the target attachment identifier includes all groups used to indicate that the client is attached to a plurality of groups that currently exist, or the client is attached to some of the multiple groups;
  • the attach operation module 72 is configured to control the client to perform an attach operation on the target group according to the target attach identifier in response to the attach request message.
  • the attachment operation module 72 may include:
  • a parsing unit configured to parse the attach request message to obtain the target attach identifier
  • a target group determining unit configured to determine the target group to which the client requests to attach according to the target attachment identifier
  • an attach operation unit configured to control the client to perform an attach operation on the target group.
  • the device may also include:
  • the notification message composition module 73 is configured to compose an attachment notification message for the client attachment group according to the attachment notification message format and according to the target attachment identifier;
  • a notification message feedback module 74 configured to feed back the attachment notification message to the client.
  • the various modules, units, etc. in the above-mentioned apparatus embodiments can all be stored as program modules in the memory of the corresponding device (such as electronic equipment, server), and executed by the processor in the device.
  • the above-mentioned program modules in the memory are used to realize corresponding functions. For the functions realized by each program module and its combination, and the technical effect achieved, you can refer to the description of the corresponding part of the above-mentioned method embodiment, and this embodiment will not repeat them.
  • the present application also provides a computer-readable storage medium on which a computer program can be stored, and the computer program can be invoked and loaded by a processor to implement the group attachment method described in the above-mentioned client-side or server-side embodiments, specifically The implementation process is not described here in this embodiment of the present application.
  • FIG. 8 it is a schematic structural diagram of an optional example of a group attachment system applicable to the group attachment method and device proposed in this application.
  • the system may include at least one terminal (such as the above-mentioned electronic device) 81 and a server 82 ,in:
  • Terminal 81 may include, but is not limited to, smart phones, tablet computers, wearable devices, personal computers (personal computers, PCs), netbooks, personal digital assistants (personal digital assistants, PDAs), smart watches, augmented reality technology (Augmented Reality , AR) equipment, virtual reality (Virtual Reality, VR) equipment, vehicle-mounted equipment, smart speakers, robots, desktop computers and other electronic equipment, this application does not limit the product type of the terminal 81, it depends on the situation.
  • augmented reality technology Augmented Reality , AR
  • VR Virtual Reality
  • VR Vehicle-mounted equipment
  • smart speakers robots
  • desktop computers and other electronic equipment this application does not limit the product type of the terminal 81, it depends on the situation.
  • an MCC (Mission Critical Client) can be configured in the terminal 81.
  • the application type of the MCC may be different, and this application does not limit the application type of the MCC.
  • the apparatus 81 may include at least one first memory 811 and at least one first processor 812 .
  • the first memory 811 may be used to store the first program implementing the group attachment method described above from the client side; the first processor 812 may be used to load and execute the first program stored in the first memory. program to implement the group attachment method described above from the client side. Only after the specific implementation can refer to the description of the corresponding method embodiment above, and this embodiment will not be repeated here.
  • the first memory 811 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device or other volatile solid-state storage devices.
  • the first processor 812 may be a central processing unit (Central Processing Unit, CPU), a specific application integrated circuit (application-specific integrated circuit, ASIC), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), and an off-the-shelf Programmable gate array (FPGA) or other programmable logic devices, etc.
  • the present application may determine the types of memory and processor configured on the terminal that support the realization of the above-mentioned client MCC function according to the actual situation, including but not limited to the types of devices listed in this embodiment.
  • the structure of the terminal shown in FIG. 8 does not constitute a limitation on the terminal in the embodiment of the present application.
  • the terminal may include more components than those shown in FIG. 8, or combine certain components
  • the device can also include communication interfaces of communication modules such as WIFI module, 5G/6G (fifth generation mobile communication network/sixth generation mobile communication network) module, GPRS module, display screen, pickup, microphone , various sensor modules, power management modules, antennas, cameras, and at least one input device and output device, which are not listed here in this application.
  • communication modules such as WIFI module, 5G/6G (fifth generation mobile communication network/sixth generation mobile communication network) module, GPRS module, display screen, pickup, microphone , various sensor modules, power management modules, antennas, cameras, and at least one input device and output device, which are not listed here in this application.
  • the server 82 can support the service device realized by the function of the above-mentioned client MCC, that is, the above-mentioned MCS (Mission Critical Service, mission-critical server).
  • MCS Mobility Critical Service, mission-critical server
  • the server 82 can be a physical server, or a service cluster formed by multiple physical servers; it can also be a cloud server supporting cloud computing, and the data exchange with the above-mentioned terminal 81 can be realized through a wired network or a wireless network. Communication, the specific communication method is not limited in this application, it depends on the situation.
  • the server 82 may include at least one second memory 821 and at least one second processor 822;
  • the second program of the group attach method; the second processor 822 can be used to load and execute the second program stored in the second memory 821, so as to realize the group attach method described above from the server MCS side, the specific implementation process can refer to The above description of the corresponding method embodiment will not be repeated here in this embodiment.
  • the device types of the second memory 821 and the second processor 822 you can refer to the above description of the device types of the first memory 811 and the first processor 812, and the application can determine the second memory 821 and The types of the second processors 822 are not limited in this application.
  • the structure of the server shown in Figure 8 above does not constitute a limitation on the server in this embodiment of the application.
  • the server may include more components than those shown in Figure 8, or combine certain components , the present application does not enumerate them one by one here.
  • each embodiment in this specification is described in a progressive or parallel manner, each embodiment focuses on the differences from other embodiments, and the same and similar parts of each embodiment can be referred to each other.
  • the description is relatively simple, and for the related parts, please refer to the description of the method part.

Abstract

The present application provides a group affiliation method and a corresponding device. After a target group requested by a client to affiliate is determined, in order to avoid forming a longer affiliation request message and increasing the packet loss probability and the time delay of transmission of the affiliation request message in a wireless environment due to the fact that group information of each target group is directly utilized, in the present application a target affiliation identifier met by the target group is obtained, that is, the group information of each target group is replaced with a very short identifier which is pre-configured and indicates that the client is affiliated to all groups or some groups, and an affiliation request message for the target group is generated, so that the length of the affiliation request message is greatly shortened. In this way, the affiliation request message is sent to a server for an affiliation operation in the wireless environment, and the packet loss probability and the time delay of transmission of the affiliation request message are reduced, thereby improving the transmission reliability and efficiency of the affiliation request message.

Description

群组附着方法及相应设备Group Attachment Method and Corresponding Equipment 技术领域technical field
本申请主要涉及MCS集群领域,更具体地说是涉及一种群组附着方法及相应设备。This application mainly relates to the field of MCS clusters, and more specifically relates to a group attachment method and corresponding equipment.
背景技术Background technique
在目前的MCS(Mission Critical Service,任务关键型服务器)宽度集群通信应用中,MCS标准定义了群组附着标准,即群组附着Affiliation标准,具体的,MCS可以通过群组附着Affiliation标准,控制MCC(Mission Critical Client,任务关键型客户端)加入群组后,使得附着到群组的MCC才能够发起或接收该群组业务。In the current MCS (Mission Critical Service, mission-critical server) wide cluster communication application, the MCS standard defines the group attachment standard, that is, the group attachment Affiliation standard. Specifically, the MCS can control the MCC through the group attachment Affiliation standard. (Mission Critical Client) After joining the group, the MCC attached to the group can initiate or receive the group business.
其中,在上述群组附着流程中,通常需要MCC生成包含用户感兴趣的所有群组信息的附着请求消息,将该附着请求消息发送至MCS进行附着操作,MCS再将包含用户所有附着成功的群组信息的附着结果消息反馈至MCC。Among them, in the above-mentioned group attach procedure, MCC usually needs to generate an attach request message containing information of all groups that the user is interested in, and send the attach request message to the MCS to perform the attach operation. The attach result message of the group information is fed back to the MCC.
可见,在用户需要附着的群组较多的情况下,按照上文描述的群组附着方法,将会使得上述MCC与MCS之间交互的附着信息过长,容易造成传输丢包,增大延时,降低了附着信息传输效率和可靠性。It can be seen that when there are many groups that the user needs to attach to, according to the group attachment method described above, the above-mentioned attachment information exchanged between the MCC and the MCS will be too long, which will easily cause packet loss in transmission and increase the delay. , which reduces the efficiency and reliability of attachment information transmission.
发明内容Contents of the invention
有鉴于此,本申请提供了以下技术方案:In view of this, the application provides the following technical solutions:
一方面,本申请提出了一种群组附着方法,所述方法包括:In one aspect, the present application proposes a group attachment method, the method comprising:
确定客户端请求附着的目标群组;Determine the target group to which the client requests to attach;
获取所述目标群组所满足的目标附着标识;所述目标附着标识用于表示所述客户端附着当前存在的多个群组中的全部群组,或者所述客户端附着所述多个群组中的部分群组;Acquiring the target attachment ID satisfied by the target group; the target attachment ID is used to indicate that the client is attached to all of the multiple groups that currently exist, or that the client is attached to the multiple groups part of a group;
利用所述目标附着标识,生成针对所述目标群组的附着请求消息;所述附着请求消息至少包含所述目标附着标识;generating an attach request message for the target group by using the target attach identifier; the attach request message at least includes the target attach identifier;
将所述附着请求消息发送至服务器,以使服务器响应所述附着请求消息,控制所述客户端对所述目标群组进行附着操作。sending the attach request message to the server, so that the server responds to the attach request message and controls the client to perform an attach operation on the target group.
可选的,所述获取所述目标群组所满足的目标附着标识,包括:Optionally, the acquiring the target attachment identifiers satisfied by the target group includes:
依据所述目标群组与当前存在的多个群组之间的目标关系,从预先配置的多种附着标识中,选择与所述目标关系相匹配的目标附着标识;According to the target relationship between the target group and multiple currently existing groups, select a target attachment ID that matches the target relationship from multiple types of pre-configured attachment IDs;
其中,所述目标关系为所述目标群组是所述多个群组中的全部群组的第一关系,或者所述目标群组是所述多个群组中的部分群组的第二关系,且所述第二关系包含一种或多种部分群组的组合。Wherein, the target relationship is the first relationship that the target group is all of the multiple groups, or the target group is the second relationship of some of the multiple groups. relationship, and the second relationship includes a combination of one or more partial groups.
可选的,所述确定客户端请求附着的目标群组,获取所述目标群组所满足的目标附着标识,包括:Optionally, the determining the target group for which the client requests to attach, and obtaining the target attachment identifier satisfied by the target group includes:
响应于对当前存在的多个群组的群组附着选择操作,确定所选择的客户端请求附着的目标群组;In response to a group attach selection operation on a plurality of currently existing groups, determine a target group to which the selected client requests to attach;
响应于对输出的多种附着标识的选择操作,将选择的附着标识确定为目标附着标识。In response to the selection operation on the output multiple attachment identifiers, the selected attachment identifier is determined as the target attachment identifier.
可选的,所述方法还包括:Optionally, the method also includes:
按照群组附着协议规定的统一资源标识符格式,配置用于表示客户端附着当前存在的多个群组中的全部群组的第一附着标识;According to the uniform resource identifier format stipulated in the group attachment protocol, configure the first attachment identifier used to indicate that the client is attached to all of the multiple groups that currently exist;
按照所述统一资源标识符格式,配置用于表示客户端附着所述多个群组中的部分群组的第二附着标识。According to the uniform resource identifier format, configure a second attachment identifier used to indicate that the client is attached to some of the multiple groups.
可选的,若所述目标附着标识包括用于表示客户端附着当前存在的多个群组中的部分群组,所述利用所述目标群组附着标识,生成针对所述目标群组的附着请求消息,包括:Optionally, if the target attachment identifier includes part of the multiple groups that are used to indicate that the client is attached to currently existing groups, generating an attachment for the target group by using the target group attachment identifier request message, including:
获取所述目标群组各自的目标群组标识;Obtaining respective target group identifiers of the target groups;
按照附着请求消息格式,依据所述目标群组标识,构成针对所述目标群组的附着请求消息。Construct an attach request message for the target group according to the format of the attach request message and according to the identifier of the target group.
又一方面,本申请还提出了一种群组附着方法,所述方法包括:In yet another aspect, the present application also proposes a group attachment method, the method comprising:
接收客户端发送至的针对目标群组的附着请求消息;其中,所述目标群组是当前存在的多个群组中的至少一个群组;所述附着请求消息是利用所述目标群组满足的目标附着标识所生成的,至少包含所述目标附着标识;所述目标附着标识用于表示客户端附着当前存在的多个群组中的全部群组,或者所述客户端附着所述多个群组中的部分群组;Receiving an attach request message for a target group sent by a client; wherein, the target group is at least one of a plurality of currently existing groups; the attach request message uses the target group to satisfy generated by the target attachment ID, at least including the target attachment ID; the target attachment ID is used to indicate that the client is attached to all of the multiple groups that currently exist, or that the client is attached to the multiple groups part of a group;
响应所述附着请求消息,依据所述目标附着标识,控制所述客户端对所述目标群组进行附着操作。In response to the attach request message, control the client to perform an attach operation on the target group according to the target attach identifier.
可选的,所述响应所述附着请求消息,依据所述目标附着标识,控制所述客户端对所述目标群组进行附着操作,包括:Optionally, the responding to the attach request message, and controlling the client to perform an attach operation on the target group according to the target attach identifier, includes:
解析所述附着请求消息,得到所述目标附着标识;Parsing the attach request message to obtain the target attach identifier;
依据所述目标附着标识,确定所述客户端请求附着的所述目标群组;Determine the target group to which the client requests to attach according to the target attachment identifier;
控制所述客户端对所述目标群组进行附着操作。controlling the client to perform an attach operation on the target group.
可选的,所述方法还包括:Optionally, the method also includes:
按照附着通知消息格式,依据所述目标附着标识,构成针对所述客户端附着群组的附着通知消息;Constructing an attach notification message for the client attachment group according to the attachment notification message format and according to the target attachment identifier;
将所述附着通知消息反馈至所述客户端。Feedback the attachment notification message to the client.
又一方面,本申请还提出了一种群组附着装置,所述装置包括:In yet another aspect, the present application also proposes a group attachment device, the device comprising:
目标群组确定模块,用于确定客户端请求附着的目标群组;A target group determination module, configured to determine the target group to which the client requests to attach;
目标附着标识获取模块,用于获取所述目标群组所满足的目标附着标识;所述目标附着标识包括用于表示所述客户端附着当前存在的多个群组中的全部群组,或者所述客户端附着所述多个群组中的部分群组;A target attachment identification acquisition module, configured to acquire a target attachment identification satisfied by the target group; the target attachment identification includes all groups used to indicate that the client is currently attached to a plurality of groups, or the The client is attached to some groups in the plurality of groups;
附着请求消息生成模块,用于利用所述目标附着标识,生成针对所述目标群组的附着请求消息;所述附着请求消息至少包含所述目标附着标识;An attach request message generating module, configured to generate an attach request message for the target group by using the target attach identifier; the attach request message at least includes the target attach identifier;
附着请求消息发送模块,用于将所述附着请求消息发送至服务器,以使服务器响应所述附着请求消息,控制所述客户端对所述目标群组进行附着操作。An attach request message sending module, configured to send the attach request message to a server, so that the server responds to the attach request message and controls the client to perform an attach operation on the target group.
又一方面,本申请还提出了一种群组附着装置,所述装置包括:In yet another aspect, the present application also proposes a group attachment device, the device comprising:
附着请求消息接收模块,用于接收客户端发送至的针对目标群组的附着请求消息;其中,所述目标群组是当前存在的多个群组中的至少一个群组; 所述附着请求消息是利用所述目标群组满足的目标附着标识所生成的,至少包含所述目标附着标识;;所述目标附着标识包括用于表示客户端附着当前存在的多个群组中的全部群组,或者所述客户端附着所述多个群组中的部分群组;An attach request message receiving module, configured to receive an attach request message for a target group sent by a client; wherein, the target group is at least one group among multiple groups that currently exist; the attach request message is generated by using the target attachment identifier satisfied by the target group, and at least includes the target attachment identifier; the target attachment identifier includes all the groups used to indicate that the client is attached to a plurality of groups that currently exist, or the client is attached to some of the multiple groups;
附着操作模块,用于响应所述附着请求消息,依据所述目标附着标识,控制所述客户端对所述目标群组进行附着操作。An attach operation module, configured to control the client to perform an attach operation on the target group according to the target attach identifier in response to the attach request message.
又一方面,本申请还提出了一种存储介质,其上存储有计算机程序,所述计算机程序被处理器调用并执行,实现如上述的群组附着方法。In yet another aspect, the present application also proposes a storage medium on which a computer program is stored, and the computer program is invoked and executed by a processor to implement the above-mentioned group attachment method.
又一方面,本申请还提出了一种群组附着系统,所述系统包括至少一个终端和服务器,其中:In yet another aspect, the present application also proposes a group attachment system, the system includes at least one terminal and a server, wherein:
所述终端包括至少一个第一存储器和至少一个第一处理器;The terminal includes at least one first memory and at least one first processor;
所述第一存储器,用于存储实现如上述客户端侧的群组附着方法的第一程序;The first memory is configured to store a first program implementing the above-mentioned group attachment method on the client side;
所述第一处理器,用于加载并执行所述第一存储器存储的所述第一程序,以实现如上述客户端侧的群组附着方法;The first processor is configured to load and execute the first program stored in the first memory, so as to implement the above-mentioned group attachment method on the client side;
所述服务器包括至少一个第二存储器和至少一个第二处理器;The server includes at least one second memory and at least one second processor;
所述第二存储器,用于存储实现如上述服务器侧的群组附着方法的第二程序;The second memory is configured to store a second program implementing the above-mentioned group attachment method on the server side;
所述第二处理器,用于加载并执行所述第二存储器存储的所述第二程序,以实现如上述服务器侧的群组附着方法。The second processor is configured to load and execute the second program stored in the second memory, so as to implement the above-mentioned group attachment method on the server side.
由此可见,本申请提供了一种群组附着方法及相应设备,在确定客户端请求附着的目标群组之后,为了避免直接利用各目标群组的群组信息,构成较长的附着请求消息,增加该附着请求消息在无线环境下传输的丢包概率和时延,本申请提出获取该目标群组满足的目标附着标识,即预先配置的表示客户端附着全部群组或部分群组的非常短的标识,来替代各目标群组的群组信息,生成针对该目标群组的附着请求消息,大大缩短该附着请求消息的长度,这样,在无线环境下将其发送至服务器进行附着操作,降低了附着请求消息传输丢包概率和时延,从而提高了附着请求消息传输可靠性和效率。It can be seen that the present application provides a group attachment method and corresponding equipment. After determining the target group that the client requests to attach, in order to avoid directly using the group information of each target group, a longer attachment request message is formed. , to increase the packet loss probability and time delay of the attach request message transmission in the wireless environment, this application proposes to obtain the target attach ID that the target group satisfies, that is, the pre-configured very Short identification, to replace the group information of each target group, generate an attach request message for the target group, greatly shorten the length of the attach request message, so that it is sent to the server for attach operation in a wireless environment, The probability of packet loss and time delay in the transmission of the attach request message are reduced, thereby improving the reliability and efficiency of the transmission of the attach request message.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.
图1为本申请提出的适用于客户端的群组附着方法的一可选示例的流程示意图;FIG. 1 is a schematic flow diagram of an optional example of a group attachment method applicable to a client proposed in this application;
图2a为现有的群组附着方法中,基于客户端附着的全量群组信息的附着请求消息的一可选示例;Figure 2a is an optional example of an attach request message based on the full amount of group information attached by the client in the existing group attach method;
图2b为本申请提出的适用于客户端的群组附着方法中,客户端附着全部群组的附着请求消息的一可选示例;FIG. 2b is an optional example of an attachment request message for the client to attach all groups in the group attachment method applicable to the client proposed by the present application;
图2c为现有的群组附着方法中,基于客户端附着的全量群组信息的附着请求消息的又一可选示例;FIG. 2c is another optional example of an attach request message based on the full amount of group information attached by the client in the existing group attach method;
图2d为本申请提出的适用于客户端的群组附着方法中,客户端附着部分群组的附着请求消息的一可选示例;FIG. 2d is an optional example of an attach request message for a client to attach a partial group in the group attach method applicable to a client proposed in this application;
图3为本申请提出的适用于客户端的群组附着方法的又一可选示例的流程示意图;FIG. 3 is a schematic flowchart of another optional example of a group attachment method suitable for a client proposed in this application;
图4为本申请提出的适用于服务器的群组附着方法的一可选示例的流程示意图;FIG. 4 is a schematic flow diagram of an optional example of a group attachment method applicable to a server proposed by the present application;
图5a为现有的群组附着方法中,客户端附着全部群组的附着通知消息的一可选示例;FIG. 5a is an optional example of an attachment notification message for a client to attach all groups in an existing group attachment method;
图5b为本申请提出的适用于服务器的群组附着方法中,客户端附着全部群组的附着通知消息的一可选示例;FIG. 5b is an optional example of the attachment notification message for the client to attach all groups in the group attachment method applicable to the server proposed by the present application;
图5c为本申请提出的适用于服务器的群组附着方法中,客户端附着部分群组的附着通知消息的一可选示例;FIG. 5c is an optional example of an attachment notification message for a client to attach a part of the group in the group attachment method applicable to the server proposed by the present application;
图6为本申请提出的适用于客户端的群组附着装置的一可选示例的结构示意图;FIG. 6 is a schematic structural diagram of an optional example of a group attachment device suitable for a client proposed in this application;
图7为本申请提出的适用于服务器的群组附着装置的一可选示例的结构示意图;FIG. 7 is a schematic structural diagram of an optional example of a group attachment device applicable to a server proposed in this application;
图8为适用于本申请提出的群组附着方法和装置的,群组附着系统的一可选示例的硬件结构示意图;FIG. 8 is a schematic diagram of a hardware structure of an optional example of a group attachment system applicable to the group attachment method and device proposed in this application;
图9为适用于本申请提出的群组附着方法和装置的终端的又一可选示例的硬件结构示意图。Fig. 9 is a schematic diagram of a hardware structure of another optional example of a terminal applicable to the group attachment method and apparatus proposed in this application.
具体实施方式Detailed ways
针对背景技术描述的技术问题,本申请希望在保证满足客户端附着群组的需求的基础上,缩短客户端(即上述任务关键型客户端,Mission Critical Client,简称MCC)与服务器(即上述任务关键型服务器,Mission Critical Service,简称MCS)之间交互的附着信息的长度,以避免由此导致的无线环境下传输数据包容易丢失,延时较长,进而导致附着信息传输效率低、可靠性差的技术问题。Aiming at the technical problems described in the background technology, this application hopes to shorten the connection between the client (that is, the above-mentioned mission-critical client, Mission Critical Client, MCC for short) and the server (that is, the above-mentioned mission-critical client) on the basis of ensuring that the requirements of the client attachment group are met. The length of attachment information exchanged between critical servers (Mission Critical Service, referred to as MCS) to avoid easy loss of transmission data packets in a wireless environment and long delays, resulting in low efficiency and poor reliability of attachment information transmission technical problems.
基于上述分析,本申请提出在遵循MCS标准的基础上,优化MCC与MCS之间交互的附着消息中的application/pidf+xml schema消息,即携带用户感兴趣的所有群组的群组信息的消息,具体提出配置附着标识,来替代这些群组消息,同时使得接收该消息的客户端或服务器,能够基于该附着标识的内容,得知客户端想要附着的群组或是成功附着的群组,这样,在客户端与服务器进行附着请求消息/附着通知消息的数据交互过程中,可以不用再基于全量的application/pidf+xml schema消息实现,尤其是在客户端需要附着群组数量较多的情况下,本申请提出的这种由附着标识替代所有附着群组的群组信息的处理方式,大大缩短了客户端与服务器之间传输附着信息长度,降低了无线环境下数据传输的丢包概率,降低了时延,从而提升了数据传输效率和可靠性。Based on the above analysis, this application proposes to optimize the application/pidf+xml schema message in the attachment message interacted between MCC and MCS on the basis of following the MCS standard, that is, the message carrying the group information of all groups that the user is interested in , specifically proposed to configure the attachment identifier to replace these group messages, and at the same time enable the client or server receiving the message to know the group that the client wants to attach to or the group that has successfully attached based on the content of the attachment identifier , in this way, in the data interaction process of attach request message/attach notification message between the client and the server, it is not necessary to implement based on the full amount of application/pidf+xml schema messages, especially when the client needs to attach a large number of groups In this case, the processing method proposed by this application to replace the group information of all attachment groups with the attachment identifier greatly shortens the length of the attachment information transmitted between the client and the server, and reduces the packet loss probability of data transmission in the wireless environment. , which reduces the delay, thereby improving the efficiency and reliability of data transmission.
其中,上述application/pidf+xml schema消息是按照MCS标准定义的群组附着标准,即群组附着Affiliation标准,确定的MCC与MCS之间数据交互的消息格式(或协议)要求,本申请对其具体内容不做限制,可视情况而定。Wherein, the above-mentioned application/pidf+xml schema message is a group attachment standard defined in accordance with the MCS standard, that is, the group attachment Affiliation standard, and the message format (or protocol) requirements for data interaction between the MCC and the MCS are determined, and this application applies to it The specific content is not limited, depending on the situation.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做 出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative work all belong to the protection scope of the present invention.
参照图1,为本申请提出的群组附着方法的一可选示例的流程示意图,该方法可以适用于终端,如支持人机交互功能的电子设备,具体可以由电子设备中的客户端,即MCC(Mission Critical Client,任务关键型客户端),执行本实施例描述的群组附着方法,本申请对电子设备的产品类型,以及MCC的应用类型均不做限制,可视情况而定。为了方便描述,本申请将任务关键型客户端简称为客户端,将任务关键型服务器MCS简称为服务器,下文实施例不再一一说明。如图1所示,从MCC侧描述的群组附着方法可以包括:Referring to FIG. 1, it is a schematic flowchart of an optional example of the group attachment method proposed in this application. This method can be applied to terminals, such as electronic devices that support human-computer interaction functions. Specifically, it can be performed by a client in the electronic device, namely MCC (Mission Critical Client) implements the group attachment method described in this embodiment. This application does not limit the product type of electronic equipment and the application type of MCC, depending on the situation. For the convenience of description, in this application, the mission-critical client is referred to as the client, and the mission-critical server MCS is referred to as the server, and the following embodiments will not be described one by one. As shown in Figure 1, the group attachment method described from the MCC side may include:
步骤S11,确定客户端请求附着的目标群组;Step S11, determining the target group to which the client requests to attach;
在实际应用中,在用户选择感兴趣的群组进行附着,以满足对附着的群组的业务访问需求的场景下,用户可以启动电子设备中的客户端,输出群组附着页面,该群组附着页面中通常可以展示当前存在的多个群组,如该用户归属的所有群组,以及各群组的附着状态,之后,用户可以从中选择一个或多个感兴趣的群组进行附着,本申请实施例将用户选择的群组记为目标群组。In practical applications, in the scenario where the user selects a group of interest to attach to meet the business access requirements of the attached group, the user can start the client in the electronic device and output the group attachment page, the group The attachment page can usually display multiple groups that currently exist, such as all groups to which the user belongs, and the attachment status of each group. After that, the user can select one or more interested groups to attach to. In the embodiment of the application, the group selected by the user is recorded as the target group.
可见,上述目标群组可以是用户感兴趣的一个或多个群组,且基于上文描述的目标群组的选择方式,步骤S11具体可以为响应于对当前存在的多个群组的群组附着选择操作,确定所选择的客户端请求附着的目标群组。但需要说明,关于该目标群组的确定方式,包括但并不局限于本实施例描述的这种选择方式。It can be seen that the above-mentioned target group may be one or more groups that the user is interested in, and based on the selection method of the target group described above, step S11 may specifically respond to the group selection of multiple groups that currently exist. The attach selection operation determines the target group to which the selected client requests to attach. However, it should be noted that the method for determining the target group includes but is not limited to the selection method described in this embodiment.
步骤S12,获取该目标群组所满足的目标附着标识;Step S12, obtaining the target attachment identifiers satisfied by the target group;
结合上文对本申请技术构思的相关描述,为了所得消息长度,本申请不希望携带登录客户端的用户感兴趣的(即请求附着的)所有群组的群组信息,所以,针对不同群组附着情况,本申请预先配置了对应的附着标识,如用于表示客户端附着当前存在的多个群组中的全部群组的第一附着标识,记为Flag1;用于表示客户端附着当前存在的多个群组中的部分群组的第二附着标识,记为Flag2等。本申请对Flga1和Flag2的具体内容不做限制,如编号、字符等,可视情况而定。Combined with the relevant description of the technical concept of this application above, for the length of the obtained message, this application does not want to carry the group information of all groups that the user who logs in to the client is interested in (that is, requests to attach), so, for different group attachment situations , this application pre-configures the corresponding attachment identifier, such as the first attachment identifier used to indicate that the client is attached to all of the multiple groups that currently exist, denoted as Flag1; it is used to indicate that the client is attached to the currently existing multiple groups The second attachment identifier of some of the groups in the groups is denoted as Flag2 and so on. This application does not limit the specific content of Flaga1 and Flag2, such as numbers, characters, etc., depending on the situation.
其中,若当前存在的多个群组是指用户归属的多个群组,也就是该用户加入的所有群组,属于该群组中的一成员,那么,上述第一附着标识Flag1可以表示用户的客户端要附着所归属的所有群组。应该理解的是,对于用户归属的群组,并不意味着该用户当前对该群组的业务感兴趣,所以,用户归属的群组并不能说明该用户的客户端附着该群组,按照MCS标准,通常会存在用户归属某群组,但该用户暂时对该群组的业务不感兴趣,用户的客户端不会附着该群组,也就不能对该群组发起业务访问请求,同时也无法接受该群组反馈的业务信息。Wherein, if the currently existing multiple groups refer to multiple groups to which the user belongs, that is, all groups joined by the user belong to a member of the group, then the above-mentioned first attachment flag Flag1 may indicate that the user The clients of the client must attach to all the groups they belong to. It should be understood that the group to which the user belongs does not mean that the user is currently interested in the services of the group. Therefore, the group to which the user belongs does not mean that the user's client is attached to the group. According to MCS Standard, there are usually users who belong to a certain group, but the user is temporarily not interested in the services of the group, and the user's client will not attach to the group, so it cannot initiate service access requests to the group, and cannot Accept the business information fed back by this group.
由此可见,当用户对其归属的所有群组感兴趣,即上述目标群组未用户的客户端归属的所有群组,即当前存在的多个群组中的所有群组,此时获取的目标附着标识可以是上述第一附着标识Flag1,具体获取方式不做限制。It can be seen that when the user is interested in all the groups to which the user belongs, that is, all the groups that the above-mentioned target group does not belong to the user's client, that is, all the groups among the multiple groups that currently exist, the obtained The target attachment identifier may be the above-mentioned first attachment identifier Flag1, and the specific acquisition method is not limited.
在实际应用中,若用户仅对其归属的多个群组中的部分群组感兴趣,可以选择部分群组附着,为了表示这种情况,本申请还可以配置上述第二附着标识Flag2,用于表示用户对归属的部分群组感兴趣,该用户的客户端请求附着归属的部分群组。这种情况下,为了明确用户感兴趣的群组,即客户端请求附着的群组,通常可以获取目标群组的目标群组标识,如群组名称、编号等具有唯一性的标识,本申请对该群组标识的内容不做限制,可视情况而定。In practical applications, if the user is only interested in some of the multiple groups to which he belongs, he can choose to attach some of the groups. In order to indicate this situation, the application can also configure the above-mentioned second attachment flag Flag2, using To indicate that the user is interested in the belonging partial group, the user's client requests to attach the belonging partial group. In this case, in order to clarify the group that the user is interested in, that is, the group that the client requests to attach, the target group identifier of the target group, such as the group name, number and other unique identifiers, can usually be obtained. There is no restriction on the content of the group logo, and it depends on the situation.
需要说明,在配置上述第一附着标识Flag1和第二附着标识Flga2时,需要按照群组附着协议规定的统一资源标识符(Uniform Resource Identifier,URI)格式实现,以使得第一附着标识Flag1和第二附着标识Flga2符合该格式要求,能够作为附着请求消息/附着通知消息的内容,在MCC和MCS之间交互。其中,群组附着协议可以是上述application/pidf+xml,该格式可以是application/pidf+xm中规定的xs:anyURI格式,本申请对其内容不做限制。It should be noted that when configuring the above-mentioned first attachment identifier Flag1 and second attachment identifier Flga2, it needs to be implemented in accordance with the uniform resource identifier (Uniform Resource Identifier, URI) format specified in the group attachment protocol, so that the first attachment identifier Flag1 and the second attachment identifier The second attachment flag Flga2 conforms to the format requirements, and can be used as the content of the attach request message/attach notification message to be exchanged between the MCC and the MCS. Wherein, the group attachment protocol may be the above-mentioned application/pidf+xml, and the format may be the xs:anyURI format specified in application/pidf+xm, and this application does not limit its content.
基于上述分析,在本申请实施例中,步骤S12获取的目标附着标识可以用于表示客户端附着当前存在的多个群组中的全部群组,或者客户端附着所述多个群组中的部分群组,这可以依据所确定的目标群组与当前存在的多个群组之间的关系确定。另外,按照上文描述的附着标识在本申请中的功能,根据实际需要,本申请还可以配置表示其他内容的其他附着标识,如对当前存在的多个群组进行更细粒度的分类,针对不同类别的群组的附着配置对应 的附着标识,不再局限于全部/部分群组附着的分类方式,具体分类方式可视情况而定,对于不同附着标识的应用方法类似,本申请不做一一详述。Based on the above analysis, in this embodiment of the application, the target attachment identifier obtained in step S12 can be used to indicate that the client is attached to all of the multiple groups that currently exist, or the client is attached to any of the multiple groups. A partial group, which may be determined according to the relationship between the determined target group and multiple existing groups. In addition, according to the functions of the above-described attachment identifiers in this application, this application can also configure other attachment identifiers representing other content according to actual needs, such as classifying multiple groups currently existing in a more fine-grained manner, for The attachment identification corresponding to the attachment configuration of different types of groups is no longer limited to the classification method of all/part of the group attachment. The specific classification method depends on the situation. The application methods for different attachment identifications are similar. This application does not make a a detailed description.
在一些实施例中,在不同场景下,对于这部分群组包含的群组类别可能不同,为了使服务器识别客户端需要附着的哪部分群组,还可以对部分群组这一类别进行细化,即可以对不同部分群组的组合配置一一对应的附着标识。当然,本申请也可以在确定统一的部分群组的附着标识后,在需要附着部分群组时,同时确定所需附着的这部分群组包含的各群组的群组标识等,本申请对此不做限制。In some embodiments, in different scenarios, the group categories contained in these groups may be different. In order for the server to identify which part of the group the client needs to attach to, the category of some groups can also be refined , that is, one-to-one corresponding attachment identifiers can be configured for combinations of different partial groups. Of course, this application can also determine the group identifiers of the groups included in the part of the group to be attached when it is necessary to attach the part of the group after determining the attachment identifier of the unified partial group. This is not limited.
步骤S13,利用该目标附着标识,生成针对目标群组的附着请求消息;Step S13, using the target attachment identifier to generate an attachment request message for the target group;
如上文描述,本申请获得目标附着标识,能够直接表明客户端的用户当前感兴趣的是其归属的所有群组还是部分群组,这样,在客户端发起针对目标群组的附着请求消息时,可以由获取的目标附着标识替代用户感兴趣的所有群组的群组信息,来告知服务器客户端要附着的各群组。可见,该附着请求消息可以至少包括该目标附着标识,由于该目标附着标识的长度,相对于感兴趣的所有群组的群组信息的长度是非常短的,这种消息生成方式,大大缩短了附着请求消息的长度,从而降低了群组附着在无线网络和互联网传输过程中的丢包概率,减小了时延,进而提升了附着消息传输效率和可靠性。As described above, the application obtains the target attachment identifier, which can directly indicate whether the user of the client is currently interested in all the groups or some of the groups to which he belongs. In this way, when the client initiates an attach request message for the target group, it can The obtained target attachment ID replaces the group information of all groups that the user is interested in, and informs the server of each group to be attached by the client. It can be seen that the attach request message may at least include the target attach ID. Due to the length of the target attach ID, the length of group information relative to all interested groups is very short. This method of message generation greatly shortens the The length of the attach request message reduces the probability of packet loss during the transmission of the group attach to the wireless network and the Internet, reduces the delay, and improves the transmission efficiency and reliability of the attach message.
示例性的,假设用户归属于A、B、C、D、E五个群组,且用户对这五个群组全部感兴趣,用户客户端请求附着这用户归属的所有群组。按照上述方式配置的第一附着标识可以为sip:all-groups@mcs.group.com,相对于如图2a所示的携带这五个群组的群组信息(如图2a中的虚线框区域中的内容)的application/pidf+xml消息,即附着请求消息,如图2b所示,本申请直接由Flag1(如图2b中的虚线框区域中的内容)替代application/pidf+xml消息中的五个群组的群组消息。Exemplarily, assuming that the user belongs to five groups A, B, C, D, and E, and the user is interested in all of these five groups, the user client requests to attach all the groups to which the user belongs. The first attachment identifier configured in the above manner may be sip:all-groups@mcs.group.com, compared to the group information carrying the five groups as shown in Figure 2a (the dotted frame area in Figure 2a content in the application/pidf+xml message, that is, the attachment request message, as shown in Figure 2b, this application directly replaces the application/pidf+xml message in the application/pidf+xml message by Flag1 (the content in the dotted box area in Figure 2b) Group messages for five groups.
通过上图2a和图2b各自所示附着请求消息的内容比较,对于本示例的五个群组,按照传统的附着请求方式,如图2a所示需要罗列需要附着的各群组的群组信息;而本申请这种由相应附着标识替代的方式,由一条代码即可替代要附着的所有群组的群组信息,尤其是在客户端要附着的群组数量较多的场景下,本申请这种处理方式,极大缩短了附着请求消息的信令长度。By comparing the content of the attachment request message shown in Figure 2a and Figure 2b above, for the five groups in this example, according to the traditional attachment request method, as shown in Figure 2a, it is necessary to list the group information of each group that needs to be attached ; and in this application, the method of replacing the corresponding attachment identifier can replace the group information of all groups to be attached by one code, especially in the scenario where the number of groups to be attached by the client is large, this application This processing method greatly shortens the signaling length of the attach request message.
同理,若用户对上述五个群组中的部分群组感兴趣,如用户选择A和B这两个群组附着,按照上述方式可以获取第二附着标识来替代客户端要附着的各群组信息(如图2c所示的附着请求消息中虚线框区域的内容),此时,该第二附着标识可以为sip:part-groups@mcs.group.com,其可以表示客户端要附着用户归属的部分群组,这种情况下,为了使服务器确定客户端附着的是哪部分群组,通常会在附着请求消息中携带目标群组的目标群组标识,如图2d中虚线框区域内容,说明客户端本次附着部分归属群组,这部分归属群组的编号为A、B,即groups numbers=“A,B”,也就是可以携带本次附着的部分群组各自的群组标识。对于其他部分群组的附着请求消息的生成方式类似,本申请在此不做一一详述。Similarly, if the user is interested in some of the above five groups, such as the user chooses two groups A and B to attach, the second attachment ID can be obtained in the above way to replace the groups that the client wants to attach to Group information (the contents of the dotted frame area in the attach request message as shown in Figure 2c), at this time, the second attach identifier can be sip:part-groups@mcs.group.com, which can indicate that the client wants to attach the user In this case, in order for the server to determine which part of the group the client is attached to, it usually carries the target group identifier of the target group in the attach request message, as shown in the dotted box area in Figure 2d , indicating that the client attaches part of the belonging group this time, and the numbers of this part of the belonging group are A and B, that is, groups numbers="A, B", that is, it can carry the respective group IDs of the part of the group attached this time . The methods for generating attach request messages of other partial groups are similar, and the present application does not describe them in detail here.
在又一些实施例,结合上述分析,本申请也可以针对附着不同部分群组的场景,预先配置对应的第二附着标识,这种情况下,该第二附着标识不仅可以表征本次想要附着部分群组,还可以进一步表示本次附着的部分群组是哪一个或多个群组,无需额外配置群组标识,服务器可以直接依据表征该内容的第二附着标识,确定客户端本次请求附着的是哪部分群组,实现过程类似,本申请不做详述。In some other embodiments, combined with the above analysis, this application can also pre-configure the corresponding second attachment identifier for the scenario of attaching different partial groups. In this case, the second attachment identifier can not only represent the desired attachment Partial groups can further indicate which one or more groups the partial groups are attached to this time. There is no need to configure additional group identifiers. The server can directly determine the client’s current request based on the second attachment identifier that characterizes the content. Which part of the group is attached, the implementation process is similar, and this application will not describe it in detail.
基于上文示例描述的附着请求消息内容可知,传统附着请求消息是基于全量的application/pidf+xml进行的全量数据操作,才导致application/pidf+xml的XML Schema接口字段信息定义很冗余,即客户端要附着的群组数量越多,尤其是需要附着所有群组的情况下,将会导致application/pidf+xml信息长度过长;而本申请提出的附着标识替代的方案,不需要在附着请求消息中一一列举所附着的各群组的群组信息,尤其是在要附着的群组数量较多的情况下,极大缩短了附着请求消息的长度,提高了附着请求消息传输的可靠性和效率。Based on the content of the attach request message described in the above example, it can be seen that the traditional attach request message is based on the full amount of data operations performed by application/pidf+xml, which leads to the redundant definition of the XML Schema interface field information of application/pidf+xml, namely The more groups the client needs to attach, especially if all groups need to be attached, the length of the application/pidf+xml information will be too long; and the attachment identification proposed in this application does not need to be attached The group information of each group to be attached is listed in the request message one by one, especially in the case of a large number of groups to be attached, the length of the attach request message is greatly shortened, and the reliability of the attach request message transmission is improved sex and efficiency.
步骤S14,将该附着请求消息发送至服务器,以使服务器响应附着请求消息,控制客户端对所述目标群组进行附着操作。Step S14, sending the attach request message to the server, so that the server responds to the attach request message and controls the client to perform an attach operation on the target group.
结合上文对附着请求消息的相关描述,服务器接收到客户端发送的附着请求消息后,通过解析该附着请求消息,由其包含的目标附着标识,可以确定客户端请求附着的是全部群组,还是部分群组,以及哪部分群组,这样,就可以据此控制该客户端对这些目标群组进行附着操作,具体附着操作的实 现方法本申请不做详述。Combined with the above description of the attach request message, after the server receives the attach request message sent by the client, by parsing the attach request message, it can be determined from the target attachment identifier contained in it that the client requests to attach to all groups. It is also a part of the groups, and which part of the groups. In this way, the client can be controlled to perform an attach operation on these target groups. The specific implementation method of the attach operation will not be described in detail in this application.
综上所述,在本申请实施例中,在确定客户端请求附着的目标群组之后,为了避免直接利用各目标群组的群组信息,构成较长的附着请求消息,增加该附着请求消息在无线环境下传输的丢包概率和时延,本申请提出获取该目标群组满足的目标附着标识,即预先配置的表示客户端附着全部群组或部分群组的非常短的标识,来替代各目标群组的群组信息,生成针对该目标群组的附着请求消息,大大缩短该附着请求消息的长度,这样,在无线环境下将其发送至服务器进行附着操作,降低了附着请求消息传输丢包概率和时延,从而提高了附着请求消息传输可靠性和效率。To sum up, in the embodiment of this application, after determining the target group that the client requests to attach, in order to avoid directly using the group information of each target group to form a longer attach request message, add the attach request message For the packet loss probability and delay of transmission in a wireless environment, this application proposes to obtain the target attachment ID that the target group satisfies, that is, a pre-configured very short ID indicating that the client is attached to all or part of the group, instead of The group information of each target group generates an attach request message for the target group, which greatly shortens the length of the attach request message. In this way, it is sent to the server for attach operation in a wireless environment, reducing the transmission rate of the attach request message. Packet loss probability and delay, thereby improving the reliability and efficiency of attach request message transmission.
参照图3,为本申请提出的群组附着方法的又一可选示例的流程示意图,本实施例可以是对上文描述的群组附着方法的一可选细化实现方法,但并不局限于本实施例描述的细化实现方法。如图3所示,该方法可以包括:Referring to FIG. 3 , it is a schematic flowchart of another optional example of the group attachment method proposed in this application. This embodiment can be an optional detailed implementation method for the group attachment method described above, but it is not limited The detailed implementation method described in this embodiment. As shown in Figure 3, the method may include:
步骤S31,响应于对当前存在的多个群组的群组附着选择操作,确定所选择的客户端请求附着的目标群组;Step S31, in response to the group attach selection operation on the currently existing groups, determine the target group to which the selected client requests to attach;
如上文实施例相应部分的描述,用户启动客户端MCC,输出群组附着界面,可以从该群组附着界面呈现的当前存在的多个群组中,如用户归属的多个群组中,选择感兴趣的目标群组,以请求该客户端附着这些目标群组。但并不局限于这种目标群组确定方式。As described in the corresponding part of the above embodiment, the user starts the client MCC and outputs the group attachment interface, and can select from among the multiple groups that currently exist on the group attachment interface, such as the multiple groups to which the user belongs. Interested target groups to request that the client attach to these target groups. However, it is not limited to this method of determining the target group.
步骤S32,依据该目标群组与当前存在的多个群组之间的目标关系,从预先配置的多个附着标识中,选择与目标关系相匹配的目标附着标识;Step S32, according to the target relationship between the target group and multiple existing groups, select a target attachment ID that matches the target relationship from multiple pre-configured attachment IDs;
结合上文实施例对附着标识的相关描述,本申请实施例的目标关系可以为目标群组是当前存在的多个群组中的全部群组的第一关系,或者目标群组是这多个群组中的部分群组的第二关系,且该第二关系包含一种或多种部分群组的组合,可视情况而定。基于此,若目标关系为第二关系,说明用户感兴趣的是其归属的部分群组,可以从预先配置的如上第二附着标识为目标附着标识;若目标关系为第一关系,说明用户感兴趣的是其归属的全部群组,可以选择预先配置的第一附着标识为目标附着标识。需要说明,关于目标附着标识的确定方式并不局限于本实施例描述的这种实现方法。In combination with the relevant description of the attachment identifier in the above embodiments, the target relationship in the embodiment of the present application may be the first relationship in which the target group is all of the multiple groups that currently exist, or the target group is the multiple The second relation of the partial groups in the group, and the second relation includes a combination of one or more partial groups, as the case may be. Based on this, if the target relationship is the second relationship, it means that the user is interested in the part of the group to which he belongs, and the pre-configured second attachment ID can be the target attachment ID; if the target relationship is the first relationship, it means that the user feels Interested in all the groups it belongs to, the pre-configured first attachment ID can be selected as the target attachment ID. It should be noted that the manner of determining the target attachment identifier is not limited to the implementation method described in this embodiment.
在又一些实施例中,本申请也可以在用户选定目标群组后,跳转输出附着标识选择界面,在该附着标识选择界面中展示预先配置的多个附着标识,根据需要还可以针对不同附着标识,输出其表示的附着群组是全部归属群组还是部分归属群组,以提示用户选择合适的附着标识为目标附着标识,这种情况下,客户端可以响应于对输出的多个附着标识的选择操作,将选择的附着标识确定为目标附着标识。In some other embodiments, after the user selects the target group, the application can also jump to output the attachment identification selection interface, and display multiple pre-configured attachment identifications in the attachment identification selection interface, and can also target different Attachment ID, output whether the attached group indicated by it is all or part of the attached group, to prompt the user to select an appropriate attached ID as the target attached ID, in this case, the client can respond to multiple attached to the output The identification selection operation determines the selected attachment identification as the target attachment identification.
当然,本申请还可以在群组附着界面中,同时选择感兴趣的目标群组,及其对应的附着标识,并不局限于上文又一些实施例描述的选择目标附着标识的方法。Of course, the present application can also select the target group of interest and its corresponding attachment ID at the same time in the group attachment interface, which is not limited to the method for selecting the target attachment ID described in some other embodiments above.
步骤S33,按照附着请求消息格式,由该目标附着标识替代目标群组的群组信息,构成针对目标群组的附着请求消息;In step S33, according to the format of the attach request message, the target attach identifier is used to replace the group information of the target group to form an attach request message for the target group;
在实际应用中,按照MCS标准定义的群组附着Affiliation标准,对客户端MCC向服务器MCS发送的附着请求消息,需要遵循相应的协议格式要求,记为附着请求消息格式,如上图2a~图2d所示的附着请求消息的格式,所以,客户端在确定用户感兴趣的目标群组,及其满足的目标附着标识后,可以按照该格式,生成针对目标群组的附着请求消息,如上述图2b中虚线框中的内容,可以由目标群组标识替代目标群组的群组信息,构成长度很小的附着请求消息。In practical applications, according to the group attachment Affiliation standard defined by the MCS standard, the attachment request message sent by the client MCC to the server MCS must follow the corresponding protocol format requirements, which are recorded as the attachment request message format, as shown in Figure 2a to Figure 2d above The format of the attachment request message shown in the figure, so after the client determines the target group that the user is interested in and the target attachment ID that it satisfies, it can generate an attachment request message for the target group according to this format, as shown in the above figure The content in the dotted box in 2b may be replaced by the group information of the target group by the target group identifier to form an attach request message with a small length.
需要说明,在上述目标附着标识为第二附着标识,即用户对部分归属群组感兴趣,为了得知感兴趣的是哪部分归属群组,可以获取目标群组各自的目标群组标识,如群组名称、编号等,之后,如上述图2d所示,可以按照该附着请求消息格式,由目标群组标识和目标附着标识替代目标群组的群组信息,构成针对目标群组的附着请求消息,具体生成过程本申请不做详述。It should be noted that the above-mentioned target attachment ID is the second attachment ID, that is, the user is interested in some belonging groups, and in order to know which part of the belonging group he is interested in, the respective target group IDs of the target groups can be obtained, such as Group name, serial number, etc. Afterwards, as shown in Figure 2d above, the group information of the target group can be replaced by the target group identifier and the target attachment identifier according to the attach request message format to form an attach request for the target group The specific generation process of the message will not be described in detail in this application.
另外,对于本申请生成的附着请求消息的内容及消息格式,包括但并不局限于上图2b和图2d所示内容,可以依据实际协议要求及业务需求确定,本申请不做一一详述。In addition, the content and message format of the attachment request message generated by this application, including but not limited to the content shown in Figure 2b and Figure 2d above, can be determined according to actual protocol requirements and business needs, and this application will not describe them in detail .
步骤S34,将该附着请求消息发送至服务器,以使服务器响应附着请求消息,控制客户端对目标群组进行附着操作。Step S34, sending the attach request message to the server, so that the server responds to the attach request message and controls the client to perform an attach operation on the target group.
在实际应用中,服务器按照该附着请求消息包含的目标附着标识,控制 客户端对目标群组进行附着操作后,将允许该客户端对附着的目标群组发起业务访问,接收服务器反馈的该目标群组的业务信息,关于客户端对附着的群组的业务访问实现过程,本申请不做详述。In practical applications, the server will allow the client to initiate service access to the attached target group after controlling the client to attach the target group according to the target attachment identifier contained in the attach request message, and receive the target group feedback from the server. As for the service information of the group, this application does not describe in detail the implementation process of the client's service access to the attached group.
综上,用户从归属的多个群组中,选择感兴趣的目标群组后,可以依据该目标群组与这多个群组的目标关系,如目标群组是这多个群组中的部分群组或全部群组,从预先配置的多个附着标识中,选择出与该目标关系的目标附着标识,来表示客户端附着部分归属群组或全部归属群组,之后,按照附着请求消息格式,由该目标附着标识替代各目标群组的群组消息,生成附着请求消息发送至服务器,避免了附着请求消息过长导致丢包、时延,提高了数据传输效率和可靠性。To sum up, after the user selects the target group of interest from the multiple groups to which he belongs, he can base the target relationship between the target group and the multiple groups, such as the target group being one of the multiple groups Part of the group or all groups, select the target attachment ID related to the target from the pre-configured multiple attachment IDs to indicate that the client attaches part of the group or all of the groups, and then, according to the attachment request message Format, the target attachment identifier replaces the group messages of each target group, generates an attachment request message and sends it to the server, avoids packet loss and time delay caused by too long attachment request message, and improves data transmission efficiency and reliability.
下面将从MCS角度描述本申请提出的群组附着方法的实现过程,由于该群组附着方法是由MCC与MCS进行数据交互实现的,关于发送至MCS的附着请求消息生成过程,可以参照上述实施例相应部分的描述,本申请不再赘述,下文实施例描述MCS执行的群组附着方法步骤。The implementation process of the group attachment method proposed in this application will be described below from the perspective of the MCS. Since the group attachment method is realized by data interaction between the MCC and the MCS, the generation process of the attachment request message sent to the MCS can be referred to the above implementation The description of the corresponding part of the example is not repeated in this application, and the following embodiment describes the steps of the group attachment method performed by the MCS.
参照图4,为本申请提出的群组附着方法的又一可选示例的流程示意图,该方法可以适用于服务器MCS,如物理服务器或支持云计算的云服务器等,本申请对该MCS的设备类型不做限制,可视情况而定。如图4所示,MCS实现的群组附着方法可以包括:Referring to FIG. 4 , it is a schematic flow diagram of another optional example of the group attachment method proposed by this application. This method can be applied to a server MCS, such as a physical server or a cloud server supporting cloud computing. This application applies to the MCS equipment The type is not limited and may vary depending on the situation. As shown in Figure 4, the group attachment methods implemented by the MCS may include:
步骤S41,接收客户端发送至的针对目标群组的附着请求消息;Step S41, receiving an attach request message for the target group sent by the client;
如上文客户端侧实施例描述的内容可知,该目标群组可以是当前存在的多个群组中的至少一个群组;该附着请求消息可以是利用目标群组满足的目标附着标识所生成的,至少包含目标附着标识;该目标附着标识可以用于表示客户端附着当前存在的多个群组中的全部群组,或者客户端附着该多个群组中的部分群组。关于该附着请求消息的获取过程,可以参照但并不局限于上文实施例相应部分的描述,本实施例不做赘述。As can be seen from the above description of the client-side embodiment, the target group may be at least one of the multiple groups that currently exist; the attach request message may be generated using the target attach ID that the target group satisfies. , including at least a target attachment identifier; the target attachment identifier may be used to indicate that the client is attached to all of the multiple groups that currently exist, or the client is attached to some of the multiple groups. Regarding the acquisition process of the attach request message, reference may be made to, but not limited to, the description of the corresponding part of the above embodiment, and details are not described in this embodiment.
步骤S42,响应附着请求消息,依据目标附着标识,控制客户端对目标群组进行附着操作;Step S42, responding to the attach request message, and controlling the client to perform an attach operation on the target group according to the target attach identifier;
结合上文对目标附着标识的相关内容的描述,服务器解析该附着请求消息,得到目标附着标识后,可以依据该目标附着标识,确定客户端请求附着的目标群组,即确定客户端的用户感兴趣的是哪些群组,从而据此控制客户端对目标群组进行附着操作,本申请对该附着操作的具体实现过程不做详述。Combined with the above description of the relevant content of the target attachment ID, the server parses the attachment request message, and after obtaining the target attachment ID, it can determine the target group that the client requests to attach based on the target attachment ID, that is, determine that the user of the client is interested in Which groups are selected, so as to control the client to perform an attach operation on the target group, and this application does not describe the specific implementation process of the attach operation in detail.
步骤S43,按照附着通知消息格式,由目标附着标识替代客户端成功附着群组的群组信息,构成针对客户端附着群组的附着通知消息;Step S43, according to the attachment notification message format, the target attachment identifier is used to replace the group information of the client's successful attachment group to form an attachment notification message for the client attachment group;
步骤S44,将该附着通知消息反馈至客户端。Step S44, feeding back the attachment notification message to the client.
在群组附着实际应用中,服务器MCS实现客户端MCC对目标群组的附着操作之后,可以将附着结果告知客户端MCC,这种情况下,MCS仍可以按照基于群组附着Affiliation标准,确定的附着通知消息格式要求,生成包含该客户端的群组附着结果的附着通知消息,本申请为了缩短该附着通知消息的长度,仍采用目标附着标识替代客户端成功附着群组的群组信息的方式,构成针对客户端附着群组的附着通知消息。In the actual application of group attachment, after the server MCS implements the attach operation of the client MCC to the target group, it can inform the client MCC of the attachment result. In this case, the MCS can still determine the The attachment notification message format requires that an attachment notification message containing the group attachment result of the client be generated. In order to shorten the length of the attachment notification message, this application still uses the target attachment identifier to replace the group information of the client's successful attachment group. An attach notification message is composed for a client attachment group.
示例性的,仍以上文实施例列举的客户端MCC附着其所归属的A、B、C、D、E五个群组,或者附着其中的A、B这两个群组的场景为例进行说明。相对于图5a所示的在附着通知消息中罗列客户端附着的所有群组的群组信息如图5a中虚线框中罗列的A、B、C、D、E五个群组各自的群组信息,本申请提出由all-groups@mcs.group.com,这一客户端附着全部群组的附着标识来替代这些群组信息,构成如图5b所示的附着通知消息。由图5a和图5b中虚线框中内容长度比对,很明显本申请提出的这种附着通知消息方式,大大缩短了附着通知消息的长度,尤其是在客户端附着群组较多的情况下,更能够体现本申请附着通知消息生成方式的优势。Exemplarily, the scenario in which the client MCC attached to the five groups A, B, C, D, and E to which it belongs, or the two groups A and B listed in the above embodiment is still used as an example illustrate. Compared with the group information of all the groups that the client is attached to listed in the attachment notification message shown in Figure 5a, the five groups A, B, C, D, and E listed in the dashed box in Figure 5a are the respective groups Information, this application proposes that all-groups@mcs.group.com, the client, attaches the attachment identities of all groups to replace these group information, and constitutes the attachment notification message shown in Figure 5b. From the comparison of the content lengths in the dotted boxes in Figure 5a and Figure 5b, it is obvious that the attachment notification message method proposed by this application greatly shortens the length of the attachment notification message, especially when there are many client attachment groups , which can better reflect the advantages of the attachment notification message generation method of the present application.
同理,对于客户的附着所归属的部分群组的附着通知消息的生成方式类似,需要说明的是,与上文针对部分归属群组的附着请求消息的生成方法类似,如图5c所示的虚线框部分的内容,在由part-groups@mcs.group.com这一附着标识替代所附着的部分归属群组的群组信息的同时,需要说明这部分群组的群组标识,即groups numbers=“A,B”,以使客户端由此可知其成功附着到的是哪部分群组。Similarly, the generation method of the attachment notification message for the partial group to which the client attaches belongs is similar. It should be noted that it is similar to the above method for generating the attachment request message for the partial belonging group, as shown in Figure 5c For the content in the dotted box, while the attachment identifier of part-groups@mcs.group.com replaces the group information of the part of the attached group, it is necessary to explain the group identifier of this part of the group, that is, groups numbers = "A, B", so that the client can know which part of the group it has successfully attached to.
可以理解,在又一些实施例中,如上述分析,在客户端请求附着部分群组的情况下,客户端发送的附着请求消息可以包括与该部分群组一一对应的目标附着标识,这样,服务器可以由该目标附着标识,直接确定客户端本次请求附着的是哪一个或多个群组,这种情况下,在生成的附着请求消息中可以不用添加这部分群组各自的群组标识,进一步缩短了附着请求消息的长度。It can be understood that, in still some embodiments, as analyzed above, in the case that the client requests to attach a partial group, the attach request message sent by the client may include a one-to-one target attachment identifier corresponding to the partial group. In this way, The server can directly determine which group or groups the client requests to attach this time from the target attachment ID. In this case, it is not necessary to add the respective group IDs of these groups in the generated attachment request message , further reducing the length of the attach request message.
需要说明的是,服务器控制客户端对目标群组进行附着操作的过程中,可能不会对所有目标群组附着成功,这种情况下,服务器构建附着通知消息时,所需要的附着标识可能与接收到的附着请求消息中的目标附着标识不同,如若附着请求消息是目标附着标识是第一附着标识,服务器控制客户端仅对A、B、C、D、E五个群组中的A、B、C、D群组附着成功,那么,服务器反馈的附着通知消息,将由第二附着标识替代这A、B、C、D这四个群组的群组消息生成,具体实现过程与上文实施例描述的请求附着的目标群组均成功附着的实施例实现过程类似,本申请不再举例详述。It should be noted that in the process of the server controlling the client to attach the target group, it may not succeed in attaching all the target groups. In this case, when the server constructs the attach notification message, the required attach identifier may be different from The target attachment ID in the received attachment request message is different. If the attachment request message is the target attachment ID and is the first attachment ID, the server controls the client to only attach A, B, C, D, and E in five groups. Groups B, C, and D are attached successfully. Then, the attachment notification message fed back by the server will be generated by the second attachment ID instead of the group messages of the four groups A, B, C, and D. The specific implementation process is the same as above. The implementation process of the embodiment described in the embodiment in which all the target groups requesting to attach are successfully attached is similar, and this application will not describe it in detail with examples.
综上,在本申请实施例中,由于客户端发送附着请求消息是由目标附着标识,替代感兴趣的目标群组的群组信息而构成的,保证服务器能够快速且完整得到该附着请求消息,在响应该附着请求消息过程中,可以直接依据该目标附着标识,确定客户端请求附着的是哪些目标群组,从而控制该客户端对这些目标群组进行附着操作,确定该客户端成功附着的群组后,为了保证附着结果快速且可靠反馈至客户端,服务器将由相应的目标附着标识替代,客户端成功附着群组的群组信息,构成针对客户端附着群组的附着通知消息,大大缩短了附着通知消息的长度,在无线环境的传输中,能够快速且完整地反馈至客户端,从而使客户端从其包含的目标附着标识,得知本客户端当前附着的群组是哪些目标群组,如所归属的全部群组或部分群组,这样,用户就可以据此对附着的目标群组进行业务访问操作,满足用户业务访问需求。To sum up, in the embodiment of this application, since the attach request message sent by the client is composed of the target attach identifier instead of the group information of the interested target group, it is ensured that the server can quickly and completely obtain the attach request message, In the process of responding to the attach request message, it is possible to directly determine which target groups the client requests to attach based on the target attach identifier, thereby controlling the client to perform attach operations on these target groups, and determining the target groups to which the client successfully attaches. After grouping, in order to ensure that the attachment result is quickly and reliably fed back to the client, the server will replace it with the corresponding target attachment ID. The group information of the client successfully attaching to the group constitutes an attachment notification message for the client attachment group, which greatly shortens the The length of the attachment notification message can be quickly and completely fed back to the client in the transmission of the wireless environment, so that the client can know which target group the client is currently attached to from the target attachment ID contained in it. Group, such as all or part of the group to which the user belongs, so that the user can perform business access operations on the attached target group to meet the user's business access needs.
结合上文实施例描述的群组附着方法,在如即时通讯,视频会议,网络游戏、流多媒体分发等实际应用中,可以基于SIP(Session Initiation Protocol,会话发起协议)实现客户端MCC与服务器MCS之间的数据交互,满足相应应用的通信需求。其中,对于客户端MCC与服务器MCS之间的数据交互, 可以是依据该SIP的事件通告机制规范定义的扩展应用,即用于发起订阅请求的订阅(SUBSCRIBE),以及用于通告当前资源状态的通告(NOTIFY),创建客户端MCC与服务器MCS之间的对话链路。In combination with the group attachment method described in the above embodiments, in practical applications such as instant messaging, video conferencing, online games, and streaming multimedia distribution, the client MCC and server MCS can be implemented based on SIP (Session Initiation Protocol, Session Initiation Protocol). The data interaction between them meets the communication needs of corresponding applications. Among them, for the data interaction between the client MCC and the server MCS, it can be an extended application defined according to the SIP event notification mechanism specification, that is, a subscription (SUBSCRIBE) for initiating a subscription request, and a subscription (SUBSCRIBE) for notifying the current resource status. Notify (NOTIFY), create a dialogue link between the client MCC and the server MCS.
基于此,结合上文图2a~图2d,以及图5a、图5b和图5c所示的消息内容,客户端向服务器发送的SUBSCRIBE消息中,可以包含请求统一资源标识符(Request-URI),即所要请求的资源的URI。本申请对上述SUBSCRIBE消息和NOTIFY消息的组成及其格式要求不做显示,可视情况而定。Based on this, combined with the message content shown in Figure 2a to Figure 2d above, and Figure 5a, Figure 5b, and Figure 5c, the SUBSCRIBE message sent by the client to the server may include a request uniform resource identifier (Request-URI), That is, the URI of the resource to be requested. This application does not display the composition and format requirements of the above-mentioned SUBSCRIBE message and NOTIFY message, and it depends on the situation.
因此,客户端MCC注册成功后,可以采用Subscribe方式建立客户端MCC与服务器MCS之间的订阅关系,以通过NOTIFY方式获取群组附着结果。具体的,客户端MCC可以向服务器MCS发送群组附着结果SIP Subscribe订阅请求,服务器MCS响应该订阅请求,可以构建该服务器MCS与该客户端MCC之间的订阅关系,这样,后续该客户端MCC的群组附着结果发生变化(如在原附着群组基础上,增加新的群组附着等),可以触发该订阅关系,且服务器MCS可以通过SIP Notify(即附着通知消息)将改变反馈该客户端MCC。Therefore, after the client MCC is successfully registered, the subscription relationship between the client MCC and the server MCS can be established through the Subscribe method, so as to obtain the group attachment result through the NOTIFY method. Specifically, the client MCC can send a group attachment result SIP Subscribe subscription request to the server MCS, and the server MCS can build a subscription relationship between the server MCS and the client MCC in response to the subscription request. In this way, the subsequent client MCC If the group attachment result changes (such as adding a new group attachment based on the original attachment group, etc.), the subscription relationship can be triggered, and the server MCS can feed back the change to the client through SIP Notify (ie attachment notification message) MCC.
具体的,用户进入客户端MCC群组附着界面,看到该用户归属的各群组,用户客户端对各群组的附着状态(即客户端是否附着相应群组)、各群组支持的业务类型等信息,可以从中选择感兴趣的全部或部分群组(其可以包含对已附着的群组、未附着的群组等),以请求对所选择的群组附着。Specifically, the user enters the client MCC group attachment interface, and sees the groups to which the user belongs, the attachment status of the user client to each group (that is, whether the client is attached to the corresponding group), and the services supported by each group. Type and other information, from which you can select all or part of the groups you are interested in (which may include the attached group, the unattached group, etc.), so as to request to attach to the selected group.
基于上文对SIP协议的描述,本申请可由客户端MCC向服务器MCS发送SIP SUBSCRIBE消息(如上述附着请求消息),携带所选择感兴趣的目标群组所满足的目标附着标识构成的application/pidf+xml消息,服务器收到该SIP SUBSCRIBE消息,可以反馈确认收到消息,如一条SIP 200OK应答消息,其可以表示订阅已被接受且用户已被授权订阅请求的资源。之后,服务器MCS可以按照上述方式响应该SIP SUBSCRIBE消息,实现客户端对目标群组的附着,使得客户端的群组附着结果发生变化,按照上文描述,通过该客户端MCC与服务器MCS之间构建的订阅关系,可以向客户端MCC反馈SIP NOTIFY消息,即携带目标附着标识的附着通知消息,客户端MCC收到该SIP NOTIFY消息,可以回复确认SIP 200OK应到,以使服务器MCS得知客户端MCC成 功接收到该通知消息。关于上述各消息的生成过程,可以参照上文实施例相应部分的描述,本申请实施例在此不做赘述。Based on the above description of the SIP protocol, in this application, the client MCC can send a SIP SUBSCRIBE message (such as the above-mentioned attachment request message) to the server MCS, carrying the application/pidf composed of the target attachment identifier satisfied by the selected target group of interest. +xml message, the server receives the SIP SUBSCRIBE message, and can feed back a confirmation message, such as a SIP 200OK response message, which can indicate that the subscription has been accepted and the user has been authorized to subscribe to the requested resource. Afterwards, the server MCS can respond to the SIP SUBSCRIBE message in the above-mentioned manner to realize the attachment of the client to the target group, so that the group attachment result of the client changes. Subscription relationship, you can feed back a SIP NOTIFY message to the client MCC, that is, an attachment notification message carrying the target attachment ID. After receiving the SIP NOTIFY message, the client MCC can reply to confirm the arrival of the SIP 200 OK, so that the server MCS knows the client The MCC successfully receives the notification message. For the generation process of the foregoing messages, reference may be made to the descriptions in the corresponding parts of the above embodiments, and the embodiments of the present application will not repeat them here.
需要说明的是,对于客户端MCC和服务器MCS反馈的SIP 200OK应答的内容及其格式,可以依据SIP协议规范确定,本申请对其不做限制。It should be noted that the content and format of the SIP 200OK response fed back by the client MCC and the server MCS can be determined according to the SIP protocol specification, and this application does not limit it.
参照图6,为本申请提出的群组附着装置的一可选示例的结构示意图,该装置可以适用于电子设备,更具体地说,该装置可以是电子设备中的客户端MCC的虚拟装置,如图6所示,该装置可以包括:Referring to FIG. 6 , it is a schematic structural diagram of an optional example of the group attachment device proposed in this application. The device can be applied to an electronic device, and more specifically, the device can be a virtual device of a client MCC in an electronic device. As shown in Figure 6, the device may include:
目标群组确定模块61,用于确定客户端请求附着的目标群组;A target group determination module 61, configured to determine the target group to which the client requests to attach;
目标附着标识获取模块62,用于获取所述目标群组所满足的目标附着标识;所述目标附着标识包括用于表示所述客户端附着当前存在的多个群组中的全部群组,或者所述客户端附着所述多个群组中的部分群组;A target attachment identification acquisition module 62, configured to acquire a target attachment identification satisfied by the target group; the target attachment identification includes all groups used to indicate that the client attachment currently exists in multiple groups, or The client is attached to some groups in the plurality of groups;
附着请求消息生成模块63,用于利用所述目标附着标识,生成针对所述目标群组的附着请求消息;所述附着请求消息至少包含所述目标附着标识;An attach request message generating module 63, configured to use the target attach identifier to generate an attach request message for the target group; the attach request message at least includes the target attach identifier;
附着请求消息发送模块64,用于将所述附着请求消息发送至服务器,以使服务器响应所述附着请求消息,控制所述客户端对所述目标群组进行附着操作。An attach request message sending module 64, configured to send the attach request message to the server, so that the server responds to the attach request message and controls the client to perform an attach operation on the target group.
在一些实施例中,上述目标附着标识获取模块62可以包括:In some embodiments, the above-mentioned target attachment identification acquisition module 62 may include:
第一选择单元,用于依据所述目标群组与当前存在的多个群组之间的目标关系,从预先配置的多种附着标识中,选择与所述目标关系相匹配的目标附着标识;A first selection unit, configured to select a target attachment identifier that matches the target relationship from a variety of pre-configured attachment identifiers according to the target relationship between the target group and multiple currently existing groups;
其中,所述目标关系为所述目标群组是所述多个群组中的全部群组的第一关系,或者所述目标群组是所述多个群组中的部分群组的第二关系,且所述第二关系包含一种或多种部分群组的组合。Wherein, the target relationship is the first relationship that the target group is all of the multiple groups, or the target group is the second relationship of some of the multiple groups. relationship, and the second relationship includes a combination of one or more partial groups.
在又一些实施例中,上述目标群组确定模块61可以包括:In still other embodiments, the above-mentioned target group determination module 61 may include:
选择确定单元,用于响应于对当前存在的多个群组的群组附着选择操作,确定所选择的客户端请求附着的目标群组;A selection determination unit, configured to determine a target group to which the selected client requests to attach in response to a group attachment selection operation on a plurality of currently existing groups;
基于此,上述目标附着标识获取模块62也可以包括:Based on this, the above-mentioned target attachment identification acquisition module 62 may also include:
第二选择单元,用于响应于对输出的多种附着标识的选择操作,将选择的附着标识确定为目标附着标识。The second selection unit is configured to determine the selected attachment ID as the target attachment ID in response to a selection operation on the output multiple attachment IDs.
基于上文实施例描述的装置结构,该装置还可以包括:Based on the device structure described in the above embodiments, the device may also include:
第一配置单元,用于按照群组附着协议规定的统一资源标识符格式,配置用于表示客户端附着当前存在的多个群组中的全部群组的第一附着标识;The first configuration unit is configured to configure, according to the uniform resource identifier format specified in the group attachment protocol, the first attachment identifier used to indicate that the client is attached to all of the multiple groups that currently exist;
第二配置单元,用于按照所述统一资源标识符格式,配置用于表示客户端附着所述多个群组中的部分群组的第二附着标识。The second configuration unit is configured to configure, according to the uniform resource identifier format, a second attachment identifier used to indicate that the client is attached to some of the groups in the plurality of groups.
在一些实施例中,若上述目标附着标识包括用于表示客户端附着当前存在的多个群组中的部分群组,上述附着请求消息生成模块63可以包括:In some embodiments, if the above-mentioned target attachment identifier includes part of the multiple groups used to indicate that the client is attached to currently existing groups, the above-mentioned attach request message generating module 63 may include:
群组标识获取单元,用于获取所述目标群组各自的目标群组标识;a group identification obtaining unit, configured to obtain the respective target group identifications of the target groups;
消息构成单元,用于按照附着请求消息格式,依据所述目标群组标识,构成针对所述目标群组的附着请求消息。The message constituting unit is configured to compose an attach request message for the target group according to the format of the attach request message and according to the target group identifier.
参照图7,为本申请提出的群组附着装置的又一可选示例的结构示意图,该装置可以适用于服务器,如上述MCS,如图7所示,该装置可以包括:Referring to FIG. 7 , it is a schematic structural diagram of another optional example of the group attachment device proposed in this application. This device can be applied to a server, such as the above-mentioned MCS. As shown in FIG. 7 , the device can include:
附着请求消息接收模块71,用于接收客户端发送至的针对目标群组的附着请求消息;其中,所述目标群组是当前存在的多个群组中的至少一个群组;所述附着请求消息是利用所述目标群组满足的目标附着标识所生成的,至少包含所述目标附着标识;所述目标附着标识包括用于表示客户端附着当前存在的多个群组中的全部群组,或者所述客户端附着所述多个群组中的部分群组;An attach request message receiving module 71, configured to receive an attach request message for a target group sent by a client; wherein, the target group is at least one of a plurality of groups that currently exist; the attach request The message is generated by using the target attachment identifier satisfied by the target group, and at least includes the target attachment identifier; the target attachment identifier includes all groups used to indicate that the client is attached to a plurality of groups that currently exist, or the client is attached to some of the multiple groups;
附着操作模块72,用于响应所述附着请求消息,依据所述目标附着标识,控制所述客户端对所述目标群组进行附着操作。The attach operation module 72 is configured to control the client to perform an attach operation on the target group according to the target attach identifier in response to the attach request message.
可选的,该附着操作模块72可以包括:Optionally, the attachment operation module 72 may include:
解析单元,用于解析所述附着请求消息,得到所述目标附着标识;A parsing unit, configured to parse the attach request message to obtain the target attach identifier;
目标群组确定单元,用于依据所述目标附着标识,确定所述客户端请求附着的所述目标群组;a target group determining unit, configured to determine the target group to which the client requests to attach according to the target attachment identifier;
附着操作单元,用于控制所述客户端对所述目标群组进行附着操作。an attach operation unit, configured to control the client to perform an attach operation on the target group.
在又一些实施例中,如图7所示,该装置还可以包括:In some other embodiments, as shown in Figure 7, the device may also include:
通知消息构成模块73,用于按照附着通知消息格式,依据所述目标附着标识,构成针对所述客户端附着群组的附着通知消息;The notification message composition module 73 is configured to compose an attachment notification message for the client attachment group according to the attachment notification message format and according to the target attachment identifier;
通知消息反馈模块74,用于将所述附着通知消息反馈至所述客户端。A notification message feedback module 74, configured to feed back the attachment notification message to the client.
需要说明的是,关于上述各装置实施例中的各种模块、单元等,均可以作为程序模块存储在相应设备(如电子设备、服务器)的存储器中,由该设备中的处理器执行存储在存储器中的上述程序模块,以实现相应的功能,关于各程序模块及其组合所实现的功能,以及达到的技术效果,可以参照上述方法实施例相应部分的描述,本实施例不再赘述。It should be noted that the various modules, units, etc. in the above-mentioned apparatus embodiments can all be stored as program modules in the memory of the corresponding device (such as electronic equipment, server), and executed by the processor in the device. The above-mentioned program modules in the memory are used to realize corresponding functions. For the functions realized by each program module and its combination, and the technical effect achieved, you can refer to the description of the corresponding part of the above-mentioned method embodiment, and this embodiment will not repeat them.
本申请还提供了一种计算机可读存储介质,其上可以存储计算机程序,该计算机程序可以被处理器调用并加载,以实现上述客户端侧或服务器侧实施例描述的群组附着方法,具体实现过程本申请实施例在此不做赘述。The present application also provides a computer-readable storage medium on which a computer program can be stored, and the computer program can be invoked and loaded by a processor to implement the group attachment method described in the above-mentioned client-side or server-side embodiments, specifically The implementation process is not described here in this embodiment of the present application.
参照图8,为适用于本申请提出的群组附着方法和装置的,群组附着系统的一可选示例的结构示意图,该系统可以包括至少是一个终端(如上述电子设备)81和服务器82,其中:Referring to FIG. 8 , it is a schematic structural diagram of an optional example of a group attachment system applicable to the group attachment method and device proposed in this application. The system may include at least one terminal (such as the above-mentioned electronic device) 81 and a server 82 ,in:
终端81可以包括但并不局限于智能手机、平板电脑、可穿戴设备、个人计算机(personal computer,PC)、上网本、个人数字助理(personal digital assistant,PDA)、智能手表、增强现实技术(Augmented Reality,AR)设备、虚拟现实(Virtual Reality,VR)设备、车载设备、智能音箱、机器人、台式计算机等电子设备,本申请对该终端81的产品类型不做限制,可视情况而定。Terminal 81 may include, but is not limited to, smart phones, tablet computers, wearable devices, personal computers (personal computers, PCs), netbooks, personal digital assistants (personal digital assistants, PDAs), smart watches, augmented reality technology (Augmented Reality , AR) equipment, virtual reality (Virtual Reality, VR) equipment, vehicle-mounted equipment, smart speakers, robots, desktop computers and other electronic equipment, this application does not limit the product type of the terminal 81, it depends on the situation.
在本申请实施例中,终端81中可以配置MCC(Mission Critical Client,任务关键型客户端),在不同场景下,该MCC的应用类型可能不同,本申请对MCC的应用类型不做限制。结合上文从客户端侧描述的群组附着方法可知,该装置81可以包括至少一个第一存储器811和至少一个第一处理器812。In this embodiment of the application, an MCC (Mission Critical Client) can be configured in the terminal 81. In different scenarios, the application type of the MCC may be different, and this application does not limit the application type of the MCC. In combination with the group attachment method described above from the client side, it can be known that the apparatus 81 may include at least one first memory 811 and at least one first processor 812 .
其中,第一存储器811可以用于存储实现上文从客户端侧描述的群组附着方法的第一程序;第一处理器812可以用于加载并执行所述第一存储器存储的所述第一程序,以实现上文从客户端侧描述的群组附着方法,具体实现过才可以参照上文相应方法实施例的描述,本实施例在此不做赘述。Wherein, the first memory 811 may be used to store the first program implementing the group attachment method described above from the client side; the first processor 812 may be used to load and execute the first program stored in the first memory. program to implement the group attachment method described above from the client side. Only after the specific implementation can refer to the description of the corresponding method embodiment above, and this embodiment will not be repeated here.
在实际应用中,第一存储器811可以包括高速随机存取存储器,还可以包 括非易失性存储器,例如至少一个磁盘存储器件或其他易失性固态存储器件。第一处理器812,可以为中央处理器(Central Processing Unit,CPU)、特定应用集成电路(application-specific integrated circuit,ASIC)、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件等。本申请可以依据实际情况,确定终端所配置的支持上述客户端MCC功能实现的存储器和处理器类型,包括但并不局限于本实施例列举的器件类别。In practical applications, the first memory 811 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device or other volatile solid-state storage devices. The first processor 812 may be a central processing unit (Central Processing Unit, CPU), a specific application integrated circuit (application-specific integrated circuit, ASIC), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), and an off-the-shelf Programmable gate array (FPGA) or other programmable logic devices, etc. The present application may determine the types of memory and processor configured on the terminal that support the realization of the above-mentioned client MCC function according to the actual situation, including but not limited to the types of devices listed in this embodiment.
另外,可以理解,图8所示的终端的结构并不构成对本申请实施例中终端的限定,在实际应用中,终端可以包括比图8所示的更多的部件,或者组合某些部件,如图9所示,该装置还可以包括如WIFI模块、5G/6G(第五代移动通信网络/第六代移动通信网络)模块、GPRS模块等通讯模块的通信接口,显示屏、拾音器、麦克风、各种传感器模组、电源管理模组、天线、摄像头等至少一个输入设备、输出设备,本申请在此不做一一列举。In addition, it can be understood that the structure of the terminal shown in FIG. 8 does not constitute a limitation on the terminal in the embodiment of the present application. In practical applications, the terminal may include more components than those shown in FIG. 8, or combine certain components, As shown in Figure 9, the device can also include communication interfaces of communication modules such as WIFI module, 5G/6G (fifth generation mobile communication network/sixth generation mobile communication network) module, GPRS module, display screen, pickup, microphone , various sensor modules, power management modules, antennas, cameras, and at least one input device and output device, which are not listed here in this application.
服务器82可以支持上述客户端MCC的功能实现的服务设备,即上述MCS(Mission Critical Service,任务关键型服务器)。在实际应用中,该服务器82可以是一个物理服务器,也可以是多个物理服务器构成的服务集群;也可以是支持云计算的云服务器,可以通过有线网络或无线网络实现与上述终端81的数据通信,具体通信方式本申请不做限制,可视情况而定。The server 82 can support the service device realized by the function of the above-mentioned client MCC, that is, the above-mentioned MCS (Mission Critical Service, mission-critical server). In practical applications, the server 82 can be a physical server, or a service cluster formed by multiple physical servers; it can also be a cloud server supporting cloud computing, and the data exchange with the above-mentioned terminal 81 can be realized through a wired network or a wireless network. Communication, the specific communication method is not limited in this application, it depends on the situation.
本申请实施例中,如图8所示,该服务器82可以包括至少一个第二存储器821和至少一个第二处理器822;该第二存储器821可以用于存储实现上述从服务器MCS侧描述的群组附着方法的第二程序;该第二处理器822可以用于加载并执行第二存储器821存储的第二程序,以实现如上文从服务器MCS侧描述的群组附着方法,具体实现过程可以参照上文相应方法实施例的描述,本实施例在此不做赘述。In the embodiment of the present application, as shown in FIG. 8, the server 82 may include at least one second memory 821 and at least one second processor 822; The second program of the group attach method; the second processor 822 can be used to load and execute the second program stored in the second memory 821, so as to realize the group attach method described above from the server MCS side, the specific implementation process can refer to The above description of the corresponding method embodiment will not be repeated here in this embodiment.
其中,关于第二存储器821和第二处理器822的器件类型,可以参照上文对第一存储器811和第一处理器812的器件类型的描述,本申请可以依据实际需求确定第二存储器821和第二处理器822各自的类型,本申请对此不做限制。Among them, regarding the device types of the second memory 821 and the second processor 822, you can refer to the above description of the device types of the first memory 811 and the first processor 812, and the application can determine the second memory 821 and The types of the second processors 822 are not limited in this application.
应该理解的是,上图8所示的服务器的结构并不构成对本申请实施例中服务器的限定,在实际应用中,服务器可以包括比图8所示的更多的部件,或者组合某些部件,本申请在此不做一一列举。It should be understood that the structure of the server shown in Figure 8 above does not constitute a limitation on the server in this embodiment of the application. In actual applications, the server may include more components than those shown in Figure 8, or combine certain components , the present application does not enumerate them one by one here.
最后,需要说明的是,关于上述各实施例中,诸如第一、第二等之类的关系术语仅仅用来将一个操作、单元或模块与另一个操作、单元或模块区分开来,而不一定要求或者暗示这些单元、操作或模块之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法或者系统中还存在另外的相同要素。Finally, it should be noted that, with respect to the above-mentioned embodiments, relative terms such as first, second, etc. are only used to distinguish one operation, unit or module from another operation, unit or module, and not Any such actual relationship or order between these units, operations or modules is necessarily required or implied. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method or system comprising a set of elements includes not only those elements but also other elements not expressly listed. elements, or elements inherent in such a process, method, or system. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method or system comprising said element.
其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请实施例的描述中,“多个”是指两个或多于两个。Among them, in the description of the embodiments of this application, unless otherwise specified, "/" means or means, for example, A/B can mean A or B; "and/or" in this article is only a description of associated objects The association relationship of indicates that there may be three kinds of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. In addition, in the description of the embodiments of the present application, "plurality" refers to two or more than two.
本说明书中各个实施例采用递进或并列的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置、系统而言,由于其与实施例公开的方法对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in this specification is described in a progressive or parallel manner, each embodiment focuses on the differences from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the devices and systems disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and for the related parts, please refer to the description of the method part.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (15)

  1. 一种群组附着方法,其特征在于,所述方法包括:A group attachment method, characterized in that the method comprises:
    确定客户端请求附着的目标群组;Determine the target group to which the client requests to attach;
    获取所述目标群组所满足的目标附着标识;所述目标附着标识用于表示所述客户端附着当前存在的多个群组中的全部群组,或者所述客户端附着所述多个群组中的部分群组;Acquiring the target attachment ID satisfied by the target group; the target attachment ID is used to indicate that the client is attached to all of the multiple groups that currently exist, or that the client is attached to the multiple groups part of a group;
    利用所述目标附着标识,生成针对所述目标群组的附着请求消息;所述附着请求消息至少包含所述目标附着标识;generating an attach request message for the target group by using the target attach identifier; the attach request message at least includes the target attach identifier;
    将所述附着请求消息发送至服务器,以使服务器响应所述附着请求消息,控制所述客户端对所述目标群组进行附着操作。sending the attach request message to the server, so that the server responds to the attach request message and controls the client to perform an attach operation on the target group.
  2. 根据权利要求1所述的方法,其特征在于,所述获取所述目标群组所满足的目标附着标识,包括:The method according to claim 1, wherein said obtaining the target attachment identifiers satisfied by the target group comprises:
    依据所述目标群组与当前存在的多个群组之间的目标关系,从预先配置的多种附着标识中,选择与所述目标关系相匹配的目标附着标识;According to the target relationship between the target group and multiple currently existing groups, select a target attachment ID that matches the target relationship from multiple types of pre-configured attachment IDs;
    其中,所述目标关系为所述目标群组是所述多个群组中的全部群组的第一关系,或者所述目标群组是所述多个群组中的部分群组的第二关系,且所述第二关系包含一种或多种部分群组的组合。Wherein, the target relationship is the first relationship that the target group is all of the multiple groups, or the target group is the second relationship of some of the multiple groups. relationship, and the second relationship includes a combination of one or more partial groups.
  3. 根据权利要求1所述的方法,其特征在于,所述确定客户端请求附着的目标群组,获取所述目标群组所满足的目标附着标识,包括:The method according to claim 1, wherein the determining the target group for which the client requests to attach, and obtaining the target attachment identifier satisfied by the target group includes:
    响应于对当前存在的多个群组的群组附着选择操作,确定所选择的客户端请求附着的目标群组;In response to a group attach selection operation on a plurality of currently existing groups, determine a target group to which the selected client requests to attach;
    响应于对输出的多种附着标识的选择操作,将选择的附着标识确定为目标附着标识。In response to the selection operation on the output multiple attachment identifiers, the selected attachment identifier is determined as the target attachment identifier.
  4. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, further comprising:
    按照群组附着协议规定的统一资源标识符格式,配置用于表示客户端附着当前存在的多个群组中的全部群组的第一附着标识;According to the uniform resource identifier format stipulated in the group attachment protocol, configure the first attachment identifier used to indicate that the client is attached to all of the multiple groups that currently exist;
    按照所述统一资源标识符格式,配置用于表示客户端附着所述多个群组中的部分群组的第二附着标识。According to the uniform resource identifier format, configure a second attachment identifier used to indicate that the client is attached to some of the multiple groups.
  5. 根据权利要求1~4任一项所述的方法,其特征在于,若所述目标附着标识包括用于表示客户端附着当前存在的多个群组中的部分群组,所述利用所述目标群组附着标识,生成针对所述目标群组的附着请求消息,包括:The method according to any one of claims 1 to 4, wherein if the target attachment identifier includes part of a plurality of groups used to indicate that the client is currently attached, the use of the target A group attach identifier, generating an attach request message for the target group, including:
    获取所述目标群组各自的目标群组标识;Obtaining respective target group identifiers of the target groups;
    按照附着请求消息格式,依据所述目标群组标识,构成针对所述目标群组的附着请求消息。Construct an attach request message for the target group according to the format of the attach request message and according to the identifier of the target group.
  6. 一种群组附着方法,其特征在于,所述方法包括:A group attachment method, characterized in that the method comprises:
    接收客户端发送至的针对目标群组的附着请求消息;其中,所述目标群组是当前存在的多个群组中的至少一个群组;所述附着请求消息是利用所述目标群组满足的目标附着标识所生成的,至少包含所述目标附着标识;所述目标附着标识用于表示客户端附着当前存在的多个群组中的全部群组,或者所述客户端附着所述多个群组中的部分群组;Receiving an attach request message for a target group sent by a client; wherein, the target group is at least one of a plurality of currently existing groups; the attach request message uses the target group to satisfy generated by the target attachment ID, at least including the target attachment ID; the target attachment ID is used to indicate that the client is attached to all of the multiple groups that currently exist, or that the client is attached to the multiple groups part of a group;
    响应所述附着请求消息,依据所述目标附着标识,控制所述客户端对所述目标群组进行附着操作。In response to the attach request message, control the client to perform an attach operation on the target group according to the target attach identifier.
  7. 根据权利要求6所述的方法,其特征在于,所述响应所述附着请求消息,依据所述目标附着标识,控制所述客户端对所述目标群组进行附着操作,包括:The method according to claim 6, wherein the responding to the attachment request message, controlling the client to perform an attachment operation on the target group according to the target attachment identifier, comprises:
    解析所述附着请求消息,得到所述目标附着标识;Parsing the attach request message to obtain the target attach identifier;
    依据所述目标附着标识,确定所述客户端请求附着的所述目标群组;Determine the target group to which the client requests to attach according to the target attachment identifier;
    控制所述客户端对所述目标群组进行附着操作。controlling the client to perform an attach operation on the target group.
  8. 根据权利要求6或7所述的方法,其特征在于,所述方法还包括:The method according to claim 6 or 7, characterized in that the method further comprises:
    按照附着通知消息格式,依据所述目标附着标识,构成针对所述客户端附着群组的附着通知消息;Constructing an attach notification message for the client attachment group according to the attachment notification message format and according to the target attachment identifier;
    将所述附着通知消息反馈至所述客户端。Feedback the attachment notification message to the client.
  9. 一种群组附着装置,其特征在于,所述装置包括:A group attachment device, characterized in that the device comprises:
    目标群组确定模块,用于确定客户端请求附着的目标群组;A target group determination module, configured to determine the target group to which the client requests to attach;
    目标附着标识获取模块,用于获取所述目标群组所满足的目标附着标识;所述目标附着标识包括用于表示所述客户端附着当前存在的多个群组中的全部群组,或者所述客户端附着所述多个群组中的部分群组;A target attachment identification acquisition module, configured to acquire a target attachment identification satisfied by the target group; the target attachment identification includes all groups used to indicate that the client is currently attached to a plurality of groups, or the The client is attached to some groups in the plurality of groups;
    附着请求消息生成模块,用于利用所述目标附着标识,生成针对所述目标群组的附着请求消息;所述附着请求消息至少包含所述目标附着标识;An attach request message generating module, configured to generate an attach request message for the target group by using the target attach identifier; the attach request message at least includes the target attach identifier;
    附着请求消息发送模块,用于将所述附着请求消息发送至服务器,以使服务器响应所述附着请求消息,控制所述客户端对所述目标群组进行附着操作。An attach request message sending module, configured to send the attach request message to a server, so that the server responds to the attach request message and controls the client to perform an attach operation on the target group.
  10. 根据权利要求9所述的装置,其特征在于,所述目标附着标识获取模块,包括:The device according to claim 9, wherein the target attachment identification acquisition module includes:
    第一选择单元,用于依据所述目标群组与当前存在的多个群组之间的目标关系,从预先配置的多种附着标识中,选择与所述目标关系相匹配的目标附着标识;其中,所述目标关系为所述目标群组是所述多个群组中的全部群组的第一关系,或者所述目标群组是所述多个群组中的部分群组的第二关系,且所述第二关系包含一种或多种部分群组的组合;A first selection unit, configured to select a target attachment identifier that matches the target relationship from a variety of pre-configured attachment identifiers according to the target relationship between the target group and multiple currently existing groups; Wherein, the target relationship is the first relationship that the target group is all of the multiple groups, or the target group is the second relationship of some of the multiple groups. relationship, and the second relationship comprises a combination of one or more partial groups;
    或者,or,
    第二选择单元,用于响应于对输出的多种附着标识的选择操作,将选择的附着标识确定为目标附着标识。The second selection unit is configured to determine the selected attachment ID as the target attachment ID in response to a selection operation on the output multiple attachment IDs.
  11. 根据权利要求9所述的装置,其特征在于,所述装置还包括:The device according to claim 9, wherein the device further comprises:
    第一配置模块,用于按照群组附着协议规定的统一资源标识符格式,配置用于表示客户端附着当前存在的多个群组中的全部群组的第一附着标识;The first configuration module is configured to configure, according to the uniform resource identifier format specified in the group attachment protocol, the first attachment identifier used to indicate that the client is attached to all of the multiple groups that currently exist;
    第二配置模块,用于按照所述统一资源标识符格式,配置用于表示客户端附着所述多个群组中的部分群组的第二附着标识。The second configuration module is configured to configure, according to the uniform resource identifier format, a second attachment identifier used to indicate that the client is attached to some of the groups.
  12. 根据权利要求9-11任一项所述的装置,其特征在于,若所述目标附着标识包括用于表示客户端附着当前存在的多个群组中的部分群组,所述附着请求消息生成模块,包括:The device according to any one of claims 9-11, wherein if the target attachment identifier includes part of the multiple groups that are used to indicate that the client is attached to the current existing groups, the attachment request message generates modules, including:
    群组标识获取单元,用于获取所述目标群组各自的目标群组标识;a group identification obtaining unit, configured to obtain the respective target group identifications of the target groups;
    消息构成单元,用于按照附着请求消息格式,依据所述目标群组标识,构成针对所述目标群组的附着请求消息。The message constituting unit is configured to compose an attach request message for the target group according to the format of the attach request message and according to the target group identifier.
  13. 一种群组附着装置,其特征在于,所述装置包括:A group attachment device, characterized in that the device comprises:
    附着请求消息接收模块,用于接收客户端发送至的针对目标群组的附着请求消息;其中,所述目标群组是当前存在的多个群组中的至少一个群组;所述附着请求消息是利用所述目标群组满足的目标附着标识所生成的,至少 包含所述目标附着标识;所述目标附着标识包括用于表示客户端附着当前存在的多个群组中的全部群组,或者所述客户端附着所述多个群组中的部分群组;An attach request message receiving module, configured to receive an attach request message for a target group sent by a client; wherein, the target group is at least one group among multiple groups that currently exist; the attach request message is generated by using the target attachment identifier satisfied by the target group, and at least includes the target attachment identifier; the target attachment identifier includes all groups in the plurality of groups used to indicate that the client attaches currently exists, or The client is attached to some groups in the plurality of groups;
    附着操作模块,用于响应所述附着请求消息,依据所述目标附着标识,控制所述客户端对所述目标群组进行附着操作。An attach operation module, configured to control the client to perform an attach operation on the target group according to the target attach identifier in response to the attach request message.
  14. 一种存储介质,其特征在于,其上存储有计算机程序,所述计算机程序被处理器调用并执行,实现如权利要求1~5任一项所述的群组附着方法,或者实现如权利要求6~8任一项所述的群组附着方法。A storage medium, characterized in that a computer program is stored thereon, and the computer program is invoked and executed by a processor to realize the group attachment method according to any one of claims 1 to 5, or to realize the method according to any one of claims 1-5. The group attachment method described in any one of 6 to 8.
  15. 一种群组附着系统,其特征在于,所述系统包括至少一个终端和服务器,其中:A group attachment system, characterized in that the system includes at least one terminal and a server, wherein:
    所述终端包括至少一个第一存储器和至少一个第一处理器;The terminal includes at least one first memory and at least one first processor;
    所述第一存储器,用于存储实现如权利要求1~5任一项所述的群组附着方法的第一程序;The first memory is used to store a first program implementing the group attachment method according to any one of claims 1-5;
    所述第一处理器,用于加载并执行所述第一存储器存储的所述第一程序,以实现如权利要求1~5任一项所述的群组附着方法;The first processor is configured to load and execute the first program stored in the first memory, so as to implement the group attachment method according to any one of claims 1-5;
    所述服务器包括至少一个第二存储器和至少一个第二处理器;The server includes at least one second memory and at least one second processor;
    所述第二存储器,用于存储实现如权利要求6~8任一项所述的群组附着方法的第二程序;The second memory is used to store a second program implementing the group attachment method according to any one of claims 6-8;
    所述第二处理器,用于加载并执行所述第二存储器存储的所述第二程序,以实现如权利要求6~8任一项所述的群组附着方法。The second processor is configured to load and execute the second program stored in the second memory, so as to implement the group attachment method according to any one of claims 6-8.
PCT/CN2021/130622 2021-11-15 2021-11-15 Group affiliation method and corresponding device WO2023082244A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/130622 WO2023082244A1 (en) 2021-11-15 2021-11-15 Group affiliation method and corresponding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/130622 WO2023082244A1 (en) 2021-11-15 2021-11-15 Group affiliation method and corresponding device

Publications (1)

Publication Number Publication Date
WO2023082244A1 true WO2023082244A1 (en) 2023-05-19

Family

ID=86334935

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/130622 WO2023082244A1 (en) 2021-11-15 2021-11-15 Group affiliation method and corresponding device

Country Status (1)

Country Link
WO (1) WO2023082244A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101248642A (en) * 2005-05-17 2008-08-20 斯比德航海有限公司 Signalling compression/decompression
CN101300764A (en) * 2005-09-02 2008-11-05 北方电讯网络有限公司 Sip header reduction
CN111935633A (en) * 2020-08-17 2020-11-13 海能达通信股份有限公司 Group attachment method and corresponding device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101248642A (en) * 2005-05-17 2008-08-20 斯比德航海有限公司 Signalling compression/decompression
CN101300764A (en) * 2005-09-02 2008-11-05 北方电讯网络有限公司 Sip header reduction
CN111935633A (en) * 2020-08-17 2020-11-13 海能达通信股份有限公司 Group attachment method and corresponding device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
PRICE R., C. BORMANN, CHRISTOFFERSSON BREMEN J, HANNU H, LIU ERICSSON Z, ROSENBERG NOKIA J: "Signaling Compression (SigComp)", IETF, 31 January 2003 (2003-01-31), pages 1 - 62, XP093065459, Retrieved from the Internet <URL:https://www.rfc-editor.org/rfc/pdfrfc/rfc3320.txt.pdf> [retrieved on 20230719] *
马庆 等 (MA, QING ET AL.): "SIP信令压缩动态字典方案 (Dynamic Dictionary Scheme in SIP Signaling Compression)", 计算机工程 (COMPUTER ENGINEERING), vol. 35, no. 24, 20 December 2009 (2009-12-20) *
黄志海 等 (HUANG, ZHIHAI ET AL.): "SIP信令压缩技术 (Signaling Compression for SIP)", 南京邮电大学学报(自然科学版) (JOURNAL OF NANJING UNIVERSITY OF POSTS AND TELECOMMUNICATIONS(NATURAL SCIENCE)), vol. 28, no. 02, 30 April 2008 (2008-04-30), XP009546215 *

Similar Documents

Publication Publication Date Title
CN103348663B (en) Message push notice client for multi-user installation is improved
US8234410B2 (en) Subscriber driven media agnostic content delivery across networks
US10496245B2 (en) Method for interactive response and apparatus thereof
US8447808B2 (en) Virtual presence server
WO2016127793A1 (en) Message sending method, apparatus, system, and server
US8019822B2 (en) Personalized storage accounts in an electronic file delivery system
US20180234371A1 (en) Method, system and computer program product for providing interactive elements in messages
US9426108B2 (en) Method for storing conversation upon user&#39;s request in CPM system, and system thereof
WO2007095800A1 (en) Presence service interface device, presence service system and method for publishing and obtaining presence information
US20090240829A1 (en) Translating between implicit and explicit publish-subscribe protocols
EP2560329B1 (en) Method and processing system for routing a message request
EP1513302B1 (en) Real-time messaging in collaborative network environments
CN102176763B (en) Broadcast television system and information interaction method
CN114449458B (en) 5G message fallback method, system, computing device and storage medium
US20090106437A1 (en) Method and device for handling different addressing schemes in session initiation protocol communication
US9473316B2 (en) Resource consumption reduction via meeting affinity
WO2009009981A1 (en) A method, communication system and relative device for setting up media resource accessing relationship
US10009388B2 (en) Method and system for establishing integrated group ISC session based on content interest
WO2023082244A1 (en) Group affiliation method and corresponding device
US20120005362A1 (en) Streaming data delivery system and method thereof
CN1972279B (en) An acquisition method of session initiation protocol resource event packet
WO2019201111A1 (en) Information processing method, apparatus and device, and computer-readable storage medium
CN114020363B (en) Group attachment method and corresponding equipment
CN112511884B (en) Mixed flow control method, system and storage medium for audio and video flow
CN102244657A (en) Multipoint control unit cascade conference registration method and system

Legal Events

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

Ref document number: 21963691

Country of ref document: EP

Kind code of ref document: A1