CN114039803A - Group talkback message management method and device, computer equipment and storage medium - Google Patents
Group talkback message management method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN114039803A CN114039803A CN202111299254.4A CN202111299254A CN114039803A CN 114039803 A CN114039803 A CN 114039803A CN 202111299254 A CN202111299254 A CN 202111299254A CN 114039803 A CN114039803 A CN 114039803A
- Authority
- CN
- China
- Prior art keywords
- session
- talkback
- sending end
- receiving object
- group
- 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
- 238000007726 management method Methods 0.000 title claims abstract description 43
- 238000012549 training Methods 0.000 claims description 28
- 238000012545 processing Methods 0.000 claims description 22
- 230000011664 signaling Effects 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 11
- 238000013527 convolutional neural network Methods 0.000 claims description 10
- 230000004044 response Effects 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 4
- 238000000034 method Methods 0.000 abstract description 17
- 238000012790 confirmation Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000005070 sampling Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000011176 pooling Methods 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/1895—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for short real-time information, e.g. alarms, notifications, alerts, updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/185—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/1863—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast comprising mechanisms for improved reliability, e.g. status reports
- H04L12/1868—Measures taken after transmission, e.g. acknowledgments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q5/00—Selecting arrangements wherein two or more subscriber stations are connected by the same line to the exchange
- H04Q5/24—Selecting arrangements wherein two or more subscriber stations are connected by the same line to the exchange for two-party-line systems
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a group talkback message management method, a device, computer equipment and a storage medium, wherein the method comprises the following steps: acquiring session request information sent by a talkback sending end; acquiring group subscription information of a group where the talkback sending end is located and individual subscription information of the talkback sending end; determining a session receiving object according to the group subscription information and the individual subscription information; judging whether the session receiving object meets the session receiving condition or not; when the session receiving object is judged to meet the session receiving condition, establishing a session channel for the talkback sending end and the session receiving object; based on the session channel, the session information sent by the talkback sending end is sent to the session receiving object, so that the talkback sending end and the session receiving object send prompt tones. The invention determines the session receiving object for receiving the session through the group subscription information and the individual subscription information of the group where the talkback sending end is located, so that the talkback sending end and the session receiving object correspondingly send out prompt tones, thereby greatly reducing the number of message notifications.
Description
Technical Field
The invention relates to the technical field of Internet of things, in particular to a group talkback message management method and device, computer equipment and a storage medium.
Background
The group talkback is a most frequently used function of talkback equipment, is mainly used for commanding and dispatching centers, and the commanding and dispatching platform is not only a remote commanding and dispatching tool for property field service processing emergencies, but also an operation tool for property service management, and is a supervision and supervision tool for property service quality management. The command and dispatch platform is a background service, and the main members of group talkback are a plurality of terminal devices, and a common talkback exists.
The group talkback is mainly used for group management, event reporting, combined event processing and the like. Each talkback device can participate in a plurality of groups simultaneously, and the number of group members and groups is not limited theoretically. The conversation of the group talkback is characterized by short time and intensive switching (talkbacks, namely members). The right to speak needs to be acquired before the conversation, and the right to speak needs to be released after the conversation is finished. The acquisition of the floor and the release of the floor are both performed in a broadcast manner, so that information is very redundant, and the frequency of the message prompt sound sent by the interphone is very high, which causes great trouble to users. In addition, since the interphone is a mobile device, there is a situation that a network signal is not strong, and thus information may be delayed or even lost, and in this situation, notification of a message may be confused, which causes greater interference.
Disclosure of Invention
The embodiment of the invention provides a group talkback message management method, a group talkback message management device, computer equipment and a storage medium, and aims to reduce the number of message notifications and improve the stability of message management.
In a first aspect, an embodiment of the present invention provides a group talkback message management method, including:
acquiring session request information sent by a talkback sending end;
acquiring group subscription information of a group where the talkback sending end is located and individual subscription information of the talkback sending end; the group subscription information comprises all talkback receiving ends which subscribe the group where the talkback sending end is located, and the individual subscription information comprises all talkback receiving ends which subscribe the talkback sending end in the group where the talkback sending end is located;
determining a session receiving object according to the group subscription information and the individual subscription information;
judging whether the session receiving object meets the session receiving condition or not;
when the session receiving object is judged to meet the session receiving condition, establishing a session channel for the talkback sending end and the session receiving object, and enabling the talkback sending end and the session receiving object to send out prompt tones;
and based on the session channel, sending the session information sent by the talkback sending end to a session receiving object, so that the talkback sending end and the session receiving object send prompt tones.
In a second aspect, an embodiment of the present invention provides a group talkback message management apparatus, including:
the first acquisition unit is used for acquiring session request information sent by the talkback sending end;
the second acquisition unit is used for acquiring group subscription information of a group where the talkback sending terminal is located and individual subscription information of the talkback sending terminal; the group subscription information comprises all talkback receiving ends which subscribe the group where the talkback sending end is located, and the individual subscription information comprises all talkback receiving ends which subscribe the talkback sending end in the group where the talkback sending end is located;
the object determining unit is used for determining a session receiving object according to the group subscription information and the individual subscription information;
a first judgment unit configured to judge whether or not a session reception object satisfies a session reception condition;
a first channel establishing unit, configured to establish a session channel for the talkback sending end and the session receiving object when it is determined that the session receiving object meets a session receiving condition, so that the talkback sending end and the session receiving object send out a prompt tone;
and the session sending unit is used for sending the session information sent by the talkback sending end to a session receiving object based on the session channel so as to enable the talkback sending end and the session receiving object to send out prompt tones.
In a third aspect, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the group talk-back message management method according to the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the group talkback message management method according to the first aspect is implemented.
The embodiment of the invention provides a group talkback message management method, a group talkback message management device, computer equipment and a storage medium, wherein the method comprises the following steps: acquiring session request information sent by a talkback sending end; acquiring group subscription information of a group where the talkback sending end is located and individual subscription information of the talkback sending end; the group subscription information comprises all talkback receiving ends which subscribe the group where the talkback sending end is located, and the individual subscription information comprises all talkback receiving ends which subscribe the talkback sending end in the group where the talkback sending end is located; determining a session receiving object according to the group subscription information and the individual subscription information; judging whether the session receiving object meets the session receiving condition or not; when the session receiving object is judged to meet the session receiving condition, establishing a session channel for the talkback sending end and the session receiving object, and enabling the talkback sending end and the session receiving object to send out prompt tones; and based on the session channel, sending the session information sent by the talkback sending end to a session receiving object, so that the talkback sending end and the session receiving object send prompt tones. The embodiment of the invention determines the session receiving object for receiving the session through the group subscription information and the individual subscription information of the group where the talkback sending end is located, and establishes the session channel for the talkback sending end and the session receiving object, so that the talkback sending end and the session receiving object correspondingly send out prompt tones, thereby greatly reducing the number of message notifications, ensuring the sending of the session messages to be more guaranteed, and improving the stability of message management.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a group talkback message management method according to an embodiment of the present invention;
fig. 2 is a schematic sub-flow diagram of a group talkback message management method according to an embodiment of the present invention;
fig. 3 is another sub-flowchart of a group talkback message management method according to an embodiment of the present invention;
fig. 4 is another sub-flowchart of a group talkback message management method according to an embodiment of the present invention;
fig. 5 is a schematic block diagram of a group talkback message management apparatus according to an embodiment of the present invention;
FIG. 6 is a sub-schematic block diagram of a group talkback message management apparatus according to an embodiment of the present invention;
FIG. 7 is another sub-schematic block diagram of a group talkback message management apparatus according to an embodiment of the present invention;
fig. 8 is another sub-schematic block diagram of a group talkback message management apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1, fig. 1 is a schematic flow chart of a group talkback message management method according to an embodiment of the present invention, which specifically includes: steps S101 to S106.
S101, session request information sent by a talkback sending end is obtained;
s102, acquiring group subscription information of a group where the talkback sending end is located and individual subscription information of the talkback sending end; the group subscription information comprises all talkback receiving ends which subscribe the group where the talkback sending end is located, and the individual subscription information comprises all talkback receiving ends which subscribe the talkback sending end in the group where the talkback sending end is located;
s103, determining a session receiving object according to the group subscription information and the individual subscription information;
s104, judging whether the session receiving object meets the session receiving condition or not;
s105, when the session receiving object is judged to meet the session receiving condition, establishing a session channel for the talkback sending end and the session receiving object, and enabling the talkback sending end and the session receiving object to send out prompt tones;
and S106, based on the session channel, sending the session information sent by the talkback sending end to a session receiving object, so that the talkback sending end and the session receiving object send out prompt tones.
In this embodiment, before the talkback sending end needs to send a session, a session request message is sent first, so after receiving the session request message, the group subscription information of the group and the individual subscription information about the talkback sending end are obtained for the group in which the talkback sending end is located. Here, the group subscription information means that the talkback receiving end of the group is subscribed, that is, when the group sends a message, the talkback receiving end of the group is subscribed to generate a corresponding prompt tone to remind the talkback receiving end to receive and view the group message; the individual subscription information refers to subscribing the talkback receiving end of the talkback sending end, that is, when the talkback sending end sends the session message, the talkback receiving end subscribing the talkback sending end sends a corresponding prompt tone to remind the talkback receiving end to receive and view the session message of the talkback sending end. Furthermore, according to the group subscription information and the individual subscription information, a corresponding session receiving object can be confirmed, and then a session channel can be established for the talkback sending end and the session receiving object, and the talkback sending end and the session receiving object are enabled to generate corresponding prompt tones to indicate that the talk begins. And then, according to the conversation channel, transmitting the conversation message sent by the talkback sending end to a conversation receiving object, wherein the conversation receiving object can also reply the conversation message to the talkback sending end correspondingly and simultaneously accompanies a corresponding prompt tone in the speaking process.
In the embodiment, the session receiving object for receiving the session is determined through the group subscription information and the individual subscription information of the group where the talkback sending end is located, and only the talkback sending end and the session receiving object send corresponding prompt tones, so that the talkback receiving end contained in the group subscription information or the individual subscription information does not generate the message prompt tones related to the talkback sending end, thereby greatly reducing the number of message notifications and improving the experience of users. In addition, in this embodiment, a session channel is established for the talkback sending end and the session receiving object, so that the session stability between the talkback sending end and the session receiving object is effectively ensured.
In a specific embodiment, after receiving the session request message of the talkback sending end, a session confirmation feedback is sent to the talkback sending end, and after receiving a confirmation message of the talkback sending end for the session confirmation feedback, the next step is executed. Further, if the talkback sending end does not perform corresponding confirmation operation on the session confirmation feedback within a preset confirmation time (for example, 300ms), the talkback sending end continues to send the session confirmation feedback to the talkback sending end, and when the talkback sending end does not perform confirmation operation for three consecutive times, the current session request of the talkback sending end is rejected.
In one embodiment, the step S104 includes:
judging whether a session receiving object is in a session object range of the talkback sending end or not;
if the session receiving object is judged to be in the range of the session object of the talkback sending end, judging whether the session receiving object is in an idle state;
when the session receiving object is judged to be in an idle state, the session receiving object is judged to meet the session receiving condition.
In this embodiment, after determining the session receiving object according to the group subscription message and the individual subscription message, it is determined whether the session receiving object can receive the session, that is, it is first determined whether the session receiving object is within a session object range of the talkback sending end, for example, it is determined whether a level of the session receiving object is the same as a level of the talkback sending end, and if the level of the session receiving object is higher than the level of the talkback sending end, it is necessary to determine whether the talkback sending end has an override sending right. After confirming that the session receiving object is within the range of the session object of the talkback sending end, it is continuously determined whether the session receiving object is in an idle state, for example, whether the session receiving object is in a talk state at this time. And finally judging that the session receiving object meets the session receiving condition after confirming that the session receiving object is in an idle state. It is understood that, although the present embodiment determines the idle state of the session receiving object, it actually determines the state of the intercom terminal held by the session receiving object. Of course, in other embodiments, it may also be determined whether the session receiving object is capable of receiving the session through other session receiving conditions, for example, the current holder of the intercom terminal held by the session receiving object is authenticated to determine whether the current holder is held by the person, so as to determine whether the session receiving condition is satisfied, and the like.
In an embodiment, as shown in fig. 2, the group talk management method further includes: steps S201 to S204.
S201, when the session receiving object is judged not to be in an idle state, feeding back a judgment result to the talkback sending end to ensure that the talkback sending end confirms whether to initiate a session;
s202, after the talkback sending end confirms to initiate the session, obtaining a session message of the talkback sending end;
s203, setting an identifier for the session message based on the talkback sending end and the session receiving object, and storing the session message into a preset message queue;
and S204, judging whether the session receiving object is in an idle state for the second time at intervals of a preset time interval, and extracting the session message from the message queue based on the identifier and sending the session message to the session receiving object when the session receiving object is judged to be in the idle state.
In this embodiment, if it is determined that the session receiving object is not in the idle state, that is, the session receiving object cannot receive the session at this time, the determination result needs to be fed back to the intercom sending terminal, and the intercom sending terminal determines whether to initiate the session in a single-sided manner. If the talkback sending end confirms that the session is initiated unilaterally, after the talkback sending end sends the session message, the session message is stored, and corresponding identifiers are set for the session message, namely, the sending end and the receiving end of the session message are indicated, so that when the session receiving object is in an idle state, the session message can be sent to the session receiving object, and the identity of the talkback sending end of the session message is indicated to the session receiving object.
Of course, when the session message is sent by the talkback sending end, the session receiving object is not in the idle state, so that before the session message is subsequently sent to the session receiving object, the state of the session receiving object needs to be queried and determined, that is, whether the session receiving object is converted from the non-idle state to the idle state is determined. In the query process, the query may be performed in an interval manner, for example, the query is performed every 5 minutes to determine the state of the session receiving object.
In one embodiment, the step S105 includes:
generating corresponding session response information based on the session request information sent by the talkback sending end, and registering sending end sip signaling information for the talkback sending end;
sending the session response information to a session receiving object, and registering receiving end sip signaling information for the session receiving object;
and establishing the session channel based on the sending end sip signaling information and the receiving end sip signaling information.
In this embodiment, when a session channel is established for the talkback sending end and the session receiving object, corresponding session response information is first generated based on the session request information, and then corresponding sip signaling information is registered for the talkback sending end and the session receiving object, so that the session channel is established, and the talkback sending end and the session receiving object transmit session messages based on a sip protocol. In a specific embodiment, whether the talkback sending terminal and the session receiving object are legal is judged based on an Http digest authentication mode, keys are respectively generated for the talkback sending terminal and the session receiving object through an encryption technology according to the digest only when the talkback sending terminal and the session receiving object are judged to be legal, then physical addresses and keys corresponding to the talkback sending terminal and the session receiving object are combined, and a combination result is correspondingly used as sip registration signaling information of the talkback sending terminal and the session receiving object.
In an embodiment, as shown in fig. 3, the group talk management method further includes: steps S301 to S304.
S301, acquiring first voice training data containing noise and second voice training data not containing noise;
s302, carrying out classification training on the first voice training data and the second voice training data respectively by using a convolutional neural network, and obtaining corresponding first classification features and second classification features;
s303, calculating a weighted minimum absolute distance for the first classification characteristic and the second classification characteristic, and taking a calculation result as a loss value of the first classification characteristic and the second classification characteristic;
s304, performing back propagation updating on the convolutional neural network by using the loss value so as to construct a voice processing model.
In this embodiment, considering that an environment where the talkback sending end or the session receiving object is located may be noisy, so as to cause interference to session information sent or received by the talkback sending end or the session receiving object, the embodiment performs voice processing on the session information sent by the talkback sending end (or the session information sent by the session receiving object) by constructing the voice processing model, so as to improve the definition of the session information. In the process of constructing the voice processing model, first voice training data containing noise and second voice training data not containing noise are obtained, then the first voice training data and the second voice training data are respectively input into a convolutional neural network, and the convolutional neural network outputs corresponding first classification features and second classification features. Further, a weighted minimum absolute distance (i.e., L1 norm) of the first classification feature and the second classification feature is calculated to yield a loss value that can be used for back-propagation updating of the convolutional neural network. Here, the specific steps of performing classification training on the first voice training data and the second voice training data respectively by using a convolutional neural network, and obtaining corresponding first classification features and second classification features include: and respectively inputting the first voice training data and the second voice training data to a first convolution layer, a second convolution layer, a first pooling layer, a third convolution layer, a fourth convolution layer, a second pooling layer and a fifth convolution layer in sequence, and then inputting an output result of the fifth convolution layer to a full-link layer and an activation function layer in sequence, so that a first classification characteristic corresponding to the first voice training data and a second classification characteristic corresponding to the second voice training data can be extracted and obtained.
Further, in an embodiment, the step S106 includes:
and denoising the session information by using the voice processing model, and sending the processed session information to a session receiving object.
In this embodiment, the voice processing model constructed through the foregoing steps can perform denoising processing on the voice information, so as to facilitate answering more conveniently, and therefore, the voice processing model is used to perform denoising processing on the session information sent by the speaking sending end, so that a session receiving object can receive a clearer and more definite session message. Of course, if the conversation receiving object returns the conversation message to the speaking sending end through the conversation channel, the voice processing model can be used to perform denoising processing on the returned conversation message.
In addition, in another embodiment, the speech signal corresponding to the session information may also be preprocessed, so as to emphasize a high-frequency part of the speech, remove an influence of lip radiation, increase a high-frequency resolution of the speech, and the preprocessing step of the speech signal specifically includes: sampling the voice signal s (T) by a sampling period T, discretizing the sampling period T into s (n), and determining the period according to the bandwidth of the voice signal (according to the Nyquist sampling theorem) so as to avoid aliasing distortion of the frequency domain of the voice signal. Then, pre-emphasis processing and pre-windowing processing are carried out on the voice signals in sequence, namely, the pre-emphasis processing is realized through a high-pass digital filter, and the pre-windowing processing is realized by adopting a method of weighting a movable finite-length window.
In an embodiment, as shown in fig. 4, the group talk management method further includes: steps S401 to S405.
S401, when a plurality of session receiving objects are provided, judging whether each session receiving object is in an idle state;
s402, if all the session receiving objects are in an idle state, directly establishing session channels for the talkback sending end and all the session receiving objects;
s403, if at least one session receiving object is not in an idle state, feeding back a judgment result to the talkback sending end to ensure that the talkback sending end confirms whether to initiate a session;
s404, after the talkback sending end confirms to initiate the session, establishing a session channel for the talkback sending end and a session receiving object in an idle state, and acquiring real-time session information and a corresponding timestamp transmitted in the session channel;
s405, setting an identifier for the real-time session information, storing the identifier into a preset message queue, and sending the real-time session information to a session receiving object according to the timestamp after the session receiving object which is not in the idle state is in the idle state.
In this embodiment, if there is one session receiving object, it is only necessary to establish a session channel for the session receiving object when the session receiving object satisfies the session receiving condition. However, when there are a plurality of session receiving objects, it is necessary to determine whether each session receiving object satisfies the session receiving condition. And when all the session receiving objects are in the range of the session objects of the talkback sending end, judging the state of each session receiving object. Here, all session receiving objects may be in an idle state, and then the establishment of the session channel may continue. However, there may be at least one session receiving object that is not in an idle state, and then the determination result needs to be fed back to the talkback sending end, and the talkback sending end determines whether to initiate the session immediately or waits for all session receiving objects to be in an idle state and then initiates the session again.
If the talkback sending end confirms to immediately initiate the session, a session channel is established for the talkback sending end and the session receiving object in the idle state, so that the session can be immediately carried out. In the conversation process, the real-time conversation messages sent by the talkback sending end are obtained, the timestamps corresponding to the real-time conversation messages are also obtained together, and then the talkback real-time conversation messages are sequentially stored in the message queue according to the sequence of the timestamps. And when the session receiving object which does not participate in the session is in an idle state, sequentially taking out the real-time session messages in the message queue and sending the real-time session messages to the session receiving object which does not participate in the session.
In an embodiment, when a plurality of talkback sending terminals simultaneously send session request information in the same group, each talkback sending terminal respectively acquires corresponding group subscription information and individual subscription information; determining a session receiving object of each talkback sending end according to the group subscription information and the individual subscription information, and judging whether the session receiving objects of the talkback sending ends are the same or not; if the session receiving objects of all the talkback sending ends are different, a session channel is respectively established for each talkback sending end and the corresponding session receiving object; if the same session receiving object exists in each talkback sending end, the talkback sending end with the same session receiving object is set with priority, a session channel is established for the talkback sending end and the session receiving object according to the priority, and the session message of the talkback sending end, which has lower priority and can not establish the session channel with the session receiving object, can be stored in a message queue. In a specific application scenario, a priority may be set according to an identity level corresponding to the talkback sending end, for example, a priority corresponding to the talkback sending end with a high level is high, or a priority may be set according to an urgency level of the talkback sending end sending the session message, for example, a priority corresponding to the talkback sending end with the session message being most urgent is highest.
Fig. 5 is a schematic block diagram of a group talkback message management apparatus 500 according to an embodiment of the present invention, where the apparatus 500 includes:
a first obtaining unit 501, configured to obtain session request information sent by a talkback sending end;
a second obtaining unit 502, configured to obtain group subscription information of a group in which the intercom transmitting terminal is located and individual subscription information of the intercom transmitting terminal; the group subscription information comprises all talkback receiving ends which subscribe the group where the talkback sending end is located, and the individual subscription information comprises all talkback receiving ends which subscribe the talkback sending end in the group where the talkback sending end is located;
an object determining unit 503, configured to determine a session receiving object according to the group subscription information and the individual subscription information;
a first judgment unit 504 configured to judge whether or not the session reception object satisfies the session reception condition;
a first channel establishing unit 505, configured to, when it is determined that the session receiving object meets a session receiving condition, establish a session channel for the talkback sending end and the session receiving object, so that the talkback sending end and the session receiving object send out a prompt tone;
a session sending unit 506, configured to send, based on the session channel, the session information sent by the intercom sending end to a session receiving object, so that the intercom sending end and the session receiving object send a prompt tone.
In one embodiment, the first determining unit 504 includes:
the range judging unit is used for judging whether a session receiving object is in a session object range of the talkback sending end or not;
a state judging unit, configured to judge whether a session receiving object is in an idle state if it is judged that the session receiving object is within a session object range of the talkback sending end;
and the judging unit is used for judging that the session receiving object meets the session receiving condition when the session receiving object is judged to be in the idle state.
In one embodiment, as shown in fig. 6, the group talk-back message management apparatus 500 further comprises:
a result feedback unit 601, configured to feed back a determination result to the intercom transmitting terminal when it is determined that the session receiving object is not in an idle state, so that the intercom transmitting terminal determines whether to initiate a session;
a message obtaining unit 602, configured to obtain a session message of the talkback sending end after the talkback sending end confirms that a session is initiated;
an identifier setting unit 603, configured to set an identifier for the session message based on the talkback sending end and the session receiving object, and store the session message in a preset message queue;
a secondary judging unit 604, configured to perform secondary judgment on whether the session receiving object is in an idle state at preset time intervals, and extract a session message from the message queue based on the identifier and send the session message to the session receiving object when the session receiving object is determined to be in the idle state.
In an embodiment, the first channel establishing unit 505 includes:
a response generating unit, configured to generate corresponding session response information based on the session request information sent by the talkback sending end, and register sending end sip signaling information for the talkback sending end;
the information registration unit is used for sending the session response information to a session receiving object and registering the sip signaling information of the receiving end for the session receiving object;
and the second channel establishing unit is used for establishing the session channel based on the sending end sip signaling information and the receiving end sip signaling information.
In one embodiment, as shown in fig. 7, the group talk-back message management apparatus 500 further comprises:
a training data acquisition unit 701 configured to acquire first speech training data including noise and second speech training data not including noise;
a classification training unit 702, configured to perform classification training on the first voice training data and the second voice training data respectively by using a convolutional neural network, and obtain a first classification feature and a second classification feature that correspond to each other;
a loss value calculation unit 703 configured to calculate a weighted minimum absolute distance for the first classification feature and the second classification feature, and use a calculation result as a loss value of the first classification feature and the second classification feature;
and the model construction unit 704 is used for performing back propagation updating on the convolutional neural network by using the loss value so as to construct a voice processing model.
In an embodiment, the session sending unit 506 includes:
and the denoising processing unit is used for denoising the session information by using the voice processing model and sending the processed session information to a session receiving object.
In one embodiment, as shown in fig. 8, the group talk-back message management apparatus 500 further comprises:
a second determining unit 801, configured to determine whether each session receiving object is in an idle state when there are multiple session receiving objects;
a third channel establishing unit 802, configured to directly establish a session channel for the talkback sending end and all session receiving objects if all the session receiving objects are in an idle state;
a feedback sending unit 803, configured to, if at least one session receiving object is not in an idle state, feed back a determination result to the intercom sending end, so that the intercom sending end determines whether to initiate a session;
a timestamp obtaining unit 804, configured to establish a session channel for the intercom transmitting end and a session receiving object in an idle state after the intercom transmitting end confirms initiation of a session, and obtain real-time session information and a corresponding timestamp transmitted in the session channel;
an information sending unit 805, configured to set an identifier for the real-time session information, store the identifier in a preset message queue, and send the real-time session information to a session receiving object according to the timestamp after the session receiving object that is not in an idle state is in an idle state.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the steps provided by the above embodiments can be implemented. The storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiment of the present invention further provides a computer device, which may include a memory and a processor, where the memory stores a computer program, and the processor may implement the steps provided in the above embodiments when calling the computer program in the memory. Of course, the computer device may also include various network interfaces, power supplies, and the like.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Claims (10)
1. A group talkback message management method, comprising:
acquiring session request information sent by a talkback sending end;
acquiring group subscription information of a group where the talkback sending end is located and individual subscription information of the talkback sending end; the group subscription information comprises all talkback receiving ends which subscribe the group where the talkback sending end is located, and the individual subscription information comprises all talkback receiving ends which subscribe the talkback sending end in the group where the talkback sending end is located;
determining a session receiving object according to the group subscription information and the individual subscription information;
judging whether the session receiving object meets the session receiving condition or not;
when the session receiving object is judged to meet the session receiving condition, establishing a session channel for the talkback sending end and the session receiving object, and enabling the talkback sending end and the session receiving object to send out prompt tones;
and based on the session channel, sending the session information sent by the talkback sending end to a session receiving object, so that the talkback sending end and the session receiving object send prompt tones.
2. The group intercom message management method as claimed in claim 1, wherein said determining whether the session receiving object satisfies the session receiving condition comprises:
judging whether a session receiving object is in a session object range of the talkback sending end or not;
if the session receiving object is judged to be in the range of the session object of the talkback sending end, judging whether the session receiving object is in an idle state;
when the session receiving object is judged to be in an idle state, the session receiving object is judged to meet the session receiving condition.
3. The group talk-back message management method of claim 2, further comprising:
when the session receiving object is judged not to be in an idle state, a judgment result is fed back to the talkback sending end, so that the talkback sending end confirms whether to initiate a session or not;
after the talkback sending end confirms to initiate the session, acquiring a session message of the talkback sending end;
setting an identifier for the session message based on the talkback sending end and the session receiving object, and storing the session message into a preset message queue;
and judging whether the session receiving object is in an idle state for the second time at intervals of a preset time interval, and extracting the session message from the message queue based on the identifier and sending the session message to the session receiving object when the session receiving object is judged to be in the idle state.
4. The group talkback message management method according to claim 1, wherein when it is determined that the session receiving object satisfies the session receiving condition, establishing a session channel for the talkback sending end and the session receiving object comprises:
generating corresponding session response information based on the session request information sent by the talkback sending end, and registering sending end sip signaling information for the talkback sending end;
sending the session response information to a session receiving object, and registering receiving end sip signaling information for the session receiving object;
and establishing the session channel based on the sending end sip signaling information and the receiving end sip signaling information.
5. The group talk-back message management method according to claim 1, further comprising:
acquiring first voice training data containing noise and second voice training data not containing noise;
respectively carrying out classification training on the first voice training data and the second voice training data by using a convolutional neural network, and obtaining corresponding first classification characteristics and second classification characteristics;
calculating a weighted minimum absolute distance for the first classification characteristic and the second classification characteristic, and taking a calculation result as a loss value of the first classification characteristic and the second classification characteristic;
and performing back propagation updating on the convolutional neural network by using the loss value so as to construct a voice processing model.
6. The group talkback message management method according to claim 5, wherein the sending the session information sent by the talkback sender to a session receiving object based on the session channel comprises:
and denoising the session information by using the voice processing model, and sending the processed session information to a session receiving object.
7. The group talk back message management method of claim 3, further comprising:
when a plurality of session receiving objects are available, judging whether each session receiving object is in an idle state;
if all the session receiving objects are in an idle state, directly establishing session channels for the talkback sending end and all the session receiving objects;
if at least one session receiving object is not in an idle state, feeding back a judgment result to the talkback sending end, and enabling the talkback sending end to confirm whether to initiate a session;
after the talkback sending end confirms to initiate a session, establishing a session channel for the talkback sending end and a session receiving object in an idle state, and acquiring real-time session information and a corresponding timestamp transmitted in the session channel;
and setting an identifier for the real-time session information, storing the identifier into a preset message queue, and sending the real-time session information to a session receiving object according to the timestamp after the session receiving object which is not in the idle state is in the idle state.
8. A group talkback message management device, comprising:
the first acquisition unit is used for acquiring session request information sent by the talkback sending end;
the second acquisition unit is used for acquiring group subscription information of a group where the talkback sending terminal is located and individual subscription information of the talkback sending terminal; the group subscription information comprises all talkback receiving ends which subscribe the group where the talkback sending end is located, and the individual subscription information comprises all talkback receiving ends which subscribe the talkback sending end in the group where the talkback sending end is located;
the object determining unit is used for determining a session receiving object according to the group subscription information and the individual subscription information;
a first judgment unit configured to judge whether or not a session reception object satisfies a session reception condition;
a first channel establishing unit, configured to establish a session channel for the talkback sending end and the session receiving object when it is determined that the session receiving object meets a session receiving condition, so that the talkback sending end and the session receiving object send out a prompt tone;
and the session sending unit is used for sending the session information sent by the talkback sending end to a session receiving object based on the session channel so as to enable the talkback sending end and the session receiving object to send out prompt tones.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the group talk message management method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements a group talk message management method as claimed in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111299254.4A CN114039803A (en) | 2021-11-04 | 2021-11-04 | Group talkback message management method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111299254.4A CN114039803A (en) | 2021-11-04 | 2021-11-04 | Group talkback message management method and device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114039803A true CN114039803A (en) | 2022-02-11 |
Family
ID=80142986
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111299254.4A Pending CN114039803A (en) | 2021-11-04 | 2021-11-04 | Group talkback message management method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114039803A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115529391A (en) * | 2022-03-15 | 2022-12-27 | 青岛海尔智能家电科技有限公司 | Method, device, equipment and storage medium for local area network voice call |
CN115580788A (en) * | 2022-09-26 | 2023-01-06 | 广州市保伦电子有限公司 | Intercom method and system based on production line configuration of intercom device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1478134A1 (en) * | 2003-05-16 | 2004-11-17 | Hitachi, Ltd. | Method and apparatus for operating group services in communication networks |
US20060101143A1 (en) * | 2004-11-11 | 2006-05-11 | Nokia Corporation | Handling of invitations to group communication sessions |
CN1867108A (en) * | 2005-09-08 | 2006-11-22 | 华为技术有限公司 | POC service group member state informing process and apparatus |
JP2007258889A (en) * | 2006-03-22 | 2007-10-04 | Nec Corp | Group information providing system and method therefor |
WO2016082697A1 (en) * | 2014-11-26 | 2016-06-02 | 阿里巴巴集团控股有限公司 | Instant messaging method and device |
-
2021
- 2021-11-04 CN CN202111299254.4A patent/CN114039803A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1478134A1 (en) * | 2003-05-16 | 2004-11-17 | Hitachi, Ltd. | Method and apparatus for operating group services in communication networks |
US20060101143A1 (en) * | 2004-11-11 | 2006-05-11 | Nokia Corporation | Handling of invitations to group communication sessions |
CN1867108A (en) * | 2005-09-08 | 2006-11-22 | 华为技术有限公司 | POC service group member state informing process and apparatus |
JP2007258889A (en) * | 2006-03-22 | 2007-10-04 | Nec Corp | Group information providing system and method therefor |
WO2016082697A1 (en) * | 2014-11-26 | 2016-06-02 | 阿里巴巴集团控股有限公司 | Instant messaging method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115529391A (en) * | 2022-03-15 | 2022-12-27 | 青岛海尔智能家电科技有限公司 | Method, device, equipment and storage medium for local area network voice call |
CN115580788A (en) * | 2022-09-26 | 2023-01-06 | 广州市保伦电子有限公司 | Intercom method and system based on production line configuration of intercom device |
CN115580788B (en) * | 2022-09-26 | 2023-09-08 | 广东保伦电子股份有限公司 | Intercom method and system for configuring intercom equipment based on production line |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8630208B1 (en) | Muting of communication session participants | |
US7973857B2 (en) | Teleconference group formation using context information | |
CN114039803A (en) | Group talkback message management method and device, computer equipment and storage medium | |
US8243631B2 (en) | Detecting devices in overlapping audio space | |
CN113691685A (en) | Automatic correction of erroneous audio settings | |
CN101233784B (en) | A communication apparatus | |
US20070036330A1 (en) | Call logging and call logging notification at telecommunications service provider gateway | |
CN101223766A (en) | Teleconferencing system, teleconference management apparatus, terminal apparatus, teleconference management method, control program, and computer-readable recording medium on which it has been recorde | |
CN107995360A (en) | Call handling method and Related product | |
CA2246864C (en) | Method and apparatus for altering a speech signal during a telephone call | |
US20080140418A1 (en) | Method and device to distinguish between voice conversation and automated speech recognition | |
CN106128468B (en) | Voice communication method and device | |
CN112887194B (en) | Interactive method, device, terminal and storage medium for realizing communication of hearing-impaired people | |
CN101674382B (en) | Notification of dropped audio in a teleconference call | |
CN110971681A (en) | Voice interaction method, intelligent loudspeaker box, background server and system | |
CN112866488A (en) | Video color ring back tone playing method, server and terminal | |
WO2013140996A1 (en) | Information processing system, information processing method, server, mobile terminal, and control method and control program for these | |
CN115580788A (en) | Intercom method and system based on production line configuration of intercom device | |
KR102013703B1 (en) | Broadcasting System Having Recording And Listening Function For Real Time Announcement Broadcasting And Control Method Thereof | |
CN103684804A (en) | Method and device for meeting subscription | |
US12015655B2 (en) | Method and system for handling a teleconference | |
US10237402B1 (en) | Management of communications between devices | |
CN112637425B (en) | Group member call state query method based on multi-mode terminal | |
CN113194021B (en) | Electronic device, message play control system and message play control method | |
US9565051B2 (en) | Method for transmitting data to at least one communications end system and communications device for carrying out said 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 |