CN114500474A - Communication method, device, communication equipment and storage medium based on SIP terminal - Google Patents
Communication method, device, communication equipment and storage medium based on SIP terminal Download PDFInfo
- Publication number
- CN114500474A CN114500474A CN202210080566.4A CN202210080566A CN114500474A CN 114500474 A CN114500474 A CN 114500474A CN 202210080566 A CN202210080566 A CN 202210080566A CN 114500474 A CN114500474 A CN 114500474A
- Authority
- CN
- China
- Prior art keywords
- media stream
- sip terminal
- voice media
- broadcast
- priority
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 100
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000004044 response Effects 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 10
- 230000000977 initiatory effect Effects 0.000 claims description 3
- 230000006870 function Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 8
- 230000006855 networking Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04H—BROADCAST COMMUNICATION
- H04H60/00—Arrangements for broadcast applications with a direct linking to broadcast information or broadcast space-time; Broadcast-related systems
- H04H60/02—Arrangements for generating broadcast information; Arrangements for generating broadcast-related information with a direct linking to broadcast information or to broadcast space-time; Arrangements for simultaneous generation of broadcast information and broadcast-related information
- H04H60/06—Arrangements for scheduling broadcast services or broadcast-related services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04H—BROADCAST COMMUNICATION
- H04H60/00—Arrangements for broadcast applications with a direct linking to broadcast information or broadcast space-time; Broadcast-related systems
- H04H60/76—Arrangements characterised by transmission systems other than for broadcast, e.g. the Internet
- H04H60/81—Arrangements characterised by transmission systems other than for broadcast, e.g. the Internet characterised by the transmission system itself
- H04H60/82—Arrangements characterised by transmission systems other than for broadcast, e.g. the Internet characterised by the transmission system itself the transmission system being the Internet
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/80—Actions related to the user profile or the type of traffic
- H04L47/805—QOS or priority aware
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a communication method based on an SIP terminal, which comprises the following steps: when the IP broadcasting system receives a broadcasting task request with a first priority, the IP broadcasting system sends a calling request to the SIP terminal; the IP broadcasting system receives the reply communication information of the SIP terminal and responds to the reply communication information to send a first voice media stream to the SIP terminal; when the IP broadcasting system receives a broadcasting task request with a second priority and the second priority is higher than the first priority, the IP broadcasting system sends a second voice media stream corresponding to the broadcasting task request with the second priority to the SIP terminal; after the second voice media stream is played, the IP broadcasting system continuously sends the first voice media stream to the SIP terminal; by using the terminal supporting the SIP protocol, the terminal and the system are not limited in the same local area network, the network environment requirement is simplified, and the purchase cost and the use cost of the terminal are reduced.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a communication method and apparatus, a communication device, and a storage medium based on an SIP terminal.
Background
After the broadcast intercom system is subjected to electromechanical, space and digital modes, the broadcast intercom system enters the age of IP broadcast intercom along with the IP of a communication network, wherein an important function in the broadcast system is priority control of broadcast (a terminal can play a broadcast with higher priority first and then continue to play the original broadcast after the broadcast is finished), the IP broadcast system of a main manufacturer on the market realizes the broadcast priority function in a mode of local area network UDP (User Datagram Protocol) multicast, the mode requires that the terminal and the system are necessarily in the same local area network, networking requirements are high, and the terminal manufacturer needs to customize the terminal to monitor UDP broadcast voice streams in the local area network to play and realize the priority function, so that the terminal and the use cost are high.
Disclosure of Invention
In view of the above, it is necessary to provide a communication method, apparatus, computer device and storage medium based on SIP terminal, which make the terminal and system not limited to the same lan, simplify the requirements of network environment, and reduce the procurement cost and use cost of the terminal.
A communication method based on a Session Initiation Protocol (SIP) terminal comprises the following steps:
when an IP broadcasting system receives a broadcasting task request with a first priority, the IP broadcasting system sends a call request to an SIP terminal;
the IP broadcasting system receives the reply communication information of the SIP terminal and responds to the reply communication information to send a first voice media stream to the SIP terminal;
when the IP broadcasting system receives a broadcasting task request with a second priority and the second priority is higher than the first priority, the IP broadcasting system sends a second voice media stream corresponding to the broadcasting task request with the second priority to the SIP terminal;
and after the second voice media stream is played, the IP broadcasting system continuously sends the first voice media stream to the SIP terminal.
A communication method based on SIP terminal includes:
the SIP terminal receives a call request of an IP broadcast system;
the SIP terminal responds to the call request and replies communication information to the IP broadcasting system;
the SIP terminal receives and plays the first voice media stream broadcasted by the IP broadcasting system;
the SIP terminal receives and plays the second voice media stream broadcasted by the IP broadcasting system, and stops playing the first voice media stream;
and after the second voice media stream is played, the SIP terminal continues to play the first voice media stream.
A communication method based on SIP terminal includes:
the dispatching desk sends a broadcast task request with a first priority to the IP broadcast system;
the IP broadcasting system receives a first priority broadcast task request of a dispatching desk, generates a corresponding call request and sends the call request to an SIP terminal;
the SIP terminal receives a call request of an IP broadcast system, and responds to the call request to reply communication information to the IP broadcast system;
the IP broadcasting system responds to the reply communication information and sends a first voice media stream to the SIP terminal;
the SIP terminal plays the first voice media stream;
the dispatching desk sends a broadcast task request with a second priority to the IP broadcast system;
the IP broadcasting system receives a broadcast task request with a second priority of a dispatching desk, and when the second priority is higher than the first priority, the IP broadcasting system sends a second voice media stream of a broadcast task request pair with the second priority to the SIP terminal;
the SIP terminal receives and plays the second voice media stream;
after the second voice media stream is played, the IP broadcasting system continuously sends the first voice media stream to the SIP terminal;
and the SIP terminal continuously plays the first voice media stream.
A communication apparatus based on a SIP terminal, comprising:
the system comprises a call request sending module, a service request sending module and a service request sending module, wherein the call request sending module is used for sending a call request to an SIP terminal by an IP broadcasting system when the IP broadcasting system receives a broadcasting task request with a first priority;
a first voice media stream sending module, configured to receive, by the IP broadcast system, the reply connectivity information of the SIP terminal, and send a first voice media stream to the SIP terminal in response to the reply connectivity information;
a second voice media stream sending module, configured to, when the IP broadcast system receives a broadcast task request with a second priority and the second priority is higher than the first priority, the IP broadcast system sends a second voice media stream corresponding to the broadcast task request with the second priority to the SIP terminal;
and the continuous sending module is used for continuously sending the first voice media stream to the SIP terminal by the IP broadcasting system after the second voice media stream is played.
A communication apparatus based on a SIP terminal, comprising:
a call request receiving module, which is used for receiving the call request of the IP broadcasting system by the SIP terminal;
a communication information reply module for the SIP terminal to reply the communication information to the IP broadcast system in response to the call request;
a first voice media stream playing module, configured to receive and play the first voice media stream broadcasted by the IP broadcasting system by the SIP terminal;
a second voice media stream playing module, configured to receive and play the second voice media stream broadcasted by the IP broadcasting system by the SIP terminal, and stop playing the first voice media stream;
and the continuous playing module is used for continuously playing the first voice media stream by the SIP terminal after the second voice media stream is played.
A communication apparatus based on a SIP terminal, comprising:
the first broadcast task request sending module is used for sending a broadcast task request with a first priority to the IP broadcast system by the dispatching desk;
the system comprises a calling request sending module, a service request sending module and a service request sending module, wherein the calling request sending module is used for the IP broadcasting system to receive a first priority broadcasting task request of a dispatching desk, generate a corresponding calling request and send the calling request to an SIP terminal;
a response module for replying the connection information, which is used for the SIP terminal to receive the call request of the IP broadcasting system and to reply the connection information to the IP broadcasting system in response to the call request;
a first voice media stream sending module, configured to send, by the IP broadcast system, a first voice media stream to the SIP terminal in response to the reply connectivity information;
a first voice media stream playing module, configured to play the first voice media stream by the SIP terminal;
a second broadcast task request sending module, configured to send a broadcast task request with a second priority to the IP broadcast system by the dispatcher station;
a second voice media stream sending module, configured to send a second voice media stream of a broadcast task request pair of a second priority to the SIP terminal when the IP broadcast system receives a broadcast task request of the second priority from the dispatcher station and the second priority is higher than the first priority;
a second voice media stream playing module, configured to receive and play the second voice media stream by the SIP terminal;
a continuous sending module, configured to, after the second voice media stream is played, the IP broadcast system continuously sends the first voice media stream to the SIP terminal;
and the continuous playing module is used for continuously playing the first voice media stream by the SIP terminal.
A communication device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the SIP-based terminal communication method described above.
A computer-readable storage medium, storing a computer program which, when executed by a processor, implements the SIP terminal-based communication method described above.
According to the communication method, the communication device, the computer equipment and the storage medium based on the SIP terminal, the terminal and the system are not limited to the same local area network by using the terminal supporting the SIP protocol, the network environment requirement is simplified, and the purchase cost and the use cost of the terminal are reduced; the networking requirement of the broadcast priority function on the SIP terminal and the IP broadcast system is reduced, the broadcast priority function is realized, and the diversity of the communication function is improved.
Drawings
Fig. 1 is a flowchart illustrating a flow diagram of a communication method based on an SIP terminal according to the present invention;
fig. 2 is a flowchart illustrating a flowchart of a communication method based on an SIP terminal according to the present invention;
fig. 3 is a flowchart illustrating a flowchart of a communication method based on an SIP terminal according to the present invention;
fig. 4 is a timing diagram of a communication method based on an SIP terminal according to the present invention;
fig. 5 is a block diagram of a communication device based on an SIP terminal according to the present invention;
fig. 6 is a block diagram of a communication device based on an SIP terminal according to the present invention;
fig. 7 is a block diagram of a communication device based on an SIP terminal according to the present invention;
fig. 8 is an internal structural view of a communication device in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In an embodiment, as shown in fig. 1, a flowchart of a communication method based on a SIP (Session Initiation Protocol) terminal is provided, which includes the following steps:
102, the IP broadcasting system receives the reply communication information of the SIP terminal, responds to the reply communication information and sends a first voice media stream to the SIP terminal;
103, when the IP broadcasting system receives a broadcast task request with a second priority and the second priority is higher than the first priority, the IP broadcasting system sends a second voice media stream corresponding to the broadcast task request with the second priority to the SIP terminal;
and step 104, after the second voice media stream is played, the IP broadcasting system continues to send the first voice media stream to the SIP terminal.
In a system architecture of this embodiment, an IP broadcasting system may be connected to a dispatching desk and an SIP terminal, respectively, so as to form the communication system of the present invention, specifically, the dispatching desk may be a plurality of computer devices, which is not limited in this embodiment; the dispatching desk can comprise a plurality of accessory equipment, such as a touch screen, an interphone, a microphone and the like; the IP broadcasting system can be system software or equipment running the system software, can use an SIP protocol, has excellent compatibility and function expandability, can realize various functions such as voice talkback, broadcast notification and the like, can realize multilevel architecture management, and meets the requirements of different scenes;
the SIP terminal refers to a general SIP protocol terminal, and the type of the terminal may include a plurality of devices such as a sound post, a sound box, and a horn, which is not limited in this embodiment.
Firstly, the dispatching desk can send a broadcast task request with a first priority to an IP broadcast system, the IP broadcast system generates a call request and sends the call request to an SIP terminal, when the IP broadcast system receives reply communication information of the SIP terminal, the IP broadcast system indicates that a called terminal is idle and does not play broadcast, and the IP broadcast system responds to the reply communication information to send a first voice media stream to the SIP terminal; the SIP terminal starts to broadcast data corresponding to a first voice media stream;
if the dispatching desk sends a broadcast task with a higher second priority to the IP broadcast system, the IP broadcast system sends a corresponding second voice media stream to the SIP terminal; after the second voice media stream is played, the IP broadcasting system continuously sends the first voice media stream to the SIP terminal, and the SIP terminal continuously plays the first voice media stream.
In the embodiment, the terminal supporting the SIP protocol is used, so that the terminal and the system are not limited to the same local area network, the network environment requirement is simplified, and the purchase cost and the use cost of the terminal are reduced; the networking requirement of the broadcast priority function on the SIP terminal and the IP broadcast system is reduced, the broadcast priority function is realized, and the diversity of the communication function is improved.
Further, in this embodiment, the method further includes: and when the IP broadcasting system sends the second voice media stream corresponding to the high-priority broadcasting task request to the SIP terminal, the IP broadcasting system stops sending the first voice media stream to the SIP terminal.
When the IP broadcasting system receives a broadcasting task request with higher priority, the IP broadcasting system preferentially sends a second voice media stream of the broadcasting task request with higher priority to the SIP terminal, and stops sending the first voice media stream to the SIP terminal;
specifically, after the second voice media stream is played, the IP broadcasting system queries a broadcast record, and continues to send the first voice media stream to the SIP terminal according to the broadcast record.
The IP broadcasting system may store a broadcast record, record information such as a play pause time of a corresponding media stream, and continue to transmit the first voice media stream according to the broadcast record.
And after the second voice media stream is played, the IP broadcasting system inquires broadcast records, determines the voice media stream with the highest priority as the first voice media stream and continuously sends the first voice media stream to the SIP terminal.
On the other hand, the IP broadcasting system may identify the voice media stream with the highest priority from the plurality of broadcast records, and continue to send the voice media stream with the highest priority to the SIP terminal after the second voice media stream is played, and the SIP terminal plays the voice media stream with the highest priority.
In this embodiment, a technical effect of determining a broadcast priority can be achieved, the broadcast priority is achieved based on a SIP Protocol call mode, when an IP broadcast system sends a broadcast call request of an SIP Protocol, it is determined first whether a receiving terminal is already playing a broadcast, if a new broadcast priority is higher, a voice played by the terminal is switched to a new broadcast voice by a SIP switching RTP (Real-time Transport Protocol) voice stream mode, and the original broadcast voice is switched back after the broadcast is ended, thereby greatly simplifying networking requirements and reducing use cost.
In one embodiment, as shown in fig. 2, there is provided a flowchart of a communication method based on a SIP terminal, including the following steps:
Specifically, the SIP terminal is mainly connected to the IP broadcasting system, receives and plays the voice media stream of the IP broadcasting system, and can receive and play other voice media streams transmitted by the IP broadcasting system in addition to the first voice media stream and the second voice media stream.
In the embodiment, the terminal supporting the SIP protocol is used, so that the terminal and the system are not limited to the same local area network, the network environment requirement is simplified, and the purchase cost and the use cost of the terminal are reduced; the networking requirement of the broadcast priority function on the SIP terminal and the IP broadcast system is reduced, the broadcast priority function is realized, and the diversity of the communication function is improved.
In one embodiment, as shown in fig. 3, there is provided a flowchart of a communication method based on a SIP terminal, including the following steps:
Firstly, a dispatching station sends a broadcast task request with a first priority to an IP broadcast system, the IP broadcast system generates a corresponding call request to send to an SIP terminal after receiving the broadcast task request with the first priority of the dispatching station, the SIP terminal establishes connection with the IP broadcast system according to the call request, and then the IP broadcast system sends a first voice media stream to the SIP terminal, and the SIP terminal plays the first voice media stream.
After the dispatching desk sends a broadcast task request with a second priority to the IP broadcast system, the IP broadcast system judges the level of the second priority and the first priority, the voice media stream with higher level is sent to the SIP terminal, and the SIP terminal plays the voice media stream with higher level.
And after the playing of the voice media stream with the higher level is finished, the IP broadcasting system continues to send the remaining first voice media stream with the highest level to the SIP terminal, and the SIP terminal continues to play the first voice media stream.
In the embodiment, the terminal supporting the SIP protocol is used, so that the terminal and the system are not limited to the same local area network, the network environment requirement is simplified, and the purchase cost and the use cost of the terminal are reduced; the networking requirement of the broadcast priority function on the SIP terminal and the IP broadcast system is reduced, the broadcast priority function is realized, and the diversity of the communication function is improved.
Further, the method further comprises: and when the IP broadcasting system sends the second voice media stream corresponding to the high-priority broadcasting task request to the SIP terminal, the IP broadcasting system stops sending the first voice media stream to the SIP terminal.
Specifically, after the second voice media stream is played, the IP broadcasting system queries a broadcast record, and continues to send the first voice media stream to the SIP terminal according to the broadcast record.
In a specific embodiment, as shown in fig. 4, there is provided a timing diagram of a communication method based on a SIP terminal, including the following processes:
1. the dispatcher station initiates a low priority broadcast task by HTTP (hypertext Transfer Protocol) request.
2. When the IP broadcasting system judges that the called terminal is idle and does not play the broadcasting, the calling request Invite is sent through the SIP protocol.
3. After the called terminal (i.e. the general SIP protocol terminal) signals back to 200OK to be connected, the IP broadcasting system transmits the RTP voice media stream to the called terminal, and the terminal starts to play the broadcast.
4. The dispatching station initiates a high-priority broadcast task again through the HTTP request, and when the IP broadcast system judges that the new broadcast priority is higher than the broadcast currently played by the called terminal, the IP broadcast system switches the RTP voice stream of the terminal to enable the called terminal to play the new broadcast sound and save the original broadcast record.
5. After the broadcast of the called terminal is finished, the terminal telephone is not hung up, the IP broadcast system judges that the tasks in the stored broadcast record are not finished, and then the IP broadcast system finds the broadcast task with the highest priority and continues to switch the RTP voice stream to the called terminal, so that the called terminal plays the broadcast sound.
6. If the called terminal has a new broadcast task or finishes playing the current broadcast, the above 4 and 5 processes are repeated continuously, so as to realize the broadcast priority function of the called terminal, and the original broadcast can be resumed after playing the high priority broadcast task.
In the embodiment, networking requirements and purchasing use cost are greatly reduced, the broadcast priority is realized based on an SIP protocol call mode, when an IP broadcast system sends an SIP protocol broadcast call request, whether a receiving terminal plays a broadcast or not is judged firstly, if the new broadcast priority is higher, the voice played by the terminal is switched into new broadcast voice by switching an RTP voice stream mode through SIP, and the original broadcast voice is switched back after the broadcast is finished, so that networking requirements are simplified, and use cost is reduced.
It should be understood that although the various steps in the flow charts of fig. 1-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-4 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 5, there is provided a communication apparatus based on a SIP terminal, including:
a call request sending module 401, configured to, when an IP broadcast system receives a broadcast task request with a first priority, send a call request to an SIP terminal by the IP broadcast system;
a first voice media stream sending module 402, configured to receive, by the IP broadcast system, a reply connectivity message of the SIP terminal, and send a first voice media stream to the SIP terminal in response to the reply connectivity message;
a second voice media stream sending module 403, configured to, when the IP broadcasting system receives a broadcast task request with a second priority and the second priority is higher than the first priority, the IP broadcasting system sends a second voice media stream corresponding to the broadcast task request with the second priority to the SIP terminal;
a continuing sending module 404, configured to, after the second voice media stream is played, continue sending, by the IP broadcast system, the first voice media stream to the SIP terminal.
Preferably, the apparatus further comprises:
and the sending stopping module is used for stopping sending the first voice media stream to the SIP terminal by the IP broadcasting system when the IP broadcasting system sends the second voice media stream corresponding to the high-priority broadcasting task request to the SIP terminal.
Preferably, the continuing to send module includes:
and the continuous sending submodule is used for querying a broadcast record by the IP broadcast system after the second voice media stream is played, and continuously sending the first voice media stream to the SIP terminal according to the broadcast record.
Preferably, the continue transmission sub-module includes:
and a continuous sending unit, configured to, after the second voice media stream is played, query the broadcast record by the IP broadcast system, determine that the voice media stream with the highest priority is the first voice media stream, and continue to send the first voice media stream to the SIP terminal.
In one embodiment, as shown in fig. 6, there is provided a communication apparatus based on a SIP terminal, including:
a call request receiving module 501, configured to receive a call request of an IP broadcasting system by the SIP terminal;
a communication reply information response module 502, configured to reply the communication reply information to the IP broadcasting system by the SIP terminal in response to the call request;
a first voice media stream playing module 503, configured to receive and play the first voice media stream broadcasted by the IP broadcasting system by the SIP terminal;
a second voice media stream playing module 504, configured to receive and play the second voice media stream broadcasted by the IP broadcasting system by the SIP terminal, and stop playing the first voice media stream;
and a continuous playing module 505, configured to, after the second voice media stream is played, continue to play the first voice media stream by the SIP terminal.
In one embodiment, as shown in fig. 7, there is provided a communication apparatus based on a SIP terminal, including:
a first broadcast task request sending module 601, configured to send a broadcast task request with a first priority to an IP broadcast system by a scheduling station;
a call request sending module 602, configured to receive a broadcast task request with a first priority from a dispatching console by the IP broadcast system, generate a corresponding call request, and send the call request to an SIP terminal;
a connection information reply module 603, configured to receive a call request of an IP broadcast system by the SIP terminal, reply a connection information to the IP broadcast system in response to the call request;
a first voice media stream sending module 604, configured to send, by the IP broadcasting system, a first voice media stream to the SIP terminal in response to the reply connectivity information;
a first voice media stream playing module 605, configured to play the first voice media stream by the SIP terminal;
a second broadcast task request sending module 606, configured to send a broadcast task request with a second priority to the IP broadcast system by the scheduling station;
a second voice media stream sending module 607, configured to, when the IP broadcast system receives a broadcast task request with a second priority from a dispatcher station and the second priority is higher than the first priority, send a second voice media stream of a broadcast task request pair with the second priority to the SIP terminal;
a second voice media stream playing module 608, configured to receive and play the second voice media stream by the SIP terminal;
a continuing sending module 609, configured to, after the second voice media stream is played, the IP broadcast system continues to send the first voice media stream to the SIP terminal;
a continue playing module 6010, configured to continue playing, by the SIP terminal, the first voice media stream.
Preferably, the apparatus further comprises:
and the sending stopping module is used for stopping sending the first voice media stream to the SIP terminal by the IP broadcasting system when the IP broadcasting system sends the second voice media stream corresponding to the high-priority broadcasting task request to the SIP terminal.
Preferably, the continuous sending module includes:
and the continuous sending submodule is used for querying a broadcast record by the IP broadcast system after the second voice media stream is played, and continuously sending the first voice media stream to the SIP terminal according to the broadcast record.
For specific limitations of the communication device based on the SIP terminal, reference may be made to the above limitations of the communication method based on the SIP terminal, which are not described herein again. The respective modules in the communication apparatus based on the SIP terminal described above may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the communication device, and can also be stored in a memory in the communication device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a communication device is provided, which may be a dispatch station, an IP broadcasting system or a SIP terminal, and its internal structure diagram may be as shown in fig. 8. The communication device comprises a processor, a memory, a communication interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the communication device is configured to provide computing and control capabilities. The memory of the communication device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the communication device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a XXX method. The display screen of the communication equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the communication equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the communication equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the configuration shown in fig. 8 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the communication device to which the present application applies, and that a particular communication device may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
In one embodiment, a communication device is provided comprising a memory having a computer program stored therein and a processor implementing the steps of fig. 1-4 when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the steps of fig. 1-4.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (13)
1. A communication method based on Session Initiation Protocol (SIP) terminal is characterized by comprising the following steps:
when an IP broadcasting system receives a broadcasting task request with a first priority, the IP broadcasting system sends a calling request to an SIP terminal;
the IP broadcasting system receives the reply communication information of the SIP terminal and responds to the reply communication information to send a first voice media stream to the SIP terminal;
when the IP broadcasting system receives a broadcasting task request with a second priority and the second priority is higher than the first priority, the IP broadcasting system sends a second voice media stream corresponding to the broadcasting task request with the second priority to the SIP terminal;
and after the second voice media stream is played, the IP broadcasting system continuously sends the first voice media stream to the SIP terminal.
2. The SIP terminal-based communication method according to claim 1, wherein the method further comprises:
and when the IP broadcasting system sends the second voice media stream corresponding to the high-priority broadcasting task request to the SIP terminal, the IP broadcasting system stops sending the first voice media stream to the SIP terminal.
3. The SIP terminal-based communication method of claim 1, wherein the sending the first voice media stream to the SIP terminal by the IP broadcasting system after the playing of the second voice media stream is completed comprises:
and after the second voice media stream is played, the IP broadcasting system inquires a broadcast record and continuously sends the first voice media stream to the SIP terminal according to the broadcast record.
4. The SIP terminal-based communication method according to claim 3, wherein the querying, by the IP broadcasting system, a broadcast record after the playing of the second voice media stream is completed, and continuing to send the first voice media stream to the SIP terminal according to the broadcast record comprises:
and after the second voice media stream is played, the IP broadcasting system inquires broadcast records, determines the voice media stream with the highest priority as the first voice media stream and continuously sends the first voice media stream to the SIP terminal.
5. A communication method based on SIP terminal is characterized in that the method comprises the following steps:
the SIP terminal receives a call request of an IP broadcast system;
the SIP terminal responds to the call request and replies communication information to the IP broadcasting system;
the SIP terminal receives and plays the first voice media stream broadcasted by the IP broadcasting system;
the SIP terminal receives and plays the second voice media stream broadcasted by the IP broadcasting system, and stops playing the first voice media stream;
and after the second voice media stream is played, the SIP terminal continues to play the first voice media stream.
6. A communication method based on SIP terminal is characterized in that the method comprises the following steps:
the dispatching desk sends a broadcast task request with a first priority to the IP broadcast system;
the IP broadcasting system receives a first priority broadcast task request of a dispatching desk, generates a corresponding call request and sends the call request to an SIP terminal;
the SIP terminal receives a call request of an IP broadcast system, and responds to the call request to reply communication information to the IP broadcast system;
the IP broadcasting system responds to the reply communication information and sends a first voice media stream to the SIP terminal;
the SIP terminal plays the first voice media stream;
the dispatching desk sends a broadcast task request with a second priority to the IP broadcast system;
the IP broadcasting system receives a broadcast task request with a second priority of a dispatching desk, and when the second priority is higher than the first priority, the IP broadcasting system sends a second voice media stream of a broadcast task request pair with the second priority to the SIP terminal;
the SIP terminal receives and plays the second voice media stream;
after the second voice media stream is played, the IP broadcasting system continuously sends the first voice media stream to the SIP terminal;
and the SIP terminal continuously plays the first voice media stream.
7. The SIP terminal-based communication method according to claim 6, wherein the method further comprises:
and when the IP broadcasting system sends the second voice media stream corresponding to the high-priority broadcasting task request to the SIP terminal, the IP broadcasting system stops sending the first voice media stream to the SIP terminal.
8. The SIP terminal-based communication method of claim 6, wherein the sending the first voice media stream to the SIP terminal by the IP broadcasting system after the playing of the second voice media stream is completed comprises:
and after the second voice media stream is played, the IP broadcasting system inquires a broadcast record and continuously sends the first voice media stream to the SIP terminal according to the broadcast record.
9. A communication apparatus based on a SIP terminal, comprising:
the system comprises a call request sending module, a service request sending module and a service request sending module, wherein the call request sending module is used for sending a call request to an SIP terminal by an IP broadcasting system when the IP broadcasting system receives a broadcasting task request with a first priority;
a first voice media stream sending module, configured to receive, by the IP broadcast system, the reply connectivity information of the SIP terminal, and send a first voice media stream to the SIP terminal in response to the reply connectivity information;
a second voice media stream sending module, configured to, when the IP broadcast system receives a broadcast task request with a second priority and the second priority is higher than the first priority, the IP broadcast system sends a second voice media stream corresponding to the broadcast task request with the second priority to the SIP terminal;
and the continuous sending module is used for continuously sending the first voice media stream to the SIP terminal by the IP broadcasting system after the second voice media stream is played.
10. A communication apparatus based on a SIP terminal, comprising:
a call request receiving module, which is used for receiving the call request of the IP broadcasting system by the SIP terminal;
a communication reply information response module, configured to reply the communication reply information to the IP broadcast system in response to the call request by the SIP terminal;
a first voice media stream playing module, configured to receive and play the first voice media stream broadcasted by the IP broadcasting system by the SIP terminal;
a second voice media stream playing module, configured to receive and play a second voice media stream broadcasted by the IP broadcasting system by the SIP terminal, and stop playing the first voice media stream;
and the continuous playing module is used for continuously playing the first voice media stream by the SIP terminal after the second voice media stream is played.
11. A communication apparatus based on a SIP terminal, comprising:
the first broadcast task request sending module is used for sending a broadcast task request with a first priority to the IP broadcast system by the dispatching desk;
the system comprises a calling request sending module, a service request sending module and a service request sending module, wherein the calling request sending module is used for the IP broadcasting system to receive a first priority broadcasting task request of a dispatching desk, generate a corresponding calling request and send the calling request to an SIP terminal;
a response module for replying the connection information, which is used for the SIP terminal to receive the call request of the IP broadcasting system and to reply the connection information to the IP broadcasting system in response to the call request;
a first voice media stream sending module, configured to send, by the IP broadcast system, a first voice media stream to the SIP terminal in response to the reply connectivity information;
a first voice media stream playing module, configured to play the first voice media stream by the SIP terminal;
a second broadcast task request sending module, configured to send a broadcast task request with a second priority to the IP broadcast system by the scheduling station;
a second voice media stream sending module, configured to send a second voice media stream of a broadcast task request pair of a second priority to the SIP terminal when the IP broadcast system receives a broadcast task request of the second priority from the dispatcher station and the second priority is higher than the first priority;
a second voice media stream playing module, configured to receive and play the second voice media stream by the SIP terminal;
a continuous sending module, configured to, after the second voice media stream is played, the IP broadcast system continuously sends the first voice media stream to the SIP terminal;
and the continuous playing module is used for continuously playing the first voice media stream by the SIP terminal.
12. A communication device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the SIP terminal based communication method according to any of claims 1 to 9.
13. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the SIP terminal-based communication method according to any of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210080566.4A CN114500474A (en) | 2022-01-24 | 2022-01-24 | Communication method, device, communication equipment and storage medium based on SIP terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210080566.4A CN114500474A (en) | 2022-01-24 | 2022-01-24 | Communication method, device, communication equipment and storage medium based on SIP terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114500474A true CN114500474A (en) | 2022-05-13 |
Family
ID=81475035
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210080566.4A Pending CN114500474A (en) | 2022-01-24 | 2022-01-24 | Communication method, device, communication equipment and storage medium based on SIP terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114500474A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116032896A (en) * | 2023-02-07 | 2023-04-28 | 上海云翌通信科技有限公司 | Communication method, communication equipment and storage medium based on SIP protocol broadcasting |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012079286A1 (en) * | 2010-12-13 | 2012-06-21 | 华为技术有限公司 | Method, apparatus and system for remote access to broadcasting |
CN102571372A (en) * | 2010-12-31 | 2012-07-11 | 北京大唐高鸿数据网络技术有限公司 | Realization method for IP (Internet Protocol) broadcasting system |
CN105812151A (en) * | 2014-12-31 | 2016-07-27 | 北京大唐高鸿数据网络技术有限公司 | IP intercommunication broadcast system based on SIP and private protocol |
KR102091200B1 (en) * | 2018-11-22 | 2020-03-19 | 우송대학교산학협력단 | SIP BASED BROADCASTING SYSTEM USING IP-PBX AND IoT EMERGENCY ANNOUNCEMENT SYSTEM USING IT |
CN112383373A (en) * | 2020-11-18 | 2021-02-19 | 广东长盈科技股份有限公司 | Intelligent broadcast scheduling method and system for realizing emergency broadcast |
CN113612759A (en) * | 2021-07-29 | 2021-11-05 | 世邦通信股份有限公司 | High-performance high-concurrency intelligent broadcasting system based on SIP protocol and implementation method |
US20220014569A1 (en) * | 2020-07-09 | 2022-01-13 | Mediatek Inc. | Enhancements for real-time text (rtt) call control over an ip multimedia subsystem (ims) network |
-
2022
- 2022-01-24 CN CN202210080566.4A patent/CN114500474A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012079286A1 (en) * | 2010-12-13 | 2012-06-21 | 华为技术有限公司 | Method, apparatus and system for remote access to broadcasting |
CN102571372A (en) * | 2010-12-31 | 2012-07-11 | 北京大唐高鸿数据网络技术有限公司 | Realization method for IP (Internet Protocol) broadcasting system |
CN105812151A (en) * | 2014-12-31 | 2016-07-27 | 北京大唐高鸿数据网络技术有限公司 | IP intercommunication broadcast system based on SIP and private protocol |
KR102091200B1 (en) * | 2018-11-22 | 2020-03-19 | 우송대학교산학협력단 | SIP BASED BROADCASTING SYSTEM USING IP-PBX AND IoT EMERGENCY ANNOUNCEMENT SYSTEM USING IT |
US20220014569A1 (en) * | 2020-07-09 | 2022-01-13 | Mediatek Inc. | Enhancements for real-time text (rtt) call control over an ip multimedia subsystem (ims) network |
CN112383373A (en) * | 2020-11-18 | 2021-02-19 | 广东长盈科技股份有限公司 | Intelligent broadcast scheduling method and system for realizing emergency broadcast |
CN113612759A (en) * | 2021-07-29 | 2021-11-05 | 世邦通信股份有限公司 | High-performance high-concurrency intelligent broadcasting system based on SIP protocol and implementation method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116032896A (en) * | 2023-02-07 | 2023-04-28 | 上海云翌通信科技有限公司 | Communication method, communication equipment and storage medium based on SIP protocol broadcasting |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101298956B1 (en) | A method and apparatus for providing enhanced features to multicast content services and multiplayer gaming services | |
CN101507211B (en) | Client controlled dynamic call forwarding | |
KR100978182B1 (en) | System and method for multiple simultaneous group communications in a wireless system | |
JP4599617B2 (en) | Centralized controller for distributed processing of telecommunications features | |
US20070070991A1 (en) | Method and apparatus for voice over IP telephone | |
US8068866B2 (en) | Group communication server | |
US20100185787A1 (en) | Dynamic call handling from multiple attached devices | |
US20070136459A1 (en) | Session continuity in multimedia services | |
US20070038778A1 (en) | Method and system for playing multimedia files | |
EP3928500B1 (en) | Presenting content during video call hold events | |
CN102917142B (en) | Busy sets up the method and apparatus of calling | |
MX2008000317A (en) | System and method for resolving conflicts in multiple simultaneous communications in a wireless system. | |
CN109728994B (en) | Call method, device and computer readable storage medium | |
CN114500474A (en) | Communication method, device, communication equipment and storage medium based on SIP terminal | |
US7885674B2 (en) | Determining which channels are accessible by a communication device in a push-to-talk communication network | |
WO2015014174A1 (en) | Ring-back playing method and apparatus, and ring-back service system | |
KR100651431B1 (en) | Method for ptt service in the push to talk portable terminal | |
CN101557497B (en) | Conference auditing method and terminal and system thereof | |
CN114125163A (en) | Media resource playing method, related device and system | |
JP2009153114A (en) | Communication control apparatus and method | |
CN116032896A (en) | Communication method, communication equipment and storage medium based on SIP protocol broadcasting | |
CN104066015B (en) | The flow media playing method and device of mobile terminal | |
JP2007053487A (en) | System and method for controlling right to speak, and program | |
US8385962B1 (en) | Push-to-talk voice messages | |
JP2010517342A (en) | PoC media system, apparatus and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |