Telephone conference method and telephone conference device based on VOIP (Voice Over Internet Protocol) phone
By separating the identity and media streams of nodes in VOIP phones and managing and playing legitimate media streams, the problem of excessive system resource utilization in large-scale conference calls is solved, and an efficient conference call experience is achieved.
Patent Information
- Application Number
- CN202411816202.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-03-28
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In large-scale conference calls, the existing technology occupies a large amount of system resources, resulting in the loss of conference frame data or screen stuttering.
By separating the identity and media streams of nodes in VOIP phones, managing, decoding and playing legal media streams belonging to this conference without establishing a conference bridge function.
Large-scale conference calls or broadcasts are realized under smaller system resources, avoiding conference frame data loss and screen lag, and reducing conference costs.
Smart Images

Figure CN119728861A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a telephone conference method based on a VOIP (Voice over Internet Protocol, voice call technology) phone, a telephone conference device based on a VOIP phone, and a computer device. Background Art
[0002] At present, in telephone conferences, a data area is allocated for each call, and then media is superimposed in the conference bridge. Specifically, it is necessary to establish a data area, create a bridge node and a media node port for each user, and then mount it on the conference bridge. Through complex control at the business layer, the conference streaming media data of multiple people can be mixed into a certain device in the hardware for playback.
[0003] The above method will occupy a lot of system resources in a large telephone conference with many lines, and may cause problems such as loss of conference frame data or screen freeze. Summary of the invention
[0004] In order to solve the above technical problems, the present invention provides a telephone conference method based on a VOIP phone.
[0005] The invention also provides a telephone conference device based on a VOIP phone.
[0006] The present invention also provides a computer device.
[0007] To achieve the above-mentioned purpose, the first embodiment of the present invention proposes a telephone conference method based on a VOIP phone, comprising the following steps: after receiving a command to establish a conference, initializing a conference data structure, the data structure including global data and a list of downstream device data, writing a local node as the conference chairperson into the first node of the downstream device list; setting a conference ID (Identity Document) and writing it into the global data, making the conference ID correspond to the chairperson node; initiating a conference invitation message to a child node, and after receiving a response message from the child node, sending an RTP (Real-Time Transport Protocol) of the child node corresponding to the response message to the child node. The method comprises the following steps: writing the media address and port information of the RTP media of the child node into the downstream device list, wherein the invitation information carries the conference ID and the media coding information used by the conference chair, and the response information carries the address and port information of the RTP media of the child node; receiving the request to join the meeting information sent by the child node, authenticating the request to join the meeting information, and after successful authentication, writing the RTP media address and port information of the child node corresponding to the request to join the meeting information into the downstream device list; judging whether the child node in the downstream device list belongs to the child node permission list according to the RTP media address and port information of the child node, discarding the child node that does not belong to the child node permission list from the downstream device list, and writing the RTP data stream of the child node that belongs to the child node permission list into the global data; mixing the RTP data stream and playing it.
[0008] The above-mentioned VOIP phone-based telephone conference method of the present invention may also have the following additional technical features:
[0009] According to an embodiment of the present invention, setting the conference ID specifically includes: combining the conference ID according to the time node of the current conference initiation and the MAC (Media Access Control Address) address of the conference chairperson.
[0010] According to an embodiment of the present invention, the request to join a conference carries the conference ID, the RTP media address and port information of the child node, and password information.
[0011] According to one embodiment of the present invention, the RTP data stream is mixed and then played, specifically comprising: decoding the RTP data streams of the conference chairperson and all child nodes into a unified analog signal and then writing it into a downstream unified mixing thread to mix the sound signal; the conference chairperson and all child nodes reversely clear the local analog signal and the mixed sound signal and then play it.
[0012] To achieve the above-mentioned purpose, the second aspect of the present invention proposes a telephone conference device based on a VOIP phone, including: an initialization module, which is used to initialize the conference data structure after receiving a command to establish a conference, and the data structure includes global data and a list of downstream device data, and writes the local node as the conference chairman into the first node of the downstream device list; a setting module, which is used to set the conference ID and write it into the global data, so that the conference ID corresponds to the chairman node; an invitation module, which is used to initiate a conference invitation message to a child node, and after receiving a response message from the child node, write the RTP media address and port information of the child node corresponding to the response message into the downstream device list, wherein the invitation message carries the conference ID and The media coding information used by the conference chairperson, the response information carries the address and port information of the RTP media of the child node; a receiving module, the receiving module is used to receive the request to join the meeting information sent by the child node, authenticate the request to join the meeting information, and after successful authentication, write the RTP media address and port information of the child node corresponding to the request to join the meeting information into the downstream device list; a judgment module, the judgment module is used to judge whether the child node in the downstream device list belongs to the child node permission list according to the child node RTP media address and port information, discard the child node that does not belong to the child node permission list from the downstream device list, and write the RTP data stream of the child node that belongs to the child node permission list into the global data; a mixing module, the mixing module is used to mix the RTP data stream and play it.
[0013] The above-mentioned VOIP phone-based telephone conference device of the present invention also has the following additional technical features:
[0014] According to an embodiment of the present invention, the setting module is specifically used to: combine the time node of initiating the current meeting and the MAC address of the meeting chairperson into a meeting ID.
[0015] According to an embodiment of the present invention, the request to join a conference carries the conference ID, the RTP media address and port information of the child node, and password information.
[0016] According to one embodiment of the present invention, the mixing module is specifically used to: decode the RTP data streams of the conference chairperson and all sub-nodes into a unified analog signal and write it into a downstream unified mixing thread to mix the sound signal; the conference chairperson and all sub-nodes reversely clear the local analog signal and the mixed sound signal and then play it.
[0017] To achieve the above-mentioned purpose, the third aspect of the present invention proposes a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the telephone conference method based on the VOIP phone described in the first aspect of the present invention is implemented.
[0018] Beneficial effects of the present invention:
[0019] The present invention separates the node identity and the media stream, manages, decodes and plays the media stream belonging to the legal address of the conference according to the node identity, does not need to establish a conference bridge function, and can realize large-scale telephone conferences or broadcasting and other services with relatively small system resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a flow chart of a telephone conference method based on a VOIP phone according to an embodiment of the present invention;
[0021] Figure 2 is a schematic diagram of a mixing principle according to an embodiment of the present invention;
[0022] Figure 3 It is a block diagram of a telephone conference device based on a VOIP phone according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] Figure 1 1 is a flow chart of a telephone conference method based on a VOIP phone according to an embodiment of the present invention. The execution subject of the method can be a VOIP main process, such as Figure 1 As shown, the telephone conference method includes the following steps:
[0025] S1, after receiving the command to establish a conference, initialize the conference data structure, which includes global data and a list of downstream device data, and write the local node as the conference chairperson into the first node of the downstream device list.
[0026] Specifically, the user starts to prepare for a conference call. After the VOIP main process receives the command to establish a conference, it establishes an empty conference data structure, which includes global data and a list of downstream devices. The list of downstream devices is used to record the sub-node information of the conference, and the local node is written as the conference chairperson to the first node in the list of downstream devices.
[0027] S2, set the conference ID and write it into the global data, so that the conference ID corresponds to the chairman node.
[0028] In one implementation of the present invention, setting the conference ID specifically includes: combining the time node of the current conference initiation and the MAC address of the conference chairperson into a conference ID.
[0029] Specifically, the conference ID can be composed of the time node of the current conference initiation and the MAC address of the conference chairperson, which is used to identify the unique mark of the conference. For example, 20240322134100faea01 means the conference No. 01 initiated by device 00:fa:ea at 13:41 on March 22, 24. It can basically avoid the situation of duplicate IDs, and manually or automatically generate the access key of the conference. At this point, the conference is established locally, and the conference ID is matched with the chairperson node in the local device list.
[0030] S3, initiates a meeting invitation message to the child node. After receiving the response message from the child node, writes the RTP media address and port information of the child node corresponding to the response message into the list of downstream devices. The invitation message carries the conference ID and the media encoding information used by the conference chairperson, and the response message carries the RTP media address and port information of the child node.
[0031] S4, receiving the request to join the meeting information sent by the child node, authenticating the request to join the meeting information, and after successful authentication, writing the RTP media address and port information of the child node corresponding to the request to join the meeting information into the list of downstream devices.
[0032] Furthermore, in one embodiment of the present invention, the request to join a conference carries the conference ID, the RTP media address and port information of the child node, and password information.
[0033] Specifically, after obtaining the invitation member account, the local (conference chairperson) sends a joining invitation message to this member account, and carries the above-established conference ID and the media encoding information used by the conference chairperson. The other end starts ringing or other prompts to request to join this conference. If the other end accepts the invitation, it will give a 200OK response to the I joining invitation message, which carries the address and port information of the RTP media of the node account. After receiving this 200OK response, the conference chairperson writes the corresponding child node information into the list of hanging devices.
[0034] If the other end knows the conference ID, it can directly initiate a request to join the conference, carrying the corresponding conference ID, RTP media address and port information, and the correct password information to the conference chair. The chair receives it and performs authentication. After successful authentication, the corresponding child node information is written into the list of downstream devices, and its status is equal to that of the invited node.
[0035] S5, judging whether the subnode in the downstream device list belongs to the subnode permission list according to the subnode RTP media address and port information, discarding the subnode that does not belong to the subnode permission list from the downstream device list, and writing the RTP data stream of the subnode that belongs to the subnode permission list into the global data.
[0036] Specifically, the RTP media address and port information of the subnodes in the downlink device list is used to determine whether the subnodes in the downlink device list belong to the subnodes in the subnode permission list. If not, the subnode is discarded from the downlink device list, and the RTP data stream of the subnodes in the node permission list is written into the global data. Thus, the node identity and the media stream are separated, and only the media stream of the legal address of the conference is received according to the node identity, without the need to establish a conference bridge function, which greatly saves system resources.
[0037] S6, mixing the RTP data stream and playing it.
[0038] Specifically, after the legal RTP data stream is admitted, unified mixing is performed, and the bottom layer continues to hand it over to the hardware, sound or image device for playback based on the received audio stream.
[0039] In a specific embodiment of the present invention, the RTP data stream is mixed and played, which specifically includes: decoding the RTP data streams of the conference chairperson and all child nodes into a unified analog signal and writing it into a downstream unified mixing thread to mix the sound signal; the conference chairperson and all child nodes reversely clear the local analog signal and the mixed sound signal and then play it.
[0040] Specifically, Figure 2 As shown, in order to save resources, a unified analog signal superposition mixing method is used for playback. For the conference chairman, the status is the same as that of each sub-node. The MIC signal of the RTP data stream of the conference chairman is directly encoded as an analog signal, and then decoded into the "downstream unified mixing" thread, so as to achieve a unified analog signal for the entire conference. However, the local playback of the conference chairman, "speak", does not need to receive the local sound. Therefore, after the local analog signal and the downstream unified mixing are reversely cleared, the analog sound of all sub-nodes can be obtained, excluding the local sound.
[0041] For all child nodes, similar simulation processing is performed. After decoding, the RTP data stream of any child node is uniformly entered into the "downstream unified mixing" thread for mixing and superposition. When the sound signal corresponding to the child node and the sound signal of the downstream unified mixing are reversely filtered and transmitted to the corresponding child node at the remote end, the remote end can hear the signals of all other nodes except itself.
[0042] In summary, according to the VOIP phone-based conference call method of the embodiment of the present invention, the node identity and media stream are separated, and the media stream belonging to the legal address of the conference is managed, decoded and played according to the node identity. There is no need to establish a conference bridge function, and a relatively small system resource can be used for large-scale conference calls or broadcasting services. In addition, there is no need for a separate mixing server device, which greatly saves conference costs.
[0043] Corresponding to the above-mentioned telephone conference method based on VOIP phone, the present invention also proposes a telephone conference device based on VOIP phone. Since the device embodiment of the present invention corresponds to the above-mentioned method embodiment, the details not disclosed in the device embodiment can be referred to the above-mentioned method embodiment, and will not be repeated in the present invention.
[0044] Figure 3 FIG. 1 is a block diagram of a telephone conference device based on a VOIP phone according to an embodiment of the present invention. Figure 3 As shown, the device includes: an initialization module 1, a setting module 2, an invitation module 3, a receiving module 4, a judgment module 5 and a mixing module 6.
[0045] Among them, the initialization module 1 is used to initialize the conference data structure after receiving the command to establish a conference. The conference data structure includes global data and a list of downstream device data, and writes the local node as the conference chair to the first node in the downstream device list; the setting module 2 is used to set the conference ID and write it into the global data, so that the conference ID corresponds to the chair node; the invitation module 3 is used to initiate a conference invitation message to the child node, and after receiving the response message of the child node, write the RTP media address and port information of the child node corresponding to the response message into the downstream device list, wherein the invitation message carries the conference ID and the media encoding information used by the conference chair, and the response message carries The address and port information of the RTP media with child nodes; the receiving module 4 is used to receive the request to join the meeting information sent by the child node, authenticate the request to join the meeting information, and after successful authentication, write the RTP media address and port information of the child node corresponding to the request to join the meeting information into the downstream device list; the judging module 5 is used to judge whether the child node in the downstream device list belongs to the child node permission list according to the child node RTP media address and port information, discard the child node that does not belong to the child node permission list from the downstream device list, and write the RTP data stream of the child node that belongs to the child node permission list into the global data; the mixing module 6 is used to mix the RTP data stream and play it.
[0046] According to an embodiment of the present invention, the setting module 2 is specifically used to: combine the time node of the current conference initiation and the MAC address of the conference chairperson into a conference ID.
[0047] According to an embodiment of the present invention, the request to join a conference carries the conference ID, the RTP media address and port information of the child node, and password information.
[0048] According to one embodiment of the present invention, the mixing module 6 is specifically used to: decode the RTP data streams of the conference chairperson and all sub-nodes into a unified analog signal and write it into a downstream unified mixing thread to mix the sound signal; the conference chairperson and all sub-nodes reversely clear the local analog signal and the mixed sound signal and then play it.
[0049] In summary, according to the VOIP phone-based telephone conference device of the embodiment of the present invention, the node identity and media stream are separated, and the media stream belonging to the legal address of the conference is managed, decoded and played according to the node identity. There is no need to establish a conference bridge function, and a relatively small system resource can be used for large-scale telephone conferences or broadcasting services. In addition, there is no need for a separate mixing server device, which greatly saves conference costs.
[0050] In addition, the present invention also proposes a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the above-mentioned VOIP phone-based telephone conference method of the present invention is implemented.
[0051] According to the computer device of the embodiment of the present invention, after receiving the command to establish a conference, the conference data structure is initialized, the conference data structure includes global data and a list of downstream device data, the local node is written as the first node in the list of downstream devices as the conference chairperson, then the conference ID is set and written into the global data, the conference ID is corresponded to the chairperson node, and a conference invitation message is sent to the child node. After receiving the response message of the child node, the RTP media address and port information of the child node corresponding to the response message is written into the list of downstream devices, the request to join the conference information sent by the child node is received, the request to join the conference information is authenticated, and after successful authentication, the request to join the conference information is corresponding to the child node. The RTP media address and port information of the node are written into the downstream device list, and then the sub-node in the downstream device list is judged whether it belongs to the sub-node permission list according to the sub-node RTP media address and port information. The sub-nodes that do not belong to the sub-node permission list are discarded from the downstream device list, and the RTP data stream of the sub-node that belongs to the sub-node permission list is written into the global data. Finally, the RTP data stream is mixed and played, so as to separate the node identity and the media stream, and manage, decode and play the media stream of the legal address of this conference according to the node identity. There is no need to establish a conference bridge function, and relatively small system resources can be used for large-scale teleconferences or broadcasting services.
[0052] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0053] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0054] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.
[0055] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0056] It should be understood that each part of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system.
[0057] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0058] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0059] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A telephone conference method based on a VOIP phone, characterized in that: The following steps are involved: After receiving the command to establish a conference, the conference data structure is initialized, the conference data structure includes global data and a list of downstream device data, and the local node is written as the first node of the list of downstream devices as the conference chairperson; Setting a conference ID and writing it into the global data, so that the conference ID corresponds to the chairperson node; Initiate a conference invitation message to the child node, and after receiving the response message of the child node, write the RTP media address and port information of the child node corresponding to the response message into the list of downstream devices, wherein the invitation message carries the conference ID and the media encoding information used by the conference chair, and the response message carries the RTP media address and port information of the child node; receiving the request to join a meeting sent by the child node, authenticating the request to join a meeting, and after successful authentication, writing the RTP media address and port information of the child node corresponding to the request to join a meeting into the list of downstream devices; Determine whether the child nodes in the downstream device list belong to the child node permission list according to the child node RTP media address and port information, discard the child nodes that do not belong to the child node permission list from the downstream device list, and write the RTP data stream of the child nodes that belong to the child node permission list into the global data; The RTP data stream is mixed and then played.
2. The VOIP phone-based telephone conference method according to claim 1, characterized in that: Setting the conference ID specifically includes: combining the conference ID according to the time node of the current conference initiation and the MAC address of the conference chairperson.
3. The telephone conference method based on VOIP phone according to claim 1, characterized in that: The request to join the conference carries the conference ID, the RTP media address and port information of the child node, and password information.
4. The telephone conference method based on VOIP phone according to claim 1, characterized in that: The RTP data stream is mixed and then played, specifically including: Decode the RTP data streams of the conference chairperson and all sub-nodes into a unified analog signal and write it into the downstream unified mixing thread for sound signal mixing; The conference chairperson and all sub-nodes play the local analog signal and the mixed sound signal after reverse clearing.
5. A telephone conference device based on a VOIP phone, characterized in that: include: An initialization module, wherein the initialization module is used to initialize a conference data structure after receiving a command to establish a conference, wherein the conference data structure includes global data and a list of downstream device data, and write the local node as the conference chair into the first node of the list of downstream devices; A setting module, the setting module is used to set a conference ID and write it into the global data, so as to correspond the conference ID to the chairman node; An invitation module, the invitation module is used to initiate a conference invitation message to a child node, and after receiving a response message from the child node, write the RTP media address and port information of the child node corresponding to the response message into the list of downstream devices, wherein the invitation message carries the conference ID and the media encoding information used by the conference chair, and the response message carries the RTP media address and port information of the child node; A receiving module, the receiving module is used to receive the request to join the meeting information sent by the child node, authenticate the request to join the meeting information, and after successful authentication, write the RTP media address and port information of the child node corresponding to the request to join the meeting information into the list of downstream devices; A judgment module, the judgment module is used to judge whether the child node in the hanging device list belongs to the child node permission list according to the child node RTP media address and port information, discard the child node that does not belong to the child node permission list from the hanging device list, and write the RTP data stream of the child node that belongs to the child node permission list into the global data; A mixing module is used to mix the RTP data stream and then play it.
6. The telephone conference device based on VOIP phone according to claim 5, characterized in that: The setting module is specifically used for: The conference ID is composed of the time point when the current conference is initiated and the MAC address of the conference chairperson.
7. The telephone conference device based on VOIP phone according to claim 5, characterized in that: The request to join the conference carries the conference ID, the RTP media address and port information of the child node, and password information.
8. The telephone conference device based on VOIP phone according to claim 5, characterized in that: The mixing module is specifically used for: Decode the RTP data streams of the conference chairperson and all sub-nodes into a unified analog signal and write it into the downstream unified mixing thread for sound signal mixing; The conference chairperson and all sub-nodes play the local analog signal and the mixed sound signal after reverse clearing.
9. A computer device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the program, a telephone conference method based on a VOIP phone according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Low bandwidth but high capacity telephone conference system
CN101291372A
Cascade conference sound mixing method and device, electronic equipment and medium
CN111200717A
Method and device for realizing distributed local sound mixing
CN111314338A