A media terminal interworking method, device and medium for a smart hospital
By employing a media interconnection system cluster consisting of edge servers and central server rooms in a smart hospital, and utilizing internal private protocols for signaling processing and subscription relationship management, the problems of increased transmission nodes and difficulty in troubleshooting in media terminal interconnection are solved, achieving highly stable and efficient media terminal interconnection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-11
- Publication Date
- 2026-03-03
AI Technical Summary
In existing technologies, the media terminals in smart hospitals are of different types, which requires protocol and data conversion through gateways when achieving interconnection. This increases the number of transmission nodes, the possibility of errors and the difficulty of troubleshooting, and makes it difficult to achieve high-concurrency processing and unified call flow control.
A media interconnection system cluster consisting of multiple edge servers and central data center servers is adopted. Through sub-signaling service modules and sub-media service modules, signaling processing and media terminal status management are performed based on internal private protocols. Subscription relationships are established, avoiding the use of media gateways and realizing unified session management and process control.
It improves the stability and transmission rate of media terminal interoperability, reduces media transmission latency, avoids interoperability failure caused by single node failure, and achieves high-concurrency processing and unified terminal status management.
Smart Images

Figure CN116708441B_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of communication technology, and in particular to a method, device and medium for media terminal interoperability in smart hospitals. Background Technology
[0002] A smart hospital is an intelligent hospital that combines internet technology, smart technology, and artificial intelligence technology. Currently, media interoperability in smart hospitals mainly includes the following aspects: First, medical media communication for medical staff, namely, the construction of information systems centered on electronic medical records, enabling interconnection between electronic medical records and other systems such as imaging and laboratory testing; second, patient-oriented call media communication, namely, media communication between ward patients and nursing staff based on the interconnection between bedside call devices and nurse station or doctor terminal devices; and third, media interoperability for hospital management, namely, through the hospital's internal logistics management, managers can use mobile phones or office computers to achieve overall hospital operation status and information management.
[0003] Currently, there are different types of media terminals in smart hospitals. For example, creating, modifying, and releasing Internet multimedia conferences, IP telephony, or multimedia distribution involving one or more participants might correspond to media terminals using the SIP (Session Initiation Protocol) signaling control protocol, while creating point-to-point data sharing and teleconferences might correspond to media terminals using WebRTC (Web Real-Time Communications). To achieve interoperability between these different terminals, gateways need to be built between the corresponding services to perform protocol and data conversion. However, the existing method of building gateways between corresponding services increases the number of transmission nodes, the possibility of errors, and the difficulty of troubleshooting. Furthermore, for hospitals with a large number of media terminals, managing a large number of gateway processes is difficult, hindering high-concurrency processing, and making it difficult to unify the control of call flow and the management of terminal status. Summary of the Invention
[0004] To address the aforementioned technical problems, this specification provides one or more embodiments of a media terminal interoperability method for smart hospitals.
[0005] One or more embodiments of this specification employ the following technical solutions:
[0006] This specification provides one or more embodiments of a media terminal interoperability method for smart hospitals, applied to a media interoperability system cluster comprising one or more edge servers and a central server connected to the one or more edge servers. The edge servers include: a sub-signaling service module, a sub-call flow control module, and a sub-media service module. The central server includes: a server, a main signaling service module, a main call flow control module, and a main media service module. The method includes:
[0007] The sub-signaling service module obtains the signaling control protocols corresponding to various types of media terminals based on the department information corresponding to the edge server, and establishes a corresponding signaling processing module based on the signaling control protocols; wherein, the signaling processing module is used to process the signaling format corresponding to the signaling control protocols;
[0008] The sub-signaling service module enables the signaling processing module to communicate with the preset sub-call flow control module based on a preset interface, so that the preset sub-call flow control module can transmit the status information of the media terminal to the sub-media service module based on a private protocol.
[0009] The sub-media service module constructs a subscription relationship between each media terminal in the edge server based on the status information, so as to enable communication between the media terminals based on the subscription relationship;
[0010] If the media terminal determines that there is a communication anomaly on the edge server, then the communication of the media terminal is rebuilt based on the general signaling service module, the general call flow control module, and the general media service module.
[0011] Optionally, in one or more embodiments of this specification, the sub-signaling service module obtains the signaling control protocols corresponding to various types of media terminals based on the department information corresponding to the edge server, and establishes corresponding signaling processing modules based on the signaling control protocols, specifically including:
[0012] The sub-signaling service module determines the media terminal information of the department based on the department name corresponding to the edge server, and uses the department name and the media terminal information as the department information; wherein, the media terminal information includes: media terminal type and media terminal identifier;
[0013] The sub-signaling service module determines the signaling control protocol corresponding to each type of media terminal in the edge server based on the media terminal type;
[0014] The sub-signaling service module determines the signaling processing module to be added based on the signaling control protocol, so as to establish the signaling processing module to be added and obtain the signaling processing module corresponding to the signaling control protocol.
[0015] Optionally, in one or more embodiments of this specification, a subscription relationship is constructed between each media terminal in the edge server based on the status information, so that the media terminals can communicate based on the subscription relationship, specifically including:
[0016] If the sub-media service module determines that the media terminal has triggered a communication operation based on the status information of the media terminal, then a media room is created in the media service module;
[0017] The sub-media service module obtains the media terminal identifier of the media terminal based on the status information, and determines the subscription relationship corresponding to the media terminal based on the media terminal identifier;
[0018] The sub-media service module establishes communication between the media terminal and the subscribed media terminal based on the subscription relationship.
[0019] Optionally, in one or more embodiments of this specification, before establishing communication between the media terminal and the subscribed media terminal based on the subscription relationship, the method further includes:
[0020] The sub-media service module obtains the media terminal identifier of the signaling server based on the internal private protocol, and adds the media terminal to the media room based on the media terminal identifier;
[0021] The sub-media service module determines the media terminals to be prepared for the media room based on the subscription relationship;
[0022] The sub-media service module establishes a media transmission and reception preparation module for the media terminal to be prepared, and performs encoding negotiation on the media terminal to be prepared based on the media transmission and reception preparation module.
[0023] Optionally, in one or more embodiments of this specification, the encoding negotiation for the media terminal to be prepared based on the media transceiver preparation module specifically includes:
[0024] The media transmission and reception preparation module determines the publishing media terminal and the subscribing media terminal among the media terminals to be prepared; wherein, the publishing media terminal is used for sending, and the subscribing media terminal is used for receiving;
[0025] The media transceiver preparation module obtains the encoding parameters of the publishing media terminal and the subscribing media terminal respectively, and determines the encoding negotiation parameters between the publishing media terminal and the subscribing media terminal based on the encoding parameters of the subscribing media terminal and the signaling control protocol of the subscribing media terminal.
[0026] The media transceiver preparation module performs encoding negotiation on the media terminal to be prepared according to the encoding negotiation parameters.
[0027] Optionally, in one or more embodiments of this specification, the encoding negotiation parameters between the publishing media terminal and the subscribing media terminal are determined based on the encoding parameters of the subscribing media terminal and the signaling control protocol of the subscribing media terminal, specifically including:
[0028] The sub-media service module searches for media codes that are commonly supported by the publishing media terminal and the subscribing media terminal to determine whether there are any commonly supported media codes between the publishing media terminal and the subscribing media terminal.
[0029] If a commonly supported media codec exists, the sub-media service module uses that media codec as the encoding negotiation parameter between the publishing media terminal and the subscribing media terminal.
[0030] If no commonly supported media encoding exists, the sub-media service module will use the optimal encoding of the publishing media terminal and the subscribing media terminal as the encoding negotiation parameter so as to perform media transcoding when transmitting media between the publishing media terminal and the subscribing media terminal.
[0031] Optionally, in one or more embodiments of this specification, if the service determines that the media terminal of the edge server has a communication anomaly, it specifically includes:
[0032] The media terminal acquires a signaling connection channel corresponding to the sub-signaling service module;
[0033] The media terminal monitors the heartbeat cycle of the signaling connection channel and determines the connection status between the media terminal and the edge server based on the heartbeat cycle.
[0034] If the connection status is determined to be an abnormal connection, the media terminal reconnects to the sub-signaling service module, obtains the reconnection result, and determines whether the edge server is abnormal based on the reconnection result. Optionally, in one or more embodiments of this specification, rebuilding the communication of the media terminal based on the main signaling service module, the main call flow control module, and the main media service module specifically includes:
[0035] The server connects the media terminal to the signaling processing module of the general signaling service module, so as to process the signaling format corresponding to the signaling control protocol of the media terminal based on the signaling processing module.
[0036] The general signaling service module enables the signaling processing module to communicate with the pre-set general call flow control module through a pre-set interface, so that the pre-set general call flow control module can transmit the status information of the media terminal to the general media service module based on a private protocol.
[0037] The general media service module constructs the subscription relationship of the media terminals in the central computer room server based on the status information, so as to conduct communication of the media terminals based on the subscription relationship.
[0038] This specification provides one or more embodiments of a media terminal interoperability system for smart hospitals. The system includes: one or more edge servers and a central computer room server connected to the one or more edge servers. The edge servers include: a sub-signaling service module, a sub-call flow control module, and a sub-media service module. The central computer room server includes: a server, a main signaling service module, a main call flow control module, and a main media service module.
[0039] The sub-signaling service module obtains the signaling control protocols corresponding to various types of media terminals based on the department information corresponding to the edge server, and establishes a corresponding signaling processing module based on the signaling control protocols; wherein, the signaling processing module is used to process the signaling format corresponding to the signaling control protocols;
[0040] The sub-signaling service module enables the signaling processing module to communicate with the preset sub-call flow control module based on a preset interface, so that the preset sub-call flow control module can transmit the status information of the media terminal to the sub-media service module based on a private protocol.
[0041] The sub-media service module constructs a subscription relationship between each media terminal in the edge server based on the status information, so as to enable communication between the media terminals based on the subscription relationship;
[0042] If the media terminal determines that there is a communication anomaly on the edge server, then the communication of the media terminal is rebuilt based on the general signaling service module, the general call flow control module, and the general media service module.
[0043] This specification provides one or more embodiments of a non-volatile computer storage medium storing computer-executable instructions, applied to a media interconnection system cluster comprising one or more edge servers and a central data center server connected to the one or more edge servers. The edge servers include: a sub-signaling service module, a sub-call flow control module, and a sub-media service module. The central data center server includes: a server, a main signaling service module, a main call flow control module, and a main media service module. The computer-executable instructions are capable of executing any of the methods described above.
[0044] The above-described at least one technical solution adopted in the embodiments of this specification can achieve the following beneficial effects:
[0045] By setting up a media interconnection cluster consisting of multiple edge servers and a central data center server, when a failure of one edge server causes media terminal interconnection failure, the central data center server can still enable media terminals under that edge server to communicate and interact normally, avoiding the problem of media terminal interconnection failure caused by a single node failure. Interconnecting the signaling processing module with the pre-set sub-call flow control module via a pre-set interface achieves unified session management and flow control. Furthermore, connecting the sub-signaling service module and the sub-media service module based on an internal proprietary protocol avoids the transmission latency issues caused by using a media gateway, improving transmission speed and stability. Media interconnection based on subscription relationships enables timely acquisition of information sent by subscribed media terminals, avoiding gateway relays between multiple types of media terminals in existing technologies, thus reducing media transmission latency. Attached Figure Description
[0046] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:
[0047] Figure 1 A flowchart illustrating a media terminal interoperability method for a smart hospital, provided as an embodiment of this specification;
[0048] Figure 2 A schematic diagram of an edge server structure for a media terminal interconnection system cluster used in a smart hospital, provided as an embodiment of this specification;
[0049] Figure 3 A schematic diagram of the structure of a media terminal interoperability system cluster for a smart hospital, provided as an embodiment of this specification;
[0050] Figure 4 A schematic diagram of the structure of an existing media terminal interoperability system based on a media gateway, provided for embodiments of this specification;
[0051] Figure 5 This is a schematic diagram of the internal structure of a non-volatile storage medium provided in the embodiments of this specification. Detailed Implementation
[0052] This specification provides a method, device, and medium for media terminal interoperability in smart hospitals.
[0053] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments of this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this specification.
[0054] like Figure 1 The diagram shown is a schematic flowchart of a media terminal interoperability method for a smart hospital provided in an embodiment of this specification. Figure 1 As can be seen, one or more embodiments of this specification describe a media terminal interoperability method for smart hospitals, which is applied to, for example... Figure 3 The illustrated media interconnection system cluster comprises one or more edge servers and a central data center server connected to the one or more edge servers. Figure 2 It is known that the edge server includes: a sub-signaling service module, a sub-call flow control module, and a sub-media service module; the central data center server includes: a general signaling service module, a general call flow control module, and a general media service module. The method specifically includes the following steps:
[0055] S101: The sub-signaling service module obtains the signaling control protocols corresponding to various types of media terminals based on the department information corresponding to the edge server, and establishes a corresponding signaling processing module based on the signaling control protocols; wherein, the signaling processing module is used to process the signaling format corresponding to the signaling control protocols.
[0056] like Figure 4The diagram illustrates an existing system architecture for interconnecting different types of terminals based on a media gateway. This media gateway-based interconnection method increases the number of transmission nodes, thus raising the likelihood of errors. Therefore, to avoid the increased error rate due to too many transmission nodes, and to prevent a single node failure from disrupting media interoperability and impacting normal hospital operations, this embodiment of the specification sets up multiple edge servers. This allows the sub-signaling service modules within each edge server to obtain the signaling control protocols corresponding to different types of media terminals, such as WebRTC and SIP, based on the department information of the edge server. This allows for the establishment of multiple signaling processing modules within the sub-signaling service modules according to the required signaling control protocol.
[0057] Specifically, in one or more embodiments of this specification, the sub-signaling service module obtains the signaling control protocols corresponding to various types of media terminals based on the department information corresponding to the edge server, and establishes corresponding signaling processing modules based on the signaling control protocols, specifically including the following processes:
[0058] First, the sub-signaling service module determines the media terminal information of the department corresponding to the edge server based on the department name, thus using the department name and media terminal information as the department information. It should be noted that the media terminal information includes: media terminal type and media terminal identifier. Then, the sub-signaling service module determines the signaling control protocol corresponding to each type of media terminal in the edge server based on the media terminal type. Based on the signaling control protocol, it determines the signaling processing module required for the current scenario, which serves as the signaling processing module to be added to the sub-signaling service module. This process then establishes the signaling processing module to be added, obtaining the signaling processing module corresponding to the signaling control protocol. These signaling processing modules include, for example, WebRTC signaling modules and SIP signaling modules, each capable of processing its own signaling format and performing its own signaling processing according to its specific signaling characteristics. For instance, the SIP signaling module implements the standard SIP protocol stack. This modular design supports multiple different signaling protocols and allows for the seamless addition of new modules based on business needs.
[0059] S102: The sub-signaling service module enables the signaling processing module to communicate with the preset sub-call flow control module based on a preset interface, so that the preset sub-call flow control module can transmit the status information of the media terminal to the sub-media service module based on a private protocol.
[0060] To address the challenges of precise and unified call flow control and terminal status management in existing methods, the sub-signaling service modules in the edge servers of each department in this embodiment interoperate with the pre-set sub-call flow control module via a pre-set interface. This allows the pre-set call flow control module to transmit media terminal status information through a private collaborative mechanism. This design enables the call flow control module to focus solely on call flow control and terminal status management without needing to consider differences in terminal types. The internal private protocol connects the sub-signaling service module and the sub-media service module, avoiding the transmission latency issues associated with media gateways, thus improving transmission speed and stability. Furthermore, unified session management and flow control facilitate quality control and recording analysis of the entire audio and video call process, and also enable unified server-side recording functionality.
[0061] S103: The sub-media service module constructs a subscription relationship between each media terminal in the edge server based on the status information, so as to conduct communication between the media terminals based on the subscription relationship.
[0062] To enable timely communication between media terminals as needed, such as establishing communication between the nurse station terminal and the patient's terminal when a patient makes a call, and also establishing communication between the nurse station terminal and the doctor's terminal, this embodiment utilizes a sub-media service module to promptly obtain status information from the sub-signaling service module. This allows for timely communication preparation based on terminal status, establishing subscription relationships between media terminals on the edge server, and ultimately enabling timely acquisition of information from different types of media terminals based on these subscription relationships.
[0063] Specifically, in one or more embodiments of this specification, a subscription relationship between media terminals in an edge server is constructed based on state information, so that communication between the media terminals is based on the subscription relationship. This specifically includes the following process:
[0064] First, the sub-media service module determines the media terminal's triggered communication operation based on its status information, and then creates a media room within the media service module. It should be noted that this communication operation can correspond to different events depending on the scenario, such as obtaining pathology data or calling a hospital bed. Then, the sub-media service module obtains the media terminal identifier based on the status information, and determines the corresponding subscription relationship based on the media terminal identifier. This allows the sub-media service module to establish communication between the media terminal and the subscribed media terminal based on the subscription relationship. In other words, in a certain application scenario described in this specification, the sub-media service module abstracts the concept of a "room," which is essentially a media room. The parties in the call are "members" of the "room," which may include "WebRTC terminal members" or "SIP terminal members." In other words, after the sub-signaling service module and the sub-media service module communicate via a private protocol, the sub-signaling service module informs the sub-media service module of the media terminal status information. To respond promptly to changes in the media terminal's status, the sub-media service module performs the following steps: First, it creates a media "room," then adds media "room members," and negotiates encoding between media terminals to prepare for media transmission and reception by the corresponding media transceiver modules. Then, based on specific business needs, it establishes a "publish / subscribe relationship" among the corresponding "room members" to obtain information about the relevant media terminals based on this responsive publish / subscribe relationship. It can be understood that the sub-media service module also adopts a modular design, with each media transceiver module responsible for transmitting and receiving media based on the characteristics of its respective media. This modular design supports multiple different media transmission methods and allows for the seamless addition of new media transceiver modules.
[0065] Furthermore, in one or more embodiments of this specification, before establishing communication between a media terminal and a subscribed media terminal based on a subscription relationship, the method further includes the following steps: First, the sub-media service module obtains the media terminal identifier of the signaling server based on an internal private protocol, and adds the media terminal to the media room based on the media terminal identifier. The sub-media service module determines the media terminals to be prepared in the media room based on the subscription relationship. Then, the sub-media service module establishes a media transmission and reception preparation module for the media terminals to be prepared, and performs encoding negotiation on the media terminals to be prepared. Media intercommunication based on subscription relationships can obtain information sent by subscribed media terminals in a timely manner, avoiding gateway relay between multiple types of media terminals in the prior art, and reducing media transmission latency.
[0066] Furthermore, to avoid encoding transmission conflicts between media terminals, in one or more embodiments of this specification, encoding negotiation is performed on the media terminals to be prepared based on the media transceiver preparation module, specifically including the following steps:
[0067] First, the sub-media service module identifies the publishing media terminal and the subscribing media terminal among the media terminals to be prepared. It can be understood that the publishing media terminal is used for sending, while the subscribing media terminal is used for receiving. Then, the sub-media service module obtains the encoding parameters of both the publishing and subscribing media terminals. Based on the encoding parameters and signaling control protocol of the subscribing media terminal, the sub-media service module determines the encoding negotiation parameters for the publishing and subscribing media terminals. Finally, the sub-media service module performs encoding negotiation on the media terminals to be prepared based on these encoding negotiation parameters.
[0068] Furthermore, in one or more embodiments of this specification, the encoding negotiation parameters between the publishing media terminal and the subscribing media terminal are determined based on the encoding parameters and signaling control protocol of the subscribing media terminal, specifically including the following steps:
[0069] First, the sub-media service module searches for media codecs commonly supported by both the publishing and subscribing media terminals to determine if such codecs exist. If a common codec exists, the sub-media service module uses it as the encoding negotiation parameter between the publishing and subscribing media terminals. If no common codec exists, the sub-media service module uses the optimal codecs for each terminal as encoding negotiation parameters to facilitate media transcoding during transmission between the publishing and subscribing media terminals.
[0070] S104: If the media terminal determines that there is a communication anomaly on the edge server, then the communication of the media terminal is rebuilt based on the general signaling service module, the general call flow control module and the general media service module.
[0071] To address the issues of high error rates and difficulty in troubleshooting due to an excessive number of existing transmission nodes, and to improve the stability of the intranet bandwidth, this specification divides the media interoperability system into one or more edge servers and a central server. Media terminals communicate with each other based on this media interoperability system cluster. Even if a failure occurs in one edge server, causing media terminal communication to fail, the media terminals connected to that edge server can still communicate and interact normally. In the embodiments of this specification, if a communication anomaly is detected in the media terminals of an edge server, the communication of the media terminals connected to the edge server is rebuilt according to the overall signaling service module, the overall call flow control module, and the overall media service module.
[0072] Specifically, in one or more embodiments of this specification, the server determines that the media terminal of the edge server has a communication anomaly, which specifically includes the following process:
[0073] First, the media terminal acquires the signaling connection channel corresponding to the sub-signaling service module. Then, the media terminal monitors the heartbeat cycle of the signaling connection channel and determines the connection status between the media terminal and the edge server based on the acquired heartbeat cycle. If the connection status is determined to be abnormal, the media terminal reconnects to the sub-signaling service module, obtains the reconnection result, and determines whether the edge server is abnormal based on the reconnection result.
[0074] Optionally, in one or more embodiments of this specification, determining that a media terminal on the edge server has a communication anomaly can also be implemented in the following way: First, the media terminal determines the trigger time of the status information, and then determines the communication waiting time based on the trigger time and the current time. If the media terminal determines that the current communication waiting time is greater than a preset waiting time, then the media terminal sends the department information corresponding to its edge server to the server. Then, in order to rule out the media terminal's fault, the server determines the number of abnormal media terminals with abnormal connections on the edge server within a preset time based on the media terminal information in the department information. If the server determines that the number of abnormal media terminals on the edge server is greater than a preset abnormal number threshold, then the server determines that the edge server has a fault, causing the media terminal to have a communication anomaly.
[0075] Furthermore, in one or more embodiments of this specification, the reconstruction of media terminal communication based on the general signaling service module, the general call flow control module, and the general media service module specifically includes the following process:
[0076] First, the server connects the media terminal to the signaling processing module of the main signaling service module, so that the signaling format corresponding to the signaling control protocol of the media terminal is processed by the signaling processing module. Then, the main signaling service module communicates with the pre-set main call flow control module through a pre-set interface, so that the pre-set main call flow control module transmits the status information of the media terminal to the main media service module based on a private protocol. The main media service module then constructs the subscription relationship of the media terminals in the central computer room server based on the status information of the media terminals, and conducts communication of the media terminals based on the subscription relationship. Based on this, it can be understood that regardless of which server the media terminal is connected to, whether it is a WebRTC terminal or a SIP terminal, all different types of terminals in the entire system can interconnect.
[0077] like Figure 3 As shown, this specification provides a schematic diagram of the structure of a media terminal interoperability system for a smart hospital, based on one or more embodiments. Figure 3It is known that a media terminal interoperability system for smart hospitals includes: one or more edge servers and a central server connected to the one or more edge servers. The edge servers include: a sub-signaling service module, a sub-call flow control module, and a sub-media service module. The central server includes: a main signaling service module, a main call flow control module, and a main media service module.
[0078] The sub-signaling service module obtains the signaling control protocols corresponding to various types of media terminals based on the department information corresponding to the edge server, and establishes a corresponding signaling processing module based on the signaling control protocols; wherein, the signaling processing module is used to process the signaling format corresponding to the signaling control protocols;
[0079] The sub-signaling service module enables the signaling processing module to communicate with the preset sub-call flow control module based on a preset interface, so that the preset sub-call flow control module can transmit the status information of the media terminal to the sub-media service module based on a private protocol.
[0080] The sub-media service module constructs a subscription relationship between each media terminal in the edge server based on the status information, so as to enable communication between the media terminals based on the subscription relationship;
[0081] If the media terminal determines that there is a communication anomaly on the edge server, then the communication of the media terminal is rebuilt based on the general signaling service module, the general call flow control module, and the general media service module.
[0082] like Figure 5 As shown, one or more embodiments of this specification provide a non-volatile storage medium storing computer-executable instructions, applied to a media interconnection system cluster comprising one or more edge servers and a central data center server connected to the one or more edge servers. The edge servers include: a sub-signaling service module, a sub-call flow control module, and a sub-media service module. The central data center server includes: a main signaling service module, a main call flow control module, and a main media service module. The computer-executable instructions are characterized in that they are capable of executing any of the methods described above.
[0083] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of apparatus, devices, and non-volatile computer storage media are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0084] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0085] The above description is merely one or more embodiments of this specification and is not intended to limit this specification. Various modifications and variations can be made to the one or more embodiments of this specification by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of one or more embodiments of this specification should be included within the scope of the claims of this specification.
Claims
1. A media terminal interoperability method for smart hospitals, applied to a media interoperability system cluster comprising one or more edge servers and a central server room server connected to the one or more edge servers, wherein, The edge server includes: a sub-signaling service module, a sub-call flow control module, and a sub-media service module; the central server includes: a general signaling service module, a general call flow control module, and a general media service module; the method includes: The sub-signaling service module obtains the signaling control protocols corresponding to various types of media terminals based on the department information corresponding to the edge server, and establishes a corresponding signaling processing module based on the signaling control protocols; wherein, the signaling processing module is used to process the signaling format corresponding to the signaling control protocols; The sub-signaling service module enables the signaling processing module to communicate with the preset sub-call flow control module based on a preset interface, so that the preset sub-call flow control module can transmit the status information of the media terminal to the sub-media service module based on a private protocol. The sub-media service module constructs a subscription relationship between each media terminal in the edge server based on the status information, so as to enable communication between the media terminals based on the subscription relationship; If the media terminal determines that there is a communication anomaly on the edge server, then the communication of the media terminal is rebuilt based on the general signaling service module, the general call flow control module, and the general media service module.
2. The media terminal interoperability method for smart hospitals according to claim 1, characterized in that, The sub-signaling service module obtains the signaling control protocols corresponding to various types of media terminals based on the department information corresponding to the edge server, and establishes corresponding signaling processing modules based on the signaling control protocols, specifically including: The sub-signaling service module determines the media terminal information of the department based on the department name corresponding to the edge server, and uses the department name and the media terminal information as the department information; wherein, the media terminal information includes: media terminal type and media terminal identifier; The sub-signaling service module determines the signaling control protocol corresponding to each type of media terminal in the edge server based on the media terminal type; The sub-signaling service module determines the signaling processing module to be added based on the signaling control protocol, so as to establish the signaling processing module to be added and obtain the signaling processing module corresponding to the signaling control protocol.
3. The media terminal interoperability method for a smart hospital according to claim 2, characterized in that, Based on the state information, a subscription relationship is constructed between each media terminal in the edge server, so that the media terminals can communicate based on the subscription relationship. Specifically, this includes: If the sub-media service module determines that the media terminal has triggered a communication operation based on the status information of the media terminal, then a media room is created in the media service module; The sub-media service module obtains the media terminal identifier of the media terminal based on the status information, and determines the subscription relationship corresponding to the media terminal based on the media terminal identifier; The sub-media service module establishes communication between the media terminal and the subscribed media terminal based on the subscription relationship.
4. The media terminal interoperability method for a smart hospital according to claim 3, characterized in that, Before establishing communication between the media terminal and the subscribed media terminal based on the subscription relationship, the method further includes: The sub-media service module obtains the media terminal identifier of the signaling server based on an internal private protocol, and adds the media terminal to the media room based on the media terminal identifier; The sub-media service module determines the media terminals to be prepared for the media room based on the subscription relationship; The sub-media service module establishes a media transmission and reception preparation module for the media terminal to be prepared, and performs encoding negotiation on the media terminal to be prepared.
5. A media terminal interoperability method for a smart hospital according to claim 4, characterized in that, The sub-media service module establishes a media transmission and reception preparation module for the media terminal to be prepared, and performs encoding negotiation on the media terminal to be prepared, specifically including: The sub-media service module determines the publishing media terminal and the subscribing media terminal among the media terminals to be prepared; wherein, the publishing media terminal is used for sending, and the subscribing media terminal is used for receiving; The sub-media service module obtains the encoding parameters of the publishing media terminal and the subscribing media terminal respectively, and determines the encoding negotiation parameters between the publishing media terminal and the subscribing media terminal based on the encoding parameters of the subscribing media terminal and the signaling control protocol of the subscribing media terminal. The sub-media service module performs encoding negotiation on the media terminal to be prepared according to the encoding negotiation parameters.
6. A media terminal interoperability method for a smart hospital according to claim 5, characterized in that, Based on the encoding parameters and signaling control protocol of the subscription media terminal, the encoding negotiation parameters between the publishing media terminal and the subscription media terminal are determined, specifically including: The sub-media service module searches for media codes that are commonly supported by the publishing media terminal and the subscribing media terminal to determine whether there are any commonly supported media codes between the publishing media terminal and the subscribing media terminal. If a commonly supported media codec exists, the sub-media service module uses that media codec as the encoding negotiation parameter between the publishing media terminal and the subscribing media terminal. If no commonly supported media encoding exists, the sub-media service module will use the optimal encoding of the publishing media terminal and the subscribing media terminal as the encoding negotiation parameter so as to perform media transcoding when transmitting media between the publishing media terminal and the subscribing media terminal.
7. A media terminal interoperability method for smart hospitals according to claim 1, characterized in that, If the media terminal determines that there is a communication anomaly on the edge server, specifically including: The media terminal acquires a signaling connection channel corresponding to the sub-signaling service module; The media terminal monitors the heartbeat cycle of the signaling connection channel and determines the connection status between the media terminal and the edge server based on the heartbeat cycle. If the connection status is determined to be an abnormal connection, the media terminal reconnects to the sub-signaling service module, obtains the reconnection result, and determines whether the edge server is abnormal based on the reconnection result.
8. A media terminal interoperability method for a smart hospital according to claim 1, characterized in that, The communication of the media terminal is reconstructed based on the overall signaling service module, the overall call flow control module, and the overall media service module, specifically including: The central computer room server connects the media terminal to the signaling processing module of the general signaling service module, so as to process the signaling format corresponding to the signaling control protocol of the media terminal based on the signaling processing module. The general signaling service module enables the signaling processing module to communicate with the pre-set general call flow control module through a pre-set interface, so that the pre-set general call flow control module can transmit the status information of the media terminal to the general media service module based on a private protocol. The general media service module constructs the subscription relationship of the media terminals in the central computer room server based on the status information, so as to conduct communication of the media terminals based on the subscription relationship.
9. A media terminal interoperability system for smart hospitals, characterized in that, The system includes: one or more edge servers and a central data center server connected to the one or more edge servers. The edge servers include: a sub-signaling service module, a sub-call flow control module, and a sub-media service module. The central data center server includes: a server, a main signaling service module, a main call flow control module, and a main media service module. The sub-signaling service module obtains the signaling control protocols corresponding to various types of media terminals based on the department information corresponding to the edge server, and establishes a corresponding signaling processing module based on the signaling control protocols; wherein, the signaling processing module is used to process the signaling format corresponding to the signaling control protocols; The sub-signaling service module enables the signaling processing module to communicate with the preset sub-call flow control module based on a preset interface, so that the preset sub-call flow control module can transmit the status information of the media terminal to the sub-media service module based on a private protocol. The sub-media service module constructs a subscription relationship between each media terminal in the edge server based on the status information, so as to enable communication between the media terminals based on the subscription relationship; If the media terminal determines that there is a communication anomaly on the edge server, then the communication of the media terminal is rebuilt based on the general signaling service module, the general call flow control module, and the general media service module.
10. A non-volatile storage medium storing computer-executable instructions, applied to a media interoperability system cluster comprising one or more media interoperability subsystems and a central data center server connected to the one or more edge servers, wherein... The edge server includes: a sub-signaling service module, a sub-call flow control module, and a sub-media service module; the central computer room server includes: a general signaling service module, a general call flow control module, and a general media service module; characterized in that the computer-executable instructions are capable of: executing the method described in any one of claims 1-8.
Citation Information
Patent Citations
Multi-signaling protocol intercommunication method and multi-signaling conversion device
CN106453433A
Multimedia data processing method and device, storage medium and electronic equipment
CN110290140A