+

WO2018170897A1 - 一种媒体传输策略的处理方法及相关设备 - Google Patents

一种媒体传输策略的处理方法及相关设备 Download PDF

Info

Publication number
WO2018170897A1
WO2018170897A1 PCT/CN2017/078114 CN2017078114W WO2018170897A1 WO 2018170897 A1 WO2018170897 A1 WO 2018170897A1 CN 2017078114 W CN2017078114 W CN 2017078114W WO 2018170897 A1 WO2018170897 A1 WO 2018170897A1
Authority
WO
WIPO (PCT)
Prior art keywords
media transmission
transmission policy
request message
target
policy
Prior art date
Application number
PCT/CN2017/078114
Other languages
English (en)
French (fr)
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/CN2017/078114 priority Critical patent/WO2018170897A1/zh
Publication of WO2018170897A1 publication Critical patent/WO2018170897A1/zh

Links

Images

Definitions

  • the present application relates to the field of electronic technologies, and in particular, to a method and a related device for processing a media transmission policy.
  • Emergency mission services are cluster communication services used in public safety applications and general commercial applications, such as in public security systems.
  • the emergency mission service supports 1-to-N group communication.
  • a group communication the distribution of media data can be controlled by an authorized user such as a dispatcher.
  • the dispatcher is a user with special permission, and can be a certain A group member of one or several groups, or a superuser.
  • the authorized user usually needs to control the transmission or reception of the media data in the group communication according to the real-time situation of the dispatching site or a specific event, and the authorized user can issue relevant control information or instructions, such as an indication.
  • a specific group user sends target media data to other users, or instructs a specific group user to receive target media data sent by other users, and the like.
  • the control mechanism needs to be completely dependent on the dispatcher's operation, and can be applied to group communication with a small number of participants.
  • the accuracy and efficiency of the dispatcher operation may become a bottleneck of scheduling.
  • the persons participating in the group communication are classified in multiple dimensions, for example, according to the user's priority and location area, the media data in the group communication can also be divided in multiple dimensions. For example, the time generated based on the media data, the content category of the media data, the area where the media data is collected, and the like. There is therefore a need for a mechanism for flexible media data distribution.
  • the present application provides a method for processing a media transmission policy and related devices, which can make transmission control of media data more flexible.
  • an embodiment of the present application provides a method for processing a media transmission policy, including:
  • the media transmission policy processing request message includes media transmission policy information, where the media transmission policy information is used to determine a media transmission policy to be processed; the media transmission policy includes a media transmission operation and a media transmission The corresponding trigger condition is operated;
  • the media transmission policy is processed according to the media transmission policy processing manner.
  • the technical solution can implement the media transmission operation of the target media transmission policy when the operation trigger condition of the target media transmission policy is met, and achieve more flexible media transmission control.
  • the receiving media transmission policy processing request message includes:
  • the receiving media transmission policy processing request message includes:
  • the first media transmission policy Processing the request message includes carrying the target user identifier.
  • the media transmission policy processing request message is the media, in the third possible implementation manner of the first aspect, Transmitting a policy configuration request message; the media transmission policy information includes a target media transmission policy;
  • Determining, according to the media transmission policy processing request message, that the media transmission policy processing manner includes:
  • the processing the media transmission policy according to the media transmission policy processing manner includes:
  • the media transmission policy information includes multiple target media transmission policies
  • the method further includes:
  • the target media transmission policy is saved and activated.
  • the media transmission policy processing request message is a media, in combination with the first aspect to the second aspect, Transmitting a policy update request message;
  • the media transmission policy information includes a first media transmission policy identifier and transmission policy update information;
  • Determining, according to the media transmission policy processing request message, that the media transmission policy processing manner includes:
  • the processing the media transmission policy according to the media transmission policy processing manner includes:
  • the updating, by using the target media transmission policy, the first media transmission policy corresponding to the first media transmission policy identifier includes:
  • the updating the first Before the media transmission policy identifies the corresponding target media transmission policy it also includes:
  • the target media transmission policy is deactivated, the target media transmission policy is updated using the transmission policy update information, and the updated target media transmission policy is activated.
  • the media transmission policy processing request message is a media Transmitting a policy activation request message;
  • the media transmission policy information includes a second media transmission policy identifier;
  • Determining, according to the media transmission policy processing request message, that the media transmission policy processing manner includes:
  • the processing the media transmission policy according to the media transmission policy processing manner includes:
  • the activating the target media transmission After the strategy also includes:
  • the media transmission operation of the target media transmission policy is performed.
  • the media transmission policy processing request message is a media. Transmitting a policy deactivation request message; the media transmission policy information includes a third media transmission policy identifier;
  • Determining, according to the media transmission policy processing request message, that the media transmission policy processing manner includes:
  • the processing the media transmission policy according to the media transmission policy processing manner includes:
  • the media transmission policy processing request message is a media transmission policy deletion request message;
  • the media transmission policy information includes a fourth media transmission policy identifier;
  • Determining, according to the media transmission policy processing request message, that the media transmission policy processing manner includes:
  • the processing the media transmission policy according to the media transmission policy processing manner includes:
  • the media transmission policy is performed according to the media transmission policy processing manner Before processing, it also includes:
  • the method further includes:
  • the media transmission policy further includes a media At least one of transmission target information, transmission policy validity time, media transmission policy status, and media transmission coding.
  • a second aspect of the present application provides a media device.
  • the device includes a processor, a memory, and a communication interface.
  • the processor is coupled to the memory and communication interface, for example, the processor can be coupled to the memory and communication interface via a bus.
  • the communication interface is used to communicate with devices such as authorized terminals or emergency mission service servers.
  • the memory is used to store media transmission policies and the like.
  • the processor is configured to perform some or all of the processes of the first aspect.
  • the third aspect of the present application provides another media device, including a transceiver module and a processing module, where the processing module is used to implement the processor in the second aspect, and the transceiver module is configured to implement the network interface in the second aspect.
  • the media device implements some or all of the methods of the first aspect through the above modules.
  • FIG. 1 is a schematic structural diagram of an emergency mission service system according to an embodiment of the present application.
  • FIG. 2a is a schematic flowchart of a method for configuring a media transmission policy according to an embodiment of the present application
  • 2b is a schematic flowchart of another method for configuring a media transmission policy according to an embodiment of the present application
  • FIG. 3 is a schematic flowchart of a method for updating a media transmission policy according to an embodiment of the present application
  • FIG. 3b is a schematic flowchart of another method for updating a media transmission policy according to an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a method for activating a media transmission policy according to an embodiment of the present application
  • FIG. 5 is a schematic flowchart of a method for deactivating a media transmission policy according to an embodiment of the present application
  • FIG. 6 is a schematic flowchart of a method for deleting a media transmission policy according to an embodiment of the present application
  • FIG. 7 is a schematic flowchart of another method for configuring a media transmission policy according to an embodiment of the present application.
  • FIG. 7b is a schematic flowchart of another method for configuring a media transmission policy according to an embodiment of the present application.
  • FIG. 8 is a schematic flowchart of another method for updating a media transmission policy according to an embodiment of the present application.
  • FIG. 8b is a schematic flowchart of another method for updating a media transmission policy according to an embodiment of the present application.
  • FIG. 9 is a schematic flowchart of another method for activating a media transmission policy according to an embodiment of the present application.
  • FIG. 10 is a schematic flowchart diagram of another method for deactivating a media transmission policy according to an embodiment of the present application.
  • FIG. 11 is a schematic flowchart diagram of another method for deleting a media transmission policy according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a media device according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of another media device according to an embodiment of the present disclosure.
  • the technical solution of the embodiment of the present application is applicable to various network media transmission-based systems, for example, a schematic diagram of a Mission Critical Service System (FIG. 1), including an emergency mission service server (Mission Critical Service). Server) 101, at least one Mission Critical Service Client 102 (the client 1021 and the client 1022 are shown in FIG. 1).
  • the emergency mission service server 101 is mainly responsible for call control and media control, which is a logical reality. body.
  • the emergency task service server may be a Mission Critical Push To Talk (MCPTT) server, a Mission Critical Video (MCVideo) server, or a Mission Critical Data (MCData) server. Wait.
  • MCPTT Mission Critical Push To Talk
  • MCVideo Mission Critical Video
  • MCData Mission Critical Data
  • the emergency mission service client 102 is an application layer entity that is peered with the emergency mission service server 101 and is primarily responsible for the processing of application layer transactions.
  • the emergency task service server 101 internally includes a transmission control server 101a and a media distribution function 101b.
  • the transmission control server 101a is a media transmission control entity of the media plane and is responsible for media uplink and/or downlink transmission control.
  • the transmission control server 101a may be specifically a Floor control server; in the MCVideo system, the transmission control server 101a may be specifically a Transmission control server.
  • the functions of the transmission control signaling transmitted or received by the emergency mission service server 101 are all performed by the transmission control server 101a unless otherwise specified.
  • the media distribution function entity 101b is a logical entity responsible for receiving uplink media data and transmitting downlink media data.
  • the function of the emergency task service server 101 to transmit or receive media data is performed by the media distribution function entity 101b unless otherwise specified.
  • the emergency task service client 102 internally includes a transmission control participant 102a and a media mixer 102b of the transmission control server on the user side.
  • the peer entity 102a of the transmission control server on the user side is a media transmission control entity of the media plane, and is responsible for media uplink and/or downlink transmission control.
  • it may be a Floor control participant
  • MCVideo it may be a Transmission control participant.
  • the media mixer 102b is a peer entity of the media distribution function entity 101b on the user side, and is responsible for receiving downlink media data and transmitting uplink media data.
  • the media transmission policy processing method will be described in detail below through the embodiments shown in FIG. 2a to FIG.
  • the embodiment shown in FIG. 2a to FIG. 6 is a media transmission policy processing method for a destination terminal corresponding to the target user identifier
  • the embodiment shown in FIG. 7a to FIG. 11 is a media transmission policy processing method for the emergency task service server. .
  • FIG. 2a and FIG. 2b are schematic flowcharts of two media transmission policy configuration methods according to an embodiment of the present application.
  • the authorized terminal involved in the embodiment of the present application refers to a terminal that is operated by an emergency task service client corresponding to the authorized user, and the authorized user refers to a user who has the configuration permission of the media transmission policy for the destination terminal corresponding to the target user identifier;
  • the destination terminal is also a terminal operated by the emergency task service client corresponding to the target user, and the target user uses the user role of the target terminal to perform media transmission service, and the target user refers to the control scenario compared to the authorized user. It belongs to the controlled user within the authorized user control authority.
  • a target user can log in to multiple terminals at the same time and use the emergency task service client. At this time, one target user corresponds to multiple client devices corresponding to the client account. Multiple users can also log in and use the same terminal device at the same time.
  • the destination terminal in the present invention refers to one or more terminals that the target user logs in and uses.
  • the authorized user may be a user having the configuration permission of the media transmission policy of the communication group where the destination terminal is located, or a user having the configuration permission of the media transmission policy for all the communication members, which is not specifically limited herein.
  • the method includes:
  • Step S201 The authorized terminal sends a first media transmission policy processing request message to the emergency task service server, where the first media transmission policy processing request message includes a carrying target user identifier.
  • the first media transmission policy processing request message is a first media transmission policy configuration request message, and the first media transmission policy configuration request message is used to indicate that the emergency task service server is used for the target.
  • the destination terminal corresponding to the account identifier sends a media transmission policy configuration request message.
  • the first media transmission policy configuration request message further includes media transmission policy information, where the media transmission policy information is used to enable the destination terminal to determine at least one media transmission policy to be processed, and specifically includes the media transmission policy itself, that is, the media transmission policy to be processed. All the information or part of the information may also include the identifier of the media transmission policy.
  • the media transmission policy information specifically includes the media transmission policy itself that needs to be processed.
  • the media transmission policy refers to the content of a method for media data processing in a specific case that the authorized terminal configures for the destination terminal.
  • the simplest media transmission policy may include a triggering condition corresponding to the media transmission operation and the media transmission operation, that is, indicating that the destination terminal performs a media transmission operation of the media transmission policy when detecting an operation trigger condition that satisfies the media transmission policy.
  • the triggering conditions corresponding to the media transmission operation may include a specific time interval, a time duration, a specific event, and the like.
  • the media transmission operation may include capturing a video and uploading the video to the server, capturing the video, and sending the video to a specific terminal, etc., which are not specifically limited herein. .
  • the media transmission policy may further include at least one of media transmission target information, transmission policy validity time, media transmission policy status, and media transmission coding.
  • the media transmission destination information refers to a receiving user or a receiving terminal or a receiving server corresponding to the media transmission operation of the media transmission policy, and the media transmission destination information may be a user identifier, a group identifier, or an IP address, for example.
  • the group identifier of Group A may be a media transmission destination information, indicating that the receiving user of the media transmission operation of the destination terminal is all group members of Group A; the effective time of the transmission policy refers to the time period during which the media transmission policy is effectively available.
  • 20170201-20170606 can be a transmission policy effective time, indicating that the transmission strategy is valid from February 1, 2017 to June 6, 2017; the media transmission policy status refers to whether the media transmission policy is active. That is, whether it has been used; media transmission coding refers to the transmission coding required for the media resources used for transmission, such as H.264, MPG, and the like.
  • the first media transmission policy configuration request message may carry at least one target user identifier, and may also carry at least one media transmission policy information, where the target user identifier and the media transmission policy information have a corresponding relationship, that is, a target
  • the user identifier may correspond to one or more media transmission policy information
  • one media transmission policy information may also correspond to one or more target user identifiers.
  • the present invention is not limited to the implementation method for implementing the mapping relationship.
  • the emergency task service server may perform an authorization check on the user of the authorized terminal that sends the message, that is, check whether the user has the destination terminal corresponding to the target user identifier. Configuration rights for the media transport policy. If there is a configuration permission for the media transmission policy of the destination terminal, step S203 is further performed; otherwise, the received first media transmission policy configuration request message is discarded, and further, a response message may be returned to the authorized terminal that sends the message, indicating the emergency task.
  • the service server has processed the first media transport policy configuration request message. If the authorization check fails, the authorization check is indicated in the response message and the request is rejected.
  • step S202 may also be performed:
  • Step S202 The emergency task service server determines whether the media transmission policy is valid. If yes, step S203 is performed; if not, the emergency task service server refuses to process the first media transmission policy configuration request message.
  • the destination terminal corresponding to each target user identifier first reports information about its device capabilities, media capabilities, and media transmission setting policies to the emergency task service server, so the emergency task service server can check Checking whether the media transmission policy indicated by the media transmission policy information corresponding to each destination terminal in the first media transmission policy processing request message is consistent with the information reported by each destination terminal, and if the content is consistent, the media transmission policy is valid, and Step S203 is performed. If the media transmission policy is invalid, the emergency task service server may refuse to process the first media transmission policy configuration request message or remove the invalid media transmission policy.
  • the media transmission policy corresponding to the A terminal captures the video and uploads the server at 11:20, but the information of the A terminal received by the emergency task service server indicates that the A terminal does not have the imaging capability. Then, if the media transmission policy corresponding to the A terminal in the first media transmission policy configuration request message is invalid, the first media transmission policy configuration request message is refused to be processed.
  • Step S203 The emergency task service server sends a media transmission policy processing request message to the destination terminal corresponding to the target user identity according to the first media transmission policy processing request message, where the media transmission policy processing request message is a media transmission policy configuration request message.
  • the media transport policy processing request message is a media transport policy configuration request message.
  • the emergency task service server generates a corresponding media transmission policy configuration request message according to the at least one media transmission policy information carried in the first media transmission policy configuration request message in step S201, and correspondingly according to the at least one media transmission policy information.
  • the target user identifier is sent to the destination terminal corresponding to the target user identifier to send a media transmission policy configuration request message generated by the corresponding media transmission policy information, where the media transmission policy information carried in the media transmission policy configuration request message of the destination terminal is configured.
  • the media transmission policy can be referred to as a target media transmission strategy.
  • the first media transmission policy configuration request message carries three target user identifiers, namely, A, B, and C, where A corresponds to media transmission policy information 1 and media transmission policy information 2, and B and C correspond to media transmission policy information. 3.
  • the emergency task service server may send the media transmission policy configuration request message generated by the media transmission policy information 1 and the media transmission policy information 2 to the destination terminal corresponding to the A, and send the media transmission policy information 3 to the destination terminal corresponding to the B and C.
  • Media Transport Policy Configuration Request Message may be sent the media transmission policy configuration request message generated by the media transmission policy information 1 and the media transmission policy information 2 to the destination terminal corresponding to the A, and send the media transmission policy information 3 to the destination terminal corresponding to the B and C.
  • the emergency task service server may also save the media transmission policy in the target media transmission policy information corresponding to each target user identifier in the media transmission policy configuration request message, which may be used to track the tracking of the media transmission policy of the target user. Inquire.
  • Step S204 The destination terminal determines, according to the media transmission policy configuration request message, the media transmission policy processing mode as the configuration media transmission policy.
  • the destination terminal may determine the media transmission policy processing mode of the target media transmission policy in the media transmission policy information carried in the media transmission policy configuration request message.
  • the media transmission policy processing mode refers to how to handle a specific media transmission policy, and specifically includes a configuration manner such as configuration, update, activation, and deletion.
  • the destination terminal may determine the media transmission policy processing manner for the target media transmission policy to configure the media transmission policy according to the message name of the media transmission policy configuration request message; in another possible implementation scenario, The media transmission policy configuration request message may carry the indication information of the media transmission policy processing mode, and the destination terminal may determine, according to the indication information of the media transmission policy processing mode, that the media transmission policy processing mode for the target media transmission policy is a configuration media transmission policy. .
  • the processing manner of configuring the media transmission policy may only refer to that the destination terminal saves the received target media transmission policy, and waits for receiving the media transmission policy activation request or other activation indication, and then further Start using the target media transfer policy. That is, after step S204, the destination terminal performs step S2061.
  • step S2061 the destination terminal saves the target media transmission policy.
  • the processing manner of configuring the media transmission policy may not only refer to saving the target media transmission policy received by the destination terminal, but also simultaneously activating the target media transmission policy, that is, the purpose.
  • the terminal After receiving the media transmission policy configuration request message, the terminal saves the target media transmission policy and directly starts using the target media transmission policy. That is, after step S204, the destination terminal performs steps S2062 and S2063.
  • step S2062 the destination terminal saves and activates the target media transmission policy.
  • Step S2063 When the operation trigger condition of the target media transmission policy is met, the destination terminal performs a media transmission operation of the target media transmission policy.
  • the target media transmission policy includes an operation trigger condition corresponding to the media transmission operation and a media transmission operation, and the target terminal can perform the media transmission operation of the target media transmission policy when detecting the operation trigger condition that satisfies the target media transmission policy.
  • the media transmission operation in the target media transmission policy is: uploading the video image being captured by the camera of the destination terminal to the emergency task service server
  • the operation triggering condition corresponding to the media transmission operation is: detecting that a specific license plate appears in the video image being collected. number. Then, when the destination terminal detects that a specific license plate number appears in the video screen being captured, the video screen being captured by the camera of the destination terminal can be uploaded to the emergency mission service server.
  • the media transmission policy may further include at least one of media transmission target information, transmission policy validity time, media transmission policy status, and media transmission coding.
  • the media transmission destination information refers to a receiving user or a receiving terminal or a receiving server corresponding to the media transmission operation of the target media transmission policy, and the media transmission destination information may be a user identifier, a group identifier, or an IP address.
  • the effective time of the transmission policy refers to the time period during which the target media transmission policy is effectively available.
  • the destination terminal may check the target media transmission policy before performing step S2063. Whether it is in a valid available time period, if it has expired invalid, step S2063 is not performed.
  • the media transmission policy status refers to whether the media transmission policy is active, that is, whether it has been used.
  • Media transmission coding refers to the transmission coding required for the media resources used for transmission. For example, the video picture is encoded in the H.264 format and uploaded to the emergency task service server.
  • step S2062 further includes step S205, specifically for:
  • Step S205 The destination terminal detects whether there is a conflict between the plurality of target media transmission policies. If there is no conflict, step S2062 is performed.
  • target media transmission policies are included in the media transmission policy information
  • the a strategy is to use the camera to collect the picture of the specific location A in the period from 11 o'clock to 12 o'clock, and send the picture to the designated terminal;
  • the strategy is at 11:15 this time Use the camera to capture the screen of the specific location B and upload the screen to the emergency mission service server. Understandably, at 11:15, the destination terminal needs to use the camera to capture the picture, but the location of the acquisition is not the same, so the target media transmission strategies a and b conflict.
  • the target media transmission strategies a and b conflict. If the a policy is unchanged, the b policy becomes a picture of the specific location B using the camera at 12:15, and the screen is uploaded to the emergency task service server, then the target media transmission policies a and b do not conflict.
  • the destination terminal may analyze the content and determine whether there is a conflict between the multiple target media transmission policies. If there is no conflict, the terminal may perform step S2062 to start using the multiple target media transmissions. Strategy. If there is a conflict between multiple target media transmission policies, the destination terminal may also have multiple processing methods. For example, the destination terminal may directly refuse to configure multiple target media transmission policies, and return a conflict response to the emergency task service server; The terminal may also obtain, according to a certain algorithm, at least one target media transmission policy execution step S2062 in which there is no conflict in the plurality of target media transmission policies; the destination terminal may also randomly determine one target media transmission policy execution in the plurality of target media transmission policies. Step S2062. This is not specifically limited.
  • step S207 may also be performed:
  • Step S207 The destination terminal sends a request response message to the authorized terminal, where the request response message is used to indicate a processing result of the target media transmission policy.
  • the destination terminal sends a request response message to the authorized terminal, which is used to describe the processing result of the target media transmission policy to the authorized terminal. For example, save successfully, save failed, save and activate successfully, and so on.
  • the emergency task service server sends a media transmission policy configuration request message to the destination terminal according to the first media transmission policy processing request message sent by the authorized terminal, where the media transmission policy configuration request message includes the media. And transmitting the policy information, where the media transmission policy information is used to determine a media transmission policy that needs to be processed, where the media transmission policy includes a triggering condition corresponding to the media transmission operation and the media transmission operation, and the destination terminal determines, according to the media transmission policy configuration request message, The media transmission policy is processed by configuring the media transmission policy, and then saving the target media transmission policy or saving and activating the target media transmission policy, completing a configuration process of the media transmission policy of the destination terminal, so that the target media transmission is satisfied.
  • the destination terminal may perform a media transmission operation of the target media transmission policy to implement more flexible media transmission control.
  • FIG. 3a and FIG. 3b are schematic flowcharts of a method for updating two media transmission strategies according to an embodiment of the present application.
  • the method involved in this embodiment may be further implemented based on the embodiment of the embodiment shown in Figures 2a and 2b, or may be implemented independently.
  • the authorized terminal involved in the embodiment of the present application refers to a terminal operated by an emergency task service client corresponding to the authorized user, and the authorized user refers to a user who has the update permission of the media transmission policy for the destination terminal corresponding to the target user identifier;
  • the destination terminal is also a terminal operated by the emergency task service client corresponding to the target user, and the target user uses the user role of the target terminal to perform media transmission service, and the target user refers to the control scenario compared to the authorized user. It belongs to the controlled user within the authorized user control authority.
  • a target user can log in to multiple terminals at the same time and use the emergency task service client. At this time, one target user corresponds to multiple client devices corresponding to the client account.
  • the destination terminal in the present invention refers to one or more terminals that the target user logs in and uses.
  • the authorized user may be a user having the update authority of the media transmission policy of the communication group where the destination terminal is located, or a user having the update authority of the media transmission policy for all the communication members, which is not specifically limited herein.
  • the party The law includes:
  • Step S301 The authorized terminal sends a first media transmission policy processing request message to the emergency task service server, where the first media transmission policy processing request message includes a carrying target user identifier.
  • the first media transmission policy processing request message is a first media transmission policy update request message
  • the first media transmission policy update request message is used to indicate that the emergency media service server identifies the target user
  • the corresponding destination terminal sends a media transmission policy update request message.
  • the first media transmission policy update request message further includes media transmission policy information, where the media transmission policy information is used to determine, by the destination terminal, at least one media transmission policy that needs to be processed. In the embodiment shown in FIG. 3a and FIG. 3b, the media transmission is performed.
  • the policy information may specifically include the first media transmission policy identifier and the transmission policy update information, where the first media transmission policy identifier refers to an identifier of the media transmission policy to be updated, that is, an identifier of the old media transmission policy; and the transmission policy update
  • the information may be a media transmission policy for the update or a partial parameter of the media transmission policy for the update.
  • the first media transmission policy update request message may carry at least one target user identifier, and may also carry at least one media transmission policy information, where the target user identifier and the media transmission policy information have a corresponding relationship, that is, a target
  • the user identifier may correspond to one or more media transmission policy information, and one media transmission policy information may also correspond to one or more target user identifiers.
  • the emergency task service server may first perform an authorization check on the user of the authorized terminal that sends the message, that is, check whether the user has the target terminal corresponding to the target user identifier. Update permission for the media transfer policy. If there is an update permission for the media transmission policy of the destination terminal, step S303 is further performed; otherwise, the received first media transmission policy update request message is discarded, and further, a response message may be returned to the authorized terminal that sends the message, indicating the emergency task.
  • the service server has processed the first media transmission policy update request message. If the authorization check fails, the authorization check is indicated in the response message and the request is rejected.
  • step S302 may also be performed:
  • Step S302 The emergency task service server determines whether the media transmission policy is valid. If yes, step S303 is performed; if not, the emergency task service server refuses to process the first media transmission policy update request message.
  • determining whether the media transmission policy is valid includes two cases.
  • the destination terminal corresponding to each target user identifier first reports information about its device capability, media capability, and media transmission setting policy to the emergency task service server, so the emergency task service server can check the first media.
  • step S303 can be performed; if not, the media transmission policy is invalid, and the emergency task service server can refuse to process the first media transmission policy update request message, or remove the invalid media transmission policy.
  • the emergency task service server has previously saved the media transmission policy identifier corresponding to the destination terminal, and the emergency task service server can determine whether the first media transmission policy identifier exists in the media transmission policy identifier corresponding to the destination terminal. If yes, the media transmission policy is valid, and step S303 can be performed; if not, the media transmission policy is invalid, and the emergency task service server can refuse to process the first media transmission policy configuration request message, or invalidate the media transmission policy.
  • the media transmission strategy is removed.
  • Step S303 The emergency task service server sends a media transmission policy processing request message to the destination terminal corresponding to the target user identity according to the first media transmission policy processing request message, where the media transmission policy processing request message is a media transmission policy update request message.
  • the media transport policy processing request message is a media transport policy update request message.
  • the emergency task service server generates a corresponding media transmission policy update request message according to the at least one media transmission policy information carried in the first media transmission policy update request message in step S301, and correspondingly according to the at least one media transmission policy information.
  • the target user identifier sends a media transmission policy update request message generated by the corresponding media transmission policy information to the destination terminal corresponding to the target user identifier.
  • the emergency task service server may further update the pre-stored media transmission policy corresponding to each destination terminal according to the media transmission policy update request message for each destination terminal, and may be used to track the tracking of the media transmission policy of the target user. Inquire.
  • Step S304 The destination terminal determines, according to the media transmission policy update request message, the media transmission policy processing mode as the update media transmission policy.
  • the destination terminal may first determine the media transmission policy processing mode of the target media transmission policy corresponding to the first media transmission policy identifier in the media transmission policy information carried in the media transmission policy update request message.
  • the destination terminal may determine, according to the message name of the media transmission policy update request message, that the media transmission policy processing manner for the target media transmission policy is to update the media transmission policy; in another possible implementation scenario.
  • the media transmission policy update request message may carry the indication information of the media transmission policy processing mode, and the destination terminal may determine, according to the indication information of the media transmission policy processing mode, that the media transmission policy processing mode for the target media transmission policy is the update media transmission policy. .
  • the processing method of updating the media transmission policy may only refer to that the target terminal updates the target media transmission policy corresponding to the first media transmission policy identifier after receiving the received media transmission policy information, and may consider that The emergency mission service server or destination terminal has determined that the target media transmission policy is not active. Then, after step S304, step S3061 is performed.
  • Step S3061 The destination terminal updates the target media transmission policy corresponding to the first media transmission policy identifier by using the transmission policy update information.
  • the transmission policy update information may be a complete media transmission policy, and is mainly for all information or most of the information in the target media transmission policy corresponding to the first media transmission policy identifier needs to be updated.
  • the scenario may be such that the destination terminal can directly replace the target media transmission policy corresponding to the first media transmission policy identifier by using the transmission policy update information.
  • the target media transmission policy corresponding to the first media transmission policy identifier is A
  • the transmission policy update information is a media transmission policy B
  • B is replaced by A
  • the updated target media transmission policy is B.
  • the transmission policy update information may be an individual parameter in a media transmission policy, and is mainly directed to a small part of the target media transmission policy corresponding to the first media transmission policy identifier needs to be updated.
  • the destination terminal may replace the corresponding parameter in the target media transmission policy corresponding to the first media transmission policy identifier by using the transmission policy update information.
  • the target media transmission policy corresponding to the first media transmission policy identifier is A, where A includes an operation trigger condition: 10 to 11 o'clock every morning, media transmission operation: capturing video upload service Validity of the server and transmission strategy: 0:00 on January 1st to 0:00 on January 4th, media transmission code: MPG, and transmission policy update information is the operation trigger condition: 10 ⁇ 12 o'clock every morning, then the destination terminal can The operation trigger condition indicated by the transmission policy update information replaces the operation trigger condition of the target media transmission policy A, thereby obtaining the updated target media transmission policy.
  • the processing manner of updating the media transmission policy needs to first determine the activation status of the target media transmission policy, and then determine whether to update, and it can be considered that the emergency task service server or the destination terminal has not been determined before. The status of the target media transport policy. Then, after step S304, step S305 is performed.
  • Step S305 the destination terminal determines whether the target media transmission policy is in an active state, if not in the active state, step S3061 is performed; if in the active state, steps S3062 and S3063.
  • the media transmission policy status includes an active state and an inactive state.
  • the active state means that the destination terminal has started to use the target media transmission policy, and the inactive state is the opposite.
  • the target terminal can determine whether the target media transmission policy is in an active state by checking the status of the media transmission policy. If the target media transmission policy is not in the active state, the target terminal may perform the update in step S3061; if it is in the active state, If the target media transmission policy is currently being used by the destination terminal, then the direct media update policy cannot be directly updated, and the methods of steps S3062 and S3063 need to be performed.
  • Step S3062 The destination terminal deactivates the target media transmission policy, updates the target media transmission policy by using the transmission policy update information, and activates the updated target media transmission policy.
  • the target terminal needs to deactivate the target media transmission policy, that is, stop using the target media transmission policy, and then update the target media transmission policy by using the transmission policy update information.
  • the specific update method is consistent with the description of step S3061. After the update is complete, activate the updated target media delivery policy.
  • Step S3063 When the operation trigger condition of the target media transmission policy is met, the destination terminal performs a media transmission operation of the target media transmission policy.
  • the destination terminal may first detect whether there is a conflict between the updated target media transmission policy and the media transmission policy in the active terminal in the active terminal. If not, the process proceeds to step S3062.
  • the target media transmission policy is activated after the target media transmission policy is updated, there may be an execution conflict between the target media transmission policy and the media transmission policy in the active terminal in the active terminal.
  • the destination terminal may analyze whether the content media transmission policy conflicts with the media transmission policy in the active terminal in the target terminal. If there is no conflict, the terminal may perform step S3062. Start using the target media delivery strategy. If there is a conflict, the destination terminal may also have multiple processing methods. For example, the destination terminal may directly refuse to update the target media transmission policy, and return the conflict response to the emergency task service server, which is not specifically limited herein.
  • step S307 may also be performed:
  • Step S307 The destination terminal sends a request response message to the authorized terminal, where the request response message is used to indicate a processing result of the target media transmission policy.
  • the destination terminal sends a request response message to the authorized terminal, which is used to describe the processing result of the target media transmission policy to the authorized terminal. For example, the update is successful, the update fails, and so on.
  • the emergency task service server sends a media transmission policy update request message to the destination terminal according to the first media transmission policy processing request message sent by the authorized terminal, where the media transmission policy update request message includes the media.
  • the transmission policy information, the media transmission policy information may specifically include a first media transmission policy identifier and a transmission policy update information, where the media transmission policy includes a triggering condition corresponding to the media transmission operation and the media transmission operation, and the destination terminal according to the media transmission policy
  • the update request message determines that the media transmission policy is processed by updating the media transmission policy, and then uses the transmission policy update information to update the target media transmission policy corresponding to the first media transmission policy identifier, and completes the update process of the media transmission policy of the destination terminal, thereby satisfying
  • the destination terminal may perform a media transmission operation of the target media transmission policy to implement more flexible media transmission control.
  • FIG. 4 is a schematic flowchart of a method for activating a media transmission policy according to an embodiment of the present application.
  • the method involved in this embodiment may be further implemented based on the embodiment shown in FIGS. 2a-3b, or may be implemented independently.
  • the authorized terminal involved in the embodiment of the present application refers to a terminal that is operated by an emergency task service client corresponding to the authorized user, and the authorized user refers to a user who has the activation right of the media transmission policy for the destination terminal corresponding to the target user identifier;
  • the destination terminal is also a terminal operated by the emergency task service client corresponding to the target user, and the target user uses the user role of the target terminal to perform media transmission service, and the target user refers to the control scenario compared to the authorized user. It belongs to the controlled user within the authorized user control authority.
  • a target user can log in to multiple terminals at the same time and use the emergency task service client. At this time, one target user corresponds to multiple client devices corresponding to the client account.
  • the destination terminal in the present invention refers to one or more terminals that the target user logs in and uses.
  • the authorized user may be a user having the activation right of the media transmission policy of the communication group where the destination terminal is located, or a user having the activation authority of the media transmission policy for all the communication members, which is not specifically limited herein.
  • the method includes:
  • Step S401 The authorized terminal sends a first media transmission policy processing request message to the emergency task service server, where the first media transmission policy processing request message includes a carrying target user identifier.
  • the first media transmission policy processing request message is a first media transmission policy activation request message, and the first media transmission policy activation request message is used to indicate that the emergency task service server identifies the target to the target user.
  • the terminal sends a media transmission policy activation request message.
  • the first media transmission policy activation request message further includes media transmission policy information, where the media transmission policy information is used to determine, by the destination terminal, at least one media transmission policy that needs to be processed. In the embodiment shown in FIG. 4, the media transmission policy information is included in the media transmission policy information.
  • the second media transmission policy identifier may be specifically included, where the second media transmission policy identifier refers to an identifier of a media transmission policy to be activated, that is, an identifier of a media transmission policy that is not in an activated state and needs to be activated. It should be noted that the second media transmission policy identifier herein may be one or more.
  • the first media transmission policy activation request message may carry at least one target user identifier, and may also carry at least one media transmission policy information, where the target user identifier has a corresponding relationship with the media transmission policy information, that is, a target.
  • the user identifier may correspond to one or more media transmission policy information, and one media transmission policy information may also correspond to one or more target user identifiers.
  • the emergency task service server may perform an authorization check on the user of the authorized terminal that sends the message, that is, check whether the user has the target user identifier.
  • the activation authority of the media transmission policy of the corresponding destination terminal If there is an activation right of the media transmission policy for the destination terminal, step S403 is further performed; otherwise, the received first media transmission policy activation request message is discarded, and further, a response message may be returned to the authorized terminal that sends the message, indicating the emergency task.
  • the service server has processed the first media transmission policy activation request message. If the authorization check fails, the authorization check is indicated in the response message and the request is rejected.
  • step S402 may also be performed:
  • Step S402 the emergency task service server determines whether the media transmission policy is valid. If it is valid, step S403 is performed; if not, the emergency task service server refuses to process the first media transmission policy activation request message.
  • the emergency task service server has previously saved the media transmission policy identifier corresponding to the destination terminal, and the emergency task service server can determine whether the second media transmission policy identifier exists in the media transmission policy identifier corresponding to the destination terminal. If yes, the media transmission policy is valid, and step S403 may be performed; if not, the media transmission policy is invalid, and the emergency task service server may refuse to process the first media transmission policy activation request message, or invalidate the media transmission policy. The media transmission strategy is removed.
  • Step S403 The emergency task service server sends a media transmission policy processing request message to the destination terminal corresponding to the target user identity according to the first media transmission policy processing request message, where the media transmission policy processing request message is a media transmission policy activation request message.
  • the media transmission policy processing request message is a media transmission policy activation request message.
  • the emergency task service server generates a corresponding media transmission policy activation request message according to the at least one media transmission policy information carried in the first media transmission policy activation request message in step S401, and correspondingly according to the at least one media transmission policy information.
  • the target user identifier sends a media transmission policy activation request message generated by the corresponding media transmission policy information to the destination terminal corresponding to the target user identifier.
  • Step S404 The destination terminal determines, according to the media transmission policy activation request message, the media transmission policy processing mode as the activated media transmission policy.
  • the destination terminal may determine the media transmission policy processing mode of the target media transmission policy corresponding to the second media transmission policy identifier in the media transmission policy information carried in the media transmission policy activation request message.
  • the destination terminal may determine, according to the message name of the media transmission policy activation request message, that the media transmission policy processing manner for the target media transmission policy is to activate the media transmission policy; in another possible implementation scenario.
  • the media transmission policy activation request message may carry the indication information of the media transmission policy processing mode, and the destination terminal may determine, according to the indication information of the media transmission policy processing mode, that the media transmission policy processing mode for the target media transmission policy is the activated media transmission policy.
  • Step S405 The destination terminal activates a target media transmission policy corresponding to the second media transmission policy identifier.
  • the destination terminal may determine a corresponding target media transmission policy according to the second media transmission policy identifier, where the target media transmission policy may be saved after the destination terminal is pre-configured.
  • Activating the target media transmission policy means starting to use the target media transmission policy.
  • the initial use here does not mean directly performing the media transmission operation in the target media transmission policy, but starts to detect whether the operation trigger condition of the target media transmission policy is reached, for example, the target.
  • the operation trigger condition of the media transmission policy is that the time is 120 seconds, then activating the target media transmission policy means that the start timer starts timing.
  • the destination terminal may first detect whether there is a conflict between the target media transmission policies or between the target media transmission policy and the media transmission policy that is in the active state in the destination terminal. If not, proceed to step S405. Specifically, on the one hand, if there are multiple target media transmission policies, there may be a conflict between multiple target media transmission policies; on the other hand, there may be a target media transmission policy and a media transmission policy in an active state in the destination terminal. Execution conflict between. Before the destination terminal activates the target media transmission policy, the content may be analyzed to determine whether there is a conflict between the multiple target media transmission policies or between the target media transmission policy and the media transmission policy in the active terminal in the destination terminal.
  • step S405 can be performed, that is, the target media transmission policy is started to be used. If there is a conflict, the destination terminal may also have multiple processing methods. For example, the destination terminal may directly refuse to activate the target media transmission policy, and return the conflict response to the emergency task service server, which is not specifically limited herein.
  • Step S406 When the operation trigger condition of the target media transmission policy is met, the destination terminal performs a media transmission operation of the target media transmission policy.
  • step S407 may also be performed:
  • Step S407 The destination terminal sends a request response message to the authorized terminal, where the request response message is used to indicate a processing result of the target media transmission policy.
  • the destination terminal sends a request response message to the authorized terminal, which is used to describe the processing result of the target media transmission policy to the authorized terminal. For example, activation is successful, activation is failed, and so on.
  • the emergency task service server sends a media transmission policy activation request message to the destination terminal according to the first media transmission policy processing request message sent by the authorized terminal, where the media transmission policy activation request message includes a media transmission policy.
  • the information, the media transmission policy information may specifically include a second media transmission policy identifier, where the media transmission policy includes a triggering condition corresponding to the media transmission operation and the media transmission operation, and the destination terminal determines the media transmission policy according to the media transmission policy activation request message.
  • the processing mode is to activate the media transmission policy, and then activate the target media transmission policy corresponding to the second media transmission policy identifier, and complete the activation process of the media transmission policy of the destination terminal, so that when the operation trigger condition of the target media transmission policy is met,
  • the destination terminal can perform a media transmission operation of the target media transmission policy to implement more flexible media transmission control.
  • FIG. 5 is a schematic flowchart of a method for deactivating a media transmission policy according to an embodiment of the present application.
  • the method involved in this embodiment may be further implemented based on the embodiment of the embodiment shown in FIGS. 2a to 4, or may be implemented independently.
  • the authorized terminal involved in the embodiment of the present application refers to a terminal operated by an emergency task service client corresponding to the authorized user, and the authorized user refers to a user who has the deactivation right of the media transmission policy of the destination terminal corresponding to the target user identifier.
  • the destination terminal is also a terminal operated by the emergency task service client corresponding to the target user, and the target user is the user role of the media transmission service using the destination terminal, and the target user refers to the control scenario compared to the authorized user.
  • a target user can log in to multiple terminals at the same time and use the emergency task service client. At this time, one target user corresponds to multiple client devices corresponding to the client account. Multiple users can also log in and use the same terminal device at the same time.
  • the destination terminal in the present invention refers to one or more terminals that the target user logs in and uses.
  • the authorized user may be a user having the deactivation right of the media transmission policy of the communication group where the destination terminal is located, or a user having the deactivation authority of the media transmission policy for all the communication members, which is not specifically limited herein.
  • the method includes:
  • Step S501 The authorized terminal sends a first media transmission policy processing request message to the emergency task service server, where the first media transmission policy processing request message includes a carrying target user identifier.
  • the first media transmission policy processing request message is a first media transmission policy deactivation request message, and the first media transmission policy deactivation request message is used to indicate that the emergency task service server corresponds to the target user identity.
  • the destination terminal sends a media transmission policy to deactivate the request message.
  • the first media transmission policy deactivation request message further includes media transmission policy information, where the media transmission policy information is used to determine, by the destination terminal, at least one media transmission policy that needs to be processed.
  • the third medium transmission policy identifier may be specifically included, where the third media transmission policy identifier refers to an identifier of a media transmission policy to be deactivated, that is, an identifier of a media transmission policy that is originally activated and needs to be deactivated.
  • the first media transmission policy deactivation request message may carry at least one target user identifier, and may also carry at least one media transmission policy information, where the target user identifier and the media transmission policy information have a corresponding relationship, that is, one
  • the target user identifier may correspond to one or more media transmission policy information, and one media transmission policy information may also correspond to one or more target user identifiers.
  • the emergency task service server may first perform an authorization check on the user of the authorized terminal that sends the message, that is, check whether the user has a destination terminal corresponding to the target user identifier. Deactivate permission for the media transport policy. If there is a deactivation right for the media transmission policy of the destination terminal, step S503 is further performed; otherwise, the received first media transmission policy deactivation request message is discarded, and further, a response message may be returned to the authorized terminal that sends the message, indicating The emergency task service server has processed the first media transmission policy deactivation request message. If the authorization check fails, the authorization check is indicated in the response message and the request is rejected.
  • step S502 may also be performed:
  • Step S502 The emergency task service server determines whether the media transmission policy is valid. If it is valid, step S503 is performed; if not, the emergency task service server refuses to process the first media transmission policy deactivation request message.
  • the emergency task service server has previously saved the media transmission policy identifier corresponding to the destination terminal, and the emergency task service server can determine whether the third media transmission policy identifier exists in the media transmission policy identifier corresponding to the destination terminal. If yes, the media transmission policy is valid, and step S503 may be performed; if not, the media transmission policy is invalid, and the emergency task service server may refuse to process the first media transmission policy deactivation request message, or Invalid media transfer policy removal.
  • Step S503 The emergency task service server sends a media transmission policy processing request message to the destination terminal corresponding to the target user identity according to the first media transmission policy processing request message, where the media transmission policy processing request message is a media transmission policy deactivation request message.
  • the media transmission policy processing request message is a media transmission policy deactivation request message.
  • the emergency task service server generates a corresponding media transmission policy activation request message according to the at least one media transmission policy information carried in the first media transmission policy activation request message in step S501, and correspondingly according to the at least one media transmission policy information.
  • the target user identifier sends a media transmission policy deactivation request message generated by the corresponding media transmission policy information to the destination terminal corresponding to the target user identifier.
  • Step S504 the destination terminal deactivates the request message according to the media transmission policy, and the media transmission policy is processed. It is determined to deactivate the media transmission policy.
  • the destination terminal may first determine the media transmission policy processing mode of the target media transmission policy corresponding to the third media transmission policy identifier in the media transmission policy information carried in the media transmission policy deactivation request message.
  • the destination terminal may deactivate the message name of the request message according to the media transmission policy, and determine that the media transmission policy processing manner for the target media transmission policy is to deactivate the media transmission policy; in another possible implementation, the media transmission policy deactivation request message may carry the indication information of the media transmission policy processing mode, and the destination terminal may determine, according to the indication information of the media transmission policy processing mode, that the media transmission policy processing manner for the target media transmission policy is Activate the media transfer policy.
  • Step S505 The destination terminal deactivates the target media transmission policy corresponding to the third media transmission policy identifier.
  • the destination terminal may determine a corresponding target media transmission policy according to the third media transmission policy identifier, where the target media transmission policy may be pre-activated. Deactivating the target media transmission policy means stopping the use of the target media transmission policy.
  • Step S506 The destination terminal sends a request response message to the authorized terminal, where the request response message is used to indicate a processing result of the target media transmission policy.
  • the destination terminal sends a request response message to the authorized terminal, which is used to describe the processing result of the target media transmission policy to the authorized terminal. For example, deactivation is successful, deactivation is failed, and so on.
  • the emergency task service server sends a media transmission policy deactivation request message to the destination terminal according to the first media transmission policy processing request message sent by the authorized terminal, where the media transmission policy deactivation request message includes the media.
  • the transmission policy information, the media transmission policy information may specifically include a third media transmission policy identifier, and the destination terminal determines, according to the media transmission policy deactivation request message, the media transmission policy processing mode is to deactivate the media transmission policy, and then deactivate the third media.
  • the target media transmission policy corresponding to the transmission policy identifier completes the deactivation process of the media transmission policy of the destination terminal, thereby implementing more flexible media transmission control.
  • FIG. 6 is a schematic flowchart of a method for deleting a media transmission policy according to an embodiment of the present application.
  • the method involved in this embodiment may be further implemented based on the embodiment of the embodiment shown in FIGS. 2a to 5, or may be implemented independently.
  • the authorized terminal involved in the embodiment of the present application refers to a terminal that is operated by an emergency task service client corresponding to the authorized user, and the authorized user refers to a user who has the delete permission of the media transmission policy for the destination terminal corresponding to the target user identifier;
  • the destination terminal is also a terminal operated by the emergency task service client corresponding to the target user, and the target user uses the user role of the target terminal to perform media transmission service, and the target user refers to the control scenario compared to the authorized user. It belongs to the controlled user within the authorized user control authority.
  • a target user can log in to multiple terminals at the same time and use the emergency task service client. At this time, one target user corresponds to multiple client devices corresponding to the client account.
  • the destination terminal in the present invention refers to one or more terminals that the target user logs in and uses.
  • the authorized user may be a user having the deletion permission of the media transmission policy of the communication group where the destination terminal is located, or a user having the deletion permission of the media transmission policy for all the communication members, which is not specifically limited herein.
  • the method includes:
  • Step S601 The authorized terminal sends a first media transmission policy processing request message to the emergency task service server, where the first media transmission policy processing request message includes a carrying target user identifier.
  • the first media transmission policy processing request message is a first media transmission policy deletion request message, and the first media transmission policy deletion request message is used to indicate that the emergency task service server identifies the target to the target user.
  • the terminal sends a media transmission policy deletion request message.
  • the first media transmission policy deletion request message further includes media transmission policy information, where the media transmission policy information is used to determine, by the destination terminal, at least one media transmission policy that needs to be processed.
  • the media transmission policy information is included in the media transmission policy information.
  • the fourth media transmission policy identifier may be specifically included, where the fourth media transmission policy identifier refers to an identifier of the media transmission policy to be deleted.
  • the first media transmission policy deletion request message may carry at least one target user identifier, and may also carry at least one media transmission policy information, where the target user identifier has a corresponding relationship with the media transmission policy information, that is, one target.
  • the user identifier may correspond to one or more media transmission policy information, and one media transmission policy information may also correspond to one or more target user identifiers.
  • the emergency task service server may first perform an authorization check on the user of the authorized terminal that sends the message, that is, check whether the user has the destination terminal corresponding to the target user identifier. Delete permission for the media transfer policy. If there is a deletion permission for the media transmission policy of the destination terminal, step S603 is further performed; otherwise, the received first media transmission policy deletion request message is discarded, and further, a response message may be returned to the authorized terminal that sends the message, indicating the emergency task.
  • the service server has processed the first media transport policy delete request message. If the authorization check fails, the authorization check is indicated in the response message and the request is rejected.
  • step S602 may also be performed:
  • Step S602 the emergency task service server determines whether the media transmission policy is valid. If it is valid, step S603 is performed; if not, the emergency task service server refuses to process the first media transmission policy deletion request message.
  • the emergency task service server has previously saved the media transmission policy identifier corresponding to the destination terminal, and the emergency task service server can determine whether the fourth media transmission policy identifier exists in the media transmission policy identifier corresponding to the destination terminal. If yes, the media transmission policy is valid, and step S603 may be performed; if not, the media transmission policy is invalid, and the emergency task service server may refuse to process the first media transmission policy deletion request message, or invalidate the media transmission policy. The media transmission strategy is removed.
  • Step S603 The emergency task service server sends a media transmission policy processing request message to the destination terminal corresponding to the target user identity according to the first media transmission policy processing request message, where the media transmission policy processing request message is a media transmission policy deletion request message.
  • the media transmission policy processing request message is a media transmission policy deletion request message.
  • the emergency task service server generates a corresponding media transmission policy activation request message according to the at least one media transmission policy information carried in the first media transmission policy activation request message in step S601, and respectively corresponding to the at least one media transmission policy information.
  • the target user identifier sends a media transmission policy deletion request message generated by the corresponding media transmission policy information to the destination terminal corresponding to the target user identifier.
  • Step S604 The destination terminal determines, according to the media transmission policy deletion request message, the media transmission policy processing mode to delete the media transmission policy.
  • the destination terminal may first determine the media transmission policy processing mode of the target media transmission policy corresponding to the fourth media transmission policy identifier in the media transmission policy information carried in the media transmission policy deletion request message.
  • the destination terminal may determine the media transmission policy processing manner for the target media transmission policy to delete the media transmission policy according to the message name of the media transmission policy deletion request message; in another possible implementation scenario, The media transmission policy deletion request message may carry the indication information of the media transmission policy processing mode, and the destination terminal may determine, according to the indication information of the media transmission policy processing mode, that the media transmission policy processing manner for the target media transmission policy is to delete the media transmission policy. .
  • Step S605 The destination terminal deletes the target media transmission policy corresponding to the fourth media transmission policy identifier.
  • the destination terminal may determine a corresponding target media transmission policy according to the fourth media transmission policy identifier, where the target media transmission policy may be pre-stored.
  • Step S606 The destination terminal sends a request response message to the authorized terminal, where the request response message is used to indicate a processing result of the target media transmission policy.
  • the destination terminal sends a request response message to the authorized terminal, which is used to describe the processing result of the target media transmission policy to the authorized terminal. For example, delete success, delete failure, and so on.
  • the emergency task service server sends a media transmission policy deletion request message to the destination terminal according to the first media transmission policy processing request message sent by the authorized terminal, where the media transmission policy deletion request message includes a media transmission policy.
  • the information, the media transmission policy information may specifically include a fourth media transmission policy identifier, and the destination terminal determines, according to the media transmission policy deletion request message, that the media transmission policy is processed by deleting the media transmission policy, and then deleting the fourth media transmission policy identifier.
  • the target media transmission policy completes the deletion process of the media transmission policy of the destination terminal, thereby implementing more flexible media transmission control.
  • FIG. 7a and FIG. 7b are schematic flowcharts of two media transmission policy configuration methods according to an embodiment of the present application.
  • the authorized terminal involved in the embodiment of the present application refers to a terminal operated by an emergency task service client corresponding to the authorized user, and the authorized user refers to a user who has the configuration permission of the media transmission policy for the emergency task service server.
  • the method includes:
  • Step S701 The authorized terminal sends a media transmission policy processing request message to the emergency task service server, where the media transmission policy processing request message is a media transmission policy configuration request message.
  • the media transmission policy processing request message is a media transmission policy configuration request message
  • the media transmission policy configuration request message includes media transmission policy information
  • the media transmission policy information is used to enable emergency mission service.
  • the server determines at least one media transmission policy to be processed, and may specifically include the media transmission policy itself, that is, all information or part of the information of the media transmission policy to be processed, and may also include the identifier of the media transmission policy, as shown in FIG. 7a and FIG. 7b.
  • the media transmission policy information specifically includes the media transmission policy itself to be processed, and may be a target media transmission policy in this embodiment.
  • the media transmission policy configuration request message may carry at least one media transmission policy information.
  • the media transmission policy refers to the content of a method for media data processing in a specific case that the authorized terminal configures for the emergency task service server.
  • the simplest media transmission policy may include a triggering condition corresponding to the media transmission operation and the media transmission operation, that is, instructing the emergency task service server to perform a media transmission operation of the media transmission policy when detecting an operation trigger condition that satisfies the media transmission policy.
  • the triggering conditions corresponding to the media transmission operation may include a specific time interval, a time duration, a specific event, and the like.
  • the media transmission operation may include capturing a video and uploading the video to the server, capturing the video, and sending the video to a specific terminal, etc., which are not specifically limited herein. .
  • the media transmission policy may further include at least one of media transmission target information, transmission policy validity time, media transmission policy status, and media transmission coding.
  • the media transmission destination information refers to a receiving user or a receiving terminal corresponding to the receiving user of the media transmission operation of the media transmission policy, for example, the group identifier of the group A may be a media transmission destination information, indicating The receiving user of the media transfer operation of the emergency task service server is a member of all groups of Group A.
  • the media transmission destination information may be a user identifier, a group identifier, or an IP address;
  • the transmission policy effective time refers to a time period during which the media transmission policy is effectively available, for example, 20170201-20170606 may be a transmission policy effective time, indicating the transmission policy.
  • media transmission policy status refers to whether the media transmission policy is active, that is, whether it has been used;
  • media transmission coding refers to transmission.
  • the transmission code used by the media resource such as H
  • the emergency task service server may perform an authorization check on the user of the authorized terminal that sends the message, that is, check whether the user has the configuration of the media transmission policy for the emergency task service server. Permissions. If there is a configuration permission for the media transmission policy of the emergency task service server, step S703 is further performed, otherwise the received media transmission policy configuration request message is discarded, and a response message may be further returned to the authorized terminal that sends the message to indicate the emergency task.
  • the media transport policy configuration request message has been processed by the service server. If the authorization check fails, the authorization check is indicated in the response message and the request is rejected.
  • step S702 may also be performed:
  • Step S702 the emergency task service server determines whether the media transmission policy is valid. If it is valid, step S703 is performed; if not, the emergency task service server refuses to process the media transmission policy configuration request message.
  • the emergency task service server may check whether the media transmission policy indicated in the media transmission policy information in the media transmission policy configuration request message matches the information of the emergency mission service server, and if yes, the media transmission policy If the media transmission policy is invalid, the emergency task service server may refuse to process the media transmission policy configuration request message or remove the invalid media transmission policy.
  • Step S703 The emergency task service server determines the media transmission policy processing mode as the configuration media transmission policy according to the media transmission policy configuration request message.
  • the emergency task service server may first determine the media transmission policy processing mode of the target media transmission policy in the media transmission policy information carried in the media transmission policy configuration request message.
  • the media transmission policy processing mode refers to how to handle a specific media transmission policy, and specifically includes a configuration manner such as configuration, update, activation, and deletion.
  • the emergency task service server may determine the media transmission policy processing manner for the target media transmission policy to configure the media transmission policy according to the message name of the media transmission policy configuration request message; in another possible implementation, the media transmission policy configuration request message may carry the indication information of the media transmission policy processing mode, and the emergency task service server may determine, according to the indication information of the media transmission policy processing mode, that the media transmission policy processing manner for the target media transmission policy is Configure media delivery policies.
  • the processing manner of configuring the media transmission policy may only mean that the emergency task service server saves the received target media transmission policy, waiting to receive the media transmission policy activation request or When he activates the indication, he further starts using the target media transmission policy. That is, after step S703, the emergency mission service server executes step S7051.
  • step S7051 the destination terminal saves the target media transmission policy.
  • the processing manner of configuring the media transmission policy may not only save the target media transmission policy received by the emergency task service server, but also activate the target media transmission policy at the same time, that is, After receiving the media transmission policy configuration request message, the emergency task service server saves the target media transmission policy and directly starts using the target media transmission policy. That is, after step S703, the emergency mission service server performs steps S7052 and S7053.
  • step S7052 the destination terminal saves and activates the target media transmission policy.
  • Step S7053 When the operation trigger condition of the target media transmission policy is met, the emergency task service server performs a media transmission operation of the target media transmission policy.
  • the target media transmission policy includes an operation trigger condition corresponding to the media transmission operation and a media transmission operation.
  • the emergency task service server detects an operation trigger condition that satisfies the target media transmission policy, the media transmission operation of the target media transmission policy may be performed.
  • the media transmission policy may further include at least one of media transmission target information, transmission policy validity time, media transmission policy status, and media transmission coding.
  • step S7052 further includes step S704, specifically:
  • Step S704 The emergency task service server detects whether there is a conflict between the plurality of target media transmission policies. If there is no conflict, step S7052 is performed.
  • the emergency task service server may analyze the content and determine whether there is a conflict between the multiple target media transmission policies. If there is no conflict, step S7052 may be performed, that is, the multiple targets are used. Media transmission strategy. If there is a conflict between multiple target media transmission policies, the emergency task service server may also have multiple processing methods. For example, the emergency task service server may directly refuse to configure multiple target media transmission policies, and return a conflict response to the emergency task.
  • the service server; the emergency task service server may also acquire at least one target media transmission policy execution step S7052 in which there is no conflict in the plurality of target media transmission policies according to a certain algorithm; the emergency task service server may also randomly determine the plurality of target media transmission policies.
  • One of the target media transmission policies performs step S7052. This is not specifically limited.
  • step S706 may also be performed:
  • Step S706 The emergency task service server sends a request response message to the authorized terminal, where the request response message is used to indicate a processing result of the target media transmission policy.
  • the emergency task service server sets a request message for the media transmission policy according to the media transmission policy processing request message sent by the authorized terminal, determines the media transmission policy processing mode as the configuration media transmission policy, and then saves the location.
  • the media transmission policy configuration request message includes media transmission policy information, where the media transmission policy information is used to determine a media transmission policy to be processed, the media transmission The policy includes a triggering condition corresponding to the media transmission operation and the media transmission operation, thereby completing a configuration process of the media transmission policy of the emergency task service server, when the target media transmission policy is met
  • the emergency task service server can perform the media transmission operation of the target media transmission policy to achieve more flexible media transmission control.
  • FIG. 8a and FIG. 8b are schematic flowcharts of a method for updating two media transmission strategies according to an embodiment of the present application.
  • the method involved in this embodiment may be further implemented based on the embodiment of the embodiment shown in Figures 7a and 7b, or may be implemented independently.
  • the authorized terminal involved in the embodiment of the present application refers to a terminal operated by an emergency task service client corresponding to the authorized user, and the authorized user refers to a user who has the update permission of the media transmission policy for the emergency task service server.
  • the method includes:
  • Step S801 The authorized terminal sends a media transmission policy processing request message to the emergency task service server, where the media transmission policy processing request message is a media transmission policy update request message.
  • the media transmission policy processing request message is a media transmission policy update request message
  • the media transmission policy update request message includes media transmission policy information
  • the media transmission policy information is used to enable emergency mission service.
  • the server determines the at least one media transmission policy to be processed.
  • the media transmission policy information may specifically include the first media transmission policy identifier and the transmission policy update information, where the first media transmission
  • the policy identifier refers to the identifier of the media transmission policy to be updated, that is, the identifier of the old media transmission policy
  • the transmission policy update information may be a media transmission policy for updating or a partial parameter of the media transmission policy for updating.
  • the media transmission policy update request message may carry at least one media transmission policy information.
  • the emergency task service server may first perform an authorization check on the user of the authorized terminal that sends the message, that is, check whether the user has an update of the media transmission policy for the emergency task service server. Permissions. If there is an update permission for the media transmission policy of the emergency task service server, step S803 is further performed; otherwise, the received media transmission policy update request message is discarded, and further, a response message may be returned to the authorized terminal that sends the message, indicating the emergency task.
  • the media transport policy update request message has been processed by the service server. If the authorization check fails, the authorization check is indicated in the response message and the request is rejected.
  • step S802 may also be performed:
  • Step S802 The emergency task service server determines whether the media transmission policy is valid. If it is valid, step S803 is performed; if not, the emergency task service server refuses to process the media transmission policy update request message.
  • determining whether the media transmission policy is valid includes two cases.
  • the emergency task service server may check whether the media transmission policy or the partial parameters of the media transmission policy in the media policy update information of the media transmission policy information in the media transmission policy update request message is related to the emergency task service server. The information is consistent, if it is consistent, then the media transmission policy is valid, and then step S803 can be performed; if not, the media transmission policy is invalid, and the emergency task service server can refuse to process the media transmission policy update request message. Or remove the media transmission policy that is invalid.
  • the emergency task service server has previously saved the configured media transmission policy identifier, and the emergency task service server can determine whether the first media transmission policy identifier exists in the pre-stored media transmission policy identifier, if present If the media transmission policy is valid, step S803 may be performed; if not, the media transmission policy is invalid, and the emergency task service server may refuse to process the media transmission policy configuration request message, or Remove the media transfer policy that is invalid.
  • Step S803 the emergency task service server determines the media transmission policy processing mode as the update media transmission policy according to the media transmission policy update request message.
  • the emergency task service server may first determine a media transmission policy processing mode of the target media transmission policy corresponding to the first media transmission policy identifier in the media transmission policy information carried in the media transmission policy update request message.
  • the emergency task service server may determine, according to the message name of the media transmission policy update request message, that the media transmission policy processing manner for the target media transmission policy is to update the media transmission policy; in another possible implementation
  • the media transmission policy update request message may carry the indication information of the media transmission policy processing mode, and the emergency task service server may determine, according to the indication information of the media transmission policy processing mode, that the media transmission policy processing manner for the target media transmission policy is Update the media transfer policy.
  • the processing manner of updating the media transmission policy may only refer to that the emergency task service server updates the target media transmission policy corresponding to the first media transmission policy identifier after receiving the media transmission policy information. It can be considered that the emergency mission service server has determined that the target media transmission policy is not active. Then, after step S803, step S8051 is performed.
  • Step S8051 The emergency task service server updates the target media transmission policy corresponding to the first media transmission policy identifier by using the transmission policy update information.
  • the transmission policy update information may be a complete media transmission policy, and is mainly for all information or most of the information in the target media transmission policy corresponding to the first media transmission policy identifier needs to be updated.
  • the emergency task service server can directly replace the target media transmission policy corresponding to the first media transmission policy identifier by using the transmission policy update information.
  • the transmission policy update information may be an individual parameter in a media transmission policy, and is mainly directed to a small part of the target media transmission policy corresponding to the first media transmission policy identifier needs to be updated.
  • the emergency task service server may replace the corresponding parameter in the target media transmission policy corresponding to the first media transmission policy identifier by using the transmission policy update information.
  • the processing manner of updating the media transmission policy needs to first determine the activation status of the target media transmission policy, and then determine whether to update, and it can be considered that the emergency task service server or the destination terminal has not been determined before. The status of the target media transport policy. Then, after step S803, step S804 is performed.
  • Step S804 the emergency task service server determines whether the target media transmission policy is in an active state. If not, the process proceeds to step S8051; if it is in the activated state, then steps S8052 and S8053.
  • the media transmission policy status includes two types: an active status and an inactive status.
  • the active status means that the emergency task service server has started to use the target media transmission policy, while the inactive state is the opposite.
  • the emergency task service server can determine whether the target media transmission policy is in an active state by checking the status of the media transmission policy. If the target media transmission policy is not in the active state, the target media transmission policy is not in use, and step S8051 is performed to perform the update;
  • the status indicates that the target media transmission policy is currently being used by the destination terminal, so that it cannot be directly updated, and the methods of steps S8052 and S8053 need to be performed.
  • Step S8052 The emergency task service server deactivates the target media transmission policy, updates the target media transmission policy by using the transmission policy update information, and activates the updated target media transmission policy.
  • the emergency task service server needs to deactivate the target media transmission policy, that is, stop using the target media transmission policy, and then update the target media transmission policy by using the transmission policy update information.
  • the specific update method is consistent with the description of step S8051. After the update is complete, activate the updated target media delivery policy.
  • Step S8053 When the operation trigger condition of the target media transmission policy is met, the emergency task service server performs a media transmission operation of the target media transmission policy.
  • the emergency task service server may first detect whether there is a conflict between the updated target media transmission policy and the active media transmission policy in the emergency task service server. If not, the process proceeds to step S8052.
  • the emergency task service server may analyze whether the content media transmission policy conflicts with the active media transmission policy in the emergency task service server after analyzing the content, and if not, may execute Step S8052, that is, starting to use the target media transmission policy. If there is a conflict, the emergency task service server may also have multiple processing methods. For example, the emergency task service server may directly refuse to update the target media transmission policy, and return the conflict response to the emergency task service server, which is not specifically limited herein.
  • step S806 may also be performed:
  • Step S806 The emergency task service server sends a request response message to the authorized terminal, where the request response message is used to indicate a processing result of the target media transmission policy.
  • the emergency task service server determines, according to the media transmission policy processing request message sent by the authorized terminal, a media transmission policy update request message, determines a media transmission policy processing mode to update the media transmission policy, and then uses the transmission.
  • the policy update information updates the target media transmission policy corresponding to the first media transmission policy identifier, where the media transmission policy update request message includes media transmission policy information, where the media transmission policy information may specifically include the first media transmission policy identifier and the transmission policy update information.
  • the media transmission policy includes a triggering condition corresponding to the media transmission operation and the media transmission operation, thereby completing an update process of the media transmission policy of the destination terminal, and when the operation trigger condition of the target media transmission policy is met, the emergency task service server
  • the media transmission operation of the target media transmission policy can be performed to achieve more flexible media transmission control.
  • FIG. 9 is a schematic flowchart diagram of another method for activating a media transmission policy according to an embodiment of the present application.
  • the method involved in this embodiment may be further implemented based on the embodiment of the embodiment shown in FIGS. 7a to 8b, or may be implemented independently.
  • the authorized terminal involved in the embodiment of the present application refers to a terminal operated by an emergency task service client corresponding to the authorized user, and the authorized user refers to a user who has the activation right of the media transmission policy for the emergency task service client.
  • Step S901 The authorized terminal sends a media transmission policy processing request message to the emergency task service server, where the media transmission policy processing request message is a media transmission policy activation request message.
  • the media transmission policy processing request message is a media transmission policy activation request message, and the media transmission policy activation request message includes media transmission policy information, and the media transmission policy information is used to enable an emergency task.
  • the service server determines at least one media transmission policy to be processed.
  • the media transmission policy information may specifically include a second media transmission policy identifier, where the second media transmission policy identifier refers to the to-be-activated The identifier of the media transmission policy, that is, the identifier of the media transmission policy that is not activated but needs to be activated. It should be noted that the second media transmission policy identifier herein may be one or more.
  • the emergency task service server may first perform an authorization check on the user of the authorized terminal that sends the message, that is, check whether the user has the activation of the media transmission policy for the emergency task service server. Permissions. If there is an activation right of the media transmission policy for the emergency task service server, step S903 is further performed; otherwise, the received media transmission policy activation request message is discarded, and further, a response message may be returned to the authorized terminal that sends the message to indicate the emergency task. The media server has activated the media transport policy activation request message. If the authorization check fails, the authorization check is indicated in the response message and the request is rejected.
  • step S902 may also be performed:
  • Step S902 the emergency task service server determines whether the media transmission policy is valid. If it is valid, step S903 is performed; if not, the emergency task service server refuses to process the media transmission policy activation request message.
  • the emergency task service server has saved the media transmission policy identifier of the pre-configured emergency task service server, and the emergency task service server can determine whether the media transmission policy identifier of the pre-stored emergency task service server exists.
  • the second media transmission policy identifier if yes, indicating that the media transmission policy is valid, may perform step S903; if not, if the media transmission policy is invalid, the emergency task service server may refuse to process the media transmission policy activation request message. Or remove the media transmission policy that is invalid.
  • Step S903 The emergency task service server determines the media transmission policy processing mode as the activated media transmission policy according to the media transmission policy activation request message.
  • the emergency task service server may first determine a media transmission policy processing mode of the target media transmission policy corresponding to the second media transmission policy identifier in the media transmission policy information carried in the media transmission policy activation request message.
  • the emergency task service server may determine, according to the message name of the media transmission policy activation request message, that the media transmission policy processing manner for the target media transmission policy is to activate the media transmission policy; in another possible implementation
  • the media transmission policy activation request message may carry the indication information of the media transmission policy processing mode, and the emergency task service server may determine, according to the indication information of the media transmission policy processing mode, that the media transmission policy processing manner for the target media transmission policy is Activate the media transfer policy.
  • Step S904 the emergency task service server activates the target media transmission policy corresponding to the second media transmission policy identifier.
  • the emergency task service server may determine a corresponding target media transmission policy according to the second media transmission policy identifier, where the target media transmission policy may be saved after the emergency task service server is pre-configured.
  • Activating the target media transmission policy means starting to use the target media transmission policy.
  • the initial use here does not mean directly performing the media transmission operation in the target media transmission policy, but starts to detect whether the operation trigger condition of the target media transmission policy is reached, for example, the target.
  • the operation trigger condition of the media transmission policy is that the time is 120 seconds, then activating the target media transmission policy means that the start timer starts timing.
  • the emergency task service server may first detect the target media transmission policy. Whether the inter- or target media transmission policy conflicts with the active media transmission policy in the emergency task service server, if not, step S904 is performed. Specifically, on the one hand, if there are multiple target media transmission policies, there may be a conflict between multiple target media transmission policies; on the other hand, there may be a target media transmission policy and an active media in the emergency mission service server. Execution conflicts between transmission policies. Before the emergency task service server activates the target media transmission policy, the content may be analyzed to determine whether there is a conflict between the multiple target media transmission policies or between the target media transmission policy and the active media transmission policy in the emergency task service server.
  • step S904 can be performed to start using the target media transmission policy.
  • the emergency task service server may also have multiple processing methods. For example, the emergency task service server may directly refuse to activate the target media transmission policy, and return the conflict response to the emergency task service server, which is not specifically limited herein.
  • Step S905 when the operation trigger condition of the target media transmission policy is met, the emergency task service server performs a media transmission operation of the target media transmission policy.
  • step S906 may also be performed:
  • Step S906 The emergency task service server sends a request response message to the authorized terminal, where the request response message is used to indicate a processing result of the target media transmission policy.
  • the emergency task service server determines, according to the media transmission policy processing request message sent by the authorized terminal, a media transmission policy activation request message, determines the media transmission policy processing mode to activate the media transmission policy, and then activates the second media.
  • the transmission policy identifies a corresponding target media transmission policy, where the media transmission policy activation request message includes media transmission policy information, where the media transmission policy information may specifically include a second media transmission policy identifier, where the media transmission policy includes media transmission operation and media Transmitting a triggering condition corresponding to the operation, thereby completing an activation process of the media transmission policy of the emergency task service server, and when the operation trigger condition of the target media transmission policy is met, the emergency task service server may execute the media of the target media transmission policy Transfer operations for more flexible media transfer control.
  • FIG. 10 is a schematic flowchart diagram of another method for deactivating a media transmission policy according to an embodiment of the present application.
  • the method involved in this embodiment may be further implemented based on the embodiment of the embodiment shown in FIGS. 7a to 9 or may be implemented independently.
  • the authorized terminal involved in the embodiment of the present application refers to a terminal operated by an emergency task service client corresponding to the authorized user, and the authorized user refers to a user who has the deactivation right of the media transmission policy of the emergency task service server.
  • Step S1001 The authorized terminal sends a media transmission policy processing request message to the emergency task service server, where the media transmission policy processing request message is a media transmission policy deactivation request message.
  • the media transmission policy processing request message is a media transmission policy deactivation request message
  • the media transmission policy deactivation request message includes media transmission policy information
  • the media transmission policy information is used to enable the emergency mission service server.
  • the media transmission policy information may specifically include a third media transmission policy identifier, where the third media transmission policy identifier refers to the media to be deactivated.
  • the identity of the transport policy that is, the identity of the media transport policy that was originally activated and needs to be deactivated. It should be noted that the third media transmission policy identifier herein may be one or more.
  • the emergency task service server when it receives the media transmission policy deactivation request message, it may first The user of the authorized terminal that sent the message performs an authorization check, that is, checks whether the user has the deactivation right of the media transmission policy for the emergency task service server. If there is a deactivation right for the emergency task service server, step S1003 is further performed; otherwise, the received media transmission policy deactivation request message is discarded, and further, a response message may be returned to the authorized terminal that sends the message, indicating the emergency task service server. The media transmission policy deactivation request message has been processed. If the authorization check fails, the authorization check is indicated in the response message and the request is rejected.
  • an authorization check that is, checks whether the user has the deactivation right of the media transmission policy for the emergency task service server. If there is a deactivation right for the emergency task service server, step S1003 is further performed; otherwise, the received media transmission policy deactivation request message is discarded, and further, a response message may be returned to the authorized terminal that sends the message
  • step S1002 may also be performed:
  • step S1002 the emergency task service server determines whether the media transmission policy is valid. If it is valid, step S1003 is performed; if not, the emergency task service server refuses to process the media transmission policy deactivation request message.
  • the emergency task service server has saved the pre-configured media transmission policy identifier, and the emergency task service server can determine whether the third media transmission policy identifier exists in the pre-configured media transmission policy identifier, if present If the media transmission policy is valid, step S1003 may be performed; if not, the media transmission policy is invalid, and the emergency task service server may refuse to process the media transmission policy deactivation request message, or invalidate the media transmission policy. Remove.
  • Step S1003 The emergency task service server determines the media transmission policy processing mode as the deactivation media transmission policy according to the media transmission policy deactivation request message.
  • the emergency task service server may first determine the media transmission policy processing of the target media transmission policy corresponding to the third media transmission policy identifier in the media transmission policy information carried in the media transmission policy deactivation request message. the way.
  • the emergency task service server may deactivate the message name of the request message according to the media transmission policy, and determine that the media transmission policy processing manner for the target media transmission policy is to deactivate the media transmission policy;
  • the media transmission policy deactivation request message may carry the indication information of the media transmission policy processing mode, and the emergency task service server may determine the media transmission policy for the target media transmission policy according to the indication information of the media transmission policy processing mode.
  • the processing method is to deactivate the media transmission policy.
  • Step S1004 The emergency task service server deactivates the target media transmission policy corresponding to the third media transmission policy identifier.
  • the emergency task service server may determine a corresponding target media transmission policy according to the third media transmission policy identifier, where the target media transmission policy may be pre-activated. Deactivating the target media transmission policy means stopping the use of the target media transmission policy.
  • Step S1005 The emergency task service server sends a request response message to the authorized terminal, where the request response message is used to indicate a processing result of the target media transmission policy.
  • the emergency task service server performs a media transmission policy deactivation request message according to the media transmission policy processing request message sent by the authorized terminal, determines that the media transmission policy processing mode is to deactivate the media transmission policy, and then deactivates
  • the third media transmission policy identifies a target media transmission policy, where the media transmission policy deactivation request message includes media transmission policy information, and the media transmission policy information may specifically include a third media transmission policy identifier, thereby completing the emergency task service server.
  • the deactivation process of the media transmission strategy enables more flexible media transmission control.
  • FIG. 11 is a flowchart showing another method for deleting a media transmission policy according to an embodiment of the present application. intention. The method involved in this embodiment may be further implemented based on the embodiment of the embodiment shown in FIGS. 7a to 10, or may be implemented independently.
  • the authorized terminal involved in the embodiment of the present application refers to a terminal operated by an emergency task service client corresponding to the authorized user, and the authorized user refers to a user who has the delete permission of the media transmission policy of the emergency task service server.
  • Step S1101 The authorized terminal sends a media transmission policy processing request message to the emergency task service server, where the media transmission policy processing request message is a media transmission policy deletion request message.
  • the media transmission policy processing request message is a media transmission policy deletion request message
  • the media transmission policy deletion request message includes media transmission policy information, where the media transmission policy information is used to enable the emergency task service server to determine the need
  • the at least one media transmission policy is processed.
  • the media transmission policy information may specifically include a fourth media transmission policy identifier, where the fourth media transmission policy identifier refers to a media transmission policy to be deleted. logo.
  • the emergency task service server may perform an authorization check on the user of the authorized terminal that sends the message, that is, check whether the user has the media transmission policy for the emergency task service server. Permissions. If there is a deletion right of the media transmission policy for the emergency task service server, step S1103 is further performed; otherwise, the received media transmission policy deletion request message is discarded, and further, a response message may be returned to the authorized terminal that sends the message, indicating the emergency task.
  • the media transport policy delete request message has been processed by the service server. If the authorization check fails, the authorization check is indicated in the response message and the request is rejected.
  • step S1102 may also be performed:
  • Step S1102 The emergency task service server determines whether the media transmission policy is valid. If it is valid, step S1103 is performed; if not, the emergency task service server refuses to process the media transmission policy deletion request message.
  • the emergency task service server has saved the media transmission policy identifier of the pre-configured emergency task service server, and the emergency task service server can determine whether the media transmission policy identifier of the pre-configured emergency task service server is There is a fourth media transmission policy identifier, if yes, the media transmission policy is valid, and step S1103 may be performed; if not, the media transmission policy is invalid, and the emergency task service server may refuse to process the media transmission policy deletion request message. Or remove the media transfer policy that is invalid.
  • Step S1103 The emergency task service server determines, according to the media transmission policy deletion request message, the media transmission policy processing mode to delete the media transmission policy.
  • the emergency task service server may first determine the media transmission policy processing mode of the target media transmission policy corresponding to the fourth media transmission policy identifier in the media transmission policy information carried in the media transmission policy deletion request message.
  • the emergency task service server may determine, according to the message name of the media transmission policy deletion request message, that the media transmission policy processing manner for the target media transmission policy is to delete the media transmission policy; in another possible implementation
  • the media transmission policy deletion request message may carry the indication information of the media transmission policy processing mode, and the emergency task service server may determine, according to the indication information of the media transmission policy processing mode, that the media transmission policy processing mode for the target media transmission policy is Delete the media transfer policy.
  • Step S1104 The emergency task service server deletes the target media transmission policy corresponding to the fourth media transmission policy identifier. slightly.
  • the emergency task service server may determine a corresponding target media transmission policy according to the fourth media transmission policy identifier, where the target media transmission policy may be pre-stored.
  • Step S1105 The emergency task service server sends a request response message to the authorized terminal, where the request response message is used to indicate a processing result of the target media transmission policy.
  • the emergency task service server determines, according to the media transmission policy processing request message sent by the authorized terminal, a media transmission policy deletion request message, determines that the media transmission policy is processed by deleting the media transmission policy, and then deleting the fourth media.
  • the transmission policy identifies a target media transmission policy, where the media transmission policy deletion request message includes media transmission policy information, and the media transmission policy information may specifically include a fourth media transmission policy identifier, thereby completing a media transmission policy for the emergency task service server.
  • the removal process enables more flexible media transfer control.
  • FIG. 12 is a schematic structural diagram of a media device according to an embodiment of the present invention.
  • the device includes a processor 121, a memory 122, and a network interface 123.
  • the processor 121 is coupled to the memory 122 and the network interface 123, for example, the processor 121 can be coupled to the memory 122 and the network interface 123 via a bus.
  • the processor 121 is configured to support the device in performing the corresponding functions in the method of the embodiment shown in Figures 2a-6 or 7a-11.
  • the device When configured to support a device that performs the corresponding function in the method of the embodiment shown in Figures 2a-6, the device may be a user terminal, when configured to support the method of performing the embodiment shown in Figures 7a-11 When the device is functional, the device can be an emergency mission service server.
  • the processor 121 can be a central processing unit (CPU), a network processor (in English: network processor, NP), a hardware chip, or any combination thereof.
  • the hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof.
  • the above PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), and a general array logic (GAL). Or any combination thereof.
  • the memory 122 memory is used to store media transmission policies and the like.
  • the memory 122 may include a volatile memory (English: volatile memory), such as a random access memory (English: random-access memory, abbreviation: RAM); the memory 122 may also include a non-volatile memory (English: non-volatile memory) ), such as read-only memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid state drive (English: solid-state Drive, abbreviation: SSD); the memory 122 may also include a combination of the above types of memory.
  • ROM read-only memory
  • flash memory English: flash memory
  • HDD hard disk drive
  • SSD solid state drive
  • the network interface 123 is configured to connect with an authorized terminal or an emergency mission service server, and send and receive messages related to the foregoing methods to an authorized terminal or an emergency task service server.
  • the processor 121 can perform the following operations:
  • the media transmission policy processing request message includes media transmission policy information, where the media transmission policy information is used to determine a media transmission policy to be processed; the media transmission policy includes a media transmission operation and a media transmission The corresponding trigger condition is operated;
  • the media transmission policy is processed according to the media transmission policy processing manner.
  • the processor 121 when receiving the media transmission policy processing request message, is specifically configured to:
  • the processor 121 when receiving the media transmission policy processing request message, is specifically configured to:
  • the first media transmission policy Processing the request message includes carrying the target user identifier.
  • the media transmission policy processing request message is a media transmission policy configuration request message;
  • the media transmission policy information includes a target media transmission policy;
  • the processor 121 is specifically configured to:
  • the media transmission policy information includes multiple target media transmission policies; before the processor 121 saves and activates the target media transmission policy, the processor 121 is further configured to:
  • the target media transmission policy is saved and activated.
  • the media transmission policy processing request message is a media transmission policy update request message, where the media transmission policy information includes a first media transmission policy identifier and a transmission policy update information, where the processor 121 is specifically configured to:
  • the processor 121 updates the first media transmission policy corresponding to the first media transmission policy identifier by using the target media transmission policy, specifically:
  • the processor 121 before the processor 121 updates the target media transmission policy corresponding to the first media transmission policy identifier by using the transmission policy update information, the processor 121 is further configured to:
  • the target media transmission policy is deactivated, the target media transmission policy is updated using the transmission policy update information, and the updated target media transmission policy is activated.
  • the media transmission policy processing request message is a media transmission policy activation request message;
  • the media transmission policy information includes a second media transmission policy identifier;
  • the processor 121 is specifically configured to:
  • the method is further configured to:
  • the media transmission operation of the target media transmission policy is performed.
  • the media transmission policy processing request message is a media transmission policy deactivation request message;
  • the media transmission policy information includes a third media transmission policy identifier;
  • the processor 121 is specifically configured to:
  • the media transmission policy processing request message is a media transmission policy deletion request message;
  • the media transmission policy information includes a fourth media transmission policy identifier;
  • the processor 121 is specifically configured to:
  • the method is further configured to:
  • the method is further configured to:
  • the media transmission policy further includes at least one of media transmission target information, transmission policy validity time, media transmission policy status, and media transmission coding.
  • FIG. 13 is a schematic structural diagram of another media device according to an embodiment of the present invention.
  • the device includes a processing module 131 and a transceiver module 132.
  • the processing module 131 implements the processor 121 shown in FIG. 12, and the transceiver module 132 implements the network interface 123 shown in FIG. 12, so that the device executes the map. 2a -
  • the device When configured to support a device that performs the corresponding function in the method of the embodiment shown in Figures 2a-6, the device may be a user terminal, when configured to support the method of performing the embodiment shown in Figures 7a-11 When the device is functional, the device can be an emergency mission service server.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

本申请实施例提供了一种媒体传输策略的处理方法及相关设备,方法包括:接收媒体传输策略处理请求消息,所述媒体传输策略处理请求消息包括媒体传输策略信息,所述媒体传输策略信息用于确定需要处理的媒体传输策略;所述媒体传输策略包括媒体传输操作和媒体传输操作对应的触发条件;根据所述媒体传输策略处理请求消息确定媒体传输策略处理方式;按照所述媒体传输策略处理方式对所述媒体传输策略进行处理。本技术方案通过对媒体传输策略的处理过程,可以实现满足目标媒体传输策略的操作触发条件时,执行目标媒体传输策略的媒体传输操作的效果,实现更为灵活地媒体传输控制。

Description

一种媒体传输策略的处理方法及相关设备 技术领域
本申请涉及电子技术领域,尤其涉及一种媒体传输策略的处理方法及相关设备。
背景技术
紧急任务服务是用于公共安全应用及一般的商业应用的一种集群通信服务,如公安系统中。紧急任务服务支持1-to-N的群组通信,在一个群组通信中,媒体数据的分发可以受到授权用户如调度员(dispatcher)的控制,调度员即有特殊权限的用户,可以是某一个或几个群组的群组成员,也可能是超级用户。现有技术中,授权用户通常需要根据调度现场的实时情况,或特定的事件等,对媒体数据在群组通信中的发送或者接收进行控制,授权用户可以发出相关的控制信息或指令,如指示特定的群组用户向其他用户发送目标媒体数据,或者指示特定的群组用户接收其他用户发送的目标媒体数据等。但是,这样的控制机制需要完全依赖调度员的操作,对于参与人数较少的群组通信可以适用。但是对于参与人数较多的群组通信,调度员操作的准确和效率可能会成为调度的瓶颈。而且,在群组通信中,参与群组通信的人员在多个维度上进行归类划分,如根据用户的优先级、位置区域,群组通信中的媒体数据也可以在多个维度上进行划分,如根据媒体数据生成的时间、媒体数据的内容类别、媒体数据采集的区域等。因此需要一种可以灵活进行媒体数据分发的机制。
发明内容
本申请提供一种媒体传输策略的处理方法及相关设备,可以使媒体数据的传输控制更灵活。
第一方面,本申请实施例提供了一种媒体传输策略的处理方法,包括:
接收媒体传输策略处理请求消息,所述媒体传输策略处理请求消息包括媒体传输策略信息,所述媒体传输策略信息用于确定需要处理的媒体传输策略;所述媒体传输策略包括媒体传输操作和媒体传输操作对应的触发条件;
根据所述媒体传输策略处理请求消息确定媒体传输策略处理方式;
按照所述媒体传输策略处理方式对所述媒体传输策略进行处理。
本技术方案通过对媒体传输策略的处理过程,可以实现满足目标媒体传输策略的操作触发条件时,执行目标媒体传输策略的媒体传输操作的效果,实现更为灵活地媒体传输控制。
在第一方面的第一种可能的实现方式中,所述接收媒体传输策略处理请求消息包括:
接收授权终端发送的媒体传输策略处理请求消息。
在第一方面的第二种可能的实现方式中,所述接收媒体传输策略处理请求消息包括:
接收紧急任务服务服务器发送的媒体传输策略处理请求消息,所述媒体传输策略处理请求消息是紧急任务服务服务器根据授权终端发送的第一媒体传输策略处理请求消息发送的,所述第一媒体传输策略处理请求消息包括携带目标用户标识。
结合本申请第一方面或第一方面的第一种至第二种中任一可能的实施方式,在第一方面的第三种可能的实现方式中,所述媒体传输策略处理请求消息为媒体传输策略配置请求消息;所述媒体传输策略信息包括目标媒体传输策略;
所述根据所述媒体传输策略处理请求消息确定媒体传输策略处理方式包括:
根据所述媒体传输策略配置请求消息将所述媒体传输策略处理方式确定为配置媒体传输策略;
所述按照所述媒体传输策略处理方式对所述媒体传输策略进行处理包括:
保存所述目标媒体传输策略;或
保存并激活所述目标媒体传输策略。
结合本申请第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,所述媒体传输策略信息包括多个目标媒体传输策略;
所述保存并激活所述目标媒体传输策略之前还包括:
检测所述多个目标媒体传输策略之间是否冲突;
若不冲突,则保存并激活所述目标媒体传输策略。
结合本申请第一方面或第一方面的第一种至第二种中任一可能的实施方式,在第一方面的第五种可能的实现方式中,所述媒体传输策略处理请求消息为媒体传输策略更新请求消息;所述媒体传输策略信息包括第一媒体传输策略标识以及传输策略更新信息;
所述根据所述媒体传输策略处理请求消息确定媒体传输策略处理方式包括:
根据所述媒体传输策略更新请求消息将所述媒体传输策略处理方式确定为更新媒体传输策略;
所述按照所述媒体传输策略处理方式对所述媒体传输策略进行处理包括:
使用所述传输策略更新信息更新所述第一媒体传输策略标识对应的目标媒体传输策略。
结合本申请第一方面的第五种可能的实施方式,在第一方面的第六种可能的实现方式中,
所述使用所述目标媒体传输策略更新所述第一媒体传输策略标识对应的第一媒体传输策略包括:
使用所述传输策略更新信息替换所述第一媒体传输策略标识对应的目标媒体传输策略;或
使用所述传输策略更新信息替换所述第一媒体传输策略标识对应的目标媒体传输策略中相应的参数。
结合本申请第一方面的第五种至第六种中任一可能的实施方式,在第一方面的第七种可能的实现方式中,所述使用所述传输策略更新信息更新所述第一媒体传输策略标识对应的目标媒体传输策略之前,还包括:
判断所述目标媒体传输策略是否处于激活状态;
若不处于激活状态,则使用所述传输策略更新信息更新所述目标媒体传输策略;
若处于激活状态,则去激活所述目标媒体传输策略,使用所述传输策略更新信息更新所述目标媒体传输策略并激活更新后的所述目标媒体传输策略。
结合本申请第一方面或第一方面的第一种至第二种中任一可能的实施方式,在第一方面的第八种可能的实现方式中,所述媒体传输策略处理请求消息为媒体传输策略激活请求消息;所述媒体传输策略信息包括第二媒体传输策略标识;
所述根据所述媒体传输策略处理请求消息确定媒体传输策略处理方式包括:
根据所述媒体传输策略激活请求消息将所述媒体传输策略处理方式确定为激活媒体传输策略;
所述按照所述媒体传输策略处理方式对所述媒体传输策略进行处理包括:
激活所述第二媒体传输策略标识对应的目标媒体传输策略。
结合本申请第一方面的第三种、第四种、第七种或第八种中可能的实施方式,在第一方面的第九种可能的实现方式中,所述激活所述目标媒体传输策略之后,还包括:
当满足所述目标媒体传输策略的操作触发条件时,执行所述目标媒体传输策略的媒体传输操作。
结合本申请第一方面或第一方面的第一种至第二种中任一可能的实施方式,在第一方面的第十种可能的实现方式中,所述媒体传输策略处理请求消息为媒体传输策略去激活请求消息;所述媒体传输策略信息包括第三媒体传输策略标识;
所述根据所述媒体传输策略处理请求消息确定媒体传输策略处理方式包括:
根据所述媒体传输策略去激活请求消息将所述媒体传输策略处理方式确定为去激活媒体传输策略;
所述按照所述媒体传输策略处理方式对所述媒体传输策略进行处理包括:
去激活所述第三媒体传输策略标识对应的目标媒体传输策略。
结合本申请第一方面或第一方面的第一种至第二种中任一可能的实施方式,在第一方面的第十一种可能的实现方式中,所述媒体传输策略处理请求消息为媒体传输策略删除请求消息;所述媒体传输策略信息包括第四媒体传输策略标识;
所述根据所述媒体传输策略处理请求消息确定媒体传输策略处理方式包括:
根据所述媒体传输策略删除请求消息将所述媒体传输策略处理方式确定为删除媒体传输策略;
所述按照所述媒体传输策略处理方式对所述媒体传输策略进行处理包括:
删除所述第四媒体传输策略标识对应的目标媒体传输策略。
结合本申请第一方面或第一方面的第一种可能的实施方式,在第一方面的第十二种可能的实现方式中,所述按照所述媒体传输策略处理方式对所述媒体传输策略进行处理之前,还包括:
判断所述媒体传输策略是否有效;
若有效,则按照所述媒体传输策略处理方式对所述媒体传输策略进行处理;
若无效,则拒绝对所述媒体传输策略进行处理。
结合本申请第一方面或第一方面的第一种至第十二种中任一可能的实施方式,在第一方面的第十三种可能的实现方式中,所述按照所述媒体传输策略处理方式对所述媒体传输策略进行处理之后,还包括:
向授权终端发送请求响应消息,所述请求响应消息用于指示所述媒体传输策略的处理 结果。
结合本申请第一方面或第一方面的第一种至第十三种中任一可能的实施方式,在第一方面的第十四种可能的实现方式中,所述媒体传输策略还包括媒体传输目标信息、传输策略有效时间、媒体传输策略状态和媒体传输编码中的至少一个。
本申请第二方面提供了一种媒体设备。该设备包括处理器、存储器以及通信接口。处理器连接到存储器和通信接口,例如处理器可以通过总线连接到存储器和通信接口。通信接口用于与授权终端或紧急任务服务服务器等设备进行通信。存储器用于存储媒体传输策略等。处理器用于执行第一方面的部分或全部流程。
本申请第三方面提供了另一种媒体设备,包括收发模块和处理模块,处理模块用于实现第二方面中的处理器,收发模块用于实现第二方面中的网络接口。媒体设备通过上述模块实现第一方面的部分或全部方法。
附图说明
图1是本申请实施例提供的一种紧急任务服务系统的架构示意图;
图2a是本申请实施例提供的一种媒体传输策略的配置方法的流程示意图;
图2b是本申请实施例提供的另一种媒体传输策略的配置方法的流程示意图;
图3a是本申请实施例提供的一种媒体传输策略的更新方法的流程示意图;
图3b是本申请实施例提供的另一种媒体传输策略的更新方法的流程示意图;
图4是本申请实施例提供的一种媒体传输策略的激活方法的流程示意图;
图5是本申请实施例提供的一种媒体传输策略的去激活方法的流程示意图;
图6是本申请实施例提供的一种媒体传输策略的删除方法的流程示意图;
图7a是本申请实施例提供的另一种媒体传输策略的配置方法的流程示意图;
图7b是本申请实施例提供的另一种媒体传输策略的配置方法的流程示意图;
图8a是本申请实施例提供的另一种媒体传输策略的更新方法的流程示意图;
图8b是本申请实施例提供的另一种媒体传输策略的更新方法的流程示意图;
图9是本申请实施例提供的另一种媒体传输策略的激活方法的流程示意图;
图10是本申请实施例提供的另一种媒体传输策略的去激活方法的流程示意图;
图11是本申请实施例提供的另一种媒体传输策略的删除方法的流程示意图;
图12是本申请实施例提供的一种媒体设备的结构示意图;
图13是本申请实施例提供的另一种媒体设备的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。
本申请实施例的技术方案适用于各种基于网络媒体传输的系统中,比如,图1所示的一种紧急任务服务系统(Mission Critical Service System)架构示意图,包括紧急任务服务服务器(Mission Critical Service Server)101、至少一个紧急任务服务客户端(Mission Critical Service Client)102(图1中示出了客户端1021和客户端1022)。在图1所示的系统架构图中,紧急任务服务服务器101主要负责呼叫的控制和媒体的控制,是一个逻辑实 体。在具体实现中,紧急任务服务服务器可以是紧急任务一键通(Mission Critical Push To Talk,MCPTT)服务器,紧急任务视频(Mission Critical Video,MCVideo)服务器或紧急任务数据(Mission Critical Data,MCData)服务器等。紧急任务服务客户端102是与紧急任务服务服务器101对等的应用层实体,主要负责应用层事务的处理。
其中,紧急任务服务服务器101内部包括传输控制服务器(Transmission control server)101a以及媒体分发功能实体(Media distribution function)101b。传输控制服务器101a是媒体面的媒体传输控制实体,负责媒体上行和/或下行的传输控制。在具体实现中,在MCPTT系统中,传输控制服务器101a可以具体为Floor control server;在MCVideo系统中,传输控制服务器101a可以具体为Transmission control server。在本申请实施例中,如果没有特殊说明,紧急任务服务服务器101发送或者接收的传输控制信令的功能均由传输控制服务器101a执行。媒体分发功能实体101b是一个逻辑实体,负责接收上行媒体数据,发送下行媒体数据。在本申请实施例中,如果没有特殊说明,紧急任务服务服务器101发送或者接收媒体数据的功能均由媒体分发功能实体101b执行。
其中,紧急任务服务客户端102内部包括传输控制服务器在用户侧的对等实体(Transmission control participant)102a以及媒体混合器(Media mixer)102b。传输控制服务器在用户侧的对等实体102a是媒体面的媒体传输控制实体,负责媒体上行和/或下行的传输控制。在具体实现中,在MCPTT系统中,可以是Floor control participant,在MCVideo中,可以是Transmission control participant。媒体混合器102b是媒体分发功能实体101b在用户侧的对等实体,负责接收下行媒体数据,发送上行媒体数据。
以下通过图2a—图11所示的实施例对媒体传输策略处理方法进行详细描述。其中,图2a—图6所示的实施例是针对目标用户标识对应的目的终端的媒体传输策略处理方法,图7a—图11所示的实施例是针对紧急任务服务服务器的媒体传输策略处理方法。
请参阅图2a和图2b,图2a和图2b是本申请实施例提供的两种媒体传输策略配置方法的流程示意图。本申请实施例中涉及的授权终端指的是授权用户对应的紧急任务服务客户端所运行的终端,授权用户指的是具有针对目标用户标识对应的目的终端的媒体传输策略的配置权限的用户;所述目的终端同样也是目标用户对应的紧急任务服务客户端所运行的终端,目标用户即使用所述目的终端进行媒体传输业务的用户角色,相较于授权用户,目标用户指的是控制场景中属于所述授权用户控制权限内的被控制用户。一个目标用户可以同时在多个终端上登陆并使用紧急任务服务客户端,此时一个目标用户对应客户端账号对应多个终端设备。多个用户也可以同时登陆并使用同一个终端设备。本发明中的目的终端指的是目标用户登陆并使用的一个或者多个终端。具体的,授权用户可以是具有针对目的终端所在通信群组的媒体传输策略的配置权限的用户,也可以是具备针对所有通信成员的媒体传输策略的配置权限的用户,这里不作具体限定。具体的,所述方法包括:
步骤S201,授权终端向紧急任务服务服务器发送第一媒体传输策略处理请求消息,所述第一媒体传输策略处理请求消息包括携带目标用户标识。
在图2a和图2b所示的实施例中,第一媒体传输策略处理请求消息为第一媒体传输策略配置请求消息,第一媒体传输策略配置请求消息用于指示紧急任务服务服务器向目标用 户标识对应的目的终端发送媒体传输策略配置请求消息。第一媒体传输策略配置请求消息中还包括媒体传输策略信息,媒体传输策略信息用于使目的终端确定需要处理的至少一个媒体传输策略,具体可以包括媒体传输策略本身,即需要处理的媒体传输策略的全部信息或部分信息,也可以包括媒体传输策略的标识,在图2a和图2b所示的实施例中,媒体传输策略信息具体包括需要处理的媒体传输策略本身。
具体来说,媒体传输策略是指授权终端为目的终端配置的在特定情况下的一种媒体数据处理的方法的内容。最简单的媒体传输策略可以包括媒体传输操作和媒体传输操作对应的触发条件,即指示目的终端在检测到满足媒体传输策略的操作触发条件时,执行媒体传输策略的媒体传输操作。其中,媒体传输操作对应的触发条件可以包括特定的时间区间、计时时长、特定的事件等,媒体传输操作可以包括捕捉视频并上传至服务器、捕捉视频并发送至特定终端等,这里均不作具体限定。
进一步的,媒体传输策略还可以包括媒体传输目标信息、传输策略有效时间、媒体传输策略状态和媒体传输编码等信息中的至少一个。其中,媒体传输目标信息指的是执行媒体传输策略的媒体传输操作的接收用户或接收群组所对应的接收终端或接收服务器,媒体传输目标信息可以是用户标识,群组标识或者是IP地址例如Group A的群组标识就可以是一个媒体传输目标信息,表示目的终端的媒体传输操作的接收用户是Group A的所有群组成员;传输策略有效时间指的是该媒体传输策略有效可用的时间周期,例如20170201-20170606可以为一个传输策略有效时间,表示该传输策略在2017年2月1日——2017年6月6日内有效;媒体传输策略状态指的是该媒体传输策略是否处于激活状态,也即是否已经被使用;媒体传输编码指的是用于传输的媒体资源所需使用的传输编码,例如H.264、MPG等。
需要说明的是,第一媒体传输策略配置请求消息中可以携带至少一个目标用户标识,也可以携带至少一个媒体传输策略信息,其中目标用户标识与媒体传输策略信息存在对应关系,也就是说一个目标用户标识可以对应一个或多个媒体传输策略信息,而一个媒体传输策略信息也可以对应一个或多个目标用户标识。对于具体实现映射关系的实现方法,本发明不做限定。
具体实施中,紧急任务服务服务器接收到第一媒体传输策略配置请求消息时,可以先对发送该消息的授权终端的用户进行授权检查,即检查该用户是否具有针对目标用户标识对应的目的终端的媒体传输策略的配置权限。如果具有针对目的终端的媒体传输策略的配置权限,则进一步执行步骤S203,否则丢弃收到的第一媒体传输策略配置请求消息,进一步还可以向发送该消息的授权终端返回响应消息,指示紧急任务服务服务器已处理该第一媒体传输策略配置请求消息。如果是授权检查失败,则在响应消息中指示授权检查失败,拒绝该请求。
在一种可选的实施场景中,步骤S201之后,还可以执行步骤S202:
步骤S202,紧急任务服务服务器判断媒体传输策略是否有效,若有效,则执行步骤S203;若无效,则紧急任务服务服务器拒绝对第一媒体传输策略配置请求消息进行处理。
在这种场景中,各个目标用户标识对应的目的终端会先向紧急任务服务服务器上报自己的设备能力、媒体能力以及媒体传输设置策略等信息,因此紧急任务服务服务器可以检 查第一媒体传输策略处理请求消息中各个目的终端对应的媒体传输策略信息中所指示的媒体传输策略是否与各目的终端上报的信息相符合,如果相符合,那么说明媒体传输策略有效,进而可以执行步骤S203;若不相符合,则说明媒体传输策略无效,则紧急任务服务服务器可以拒绝对第一媒体传输策略配置请求消息进行处理,或者将其中无效的媒体传输策略去除。
例如,第一媒体传输策略配置请求消息中A终端对应的媒体传输策略为11点20分时捕捉视频并上传服务器,但是紧急任务服务服务器预先接收到的A终端的信息中指示A终端没有摄像能力,那么说明第一媒体传输策略配置请求消息中A终端对应的媒体传输策略无效,则拒绝对第一媒体传输策略配置请求消息进行处理。
步骤S203,紧急任务服务服务器根据第一媒体传输策略处理请求消息,向目标用户标识对应的目的终端发送媒体传输策略处理请求消息,所述媒体传输策略处理请求消息为媒体传输策略配置请求消息。
在图2a和图2b所示的实施例中,媒体传输策略处理请求消息为媒体传输策略配置请求消息。具体来说,紧急任务服务服务器根据步骤S201中第一媒体传输策略配置请求消息中携带的至少一个媒体传输策略信息,生成相应的媒体传输策略配置请求消息,并根据至少一个媒体传输策略信息分别对应的目标用户标识,向目标用户标识对应的目的终端发送相应的媒体传输策略信息生成的媒体传输策略配置请求消息,这里针对该目的终端的媒体传输策略配置请求消息中携带的媒体传输策略信息中的媒体传输策略可以称为目标媒体传输策略。
例如,第一媒体传输策略配置请求消息中携带了三个目标用户标识,分别为A、B和C,其中A对应媒体传输策略信息1和媒体传输策略信息2,B和C对应媒体传输策略信息3,紧急任务服务服务器就可以向A对应的目的终端发送媒体传输策略信息1和媒体传输策略信息2生成的媒体传输策略配置请求消息,向B和C对应的目的终端发送媒体传输策略信息3生成的媒体传输策略配置请求消息。
进一步的,紧急任务服务服务器还可以保存媒体传输策略配置请求消息中的各个目标用户标识分别对应的目标媒体传输策略信息中的媒体传输策略,可以用于跟踪对目标用户的媒体传输策略的跟踪和查询。
步骤S204,目的终端根据媒体传输策略配置请求消息将媒体传输策略处理方式确定为配置媒体传输策略。
目的终端接收到媒体传输策略配置请求消息后,可以先确定媒体传输策略配置请求消息中携带的媒体传输策略信息中的目标媒体传输策略的媒体传输策略处理方式。其中,媒体传输策略处理方式是指如何处理特定的媒体传输策略,具体可以包括配置、更新、激活、删除等处理方式。
在一种可能的实施场景中,目的终端可以根据媒体传输策略配置请求消息的消息名称,确定针对目标媒体传输策略的媒体传输策略处理方式为配置媒体传输策略;在另一种可能的实施场景中,媒体传输策略配置请求消息中可以携带媒体传输策略处理方式的指示信息,目的终端可以根据该媒体传输策略处理方式的指示信息,确定针对目标媒体传输策略的媒体传输策略处理方式为配置媒体传输策略。
在图2a所示的实施场景中,配置媒体传输策略的处理方式可以仅是指目的终端将接收到的目标媒体传输策略进行保存,等待接收到媒体传输策略激活请求或者其他激活指示时,再进一步启动使用该目标媒体传输策略。即步骤S204之后,目的终端执行步骤S2061。
步骤S2061,目的终端保存目标媒体传输策略。
在图2b所示的实施场景中,配置媒体传输策略的处理方式可以不仅是指目的终端将接收到的目标媒体传输策略进行保存,还包括对目标媒体传输策略同时进行激活,也就是说,目的终端在接收到媒体传输策略配置请求消息后,就保存其中的目标媒体传输策略并直接启动对目标媒体传输策略的使用。即步骤S204之后,目的终端执行步骤S2062和S2063。
步骤S2062,目的终端保存并激活目标媒体传输策略。
步骤S2063,当满足目标媒体传输策略的操作触发条件时,目的终端执行目标媒体传输策略的媒体传输操作。
目标媒体传输策略中包括媒体传输操作对应的操作触发条件以及媒体传输操作,目的终端在检测到满足目标媒体传输策略的操作触发条件时,就可以执行目标媒体传输策略的媒体传输操作。例如,目标媒体传输策略中的媒体传输操作为:上传目的终端的摄像头正在采集的视频画面至紧急任务服务服务器,媒体传输操作对应的操作触发条件为:检测到正在采集的视频画面中出现特定车牌号。那么当目的终端检测到正在采集的视频画面中出现特定车牌号时,就可以上传目的终端的摄像头正在采集的视频画面至紧急任务服务服务器。
进一步的,媒体传输策略还可以包括媒体传输目标信息、传输策略有效时间、媒体传输策略状态和媒体传输编码等信息中的至少一个。其中,媒体传输目标信息指的是执行目标媒体传输策略的媒体传输操作的接收用户或接收群组所对应的接收终端或接收服务器,媒体传输目标信息可以是用户标识,群组标识或者是IP地址。例如上例中的紧急任务服务服务器,传输策略有效时间指的是目标媒体传输策略有效可用的时间周期,在存在传输策略有效时间时,目的终端在执行步骤S2063之前,可以先检查目标媒体传输策略是否处于有效可用的时间周期,如果已经过期无效,则不执行步骤S2063。媒体传输策略状态指的是该媒体传输策略是否处于激活状态,也即是否已经被使用。媒体传输编码指的是用于传输的媒体资源所需使用的传输编码,例如,将视频画面采用H.264的格式进行编码后上传紧急任务服务服务器。
进一步的,在图2b所示的实施场景中,若紧急任务服务服务器发送的媒体传输策略配置请求消息的媒体传输策略信息中包括多个目标媒体传输策略,则步骤S2062之前还包括步骤S205,具体为:
步骤S205,目的终端检测多个目标媒体传输策略之间是否冲突,若不冲突,则执行步骤S2062。
在媒体传输策略信息中包括多个目标媒体传输策略的实施场景中,如果直接保存并激活多个目标媒体传输策略,可能存在各目标媒体传输策略之间的执行冲突。举例来说,设分别有两个目标媒体传输策略a和b,a策略是在11点~12点这个时间段内使用摄像头采集特定位置A的画面,并将该画面发送给指定终端;而b策略是在11点15分这个时刻 使用摄像头采集特定位置B的画面,并将该画面上传给紧急任务服务服务器。可以理解的,在11点15分这一时刻,目的终端都需要使用摄像头采集画面,但是采集的位置却并不相同,因此目标媒体传输策略a和b就产生了冲突。如果a策略不变,b策略变为在12点15分这个时刻使用摄像头采集特定位置B的画面,并将该画面上传给紧急任务服务服务器,那么目标媒体传输策略a和b就不冲突。
目的终端在接收到多个目标媒体传输策略后,可以分析其内容后确定多个目标媒体传输策略之间是否存在冲突,如果不冲突,那么可以执行步骤S2062,即开始使用这多个目标媒体传输策略。如果多个目标媒体传输策略之间存在冲突,那么目的终端也可以有多种处理方法,例如,目的终端可以直接拒绝对多个目标媒体传输策略进行配置,返回冲突响应给紧急任务服务服务器;目的终端也可以根据一定的算法获取多个目标媒体传输策略中不存在冲突的至少一个目标媒体传输策略执行步骤S2062;目的终端还可以随机的确定多个目标媒体传输策略中的一个目标媒体传输策略执行步骤S2062。这里不作具体限定。
进一步的,步骤S2061或步骤S2062之后,还可以执行步骤S207:
步骤S207,目的终端向授权终端发送请求响应消息,所述请求响应消息用于指示目标媒体传输策略的处理结果。
目的终端向授权终端发送请求响应消息,用于向授权终端说明目标媒体传输策略的处理结果。例如保存成功、保存失败、保存并激活成功等等。
在图2a和2b所示的实施例中,紧急任务服务服务器根据授权终端发送的第一媒体传输策略处理请求消息向目的终端发送媒体传输策略配置请求消息,所述媒体传输策略配置请求消息包括媒体传输策略信息,所述媒体传输策略信息用于确定需要处理的媒体传输策略,所述媒体传输策略包括媒体传输操作和媒体传输操作对应的触发条件,目的终端根据所述媒体传输策略配置请求消息确定媒体传输策略处理方式为配置媒体传输策略,然后保存所述目标媒体传输策略或保存并激活所述目标媒体传输策略,完成对目的终端的媒体传输策略的配置过程,从而当满足所述目标媒体传输策略的操作触发条件时,目的终端可以执行所述目标媒体传输策略的媒体传输操作,实现更为灵活地媒体传输控制。
请参阅图3a和图3b,图3a和图3b是本申请实施例提供的两种媒体传输策略的更新方法的流程示意图。该实施例中所涉及的方法可以基于图2a和图2b所示的实施例的情况下进一步实施,也可以独立实施。本申请实施例中涉及的授权终端指的是授权用户对应的紧急任务服务客户端所运行的终端,授权用户指的是具有针对目标用户标识对应的目的终端的媒体传输策略的更新权限的用户;所述目的终端同样也是目标用户对应的紧急任务服务客户端所运行的终端,目标用户即使用所述目的终端进行媒体传输业务的用户角色,相较于授权用户,目标用户指的是控制场景中属于所述授权用户控制权限内的被控制用户。一个目标用户可以同时在多个终端上登陆并使用紧急任务服务客户端,此时一个目标用户对应客户端账号对应多个终端设备。多个用户也可以同时登陆并使用同一个终端设备。本发明中的目的终端指的是目标用户登陆并使用的一个或者多个终端。具体的,授权用户可以是具有针对目的终端所在通信群组的媒体传输策略的更新权限的用户,也可以是具备针对所有通信成员的媒体传输策略的更新权限的用户,这里不作具体限定。具体的,所述方 法包括:
步骤S301,授权终端向紧急任务服务服务器发送第一媒体传输策略处理请求消息,所述第一媒体传输策略处理请求消息包括携带目标用户标识。
在图3a和图3b所示的实施例中,第一媒体传输策略处理请求消息为第一媒体传输策略更新请求消息,第一媒体传输策略更新请求消息用于指示紧急任务服务服务器向目标用户标识对应的目的终端发送媒体传输策略更新请求消息。第一媒体传输策略更新请求消息中还包括媒体传输策略信息,媒体传输策略信息用于使目的终端确定需要处理的至少一个媒体传输策略,在图3a和图3b所示的实施例中,媒体传输策略信息中可以具体包括第一媒体传输策略标识以及传输策略更新信息,其中,第一媒体传输策略标识是指待更新的媒体传输策略的标识,也就是旧的媒体传输策略的标识;传输策略更新信息可以是用于更新的媒体传输策略或者是用于更新的媒体传输策略的部分参数。
需要说明的是,第一媒体传输策略更新请求消息中可以携带至少一个目标用户标识,也可以携带至少一个媒体传输策略信息,其中目标用户标识与媒体传输策略信息存在对应关系,也就是说一个目标用户标识可以对应一个或多个媒体传输策略信息,而一个媒体传输策略信息也可以对应一个或多个目标用户标识。
具体实施中,紧急任务服务服务器接收到第一媒体传输策略更新请求消息时,可以先对发送该消息的授权终端的用户进行授权检查,即检查该用户是否具有针对目标用户标识对应的目的终端的媒体传输策略的更新权限。如果具有针对目的终端的媒体传输策略的更新权限,则进一步执行步骤S303,否则丢弃收到的第一媒体传输策略更新请求消息,进一步还可以向发送该消息的授权终端返回响应消息,指示紧急任务服务服务器已处理该第一媒体传输策略更新请求消息。如果是授权检查失败,则在响应消息中指示授权检查失败,拒绝该请求。
在一种可选的实施场景中,步骤S301之后,还可以执行步骤S302:
步骤S302,紧急任务服务服务器判断媒体传输策略是否有效,若有效,则执行步骤S303;若无效,则紧急任务服务服务器拒绝对第一媒体传输策略更新请求消息进行处理。
在图3a和图3b所示的实施场景中,判断媒体传输策略是否有效包括两种情况。在第一种可能的情况下,各个目标用户标识对应的目的终端会先向紧急任务服务服务器上报自己的设备能力、媒体能力以及媒体传输设置策略等信息,因此紧急任务服务服务器可以检查第一媒体传输策略更新请求消息中各个目的终端对应的媒体传输策略信息的媒体策略更新信息中的媒体传输策略或者媒体传输策略的部分参数是否与各目的终端上报的信息相符合,如果相符合,那么说明媒体传输策略有效,进而可以执行步骤S303;若不相符合,则说明媒体传输策略无效,则紧急任务服务服务器可以拒绝对第一媒体传输策略更新请求消息进行处理,或者将其中无效的媒体传输策略去除。在第二种可能的情况下,紧急任务服务服务器已经预先保存了目的终端对应的媒体传输策略标识,紧急任务服务服务器可以判断目的终端对应的媒体传输策略标识中是否存在第一媒体传输策略标识,如果存在,则说明媒体传输策略有效,可以执行步骤S303;若不存在,则说明媒体传输策略无效,则紧急任务服务服务器可以拒绝对第一媒体传输策略配置请求消息进行处理,或者将其中无效的媒体传输策略去除。
步骤S303,紧急任务服务服务器根据第一媒体传输策略处理请求消息,向目标用户标识对应的目的终端发送媒体传输策略处理请求消息,所述媒体传输策略处理请求消息为媒体传输策略更新请求消息。
在图3a和图3b所示的实施例中,媒体传输策略处理请求消息为媒体传输策略更新请求消息。具体来说,紧急任务服务服务器根据步骤S301中第一媒体传输策略更新请求消息中携带的至少一个媒体传输策略信息,生成相应的媒体传输策略更新请求消息,并根据至少一个媒体传输策略信息分别对应的目标用户标识,向目标用户标识对应的目的终端发送相应的媒体传输策略信息生成的媒体传输策略更新请求消息。
进一步的,紧急任务服务服务器还可以根据针对各目的终端的媒体传输策略更新请求消息,分别更新预先保存的各目的终端对应的媒体传输策略,可以用于跟踪对目标用户的媒体传输策略的跟踪和查询。
步骤S304,目的终端根据媒体传输策略更新请求消息将媒体传输策略处理方式确定为更新媒体传输策略。
目的终端接收到媒体传输策略更新请求消息后,可以先确定媒体传输策略更新请求消息中携带的媒体传输策略信息中第一媒体传输策略标识对应的目标媒体传输策略的媒体传输策略处理方式。
在一种可能的实施场景中,目的终端可以根据媒体传输策略更新请求消息的消息名称,确定针对目标媒体传输策略的媒体传输策略处理方式为更新媒体传输策略;在另一种可能的实施场景中,媒体传输策略更新请求消息中可以携带媒体传输策略处理方式的指示信息,目的终端可以根据该媒体传输策略处理方式的指示信息,确定针对目标媒体传输策略的媒体传输策略处理方式为更新媒体传输策略。
在图3a所示的实施场景中,更新媒体传输策略的处理方式可以仅是指目的终端将接收到的媒体传输策略信息后对第一媒体传输策略标识对应的目标媒体传输策略进行更新,可以认为紧急任务服务服务器或目的终端已经确定目标媒体传输策略不处于激活状态。则步骤S304后执行步骤S3061。
步骤S3061,目的终端使用传输策略更新信息更新第一媒体传输策略标识对应的目标媒体传输策略。
在一种可能的实施场景中,传输策略更新信息可以是一个完整的媒体传输策略,主要针对的是第一媒体传输策略标识对应的目标媒体传输策略中的全部信息或者大部分信息都需要被更新的场景,那么目的终端可以直接使用传输策略更新信息替换第一媒体传输策略标识对应的目标媒体传输策略即可。例如,第一媒体传输策略标识对应的目标媒体传输策略为A,传输策略更新信息为一个媒体传输策略B,将B替换A,则更新后的目标媒体传输策略即为B。
在另一种可能的实施场景中,传输策略更新信息可以是一个媒体传输策略中的个别参数,主要针对的是第一媒体传输策略标识对应的目标媒体传输策略中的少部分信息需要被更新的场景,那么目的终端可以使用传输策略更新信息替换第一媒体传输策略标识对应的目标媒体传输策略中相应的参数。例如,第一媒体传输策略标识对应的目标媒体传输策略为A,其中A包括操作触发条件:每天早上10~11点、媒体传输操作:捕捉视频上传服 务器、传输策略有效时间:1月1日0点—1月4日0点,媒体传输编码:MPG,而传输策略更新信息为操作触发条件:每天早上10~12点,那么目的终端可以将传输策略更新信息指示的操作触发条件替换目标媒体传输策略A的操作触发条件,从而得到更新后的目标媒体传输策略。
在图3b所示的实施场景中,更新媒体传输策略的处理方式需要先对目标媒体传输策略的激活状态进行确定,再确定是否更新,可以认为紧急任务服务服务器或目的终端在此之前还没有确定目标媒体传输策略的状态。则步骤S304后执行步骤S305。
步骤S305,目的终端判断目标媒体传输策略是否处于激活状态,若不处于激活状态,则执行步骤S3061;若处于激活状态,则步骤S3062和S3063。
媒体传输策略状态包括激活状态和未激活状态两种,激活状态是指目的终端已经开始使用目标媒体传输策略,而未激活状态则相反。目的终端通过检查媒体传输策略状态可以确定目标媒体传输策略是否处于激活状态,若不处于激活状态,则说明目标媒体传输策略不是正在使用的,则执行步骤S3061进行更新即可;若处于激活状态,则说明目标媒体传输策略当前正在被目的终端使用,那么就不能够直接更新,需要执行步骤S3062和S3063的方法。
步骤S3062,目的终端去激活目标媒体传输策略,使用传输策略更新信息更新目标媒体传输策略并激活更新后的所述目标媒体传输策略。
目的终端需要先对目标媒体传输策略去激活,即停止使用目标媒体传输策略,然后使用传输策略更新信息更新目标媒体传输策略,具体的更新方法与步骤S3061的描述一致。在更新完成后,激活更新后的目标媒体传输策略。
步骤S3063,当满足目标媒体传输策略的操作触发条件时,目的终端执行目标媒体传输策略的媒体传输操作。
可选的,在图3b所示的实施场景中,目的终端中可能存在有多个处于激活状态的媒体传输策略,在更新目标媒体传输策略之前并不存在冲突,但是更新之后有可能会出现冲突,则步骤S3062之前,目的终端可以先检测更新后的目标媒体传输策略与目的终端中处于激活状态的媒体传输策略之间是否冲突,若不冲突,则执行步骤S3062。
具体来说,如果更新完目标媒体传输策略后就激活目标媒体传输策略,可能存在目标媒体传输策略与目的终端中处于激活状态的媒体传输策略之间的执行冲突。则目的终端在更新完目标媒体传输策略后,可以分析其内容后检测目标媒体传输策略与目的终端中处于激活状态的媒体传输策略之间是否存在冲突,如果不冲突,那么可以执行步骤S3062,即开始使用目标媒体传输策略。如果存在冲突,那么目的终端也可以有多种处理方法,例如,目的终端可以直接拒绝对目标媒体传输策略进行更新,返回冲突响应给紧急任务服务服务器,这里不作具体限定。
进一步的,步骤S3061或步骤S3062之后,还可以执行步骤S307:
步骤S307,目的终端向授权终端发送请求响应消息,所述请求响应消息用于指示目标媒体传输策略的处理结果。
目的终端向授权终端发送请求响应消息,用于向授权终端说明目标媒体传输策略的处理结果。例如更新成功、更新失败等等。
在图3a和3b所示的实施例中,紧急任务服务服务器根据授权终端发送的第一媒体传输策略处理请求消息向目的终端发送媒体传输策略更新请求消息,所述媒体传输策略更新请求消息包括媒体传输策略信息,媒体传输策略信息中可以具体包括第一媒体传输策略标识以及传输策略更新信息,所述媒体传输策略包括媒体传输操作和媒体传输操作对应的触发条件,目的终端根据所述媒体传输策略更新请求消息确定媒体传输策略处理方式为更新媒体传输策略,然后使用传输策略更新信息更新第一媒体传输策略标识对应的目标媒体传输策略,完成对目的终端的媒体传输策略的更新过程,从而当满足所述目标媒体传输策略的操作触发条件时,目的终端可以执行所述目标媒体传输策略的媒体传输操作,实现更为灵活地媒体传输控制。
请参阅图4,图4是本申请实施例提供的一种媒体传输策略的激活方法的流程示意图。该实施例中所涉及的方法可以基于图2a—图3b所示的实施例的情况下进一步实施,也可以独立实施。本申请实施例中涉及的授权终端指的是授权用户对应的紧急任务服务客户端所运行的终端,授权用户指的是具有针对目标用户标识对应的目的终端的媒体传输策略的激活权限的用户;所述目的终端同样也是目标用户对应的紧急任务服务客户端所运行的终端,目标用户即使用所述目的终端进行媒体传输业务的用户角色,相较于授权用户,目标用户指的是控制场景中属于所述授权用户控制权限内的被控制用户。一个目标用户可以同时在多个终端上登陆并使用紧急任务服务客户端,此时一个目标用户对应客户端账号对应多个终端设备。多个用户也可以同时登陆并使用同一个终端设备。本发明中的目的终端指的是目标用户登陆并使用的一个或者多个终端。具体的,授权用户可以是具有针对目的终端所在通信群组的媒体传输策略的激活权限的用户,也可以是具备针对所有通信成员的媒体传输策略的激活权限的用户,这里不作具体限定。具体的,所述方法包括:
步骤S401,授权终端向紧急任务服务服务器发送第一媒体传输策略处理请求消息,所述第一媒体传输策略处理请求消息包括携带目标用户标识。
在图4所示的实施例中,第一媒体传输策略处理请求消息为第一媒体传输策略激活请求消息,第一媒体传输策略激活请求消息用于指示紧急任务服务服务器向目标用户标识对应的目的终端发送媒体传输策略激活请求消息。第一媒体传输策略激活请求消息中还包括媒体传输策略信息,媒体传输策略信息用于使目的终端确定需要处理的至少一个媒体传输策略,在图4所示的实施例中,媒体传输策略信息中可以具体包括第二媒体传输策略标识,其中,第二媒体传输策略标识是指待激活的媒体传输策略的标识,也就是原本不处于激活状态而需要被激活的媒体传输策略的标识。需要说明的是,这里的第二媒体传输策略标识可以是一个或多个。
需要说明的是,第一媒体传输策略激活请求消息中可以携带至少一个目标用户标识,也可以携带至少一个媒体传输策略信息,其中目标用户标识与媒体传输策略信息存在对应关系,也就是说一个目标用户标识可以对应一个或多个媒体传输策略信息,而一个媒体传输策略信息也可以对应一个或多个目标用户标识。
具体实施中,紧急任务服务服务器接收到第一媒体传输策略激活请求消息时,可以先对发送该消息的授权终端的用户进行授权检查,即检查该用户是否具有针对目标用户标识 对应的目的终端的媒体传输策略的激活权限。如果具有针对目的终端的媒体传输策略的激活权限,则进一步执行步骤S403,否则丢弃收到的第一媒体传输策略激活请求消息,进一步还可以向发送该消息的授权终端返回响应消息,指示紧急任务服务服务器已处理该第一媒体传输策略激活请求消息。如果是授权检查失败,则在响应消息中指示授权检查失败,拒绝该请求。
在一种可选的实施场景中,步骤S401之后,还可以执行步骤S402:
步骤S402,紧急任务服务服务器判断媒体传输策略是否有效,若有效,则执行步骤S403;若无效,则紧急任务服务服务器拒绝对第一媒体传输策略激活请求消息进行处理。
在图4所示的实施场景中,紧急任务服务服务器已经预先保存了目的终端对应的媒体传输策略标识,紧急任务服务服务器可以判断目的终端对应的媒体传输策略标识中是否存在第二媒体传输策略标识,如果存在,则说明媒体传输策略有效,可以执行步骤S403;若不存在,则说明媒体传输策略无效,则紧急任务服务服务器可以拒绝对第一媒体传输策略激活请求消息进行处理,或者将其中无效的媒体传输策略去除。
步骤S403,紧急任务服务服务器根据第一媒体传输策略处理请求消息,向目标用户标识对应的目的终端发送媒体传输策略处理请求消息,所述媒体传输策略处理请求消息为媒体传输策略激活请求消息。
在图4所示的实施例中,媒体传输策略处理请求消息为媒体传输策略激活请求消息。具体来说,紧急任务服务服务器根据步骤S401中第一媒体传输策略激活请求消息中携带的至少一个媒体传输策略信息,生成相应的媒体传输策略激活请求消息,并根据至少一个媒体传输策略信息分别对应的目标用户标识,向目标用户标识对应的目的终端发送相应的媒体传输策略信息生成的媒体传输策略激活请求消息。
步骤S404,目的终端根据媒体传输策略激活请求消息将媒体传输策略处理方式确定为激活媒体传输策略。
目的终端接收到媒体传输策略激活请求消息后,可以先确定媒体传输策略激活请求消息中携带的媒体传输策略信息中第二媒体传输策略标识对应的目标媒体传输策略的媒体传输策略处理方式。
在一种可能的实施场景中,目的终端可以根据媒体传输策略激活请求消息的消息名称,确定针对目标媒体传输策略的媒体传输策略处理方式为激活媒体传输策略;在另一种可能的实施场景中,媒体传输策略激活请求消息中可以携带媒体传输策略处理方式的指示信息,目的终端可以根据该媒体传输策略处理方式的指示信息,确定针对目标媒体传输策略的媒体传输策略处理方式为激活媒体传输策略。
步骤S405,目的终端激活第二媒体传输策略标识对应的目标媒体传输策略。
具体来说,目的终端可以根据第二媒体传输策略标识确定对应的目标媒体传输策略,这里的目标媒体传输策略可以是目的终端被预先配置后保存的。激活目标媒体传输策略即指开始使用目标媒体传输策略,这里的开始使用并不是指直接执行目标媒体传输策略中的媒体传输操作,而是开始检测目标媒体传输策略的操作触发条件是否达到,例如目标媒体传输策略的操作触发条件是计时120秒,那么激活目标媒体传输策略就意味着启动计时器开始计时。
可选的,执行步骤S405之前,目的终端可以先检测目标媒体传输策略之间或目标媒体传输策略与目的终端中处于激活状态的媒体传输策略之间是否冲突,若不冲突,则执行步骤S405。具体来说,一方面,如果目标媒体传输策略存在多个,那么多个目标媒体传输策略之间可能存在冲突;另一方面,可能存在目标媒体传输策略与目的终端中处于激活状态的媒体传输策略之间的执行冲突。则目的终端激活目标媒体传输策略前,可以分析其内容后确定多个目标媒体传输策略之间或者目标媒体传输策略与目的终端中处于激活状态的媒体传输策略之间是否存在冲突,如果不冲突,那么可以执行步骤S405,即开始使用目标媒体传输策略。如果存在冲突,那么目的终端也可以有多种处理方法,例如,目的终端可以直接拒绝对目标媒体传输策略进行激活,返回冲突响应给紧急任务服务服务器,这里不作具体限定。
步骤S406,当满足所述目标媒体传输策略的操作触发条件时,目的终端执行所述目标媒体传输策略的媒体传输操作。
进一步,步骤S406之后还可以执行步骤S407:
步骤S407,目的终端向授权终端发送请求响应消息,所述请求响应消息用于指示目标媒体传输策略的处理结果。
目的终端向授权终端发送请求响应消息,用于向授权终端说明目标媒体传输策略的处理结果。例如激活成功、激活失败等等。
在图4所示的实施例中,紧急任务服务服务器根据授权终端发送的第一媒体传输策略处理请求消息向目的终端发送媒体传输策略激活请求消息,所述媒体传输策略激活请求消息包括媒体传输策略信息,媒体传输策略信息中可以具体包括第二媒体传输策略标识,所述媒体传输策略包括媒体传输操作和媒体传输操作对应的触发条件,目的终端根据所述媒体传输策略激活请求消息确定媒体传输策略处理方式为激活媒体传输策略,然后激活第二媒体传输策略标识对应的目标媒体传输策略,完成对目的终端的媒体传输策略的激活过程,从而当满足所述目标媒体传输策略的操作触发条件时,目的终端可以执行所述目标媒体传输策略的媒体传输操作,实现更为灵活地媒体传输控制。
请参阅图5,图5是本申请实施例提供的一种媒体传输策略的去激活方法的流程示意图。该实施例中所涉及的方法可以基于图2a—图4所示的实施例的情况下进一步实施,也可以独立实施。本申请实施例中涉及的授权终端指的是授权用户对应的紧急任务服务客户端所运行的终端,授权用户指的是具有针对目标用户标识对应的目的终端的媒体传输策略的去激活权限的用户;所述目的终端同样也是目标用户对应的紧急任务服务客户端所运行的终端,目标用户即使用所述目的终端进行媒体传输业务的用户角色,相较于授权用户,目标用户指的是控制场景中属于所述授权用户控制权限内的被控制用户。一个目标用户可以同时在多个终端上登陆并使用紧急任务服务客户端,此时一个目标用户对应客户端账号对应多个终端设备。多个用户也可以同时登陆并使用同一个终端设备。本发明中的目的终端指的是目标用户登陆并使用的一个或者多个终端。具体的,授权用户可以是具有针对目的终端所在通信群组的媒体传输策略的去激活权限的用户,也可以是具备针对所有通信成员的媒体传输策略的去激活权限的用户,这里不作具体限定。具体的,所述方法包括:
步骤S501,授权终端向紧急任务服务服务器发送第一媒体传输策略处理请求消息,所述第一媒体传输策略处理请求消息包括携带目标用户标识。
在图5所示的实施例中,第一媒体传输策略处理请求消息为第一媒体传输策略去激活请求消息,第一媒体传输策略去激活请求消息用于指示紧急任务服务服务器向目标用户标识对应的目的终端发送媒体传输策略去激活请求消息。第一媒体传输策略去激活请求消息中还包括媒体传输策略信息,媒体传输策略信息用于使目的终端确定需要处理的至少一个媒体传输策略,在图5所示的实施例中,媒体传输策略信息中可以具体包括第三媒体传输策略标识,其中,第三媒体传输策略标识是指待去激活的媒体传输策略的标识,也就是原本处于激活状态而需要被去激活的媒体传输策略的标识。
需要说明的是,第一媒体传输策略去激活请求消息中可以携带至少一个目标用户标识,也可以携带至少一个媒体传输策略信息,其中目标用户标识与媒体传输策略信息存在对应关系,也就是说一个目标用户标识可以对应一个或多个媒体传输策略信息,而一个媒体传输策略信息也可以对应一个或多个目标用户标识。
具体实施中,紧急任务服务服务器接收到第一媒体传输策略去激活请求消息时,可以先对发送该消息的授权终端的用户进行授权检查,即检查该用户是否具有针对目标用户标识对应的目的终端的媒体传输策略的去激活权限。如果具有针对目的终端的媒体传输策略的去激活权限,则进一步执行步骤S503,否则丢弃收到的第一媒体传输策略去激活请求消息,进一步还可以向发送该消息的授权终端返回响应消息,指示紧急任务服务服务器已处理该第一媒体传输策略去激活请求消息。如果是授权检查失败,则在响应消息中指示授权检查失败,拒绝该请求。
在一种可选的实施场景中,步骤S501之后,还可以执行步骤S502:
步骤S502,紧急任务服务服务器判断媒体传输策略是否有效,若有效,则执行步骤S503;若无效,则紧急任务服务服务器拒绝对第一媒体传输策略去激活请求消息进行处理。
在图5所示的实施场景中,紧急任务服务服务器已经预先保存了目的终端对应的媒体传输策略标识,紧急任务服务服务器可以判断目的终端对应的媒体传输策略标识中是否存在第三媒体传输策略标识,如果存在,则说明媒体传输策略有效,可以执行步骤S503;若不存在,则说明媒体传输策略无效,则紧急任务服务服务器可以拒绝对第一媒体传输策略去激活请求消息进行处理,或者将其中无效的媒体传输策略去除。
步骤S503,紧急任务服务服务器根据第一媒体传输策略处理请求消息,向目标用户标识对应的目的终端发送媒体传输策略处理请求消息,所述媒体传输策略处理请求消息为媒体传输策略去激活请求消息。
在图5所示的实施例中,媒体传输策略处理请求消息为媒体传输策略去激活请求消息。具体来说,紧急任务服务服务器根据步骤S501中第一媒体传输策略激活请求消息中携带的至少一个媒体传输策略信息,生成相应的媒体传输策略激活请求消息,并根据至少一个媒体传输策略信息分别对应的目标用户标识,向目标用户标识对应的目的终端发送相应的媒体传输策略信息生成的媒体传输策略去激活请求消息。
步骤S504,目的终端根据媒体传输策略去激活请求消息将媒体传输策略处理方式确 定为去激活媒体传输策略。
目的终端接收到媒体传输策略去激活请求消息后,可以先确定媒体传输策略去激活请求消息中携带的媒体传输策略信息中第三媒体传输策略标识对应的目标媒体传输策略的媒体传输策略处理方式。
在一种可能的实施场景中,目的终端可以根据媒体传输策略去激活请求消息的消息名称,确定针对目标媒体传输策略的媒体传输策略处理方式为去激活媒体传输策略;在另一种可能的实施场景中,媒体传输策略去激活请求消息中可以携带媒体传输策略处理方式的指示信息,目的终端可以根据该媒体传输策略处理方式的指示信息,确定针对目标媒体传输策略的媒体传输策略处理方式为去激活媒体传输策略。
步骤S505,目的终端去激活第三媒体传输策略标识对应的目标媒体传输策略。
具体来说,目的终端可以根据第三媒体传输策略标识确定对应的目标媒体传输策略,这里的目标媒体传输策略可以是预先被激活的。去激活目标媒体传输策略即指停止使用目标媒体传输策略。
步骤S506,目的终端向授权终端发送请求响应消息,所述请求响应消息用于指示目标媒体传输策略的处理结果。
目的终端向授权终端发送请求响应消息,用于向授权终端说明目标媒体传输策略的处理结果。例如去激活成功、去激活失败等等。
在图5所示的实施例中,紧急任务服务服务器根据授权终端发送的第一媒体传输策略处理请求消息向目的终端发送媒体传输策略去激活请求消息,所述媒体传输策略去激活请求消息包括媒体传输策略信息,媒体传输策略信息中可以具体包括第三媒体传输策略标识,目的终端根据所述媒体传输策略去激活请求消息确定媒体传输策略处理方式为去激活媒体传输策略,然后去激活第三媒体传输策略标识对应的目标媒体传输策略,完成对目的终端的媒体传输策略的去激活过程,从而实现更为灵活地媒体传输控制。
请参阅图6,图6是本申请实施例提供的一种媒体传输策略的删除方法的流程示意图。该实施例中所涉及的方法可以基于图2a—图5所示的实施例的情况下进一步实施,也可以独立实施。本申请实施例中涉及的授权终端指的是授权用户对应的紧急任务服务客户端所运行的终端,授权用户指的是具有针对目标用户标识对应的目的终端的媒体传输策略的删除权限的用户;所述目的终端同样也是目标用户对应的紧急任务服务客户端所运行的终端,目标用户即使用所述目的终端进行媒体传输业务的用户角色,相较于授权用户,目标用户指的是控制场景中属于所述授权用户控制权限内的被控制用户。一个目标用户可以同时在多个终端上登陆并使用紧急任务服务客户端,此时一个目标用户对应客户端账号对应多个终端设备。多个用户也可以同时登陆并使用同一个终端设备。本发明中的目的终端指的是目标用户登陆并使用的一个或者多个终端。具体的,授权用户可以是具有针对目的终端所在通信群组的媒体传输策略的删除权限的用户,也可以是具备针对所有通信成员的媒体传输策略的删除权限的用户,这里不作具体限定。具体的,所述方法包括:
步骤S601,授权终端向紧急任务服务服务器发送第一媒体传输策略处理请求消息,所述第一媒体传输策略处理请求消息包括携带目标用户标识。
在图6所示的实施例中,第一媒体传输策略处理请求消息为第一媒体传输策略删除请求消息,第一媒体传输策略删除请求消息用于指示紧急任务服务服务器向目标用户标识对应的目的终端发送媒体传输策略删除请求消息。第一媒体传输策略删除请求消息中还包括媒体传输策略信息,媒体传输策略信息用于使目的终端确定需要处理的至少一个媒体传输策略,在图6所示的实施例中,媒体传输策略信息中可以具体包括第四媒体传输策略标识,其中,第四媒体传输策略标识是指待删除的媒体传输策略的标识。
需要说明的是,第一媒体传输策略删除请求消息中可以携带至少一个目标用户标识,也可以携带至少一个媒体传输策略信息,其中目标用户标识与媒体传输策略信息存在对应关系,也就是说一个目标用户标识可以对应一个或多个媒体传输策略信息,而一个媒体传输策略信息也可以对应一个或多个目标用户标识。
具体实施中,紧急任务服务服务器接收到第一媒体传输策略删除请求消息时,可以先对发送该消息的授权终端的用户进行授权检查,即检查该用户是否具有针对目标用户标识对应的目的终端的媒体传输策略的删除权限。如果具有针对目的终端的媒体传输策略的删除权限,则进一步执行步骤S603,否则丢弃收到的第一媒体传输策略删除请求消息,进一步还可以向发送该消息的授权终端返回响应消息,指示紧急任务服务服务器已处理该第一媒体传输策略删除请求消息。如果是授权检查失败,则在响应消息中指示授权检查失败,拒绝该请求。
在一种可选的实施场景中,步骤S601之后,还可以执行步骤S602:
步骤S602,紧急任务服务服务器判断媒体传输策略是否有效,若有效,则执行步骤S603;若无效,则紧急任务服务服务器拒绝对第一媒体传输策略删除请求消息进行处理。
在图6所示的实施场景中,紧急任务服务服务器已经预先保存了目的终端对应的媒体传输策略标识,紧急任务服务服务器可以判断目的终端对应的媒体传输策略标识中是否存在第四媒体传输策略标识,如果存在,则说明媒体传输策略有效,可以执行步骤S603;若不存在,则说明媒体传输策略无效,则紧急任务服务服务器可以拒绝对第一媒体传输策略删除请求消息进行处理,或者将其中无效的媒体传输策略去除。
步骤S603,紧急任务服务服务器根据第一媒体传输策略处理请求消息,向目标用户标识对应的目的终端发送媒体传输策略处理请求消息,所述媒体传输策略处理请求消息为媒体传输策略删除请求消息。
在图6所示的实施例中,媒体传输策略处理请求消息为媒体传输策略删除请求消息。具体来说,紧急任务服务服务器根据步骤S601中第一媒体传输策略激活请求消息中携带的至少一个媒体传输策略信息,生成相应的媒体传输策略激活请求消息,并根据至少一个媒体传输策略信息分别对应的目标用户标识,向目标用户标识对应的目的终端发送相应的媒体传输策略信息生成的媒体传输策略删除请求消息。
步骤S604,目的终端根据媒体传输策略删除请求消息将媒体传输策略处理方式确定为删除媒体传输策略。
目的终端接收到媒体传输策略删除请求消息后,可以先确定媒体传输策略删除请求消息中携带的媒体传输策略信息中第四媒体传输策略标识对应的目标媒体传输策略的媒体传输策略处理方式。
在一种可能的实施场景中,目的终端可以根据媒体传输策略删除请求消息的消息名称,确定针对目标媒体传输策略的媒体传输策略处理方式为删除媒体传输策略;在另一种可能的实施场景中,媒体传输策略删除请求消息中可以携带媒体传输策略处理方式的指示信息,目的终端可以根据该媒体传输策略处理方式的指示信息,确定针对目标媒体传输策略的媒体传输策略处理方式为删除媒体传输策略。
步骤S605,目的终端删除第四媒体传输策略标识对应的目标媒体传输策略。
具体来说,目的终端可以根据第四媒体传输策略标识确定对应的目标媒体传输策略,这里的目标媒体传输策略可以是预先保存的。
步骤S606,目的终端向授权终端发送请求响应消息,所述请求响应消息用于指示目标媒体传输策略的处理结果。
目的终端向授权终端发送请求响应消息,用于向授权终端说明目标媒体传输策略的处理结果。例如删除成功、删除失败等等。
在图6所示的实施例中,紧急任务服务服务器根据授权终端发送的第一媒体传输策略处理请求消息向目的终端发送媒体传输策略删除请求消息,所述媒体传输策略删除请求消息包括媒体传输策略信息,媒体传输策略信息中可以具体包括第四媒体传输策略标识,目的终端根据所述媒体传输策略删除请求消息确定媒体传输策略处理方式为删除媒体传输策略,然后删除第四媒体传输策略标识对应的目标媒体传输策略,完成对目的终端的媒体传输策略的删除过程,从而实现更为灵活地媒体传输控制。
请参阅图7a和图7b,图7a和图7b是本申请实施例提供的两种媒体传输策略配置方法的流程示意图。本申请实施例中涉及的授权终端指的是授权用户对应的紧急任务服务客户端所运行的终端,授权用户指的是具有针对紧急任务服务服务器的媒体传输策略的配置权限的用户。具体的,所述方法包括:
步骤S701,授权终端向紧急任务服务服务器发送媒体传输策略处理请求消息,所述媒体传输策略处理请求消息为媒体传输策略配置请求消息。
在图7a和图7b所示的实施例中,媒体传输策略处理请求消息为媒体传输策略配置请求消息,媒体传输策略配置请求消息中包括媒体传输策略信息,媒体传输策略信息用于使紧急任务服务服务器确定需要处理的至少一个媒体传输策略,具体可以包括媒体传输策略本身,即需要处理的媒体传输策略的全部信息或部分信息,也可以包括媒体传输策略的标识,在图7a和图7b所示的实施例中,媒体传输策略信息具体包括需要处理的媒体传输策略本身,在本实施例中可以为目标媒体传输策略。需要说明的是,媒体传输策略配置请求消息中可以携带至少一个媒体传输策略信息。
具体来说,媒体传输策略是指授权终端为紧急任务服务服务器配置的在特定情况下的一种媒体数据处理的方法的内容。最简单的媒体传输策略可以包括媒体传输操作和媒体传输操作对应的触发条件,即指示紧急任务服务服务器在检测到满足媒体传输策略的操作触发条件时,执行媒体传输策略的媒体传输操作。其中,媒体传输操作对应的触发条件可以包括特定的时间区间、计时时长、特定的事件等,媒体传输操作可以包括捕捉视频并上传至服务器、捕捉视频并发送至特定终端等,这里均不作具体限定。
进一步的,媒体传输策略还可以包括媒体传输目标信息、传输策略有效时间、媒体传输策略状态和媒体传输编码等信息中的至少一个。其中,媒体传输目标信息指的是执行媒体传输策略的媒体传输操作的接收用户或接收群组所对应的接收终端或接收服务器,例如Group A的群组标识就可以是一个媒体传输目标信息,表示紧急任务服务服务器的媒体传输操作的接收用户是Group A的所有群组成员的。媒体传输目标信息可以是用户标识,群组标识或者是IP地址;传输策略有效时间指的是该媒体传输策略有效可用的时间周期,例如20170201-20170606可以为一个传输策略有效时间,表示该传输策略在2017年2月1日——2017年6月6日内有效;媒体传输策略状态指的是该媒体传输策略是否处于激活状态,也即是否已经被使用;媒体传输编码指的是用于传输的媒体资源所需使用的传输编码,例如H.264、MPG等。
具体实施中,紧急任务服务服务器接收到媒体传输策略配置请求消息时,可以先对发送该消息的授权终端的用户进行授权检查,即检查该用户是否具有针对紧急任务服务服务器的媒体传输策略的配置权限。如果具有针对紧急任务服务服务器的媒体传输策略的配置权限,则进一步执行步骤S703,否则丢弃收到的媒体传输策略配置请求消息,进一步还可以向发送该消息的授权终端返回响应消息,指示紧急任务服务服务器已处理该媒体传输策略配置请求消息。如果是授权检查失败,则在响应消息中指示授权检查失败,拒绝该请求。
在一种可选的实施场景中,步骤S701之后,还可以执行步骤S702:
步骤S702,紧急任务服务服务器判断媒体传输策略是否有效,若有效,则执行步骤S703;若无效,则紧急任务服务服务器拒绝对媒体传输策略配置请求消息进行处理。
在这种场景中,紧急任务服务服务器可以检查媒体传输策略配置请求消息中媒体传输策略信息中所指示的媒体传输策略是否与紧急任务服务服务器的信息相符合,如果相符合,那么说明媒体传输策略有效,进而可以执行步骤S703;若不相符合,则说明媒体传输策略无效,则紧急任务服务服务器可以拒绝对媒体传输策略配置请求消息进行处理,或者将其中无效的媒体传输策略去除。
步骤S703,紧急任务服务服务器根据媒体传输策略配置请求消息将媒体传输策略处理方式确定为配置媒体传输策略。
紧急任务服务服务器接收到媒体传输策略配置请求消息后,可以先确定媒体传输策略配置请求消息中携带的媒体传输策略信息中的目标媒体传输策略的媒体传输策略处理方式。其中,媒体传输策略处理方式是指如何处理特定的媒体传输策略,具体可以包括配置、更新、激活、删除等处理方式。
在一种可能的实施场景中,紧急任务服务服务器可以根据媒体传输策略配置请求消息的消息名称,确定针对目标媒体传输策略的媒体传输策略处理方式为配置媒体传输策略;在另一种可能的实施场景中,媒体传输策略配置请求消息中可以携带媒体传输策略处理方式的指示信息,紧急任务服务服务器可以根据该媒体传输策略处理方式的指示信息,确定针对目标媒体传输策略的媒体传输策略处理方式为配置媒体传输策略。
在图7a所示的实施场景中,配置媒体传输策略的处理方式可以仅是指紧急任务服务服务器将接收到的目标媒体传输策略进行保存,等待接收到媒体传输策略激活请求或者其 他激活指示时,再进一步启动使用该目标媒体传输策略。即步骤S703之后,紧急任务服务服务器执行步骤S7051。
步骤S7051,目的终端保存目标媒体传输策略。
在图7b所示的实施场景中,配置媒体传输策略的处理方式可以不仅是指紧急任务服务服务器将接收到的目标媒体传输策略进行保存,还包括对目标媒体传输策略同时进行激活,也就是说,紧急任务服务服务器在接收到媒体传输策略配置请求消息后,就保存其中的目标媒体传输策略并直接启动对目标媒体传输策略的使用。即步骤S703之后,紧急任务服务服务器执行步骤S7052和S7053。
步骤S7052,目的终端保存并激活目标媒体传输策略。
步骤S7053,当满足目标媒体传输策略的操作触发条件时,紧急任务服务服务器执行目标媒体传输策略的媒体传输操作。
目标媒体传输策略中包括媒体传输操作对应的操作触发条件以及媒体传输操作,紧急任务服务服务器在检测到满足目标媒体传输策略的操作触发条件时,就可以执行目标媒体传输策略的媒体传输操作。进一步的,媒体传输策略还可以包括媒体传输目标信息、传输策略有效时间、媒体传输策略状态和媒体传输编码等信息中的至少一个。
进一步的,在图7b所示的实施场景中,若媒体传输策略配置请求消息的媒体传输策略信息中包括多个目标媒体传输策略,则步骤S7052之前还包括步骤S704,具体为:
步骤S704,紧急任务服务服务器检测多个目标媒体传输策略之间是否冲突,若不冲突,则执行步骤S7052。
在媒体传输策略信息中包括多个目标媒体传输策略的实施场景中,如果直接保存并激活多个目标媒体传输策略,可能存在各目标媒体传输策略之间的执行冲突。紧急任务服务服务器在接收到多个目标媒体传输策略后,可以分析其内容后确定多个目标媒体传输策略之间是否存在冲突,如果不冲突,那么可以执行步骤S7052,即开始使用这多个目标媒体传输策略。如果多个目标媒体传输策略之间存在冲突,那么紧急任务服务服务器也可以有多种处理方法,例如,紧急任务服务服务器可以直接拒绝对多个目标媒体传输策略进行配置,返回冲突响应给紧急任务服务服务器;紧急任务服务服务器也可以根据一定的算法获取多个目标媒体传输策略中不存在冲突的至少一个目标媒体传输策略执行步骤S7052;紧急任务服务服务器还可以随机的确定多个目标媒体传输策略中的一个目标媒体传输策略执行步骤S7052。这里不作具体限定。
进一步的,步骤S7051或步骤S7052之后,还可以执行步骤S706:
步骤S706,紧急任务服务服务器向授权终端发送请求响应消息,所述请求响应消息用于指示目标媒体传输策略的处理结果。
在图7a和7b所示的实施例中,紧急任务服务服务器根据授权终端发送的媒体传输策略处理请求消息为媒体传输策略配置请求消息,确定媒体传输策略处理方式为配置媒体传输策略,然后保存所述目标媒体传输策略或保存并激活所述目标媒体传输策略,所述媒体传输策略配置请求消息包括媒体传输策略信息,所述媒体传输策略信息用于确定需要处理的媒体传输策略,所述媒体传输策略包括媒体传输操作和媒体传输操作对应的触发条件,从而完成对紧急任务服务服务器的媒体传输策略的配置过程,当满足所述目标媒体传输策 略的操作触发条件时紧急任务服务服务器可以执行所述目标媒体传输策略的媒体传输操作,实现更为灵活地媒体传输控制。
请参阅图8a和图8b,图8a和图8b是本申请实施例提供的两种媒体传输策略的更新方法的流程示意图。该实施例中所涉及的方法可以基于图7a和图7b所示的实施例的情况下进一步实施,也可以独立实施。本申请实施例中涉及的授权终端指的是授权用户对应的紧急任务服务客户端所运行的终端,授权用户指的是具有针对紧急任务服务服务器的媒体传输策略的更新权限的用户。具体的,所述方法包括:
步骤S801,授权终端向紧急任务服务服务器发送媒体传输策略处理请求消息,所述媒体传输策略处理请求消息为媒体传输策略更新请求消息。
在图8a和图8b所示的实施例中,媒体传输策略处理请求消息为媒体传输策略更新请求消息,媒体传输策略更新请求消息中包括媒体传输策略信息,媒体传输策略信息用于使紧急任务服务服务器确定需要处理的至少一个媒体传输策略,在图8a和图8b所示的实施例中,媒体传输策略信息中可以具体包括第一媒体传输策略标识以及传输策略更新信息,其中,第一媒体传输策略标识是指待更新的媒体传输策略的标识,也就是旧的媒体传输策略的标识;传输策略更新信息可以是用于更新的媒体传输策略或者是用于更新的媒体传输策略的部分参数。需要说明的是,媒体传输策略更新请求消息中可以携带至少一个媒体传输策略信息。
具体实施中,紧急任务服务服务器接收到媒体传输策略更新请求消息时,可以先对发送该消息的授权终端的用户进行授权检查,即检查该用户是否具有针对紧急任务服务服务器的媒体传输策略的更新权限。如果具有针对紧急任务服务服务器的媒体传输策略的更新权限,则进一步执行步骤S803,否则丢弃收到的媒体传输策略更新请求消息,进一步还可以向发送该消息的授权终端返回响应消息,指示紧急任务服务服务器已处理该媒体传输策略更新请求消息。如果是授权检查失败,则在响应消息中指示授权检查失败,拒绝该请求。
在一种可选的实施场景中,步骤S801之后,还可以执行步骤S802:
步骤S802,紧急任务服务服务器判断媒体传输策略是否有效,若有效,则执行步骤S803;若无效,则紧急任务服务服务器拒绝对媒体传输策略更新请求消息进行处理。
在图8a和图8b所示的实施场景中,判断媒体传输策略是否有效包括两种情况。在第一种可能的情况下,紧急任务服务服务器可以检查媒体传输策略更新请求消息中媒体传输策略信息的媒体策略更新信息中的媒体传输策略或者媒体传输策略的部分参数是否与紧急任务服务服务器的信息相符合,如果相符合,那么说明媒体传输策略有效,进而可以执行步骤S803;若不相符合,则说明媒体传输策略无效,则紧急任务服务服务器可以拒绝对媒体传输策略更新请求消息进行处理,或者将其中无效的媒体传输策略去除。在第二种可能的情况下,紧急任务服务服务器已经预先保存了配置过的媒体传输策略标识,紧急任务服务服务器可以判断预先保存的媒体传输策略标识中是否存在第一媒体传输策略标识,如果存在,则说明媒体传输策略有效,可以执行步骤S803;若不存在,则说明媒体传输策略无效,则紧急任务服务服务器可以拒绝对媒体传输策略配置请求消息进行处理,或者 将其中无效的媒体传输策略去除。
步骤S803,紧急任务服务服务器根据媒体传输策略更新请求消息将媒体传输策略处理方式确定为更新媒体传输策略。
紧急任务服务服务器接收到媒体传输策略更新请求消息后,可以先确定媒体传输策略更新请求消息中携带的媒体传输策略信息中第一媒体传输策略标识对应的目标媒体传输策略的媒体传输策略处理方式。
在一种可能的实施场景中,紧急任务服务服务器可以根据媒体传输策略更新请求消息的消息名称,确定针对目标媒体传输策略的媒体传输策略处理方式为更新媒体传输策略;在另一种可能的实施场景中,媒体传输策略更新请求消息中可以携带媒体传输策略处理方式的指示信息,紧急任务服务服务器可以根据该媒体传输策略处理方式的指示信息,确定针对目标媒体传输策略的媒体传输策略处理方式为更新媒体传输策略。
在图8a所示的实施场景中,更新媒体传输策略的处理方式可以仅是指紧急任务服务服务器将接收到的媒体传输策略信息后对第一媒体传输策略标识对应的目标媒体传输策略进行更新,可以认为紧急任务服务服务器已经确定目标媒体传输策略不处于激活状态。则步骤S803后执行步骤S8051。
步骤S8051,紧急任务服务服务器使用传输策略更新信息更新第一媒体传输策略标识对应的目标媒体传输策略。
在一种可能的实施场景中,传输策略更新信息可以是一个完整的媒体传输策略,主要针对的是第一媒体传输策略标识对应的目标媒体传输策略中的全部信息或者大部分信息都需要被更新的场景,那么紧急任务服务服务器可以直接使用传输策略更新信息替换第一媒体传输策略标识对应的目标媒体传输策略即可。
在另一种可能的实施场景中,传输策略更新信息可以是一个媒体传输策略中的个别参数,主要针对的是第一媒体传输策略标识对应的目标媒体传输策略中的少部分信息需要被更新的场景,那么紧急任务服务服务器可以使用传输策略更新信息替换第一媒体传输策略标识对应的目标媒体传输策略中相应的参数。
在图8b所示的实施场景中,更新媒体传输策略的处理方式需要先对目标媒体传输策略的激活状态进行确定,再确定是否更新,可以认为紧急任务服务服务器或目的终端在此之前还没有确定目标媒体传输策略的状态。则步骤S803后执行步骤S804。
步骤S804,紧急任务服务服务器判断目标媒体传输策略是否处于激活状态,若不处于激活状态,则执行步骤S8051;若处于激活状态,则步骤S8052和S8053。
媒体传输策略状态包括激活状态和未激活状态两种,激活状态是指紧急任务服务服务器已经开始使用目标媒体传输策略,而未激活状态则相反。紧急任务服务服务器通过检查媒体传输策略状态可以确定目标媒体传输策略是否处于激活状态,若不处于激活状态,则说明目标媒体传输策略不是正在使用的,则执行步骤S8051进行更新即可;若处于激活状态,则说明目标媒体传输策略当前正在被目的终端使用,那么就不能够直接更新,需要执行步骤S8052和S8053的方法。
步骤S8052,紧急任务服务服务器去激活目标媒体传输策略,使用传输策略更新信息更新目标媒体传输策略并激活更新后的所述目标媒体传输策略。
紧急任务服务服务器需要先对目标媒体传输策略去激活,即停止使用目标媒体传输策略,然后使用传输策略更新信息更新目标媒体传输策略,具体的更新方法与步骤S8051的描述一致。在更新完成后,激活更新后的目标媒体传输策略。
步骤S8053,当满足目标媒体传输策略的操作触发条件时,紧急任务服务服务器执行目标媒体传输策略的媒体传输操作。
可选的,在图8b所示的实施场景中,紧急任务服务服务器中可能存在有多个处于激活状态的媒体传输策略,在更新目标媒体传输策略之前并不存在冲突,但是更新之后有可能会出现冲突,则步骤S8052之前,紧急任务服务服务器可以先检测更新后的目标媒体传输策略与紧急任务服务服务器中处于激活状态的媒体传输策略之间是否冲突,若不冲突,则执行步骤S8052。
具体来说,如果更新完目标媒体传输策略后就激活目标媒体传输策略,可能存在目标媒体传输策略与紧急任务服务服务器中处于激活状态的媒体传输策略之间的执行冲突。则紧急任务服务服务器在更新完目标媒体传输策略后,可以分析其内容后检测目标媒体传输策略与紧急任务服务服务器中处于激活状态的媒体传输策略之间是否存在冲突,如果不冲突,那么可以执行步骤S8052,即开始使用目标媒体传输策略。如果存在冲突,那么紧急任务服务服务器也可以有多种处理方法,例如,紧急任务服务服务器可以直接拒绝对目标媒体传输策略进行更新,返回冲突响应给紧急任务服务服务器,这里不作具体限定。
进一步的,步骤S8051或步骤S8052之后,还可以执行步骤S806:
步骤S806,紧急任务服务服务器向授权终端发送请求响应消息,所述请求响应消息用于指示目标媒体传输策略的处理结果。
在图8a和8b所示的实施例中,紧急任务服务服务器根据授权终端发送的媒体传输策略处理请求消息为媒体传输策略更新请求消息,确定媒体传输策略处理方式为更新媒体传输策略,然后使用传输策略更新信息更新第一媒体传输策略标识对应的目标媒体传输策略,所述媒体传输策略更新请求消息包括媒体传输策略信息,媒体传输策略信息中可以具体包括第一媒体传输策略标识以及传输策略更新信息,所述媒体传输策略包括媒体传输操作和媒体传输操作对应的触发条件,从而完成对目的终端的媒体传输策略的更新过程,当满足所述目标媒体传输策略的操作触发条件时,紧急任务服务服务器可以执行所述目标媒体传输策略的媒体传输操作,实现更为灵活地媒体传输控制。
请参阅图9,图9是本申请实施例提供的另一种媒体传输策略的激活方法的流程示意图。该实施例中所涉及的方法可以基于图7a—图8b所示的实施例的情况下进一步实施,也可以独立实施。本申请实施例中涉及的授权终端指的是授权用户对应的紧急任务服务客户端所运行的终端,授权用户指的是具有针对紧急任务服务客户端的媒体传输策略的激活权限的用户。
步骤S901,授权终端向紧急任务服务服务器发送媒体传输策略处理请求消息,所述媒体传输策略处理请求消息为媒体传输策略激活请求消息。
在图9所示的实施例中,媒体传输策略处理请求消息为媒体传输策略激活请求消息,媒体传输策略激活请求消息中包括媒体传输策略信息,媒体传输策略信息用于使紧急任务 服务服务器确定需要处理的至少一个媒体传输策略,在图9所示的实施例中,媒体传输策略信息中可以具体包括第二媒体传输策略标识,其中,第二媒体传输策略标识是指待激活的媒体传输策略的标识,也就是原本不处于激活状态而需要被激活的媒体传输策略的标识。需要说明的是,这里的第二媒体传输策略标识可以是一个或多个。
具体实施中,紧急任务服务服务器接收到媒体传输策略激活请求消息时,可以先对发送该消息的授权终端的用户进行授权检查,即检查该用户是否具有针对紧急任务服务服务器的媒体传输策略的激活权限。如果具有针对紧急任务服务服务器的媒体传输策略的激活权限,则进一步执行步骤S903,否则丢弃收到的媒体传输策略激活请求消息,进一步还可以向发送该消息的授权终端返回响应消息,指示紧急任务服务服务器已处理该媒体传输策略激活请求消息。如果是授权检查失败,则在响应消息中指示授权检查失败,拒绝该请求。
在一种可选的实施场景中,步骤S901之后,还可以执行步骤S902:
步骤S902,紧急任务服务服务器判断媒体传输策略是否有效,若有效,则执行步骤S903;若无效,则紧急任务服务服务器拒绝对媒体传输策略激活请求消息进行处理。
在图9所示的实施场景中,紧急任务服务服务器已经保存了预先配置的紧急任务服务服务器的媒体传输策略标识,紧急任务服务服务器可以判断预存的紧急任务服务服务器的媒体传输策略标识中是否存在第二媒体传输策略标识,如果存在,则说明媒体传输策略有效,可以执行步骤S903;若不存在,则说明媒体传输策略无效,则紧急任务服务服务器可以拒绝对媒体传输策略激活请求消息进行处理,或者将其中无效的媒体传输策略去除。
步骤S903,紧急任务服务服务器根据媒体传输策略激活请求消息将媒体传输策略处理方式确定为激活媒体传输策略。
紧急任务服务服务器接收到媒体传输策略激活请求消息后,可以先确定媒体传输策略激活请求消息中携带的媒体传输策略信息中第二媒体传输策略标识对应的目标媒体传输策略的媒体传输策略处理方式。
在一种可能的实施场景中,紧急任务服务服务器可以根据媒体传输策略激活请求消息的消息名称,确定针对目标媒体传输策略的媒体传输策略处理方式为激活媒体传输策略;在另一种可能的实施场景中,媒体传输策略激活请求消息中可以携带媒体传输策略处理方式的指示信息,紧急任务服务服务器可以根据该媒体传输策略处理方式的指示信息,确定针对目标媒体传输策略的媒体传输策略处理方式为激活媒体传输策略。
步骤S904,紧急任务服务服务器激活第二媒体传输策略标识对应的目标媒体传输策略。
具体来说,紧急任务服务服务器可以根据第二媒体传输策略标识确定对应的目标媒体传输策略,这里的目标媒体传输策略可以是紧急任务服务服务器被预先配置后保存的。激活目标媒体传输策略即指开始使用目标媒体传输策略,这里的开始使用并不是指直接执行目标媒体传输策略中的媒体传输操作,而是开始检测目标媒体传输策略的操作触发条件是否达到,例如目标媒体传输策略的操作触发条件是计时120秒,那么激活目标媒体传输策略就意味着启动计时器开始计时。
可选的,执行步骤S904之前,紧急任务服务服务器可以先检测目标媒体传输策略之 间或目标媒体传输策略与紧急任务服务服务器中处于激活状态的媒体传输策略之间是否冲突,若不冲突,则执行步骤S904。具体来说,一方面,如果目标媒体传输策略存在多个,那么多个目标媒体传输策略之间可能存在冲突;另一方面,可能存在目标媒体传输策略与紧急任务服务服务器中处于激活状态的媒体传输策略之间的执行冲突。则紧急任务服务服务器激活目标媒体传输策略前,可以分析其内容后确定多个目标媒体传输策略之间或者目标媒体传输策略与紧急任务服务服务器中处于激活状态的媒体传输策略之间是否存在冲突,如果不冲突,那么可以执行步骤S904,即开始使用目标媒体传输策略。如果存在冲突,那么紧急任务服务服务器也可以有多种处理方法,例如,紧急任务服务服务器可以直接拒绝对目标媒体传输策略进行激活,返回冲突响应给紧急任务服务服务器,这里不作具体限定。
步骤S905,当满足所述目标媒体传输策略的操作触发条件时,紧急任务服务服务器执行所述目标媒体传输策略的媒体传输操作。
进一步,步骤S905之后还可以执行步骤S906:
步骤S906,紧急任务服务服务器向授权终端发送请求响应消息,所述请求响应消息用于指示目标媒体传输策略的处理结果。
在图9所示的实施例中,紧急任务服务服务器根据授权终端发送的媒体传输策略处理请求消息为媒体传输策略激活请求消息,确定媒体传输策略处理方式为激活媒体传输策略,然后激活第二媒体传输策略标识对应的目标媒体传输策略,所述媒体传输策略激活请求消息包括媒体传输策略信息,媒体传输策略信息中可以具体包括第二媒体传输策略标识,所述媒体传输策略包括媒体传输操作和媒体传输操作对应的触发条件,从而完成对紧急任务服务服务器的媒体传输策略的激活过程,当满足所述目标媒体传输策略的操作触发条件时,紧急任务服务服务器可以执行所述目标媒体传输策略的媒体传输操作,实现更为灵活地媒体传输控制。
请参阅图10,图10是本申请实施例提供的另一种媒体传输策略的去激活方法的流程示意图。该实施例中所涉及的方法可以基于图7a—图9所示的实施例的情况下进一步实施,也可以独立实施。本申请实施例中涉及的授权终端指的是授权用户对应的紧急任务服务客户端所运行的终端,授权用户指的是具有紧急任务服务服务器的媒体传输策略的去激活权限的用户。
步骤S1001,授权终端向紧急任务服务服务器发送媒体传输策略处理请求消息,所述媒体传输策略处理请求消息为媒体传输策略去激活请求消息。
在图10所示的实施例中,媒体传输策略处理请求消息为媒体传输策略去激活请求消息,媒体传输策略去激活请求消息中包括媒体传输策略信息,媒体传输策略信息用于使紧急任务服务服务器确定需要处理的至少一个媒体传输策略,在图10所示的实施例中,媒体传输策略信息中可以具体包括第三媒体传输策略标识,其中,第三媒体传输策略标识是指待去激活的媒体传输策略的标识,也就是原本处于激活状态而需要被去激活的媒体传输策略的标识。需要说明的是,这里的第三媒体传输策略标识可以是一个或多个。
具体实施中,紧急任务服务服务器接收到媒体传输策略去激活请求消息时,可以先对 发送该消息的授权终端的用户进行授权检查,即检查该用户是否具有针对紧急任务服务服务器的媒体传输策略的去激活权限。如果具有针对紧急任务服务服务器的去激活权限,则进一步执行步骤S1003,否则丢弃收到的媒体传输策略去激活请求消息,进一步还可以向发送该消息的授权终端返回响应消息,指示紧急任务服务服务器已处理该媒体传输策略去激活请求消息。如果是授权检查失败,则在响应消息中指示授权检查失败,拒绝该请求。
在一种可选的实施场景中,步骤S1001之后,还可以执行步骤S1002:
步骤S1002,紧急任务服务服务器判断媒体传输策略是否有效,若有效,则执行步骤S1003;若无效,则紧急任务服务服务器拒绝对媒体传输策略去激活请求消息进行处理。
在图10所示的实施场景中,紧急任务服务服务器已经保存了预先配置的媒体传输策略标识,紧急任务服务服务器可以判断预先配置的媒体传输策略标识中是否存在第三媒体传输策略标识,如果存在,则说明媒体传输策略有效,可以执行步骤S1003;若不存在,则说明媒体传输策略无效,则紧急任务服务服务器可以拒绝对媒体传输策略去激活请求消息进行处理,或者将其中无效的媒体传输策略去除。
步骤S1003,紧急任务服务服务器根据媒体传输策略去激活请求消息将媒体传输策略处理方式确定为去激活媒体传输策略。
紧急任务服务服务器接收到媒体传输策略去激活请求消息后,可以先确定媒体传输策略去激活请求消息中携带的媒体传输策略信息中第三媒体传输策略标识对应的目标媒体传输策略的媒体传输策略处理方式。
在一种可能的实施场景中,紧急任务服务服务器可以根据媒体传输策略去激活请求消息的消息名称,确定针对目标媒体传输策略的媒体传输策略处理方式为去激活媒体传输策略;在另一种可能的实施场景中,媒体传输策略去激活请求消息中可以携带媒体传输策略处理方式的指示信息,紧急任务服务服务器可以根据该媒体传输策略处理方式的指示信息,确定针对目标媒体传输策略的媒体传输策略处理方式为去激活媒体传输策略。
步骤S1004,紧急任务服务服务器去激活第三媒体传输策略标识对应的目标媒体传输策略。
具体来说,紧急任务服务服务器可以根据第三媒体传输策略标识确定对应的目标媒体传输策略,这里的目标媒体传输策略可以是预先被激活的。去激活目标媒体传输策略即指停止使用目标媒体传输策略。
步骤S1005,紧急任务服务服务器向授权终端发送请求响应消息,所述请求响应消息用于指示目标媒体传输策略的处理结果。
在图10所示的实施例中,紧急任务服务服务器根据授权终端发送的媒体传输策略处理请求消息为媒体传输策略去激活请求消息,确定媒体传输策略处理方式为去激活媒体传输策略,然后去激活第三媒体传输策略标识对应的目标媒体传输策略,所述媒体传输策略去激活请求消息包括媒体传输策略信息,媒体传输策略信息中可以具体包括第三媒体传输策略标识,从而完成对紧急任务服务服务器的媒体传输策略的去激活过程,实现更为灵活地媒体传输控制。
请参阅图11,图11是本申请实施例提供的另一种媒体传输策略的删除方法的流程示 意图。该实施例中所涉及的方法可以基于图7a—图10所示的实施例的情况下进一步实施,也可以独立实施。本申请实施例中涉及的授权终端指的是授权用户对应的紧急任务服务客户端所运行的终端,授权用户指的是具有紧急任务服务服务器的媒体传输策略的删除权限的用户。
步骤S1101,授权终端向紧急任务服务服务器发送媒体传输策略处理请求消息,所述媒体传输策略处理请求消息为媒体传输策略删除请求消息。
在图11所示的实施例中,媒体传输策略处理请求消息为媒体传输策略删除请求消息,媒体传输策略删除请求消息中包括媒体传输策略信息,媒体传输策略信息用于使紧急任务服务服务器确定需要处理的至少一个媒体传输策略,在图11所示的实施例中,媒体传输策略信息中可以具体包括第四媒体传输策略标识,其中,第四媒体传输策略标识是指待删除的媒体传输策略的标识。
具体实施中,紧急任务服务服务器接收到媒体传输策略删除请求消息时,可以先对发送该消息的授权终端的用户进行授权检查,即检查该用户是否具有针对紧急任务服务服务器的媒体传输策略的删除权限。如果具有针对紧急任务服务服务器的媒体传输策略的删除权限,则进一步执行步骤S1103,否则丢弃收到的媒体传输策略删除请求消息,进一步还可以向发送该消息的授权终端返回响应消息,指示紧急任务服务服务器已处理该媒体传输策略删除请求消息。如果是授权检查失败,则在响应消息中指示授权检查失败,拒绝该请求。
在一种可选的实施场景中,步骤S1101之后,还可以执行步骤S1102:
步骤S1102,紧急任务服务服务器判断媒体传输策略是否有效,若有效,则执行步骤S1103;若无效,则紧急任务服务服务器拒绝对媒体传输策略删除请求消息进行处理。
在图11所示的实施场景中,紧急任务服务服务器已经保存了预先配置的紧急任务服务服务器的媒体传输策略标识,紧急任务服务服务器可以判断预先配置的紧急任务服务服务器的媒体传输策略标识中是否存在第四媒体传输策略标识,如果存在,则说明媒体传输策略有效,可以执行步骤S1103;若不存在,则说明媒体传输策略无效,则紧急任务服务服务器可以拒绝对媒体传输策略删除请求消息进行处理,或者将其中无效的媒体传输策略去除。
步骤S1103,紧急任务服务服务器根据媒体传输策略删除请求消息将媒体传输策略处理方式确定为删除媒体传输策略。
紧急任务服务服务器接收到媒体传输策略删除请求消息后,可以先确定媒体传输策略删除请求消息中携带的媒体传输策略信息中第四媒体传输策略标识对应的目标媒体传输策略的媒体传输策略处理方式。
在一种可能的实施场景中,紧急任务服务服务器可以根据媒体传输策略删除请求消息的消息名称,确定针对目标媒体传输策略的媒体传输策略处理方式为删除媒体传输策略;在另一种可能的实施场景中,媒体传输策略删除请求消息中可以携带媒体传输策略处理方式的指示信息,紧急任务服务服务器可以根据该媒体传输策略处理方式的指示信息,确定针对目标媒体传输策略的媒体传输策略处理方式为删除媒体传输策略。
步骤S1104,紧急任务服务服务器删除第四媒体传输策略标识对应的目标媒体传输策 略。
具体来说,紧急任务服务服务器可以根据第四媒体传输策略标识确定对应的目标媒体传输策略,这里的目标媒体传输策略可以是预先保存的。
步骤S1105,紧急任务服务服务器向授权终端发送请求响应消息,所述请求响应消息用于指示目标媒体传输策略的处理结果。
在图11所示的实施例中,紧急任务服务服务器根据授权终端发送的媒体传输策略处理请求消息为媒体传输策略删除请求消息,确定媒体传输策略处理方式为删除媒体传输策略,然后删除第四媒体传输策略标识对应的目标媒体传输策略,所述媒体传输策略删除请求消息包括媒体传输策略信息,媒体传输策略信息中可以具体包括第四媒体传输策略标识,从而完成对紧急任务服务服务器的媒体传输策略的删除过程,从而实现更为灵活地媒体传输控制。
请参阅图12,图12是本发明实施例提供的一种媒体设备的结构示意图。如图12所示,该设备包括处理器121、存储器122以及网络接口123。处理器121连接到存储器122和网络接口123,例如处理器121可以通过总线连接到存储器122和网络接口123。
处理器121被配置为支持设备执行图2a—图6或图7a—图11所示实施例的方法中相应的功能。当配置为支持执行图2a—图6所示实施例的方法中相应的功能的设备时,该设备可以是用户终端,当配置为支持执行图7a—图11所示实施例的方法中相应的功能的设备时,该设备可以是紧急任务服务服务器。该处理器121可以是中央处理器(英文:central processing unit,CPU),网络处理器(英文:network processor,NP),硬件芯片或者其任意组合。上述硬件芯片可以是专用集成电路(英文:application-specific integrated circuit,ASIC),可编程逻辑器件(英文:programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(英文:complex programmable logic device,CPLD),现场可编程逻辑门阵列(英文:field-programmable gate array,FPGA),通用阵列逻辑(英文:generic array logic,GAL)或其任意组合。
存储器122存储器用于存储媒体传输策略等等。存储器122可以包括易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random-access memory,缩写:RAM);存储器122也可以包括非易失性存储器(英文:non-volatile memory),例如只读存储器(英文:read-only memory,缩写:ROM),快闪存储器(英文:flash memory),硬盘(英文:hard disk drive,缩写:HDD)或固态硬盘(英文:solid-state drive,缩写:SSD);存储器122还可以包括上述种类的存储器的组合。
网络接口123用于与授权终端或紧急任务服务服务器连接,与授权终端或紧急任务服务服务器收发上述方法中所涉及的消息。
处理器121可以执行以下操作:
接收媒体传输策略处理请求消息,所述媒体传输策略处理请求消息包括媒体传输策略信息,所述媒体传输策略信息用于确定需要处理的媒体传输策略;所述媒体传输策略包括媒体传输操作和媒体传输操作对应的触发条件;
根据所述媒体传输策略处理请求消息确定媒体传输策略处理方式;
按照所述媒体传输策略处理方式对所述媒体传输策略进行处理。
可选的,处理器121接收媒体传输策略处理请求消息时,具体用于:
接收授权终端发送的媒体传输策略处理请求消息。
可选的,处理器121接收媒体传输策略处理请求消息时,具体用于:
接收紧急任务服务服务器发送的媒体传输策略处理请求消息,所述媒体传输策略处理请求消息是紧急任务服务服务器根据授权终端发送的第一媒体传输策略处理请求消息发送的,所述第一媒体传输策略处理请求消息包括携带目标用户标识。
可选的,所述媒体传输策略处理请求消息为媒体传输策略配置请求消息;所述媒体传输策略信息包括目标媒体传输策略;处理器121具体用于:
根据所述媒体传输策略配置请求消息将所述媒体传输策略处理方式确定为配置媒体传输策略;
保存所述目标媒体传输策略;或
保存并激活所述目标媒体传输策略。
可选的,所述媒体传输策略信息包括多个目标媒体传输策略;处理器121保存并激活所述目标媒体传输策略之前,还用于:
检测所述多个目标媒体传输策略之间是否冲突;
若不冲突,则保存并激活所述目标媒体传输策略。
可选的,所述媒体传输策略处理请求消息为媒体传输策略更新请求消息;所述媒体传输策略信息包括第一媒体传输策略标识以及传输策略更新信息;处理器121具体用于:
根据所述媒体传输策略更新请求消息将所述媒体传输策略处理方式确定为更新媒体传输策略;
使用所述传输策略更新信息更新所述第一媒体传输策略标识对应的目标媒体传输策略。
可选的,处理器121使用所述目标媒体传输策略更新所述第一媒体传输策略标识对应的第一媒体传输策略时,具体用于:
使用所述传输策略更新信息替换所述第一媒体传输策略标识对应的目标媒体传输策略;或
使用所述传输策略更新信息替换所述第一媒体传输策略标识对应的目标媒体传输策略中相应的参数。
可选的,处理器121使用所述传输策略更新信息更新所述第一媒体传输策略标识对应的目标媒体传输策略之前,还用于:
判断所述目标媒体传输策略是否处于激活状态;
若不处于激活状态,则使用所述传输策略更新信息更新所述目标媒体传输策略;
若处于激活状态,则去激活所述目标媒体传输策略,使用所述传输策略更新信息更新所述目标媒体传输策略并激活更新后的所述目标媒体传输策略。
可选的,所述媒体传输策略处理请求消息为媒体传输策略激活请求消息;所述媒体传输策略信息包括第二媒体传输策略标识;处理器121具体用于:
根据所述媒体传输策略激活请求消息将所述媒体传输策略处理方式确定为激活媒体 传输策略;
激活所述第二媒体传输策略标识对应的目标媒体传输策略。
可选的,处理器121激活所述目标媒体传输策略之后,还用于:
当满足所述目标媒体传输策略的操作触发条件时,执行所述目标媒体传输策略的媒体传输操作。
可选的,所述媒体传输策略处理请求消息为媒体传输策略去激活请求消息;所述媒体传输策略信息包括第三媒体传输策略标识;处理器121具体用于:
根据所述媒体传输策略去激活请求消息将所述媒体传输策略处理方式确定为去激活媒体传输策略;
去激活所述第三媒体传输策略标识对应的目标媒体传输策略。
可选的,所述媒体传输策略处理请求消息为媒体传输策略删除请求消息;所述媒体传输策略信息包括第四媒体传输策略标识;处理器121具体用于:
根据所述媒体传输策略删除请求消息将所述媒体传输策略处理方式确定为删除媒体传输策略;
删除所述第四媒体传输策略标识对应的目标媒体传输策略。
可选的,处理器121按照所述媒体传输策略处理方式对所述媒体传输策略进行处理之前,还用于:
判断所述媒体传输策略是否有效;
若有效,则按照所述媒体传输策略处理方式对所述媒体传输策略进行处理;
若无效,则拒绝对所述媒体传输策略进行处理。
可选的,处理器121按照所述媒体传输策略处理方式对所述媒体传输策略进行处理之后,还用于:
向授权终端发送请求响应消息,所述请求响应消息用于指示所述媒体传输策略的处理结果。
可选的,所述媒体传输策略还包括媒体传输目标信息、传输策略有效时间、媒体传输策略状态和媒体传输编码中的至少一个。
请参阅图13,图13是本发明实施例提供的另一种媒体设备的结构示意图。如图13所示,该设备包括处理模块131、收发模块132,该处理模块131实现图12所示的处理器121,收发模块132实现图12所示的网络接口123,以使该设备执行图2a—图6或图7a—图11中所示的任意一个或多个实施例所描述的方法。当配置为支持执行图2a—图6所示实施例的方法中相应的功能的设备时,该设备可以是用户终端,当配置为支持执行图7a—图11所示实施例的方法中相应的功能的设备时,该设备可以是紧急任务服务服务器。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。

Claims (30)

  1. 一种媒体传输策略处理方法,其特征在于,包括:
    接收媒体传输策略处理请求消息,所述媒体传输策略处理请求消息包括媒体传输策略信息,所述媒体传输策略信息用于确定需要处理的媒体传输策略;所述媒体传输策略包括媒体传输操作和媒体传输操作对应的触发条件;
    根据所述媒体传输策略处理请求消息确定媒体传输策略处理方式;
    按照所述媒体传输策略处理方式对所述媒体传输策略进行处理。
  2. 如权利要求1所述的方法,其特征在于,所述接收媒体传输策略处理请求消息包括:
    接收授权终端发送的媒体传输策略处理请求消息。
  3. 如权利要求1所述的方法,其特征在于,所述接收媒体传输策略处理请求消息包括:
    接收紧急任务服务服务器发送的媒体传输策略处理请求消息,所述媒体传输策略处理请求消息是紧急任务服务服务器根据授权终端发送的第一媒体传输策略处理请求消息发送的,所述第一媒体传输策略处理请求消息包括携带目标用户标识。
  4. 如权利要求1-3任一项所述的方法,其特征在于,所述媒体传输策略处理请求消息为媒体传输策略配置请求消息;所述媒体传输策略信息包括目标媒体传输策略;
    所述根据所述媒体传输策略处理请求消息确定媒体传输策略处理方式包括:
    根据所述媒体传输策略配置请求消息将所述媒体传输策略处理方式确定为配置媒体传输策略;
    所述按照所述媒体传输策略处理方式对所述媒体传输策略进行处理包括:
    保存所述目标媒体传输策略;或
    保存并激活所述目标媒体传输策略。
  5. 如权利要求4所述的方法,其特征在于,所述媒体传输策略信息包括多个目标媒体传输策略;
    所述保存并激活所述目标媒体传输策略之前还包括:
    检测所述多个目标媒体传输策略之间是否冲突;
    若不冲突,则保存并激活所述目标媒体传输策略。
  6. 如权利要求1-3任一项所述的方法,其特征在于,所述媒体传输策略处理请求消息为媒体传输策略更新请求消息;所述媒体传输策略信息包括第一媒体传输策略标识以及传输策略更新信息;
    所述根据所述媒体传输策略处理请求消息确定媒体传输策略处理方式包括:
    根据所述媒体传输策略更新请求消息将所述媒体传输策略处理方式确定为更新媒体传输策略;
    所述按照所述媒体传输策略处理方式对所述媒体传输策略进行处理包括:
    使用所述传输策略更新信息更新所述第一媒体传输策略标识对应的目标媒体传输策略。
  7. 如权利要求6所述的方法,其特征在于,所述使用所述目标媒体传输策略更新所述第一媒体传输策略标识对应的第一媒体传输策略包括:
    使用所述传输策略更新信息替换所述第一媒体传输策略标识对应的目标媒体传输策略;或
    使用所述传输策略更新信息替换所述第一媒体传输策略标识对应的目标媒体传输策略中相应的参数。
  8. 如权利要求6或7所述的方法,其特征在于,所述使用所述传输策略更新信息更新所述第一媒体传输策略标识对应的目标媒体传输策略之前,还包括:
    判断所述目标媒体传输策略是否处于激活状态;
    若不处于激活状态,则使用所述传输策略更新信息更新所述目标媒体传输策略;
    若处于激活状态,则去激活所述目标媒体传输策略,使用所述传输策略更新信息更新所述目标媒体传输策略并激活更新后的所述目标媒体传输策略。
  9. 如权利要求1-3任一项所述的方法,其特征在于,所述媒体传输策略处理请求消息为媒体传输策略激活请求消息;所述媒体传输策略信息包括第二媒体传输策略标识;
    所述根据所述媒体传输策略处理请求消息确定媒体传输策略处理方式包括:
    根据所述媒体传输策略激活请求消息将所述媒体传输策略处理方式确定为激活媒体传输策略;
    所述按照所述媒体传输策略处理方式对所述媒体传输策略进行处理包括:
    激活所述第二媒体传输策略标识对应的目标媒体传输策略。
  10. 如权利要求4、5、8或9所述的方法,其特征在于,所述激活所述目标媒体传输策略之后,还包括:
    当满足所述目标媒体传输策略的操作触发条件时,执行所述目标媒体传输策略的媒体传输操作。
  11. 如权利要求1-3任一项所述的方法,其特征在于,所述媒体传输策略处理请求消息为媒体传输策略去激活请求消息;所述媒体传输策略信息包括第三媒体传输策略标识;
    所述根据所述媒体传输策略处理请求消息确定媒体传输策略处理方式包括:
    根据所述媒体传输策略去激活请求消息将所述媒体传输策略处理方式确定为去激活 媒体传输策略;
    所述按照所述媒体传输策略处理方式对所述媒体传输策略进行处理包括:
    去激活所述第三媒体传输策略标识对应的目标媒体传输策略。
  12. 如权利要求1-3任一项所述的方法,其特征在于,所述媒体传输策略处理请求消息为媒体传输策略删除请求消息;所述媒体传输策略信息包括第四媒体传输策略标识;
    所述根据所述媒体传输策略处理请求消息确定媒体传输策略处理方式包括:
    根据所述媒体传输策略删除请求消息将所述媒体传输策略处理方式确定为删除媒体传输策略;
    所述按照所述媒体传输策略处理方式对所述媒体传输策略进行处理包括:
    删除所述第四媒体传输策略标识对应的目标媒体传输策略。
  13. 如权利要求1或2所述的方法,其特征在于,所述按照所述媒体传输策略处理方式对所述媒体传输策略进行处理之前,还包括:
    判断所述媒体传输策略是否有效;
    若有效,则按照所述媒体传输策略处理方式对所述媒体传输策略进行处理;
    若无效,则拒绝对所述媒体传输策略进行处理。
  14. 如权利要求1-13任一项所述的方法,其特征在于,所述按照所述媒体传输策略处理方式对所述媒体传输策略进行处理之后,还包括:
    向授权终端发送请求响应消息,所述请求响应消息用于指示所述媒体传输策略的处理结果。
  15. 如权利要求1-14任一项所述的方法,其特征在于,所述媒体传输策略还包括媒体传输目标信息、传输策略有效时间、媒体传输策略状态和媒体传输编码中的至少一个。
  16. 一种媒体设备,其特征在于,包括:
    收发模块,用于接收媒体传输策略处理请求消息,所述媒体传输策略处理请求消息包括媒体传输策略信息,所述媒体传输策略信息用于确定需要处理的媒体传输策略;所述媒体传输策略包括媒体传输操作和媒体传输操作对应的触发条件;
    处理模块,用于根据所述媒体传输策略处理请求消息确定媒体传输策略处理方式;
    所述处理模块还用于:按照所述媒体传输策略处理方式对所述媒体传输策略进行处理。
  17. 如权利要求16所述的设备,其特征在于,所述收发模块用于:
    接收授权终端发送的媒体传输策略处理请求消息。
  18. 如权利要求16所述的设备,其特征在于,所述收发模块用于:
    接收紧急任务服务服务器发送的媒体传输策略处理请求消息,所述媒体传输策略处理请求消息是紧急任务服务服务器根据授权终端发送的第一媒体传输策略处理请求消息发送的,所述第一媒体传输策略处理请求消息包括携带目标用户标识。
  19. 如权利要求16-18任一项所述的设备,其特征在于,所述媒体传输策略处理请求消息为媒体传输策略配置请求消息;所述媒体传输策略信息包括目标媒体传输策略;
    所述处理模块用于:
    根据所述媒体传输策略配置请求消息将所述媒体传输策略处理方式确定为配置媒体传输策略;
    所述处理模块还用于:
    保存所述目标媒体传输策略;或
    保存并激活所述目标媒体传输策略。
  20. 如权利要求19所述的设备,其特征在于,所述媒体传输策略信息包括多个目标媒体传输策略;
    所述处理模块还用于:
    检测所述多个目标媒体传输策略之间是否冲突;
    若不冲突,则保存并激活所述目标媒体传输策略。
  21. 如权利要求16-18任一项所述的设备,其特征在于,所述媒体传输策略处理请求消息为媒体传输策略更新请求消息;所述媒体传输策略信息包括第一媒体传输策略标识以及传输策略更新信息;
    所述处理模块用于:
    根据所述媒体传输策略更新请求消息将所述媒体传输策略处理方式确定为更新媒体传输策略;
    所述处理模块还用于:
    使用所述传输策略更新信息更新所述第一媒体传输策略标识对应的目标媒体传输策略。
  22. 如权利要求21所述的设备,其特征在于,所述处理模块用于:
    使用所述传输策略更新信息替换所述第一媒体传输策略标识对应的目标媒体传输策略;或
    使用所述传输策略更新信息替换所述第一媒体传输策略标识对应的目标媒体传输策略中相应的参数。
  23. 如权利要求21或22所述的装置,其特征在于,所述处理模块还用于:
    判断所述目标媒体传输策略是否处于激活状态;
    若不处于激活状态,则使用所述传输策略更新信息更新所述目标媒体传输策略;
    若处于激活状态,则去激活所述目标媒体传输策略,使用所述传输策略更新信息更新所述目标媒体传输策略并激活更新后的所述目标媒体传输策略。
  24. 如权利要求16-18任一项所述的装置,其特征在于,所述媒体传输策略处理请求消息为媒体传输策略激活请求消息;所述媒体传输策略信息包括第二媒体传输策略标识;
    所述处理模块用于:
    根据所述媒体传输策略激活请求消息将所述媒体传输策略处理方式确定为激活媒体传输策略;
    所述处理模块还用于:
    激活所述第二媒体传输策略标识对应的目标媒体传输策略。
  25. 如权利要求19、20、23或24所述的设备,其特征在于,所述处理模块还用于:
    当满足所述目标媒体传输策略的操作触发条件时,执行所述目标媒体传输策略的媒体传输操作。
  26. 如权利要求16-19任一项所述的设备,其特征在于,所述媒体传输策略处理请求消息为媒体传输策略去激活请求消息;所述媒体传输策略信息包括第三媒体传输策略标识;
    所述处理模块用于:
    根据所述媒体传输策略去激活请求消息将所述媒体传输策略处理方式确定为去激活媒体传输策略;
    所述处理模块还用于:
    去激活所述第三媒体传输策略标识对应的目标媒体传输策略。
  27. 如权利要求16-19任一项所述的设备,其特征在于,所述媒体传输策略处理请求消息为媒体传输策略删除请求消息;所述媒体传输策略信息包括第四媒体传输策略标识;
    所述处理模块用于:
    根据所述媒体传输策略删除请求消息将所述媒体传输策略处理方式确定为删除媒体传输策略;
    所述处理模块还用于:
    删除所述第四媒体传输策略标识对应的目标媒体传输策略。
  28. 如权利要求16或17所述的设备,其特征在于,所述处理模块还用于:
    判断所述媒体传输策略是否有效;
    若有效,则按照所述媒体传输策略处理方式对所述媒体传输策略进行处理;
    若无效,则拒绝对所述媒体传输策略进行处理。
  29. 如权利要求16-28任一项所述的设备,其特征在于,所述收发模块还用于:
    向授权终端发送请求响应消息,所述请求响应消息用于指示所述媒体传输策略的处理结果。
  30. 如权利要求16-29任一项所述的设备,其特征在于,所述媒体传输策略还包括媒体传输目标信息、传输策略有效时间、媒体传输策略状态和媒体传输编码中的至少一个。
PCT/CN2017/078114 2017-03-24 2017-03-24 一种媒体传输策略的处理方法及相关设备 WO2018170897A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/078114 WO2018170897A1 (zh) 2017-03-24 2017-03-24 一种媒体传输策略的处理方法及相关设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/078114 WO2018170897A1 (zh) 2017-03-24 2017-03-24 一种媒体传输策略的处理方法及相关设备

Publications (1)

Publication Number Publication Date
WO2018170897A1 true WO2018170897A1 (zh) 2018-09-27

Family

ID=63586252

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/078114 WO2018170897A1 (zh) 2017-03-24 2017-03-24 一种媒体传输策略的处理方法及相关设备

Country Status (1)

Country Link
WO (1) WO2018170897A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100031342A1 (en) * 2007-04-12 2010-02-04 Honeywell International, Inc Method and system for providing secure video data transmission and processing
CN103188725A (zh) * 2011-12-29 2013-07-03 中兴通讯股份有限公司 一种协同业务的适配、分流传输及流切换方法和系统
CN104601339A (zh) * 2013-10-30 2015-05-06 华为技术有限公司 网真会议的控制方法、装置、服务器和终端设备
CN104967867A (zh) * 2015-06-19 2015-10-07 美国掌赢信息科技有限公司 一种即时视频的传输方法和电子设备
CN105657334A (zh) * 2014-11-14 2016-06-08 中国移动通信集团公司 一种视频传输的方法、视频监控平台及视频监控设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100031342A1 (en) * 2007-04-12 2010-02-04 Honeywell International, Inc Method and system for providing secure video data transmission and processing
CN103188725A (zh) * 2011-12-29 2013-07-03 中兴通讯股份有限公司 一种协同业务的适配、分流传输及流切换方法和系统
CN104601339A (zh) * 2013-10-30 2015-05-06 华为技术有限公司 网真会议的控制方法、装置、服务器和终端设备
CN105657334A (zh) * 2014-11-14 2016-06-08 中国移动通信集团公司 一种视频传输的方法、视频监控平台及视频监控设备
CN104967867A (zh) * 2015-06-19 2015-10-07 美国掌赢信息科技有限公司 一种即时视频的传输方法和电子设备

Similar Documents

Publication Publication Date Title
WO2021036265A1 (zh) 一种边缘云的融合管理的方法及装置
US11553021B2 (en) Media downlink transmission control method and related device
KR102114767B1 (ko) 차량 기반 통신 방법, 시스템 및 장치
CN106549988B (zh) 加入群组方法、装置及系统
CN105991412B (zh) 消息推送方法及装置
US20120072763A1 (en) System and method of file locking in a network file system federated namespace
KR102191884B1 (ko) 통신 방법 및 장치
JP2005528818A (ja) グループ通信ネットワークにおけるグループ呼を開始するための通信装置
JP2005518169A (ja) グループ通信ネットワークにおけるグループ呼へユーザを加入させるための通信装置
WO2018010175A1 (zh) 一种媒体发送权申请方法、媒体发送权撤销方法及装置
KR20200020965A (ko) 별명 관리 방법 및 기기
CN106657299B (zh) 关注主播上线提醒方法及系统
WO2016184178A1 (zh) 资源的控制方法和装置
WO2023056713A1 (zh) 物联网卡的云平台绑定方法、系统、设备及介质
CN112799796A (zh) 一种定时任务管理方法、装置及存储介质
WO2018170897A1 (zh) 一种媒体传输策略的处理方法及相关设备
WO2015117362A1 (zh) 终端上个人信息的共享方法及装置
KR20150067041A (ko) 부하 분산을 위한 m2m 시스템에서의 등록을 제어하는 방법 및 장치
CN113821334A (zh) 一种配置边缘侧设备的方法、装置及系统
CN110599655A (zh) 一种Ultimo统一决策平台及安防管理方法
CN112153580B (zh) 设置mcptt群组的方法、设备及系统
CN111372204B (zh) 一种发现方法及设备
JP7260569B2 (ja) メディアダウンリンク伝送制御方法及び関連するデバイス
US20240022878A1 (en) Method and apparatus for assigning talk groups to network slices
US8452315B1 (en) Apparatus, method and computer-readable medium for dispatch group calling across fleets

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: 17902225

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17902225

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载