CN111562997B - Media channel quick recovery method, system and storage medium - Google Patents

Media channel quick recovery method, system and storage medium Download PDF

Info

Publication number
CN111562997B
CN111562997B CN202010289169.9A CN202010289169A CN111562997B CN 111562997 B CN111562997 B CN 111562997B CN 202010289169 A CN202010289169 A CN 202010289169A CN 111562997 B CN111562997 B CN 111562997B
Authority
CN
China
Prior art keywords
media channel
media
recovery
preset condition
preset
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.)
Active
Application number
CN202010289169.9A
Other languages
Chinese (zh)
Other versions
CN111562997A (en
Inventor
郭军勇
孟庆晓
吴闽华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Genew Technologies Co Ltd
Original Assignee
Shenzhen Genew Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Genew Technologies Co Ltd filed Critical Shenzhen Genew Technologies Co Ltd
Priority to CN202010289169.9A priority Critical patent/CN111562997B/en
Publication of CN111562997A publication Critical patent/CN111562997A/en
Application granted granted Critical
Publication of CN111562997B publication Critical patent/CN111562997B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0745Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in an input/output transactions management context
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions

Abstract

The invention discloses a method, a system and a storage medium for quickly recovering media channels, wherein the method comprises the steps of presetting a plurality of recovery media channel response schemes under different preset conditions, and establishing a mapping relation between the recovery media channel response schemes and the preset conditions; the system monitors operation response results of all operations triggered from the start of creation to the end of the media channels and the number of abnormal media channels; if the operation response result or the number meets any preset condition, acquiring and executing a recovery media channel response scheme corresponding to the preset condition according to the mapping relation between the preset recovery media channel response scheme and the preset condition so as to recover the use of the media channel. The invention is based on the condition that the user is not affected badly, and the media channel in the abnormal state is restored through a plurality of restoring mechanisms, thereby being converted into the normal usable state, and then the usable media channel is increased, thereby improving the utilization rate of media resources and bringing great convenience to the user.

Description

Media channel quick recovery method, system and storage medium
Technical Field
The invention relates to the technical field of telephone processing, in particular to a method, a system and a storage medium for quickly recovering a media channel.
Background
In the prior art, because the system runs for a long time, abnormal conditions such as network delay, packet loss, system CPU load, memory use condition and the like often cause abnormal media resources, so that a media channel is abnormal and cannot be used, the space is greatly occupied, and as time is accumulated, the available media channels are fewer and fewer, and the utilization rate of the media resources is extremely low. Therefore, there is a need for a method for recovering a media channel in an abnormal state without affecting the use of the user, so as to increase the available media channels and improve the utilization of the media channels.
Accordingly, there is a need for development and improvement in the art.
Disclosure of Invention
Based on the above, the invention provides a method, a system and a storage medium for quickly recovering a media channel, which aim to solve the technical problems of media resource waste and low media resource utilization rate caused by occupation of space due to incapability of using an abnormal media channel in the prior art.
In order to achieve the above purpose, the invention adopts the following technical scheme:
a media channel quick recovery method, the media channel quick recovery method comprising the steps of:
presetting a plurality of recovery media channel response schemes under different preset conditions, and establishing a one-to-one mapping relation between each recovery media channel response scheme and each preset condition;
the system monitors operation response results of all operations triggered from the start of creation to the end of the media channel and the number of the media channel in an abnormal state;
if the operation response result or the number meets any preset condition, acquiring a recovery media channel response scheme corresponding to the preset condition according to the mapping relation between the preset recovery media channel response scheme and the preset condition;
and performing recovery operation on the media channel through a recovery media channel response scheme, so that the media channel can be normally used.
According to the method for quickly recovering the media channel, if the operation response result or the number meets any preset condition, the method for obtaining the response scheme of the recovered media channel corresponding to the preset condition specifically comprises the following steps of:
if the system monitors that the number of the media channels in the abnormal state meets a first preset condition, acquiring a first recovery media channel response scheme corresponding to the first preset condition according to the mapping relation between a preset recovery media channel response scheme and the preset condition;
wherein the first preset condition is that the number of the media channels in an abnormal state exceeds ten percent of the total number of the media channels; the first recovery media channel response scheme is to initialize all media channels when no other user terminals use any media channel.
The media channel rapid recovery method, wherein the operations triggered from the start of creation to the end of the media channel comprise one or more of the operations of creation of the media channel, activation of the media channel, deactivation of the media channel and destruction of the media channel.
According to the method for quickly recovering the media channel, if the operation response result or the number meets any preset condition, obtaining the recovered media channel response scheme corresponding to the preset condition according to the mapping relation between the preset recovered media channel response scheme and the preset condition further comprises:
if the system monitors that the operation triggered by the media channel is the creation operation of the media channel, acquiring an operation response result fed back by the creation operation;
if the operation response result meets a second preset condition, acquiring a second recovery media channel response scheme corresponding to the second preset condition according to the mapping relation between a preset recovery media channel response scheme and the preset condition;
the second preset condition is a feedback creation operation unsuccessful result; the second recovery media channel response scheme is to initialize the media channel corresponding to the creation operation.
According to the method for quickly recovering the media channel, if the operation response result or the number meets any preset condition, obtaining the recovered media channel response scheme corresponding to the preset condition according to the mapping relation between the preset recovered media channel response scheme and the preset condition further comprises:
if the system monitors that the operation triggered by the media channel is the activation operation of the media channel, acquiring an operation response result fed back by the activation operation;
if the operation response result meets a third preset condition, acquiring a third recovery media channel response scheme corresponding to the third preset condition according to the mapping relation between a preset recovery media channel response scheme and the preset condition;
the third preset condition is a result of unsuccessful feedback activation operation; the third recovery media channel response scheme is to perform deactivation operation processing and destruction operation processing on the media channel corresponding to the activation operation until the media channel can be normally used.
The method for quickly recovering the media channel further comprises the following steps:
the system monitors the states of all media channels at intervals of preset time;
if the state of the media channel is monitored to be in an abnormal state, counting the number of the media channels in the abnormal state;
judging whether the quantity meets a first preset condition, and if so, executing a first recovery media channel response scheme corresponding to the first preset condition.
The method for quickly recovering media channels, wherein the system monitors the states of all media channels at intervals of preset time, specifically comprises the following steps:
starting a timer and setting the timer to be a preset time;
if the current duration reaches the preset time, the timer sends a state detection instruction of the media channel to the system;
and after the system receives the state detection instruction, acquiring the states of all media channels.
The system comprises a main control unit and a media processing unit, and further comprises:
when a main control unit controls a media processing unit to perform the creation operation of a media channel, the main control unit sends a request for creating the media channel to the media processing unit, wherein the request for creating the media channel carries a time slot ID of the media channel to be created;
when the main control unit receives a media channel creation success message sent by the media processing unit, recording a media channel ID in the media channel creation success message and associating the media channel corresponding to the media channel ID.
The invention also provides a system, which comprises a processor and a memory connected with the processor, wherein the memory stores a media channel quick recovery program, and the processor is used for realizing the steps in the media channel quick recovery method when executing.
The present invention also provides a computer readable storage medium storing one or more programs executable by one or more processors to implement the steps in the media channel fast recovery method described above.
The beneficial effects are that:
compared with the prior art, the invention provides a method, a system and a storage medium for quickly recovering media channels, wherein the method comprises the steps of presetting a plurality of recovery media channel response schemes under different preset conditions, and establishing a one-to-one mapping relation between each recovery media channel response scheme and each preset condition; the system monitors operation response results of all operations triggered from the start of creation to the end of the media channel and the number of the media channel in an abnormal state; if the operation response result or the number meets any preset condition, acquiring a recovery media channel response scheme corresponding to the preset condition according to the mapping relation between the preset recovery media channel response scheme and the preset condition; and performing recovery operation on the media channel through a recovery media channel response scheme, so that the media channel can be normally used. The invention is based on the condition that the user is not affected badly, and the media channel in the abnormal state is restored through a plurality of restoring mechanisms, thereby being converted into the normal usable state, and then the usable media channel is increased, thereby improving the utilization rate of media resources and bringing great convenience to the user.
Drawings
FIG. 1 is a diagram illustrating the operation of a media channel between a host unit and a media processing unit.
Fig. 2 is a flowchart of a method for quickly recovering a media channel according to the present invention.
Fig. 3 is a functional block diagram of the system of the present invention.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and more specific, the present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The system mainly comprises: a main control unit and a media processing unit; the main control unit is used for sending the media command and the media data to the media processing unit; the media processing unit, i.e. the media processing device, typically employs a digital signal processor (DSP, digital Signal Processor) for executing media commands and processing media data.
Fig. 1 illustrates a process diagram of the operation of a media channel between a master control unit and a media processing unit. As shown in fig. 1, the host in fig. 1 is a main control unit, the DSP chip is a media processing unit, and the host controls the DSP chip to operate the media channels, create operation sub-channels of the media resources, activate the channels, deactivate the channels, and destroy the channels.
The main control unit comprises a channel data control module for managing the media channel, wherein the main parameters of the channel data control module for managing the media channel are channel numbers, used time slot numbers, media channel numbers and channel states.
The media channel operation procedure in fig. 1 is specifically described below:
1. creation of a channel:
the host sends a request for executing the creation channel to the DSP chip, the request for executing the creation channel carries the time slot number used by the channel, and the DSP chip returns the media channel ID to the host for making the association record after the creation is successful. The practical application thereof is as follows:
the TDM bus of the DSP chip is connected to the backplane bus of the device, the so-called TDM bus is a time division multiplexed interface, the 2M interface is 32 time slots, the interface with the time slot number of 0-31,8M is 128 time slots, the time slot number is 0-127. So the time slot IDs seen by the host and the DSP chip are identical, and the media channel number thereof is dynamically applied at the DSP chip end, that is, a procedure in which when the channel 1 of the host creates a channel, the time slot 0 is issued to the DSP chip as a parameter of the creation command, the DSP chip applies for a media channel number associated with the time slot, and returns the media channel number to the channel 1 of the host in the creation channel command return result, and the channel 1 sets the media channel of the channel control module in the host to a return value for subsequently sending the parameter command of the relevant channel to the DSP chip through the recorded media channel ID.
The media channel ID is used to uniquely identify the media channel to be used, and the corresponding channel control data block can be indexed according to the media channel number, and the time slot number (time slot ID) is the number of one physical interface. For example, when the channel 0 uses 0 time slot to transmit data, the 0 time slot is issued to the DSP chip to create a media channel, the DSP chip returns the media channel number to the channel 1 to record, and then the parameters of the host operating channel 1 are issued to the media channel of the DSP chip.
2. Activation of the channel:
the channel is used as the active channel, and the host computer issues the IP information, encoding and decoding, echo, silence detection and other control parameters to control the DSP chip to encode and decode and constitute RTP package for transmission and reception. The echo cancellation is a function of the DSP chip, solves the problem of echo of voice, and the silence detection is to detect whether the voice coming from the TDM interface is silence or not, and if so, the silence packet can be sent to save bandwidth.
3. Deactivation of the channel:
i.e. deactivation, is to deactivate the channel, in which state the channel can be destroyed, freeing the relation between time slots and media channels. That is, the host controls the media channel of the DSP chip to stop receiving and transmitting RTP packets and stop encoding and decoding.
4. Destroying the channel, the host controls the DSP to destroy the media channel, and the host also releases the association relation between the channel number and the media channel.
In fig. 1, once the feedback result from the DSP chip is an unsuccessful result, the media channel is considered to be abnormal, and the state is in an abnormal state.
Thus, from an operational perspective, in an operation triggered from the start of creation to the end of a media channel, empirically, the opportunity for an abnormal media channel to occur is two places, as follows:
1. the generation occurs between the start of creation of the media channel and the start of activation of the media channel, at which time the monitored abnormal media channel is not associated with a media channel number.
2. The generation is after the start of activation of the media channel, when the monitored abnormal media channel is already associated to the media channel number.
And corresponding to the two places where the abnormal media channels are generated, the abnormal media channels can be recovered only by adopting corresponding recovery response schemes respectively, so that the abnormal media channels can be normally used.
Of course, in order not to influence the normal use of the user, the invention also considers the mode of cleaning the abnormal media channel at regular time to improve the utilization rate of the media channel.
Based on the foregoing, as shown in fig. 2, fig. 2 illustrates a flowchart of a media channel fast recovery method provided by the present invention. The media channel quick recovery method comprises the following steps:
s10, presetting a plurality of recovery media channel response schemes under different preset conditions, and establishing a one-to-one mapping relation between each recovery media channel response scheme and each preset condition.
In order to save media resources, the use of the abnormal media channel is restored, and corresponding condition restoration operations are respectively carried out for the condition of the abnormal media channel. In the invention, the abnormal media channel is recovered from three aspects under the condition of not affecting the use of users: firstly, when problems are found in the media operation process, the problems are recovered in time according to the types of the problems, secondly, a period timer is started for 1 hour, the number of media channels in an abnormal state is detected every 1 hour, the channels are recovered according to the corresponding mode of the number of the abnormal media channels, and thirdly, the reset recovery of the DSP is decided according to the current resource use condition and whether a plurality of media boards exist or not at 3 early morning.
It should be noted that the above time points are not limited, and may be set according to the user requirement and the actual scenario.
Based on the three aspects, a plurality of recovery media channel response schemes under different preset conditions are preset in the system, and a one-to-one mapping relation between each recovery media channel response scheme and each preset condition is established. The method comprises the following steps:
the first preset condition is that the number of the media channels in the abnormal state exceeds ten percent of the total number of the media channels, and the corresponding first recovery media channel response scheme is that when no other user terminal uses any media channel is detected, all the media channels are initialized.
Under the condition based on the first preset condition, a fourth preset condition is preset to determine that a plurality of standby media control boards are stored, the corresponding fourth recovery media channel response scheme is to inform the main control board to perform main-standby switching operation, transfer the used media resources to the standby media control boards, determine that the DSP chip is not used, and perform reset operation on the DSP chip.
The second preset condition is that the result of unsuccessful feedback creation operation is fed back, and the corresponding second recovery media channel response scheme is that the media channel corresponding to the creation operation is initialized. The second recovery media channel response scheme is based on point 1 above.
The third preset condition is that the feedback activation operation is unsuccessful, and the corresponding third recovery media channel response scheme is to perform deactivation operation processing and destruction operation processing on the media channel corresponding to the activation operation until the media channel can be normally used. The third recovery media channel response scheme is based on point 2 above.
S20, the system monitors operation response results of all operations triggered from the start of creation to the end of the media channel and the number of the media channel in an abnormal state.
Because the system is easy to cause excessive abnormal media channels during long-time operation, the abnormal media channels cannot be used, and the space is extremely occupied, the system is set to detect the states of the media channels at intervals of preset time so as to acquire the number of the media channels in the abnormal state. Whether the number reaches a certain range is determined to determine whether initializing operation is required for all media channels, namely resetting the DSP chip.
Of course, since the generation of the abnormal media channel also originates from the operation process from the creation of the media channel to the end, the system needs to monitor the operation response results of all the operations triggered from the creation of the media channel to the end, so as to judge whether the media channel is abnormal according to the operation response results, and then timely take the corresponding recovery operation.
S30, if the operation response result or the number meets any preset condition, acquiring a recovery media channel response scheme corresponding to the preset condition according to the mapping relation between the preset recovery media channel response scheme and the preset condition.
Based on step S10, different recovery media channel response schemes under different preset conditions are stored in advance, and under the condition of system monitoring, whether the number of abnormal media channels monitored in the operation process from the start of media channel creation to the end of triggering or in other time periods is not the same, if any preset condition in the prestored condition is met, the recovery media channel response scheme corresponding to the preset condition is obtained, and the corresponding recovery media channel response scheme can be executed for the abnormal media channels.
I.e., the number of media channels in an abnormal state exceeds ten percent of the total number of media channels (satisfying a first preset condition), a first recovered media channel response scheme is obtained.
If the system monitors that the operation triggered by the media channel is the creation operation of the media channel and the operation response result is that the feedback creation operation is unsuccessful (namely, the second preset condition is met), a second recovery media channel response scheme is obtained.
If the system monitors that the operation triggered by the media channel is the activation operation of the media channel and the operation response result is that the feedback activation operation is unsuccessful (namely, the third preset condition is met), a third recovery media channel response scheme is obtained.
And if the state of the monitoring media channel is in an abnormal state (namely, the fourth preset condition is met) at intervals of preset time, acquiring a fourth recovery media channel response scheme.
S40, executing recovery operation on the media channel through the recovery media channel response scheme, so that the media channel can be normally used.
In specific implementation, a timer is started, and the timer is set to be a preset time, for example, the preset time is 1 hour; if the current duration reaches the preset time, the timer sends a state detection instruction of the media channel to the system; after the system receives the state detection instruction, acquiring the states of all media channels, and if the states of the media channels are monitored to be in abnormal states, counting the number of the media channels in the abnormal states; judging whether the number meets a first preset condition, if so, executing a first media channel restoration response scheme corresponding to the first preset condition, namely determining that no other users are used on the DSP chip, resetting the DSP chip and initializing all channels.
Of course, when the first recovery media channel response scheme is executed, if it is detected that there are a plurality of unused standby media control boards (meeting a fourth preset condition), the fourth recovery media channel response scheme is executed, specifically, before the reset operation is performed on the DSP chip, the main control board on the host computer is notified to perform the migration operation, and all the media resources used by the subsequent user are migrated to the standby media control boards until no other user is present on the DSP chip, and the DSP is reset. Therefore, normal use of the user is not influenced, abnormal media channels can be used normally, space is saved, and the utilization rate of the media channels is greatly improved.
Further, the occurrence of abnormal media channels is monitored during the course of the media channels from the beginning to the end of creation, i.e
If the operation response result meets the second preset condition, the channel state before entering the abnormal state is created to wait and is not related to the media channel number, and the control data block of the channel can be used after being directly initialized.
If the operation response result meets the third preset condition, the channel is found to have an associated media channel number, which indicates that the media channel also exists, and the deactivation operation is issued to the channel to cause all operations of deactivation to the idle state, that is, all operations from the deactivation operation in fig. 1 to the media channel in the idle state are executed.
Therefore, based on the steps S10-S40, the method and the device for recovering the media channels in the abnormal state are based on the condition that the user is not affected badly, and the recovery operation is carried out through various recovery mechanisms, so that the media channels are converted into the normal usable state, the usable media channels are increased, the utilization rate of media resources is improved, the resources are saved, the cost is reduced, the abnormal scene is covered comprehensively, and great convenience is brought to the user by utilizing popularization.
Example two
Based on the above media channel fast recovery method, the present invention also provides a system accordingly, as shown in fig. 3, where the system 100 includes a processor 11 and a memory 22 connected to the processor 11, and fig. 3 only shows some components of the system 100, but it should be understood that not all the components shown are required to be implemented, and more or fewer components may be implemented instead.
The memory 22 may be an internal storage unit of the system 100, such as a memory of the system 100, in some embodiments. The memory 22 may also be an external storage device of the system 100 in other embodiments, such as a plug-in usb disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the system 100. Further, the memory 22 may also include both internal storage units and external storage devices of the system 100. The memory 22 is used for storing application software and various data installed in the system 100, such as the media channel quick recovery program code. The memory 22 may also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 22 stores a media channel quick recovery program, which can be executed by the processor 11, so as to implement a media channel quick recovery method in the present application, which is described in detail above.
The processor 11 may in some embodiments be a central processing unit (Central Processing Unit, CPU), microprocessor, mobile phone baseband processor or other data processing chip for running the program code or processing data stored in the memory 22, for example, performing the media channel fast recovery method, etc., as described in the above methods.
The present invention also provides a computer readable storage medium storing one or more programs executable by one or more processors (in this embodiment, the processor 11) to implement the steps in the media channel fast recovery method of the present invention, specifically as described in the above method.
In summary, the present invention provides a method, a system and a storage medium for quickly recovering media channels, where the method includes presetting multiple recovery media channel response schemes under different preset conditions, and establishing a one-to-one mapping relationship between each recovery media channel response scheme and each preset condition; the system monitors operation response results of all operations triggered from the start of creation to the end of the media channel and the number of the media channel in an abnormal state; if the operation response result or the number meets any preset condition, acquiring a recovery media channel response scheme corresponding to the preset condition according to the mapping relation between the preset recovery media channel response scheme and the preset condition; and performing recovery operation on the media channel through a recovery media channel response scheme, so that the media channel can be normally used. The invention is based on the condition that the user is not affected badly, and the media channel in the abnormal state is restored through a plurality of restoring mechanisms, thereby being converted into the normal usable state, and then the usable media channel is increased, thereby improving the utilization rate of media resources and bringing great convenience to the user.
Of course, those skilled in the art will appreciate that implementing all or part of the above-described methods may be implemented by a computer program for instructing relevant hardware (e.g., a processor, a controller, etc.), where the program may be stored in a computer-readable storage medium, and where the program may include the steps of the above-described method embodiments when executed. The storage medium may be a memory, a magnetic disk, an optical disk, or the like.
It is to be understood that the invention is not limited in its application to the examples described above, but is capable of modification and variation in light of the above teachings by those skilled in the art, and that all such modifications and variations are intended to be included within the scope of the appended claims.

Claims (9)

1. A method for quickly recovering a media channel, the method comprising the steps of:
presetting a plurality of recovery media channel response schemes under different preset conditions, and establishing a one-to-one mapping relation between each recovery media channel response scheme and each preset condition;
the system monitors operation response results of all operations triggered from the start of creation to the end of the media channel and the number of the media channel in an abnormal state;
if the operation response result or the number meets any preset condition, acquiring a recovery media channel response scheme corresponding to the preset condition according to the mapping relation between the preset recovery media channel response scheme and the preset condition;
performing recovery operation on the media channel through a recovery media channel response scheme, so that the media channel can be normally used;
the operations triggered from the start of creation to the end of the media channel comprise one or more of a creation operation of the media channel, an activation operation of the media channel, a deactivation operation of the media channel and a destruction operation of the media channel;
the first preset condition is that the number of the media channels in an abnormal state exceeds ten percent of the total number of the media channels; the first recovery media channel response scheme is to initialize all media channels when no other user terminal uses any media channel;
the second preset condition is the unsuccessful result of feedback creation operation; the second recovery media channel response scheme is to initialize the media channel corresponding to the creation operation;
the third preset condition is that feedback activation operation is unsuccessful; the third recovery media channel response scheme is to perform deactivation operation processing and destruction operation processing on the media channel corresponding to the activation operation until the media channel can be normally used.
2. The method for quickly recovering a media channel according to claim 1, wherein if the operation response result or the number meets any one of the preset conditions, the method for obtaining a recovered media channel response scheme corresponding to the preset condition according to the mapping relationship between the preset recovered media channel response scheme and the preset condition specifically comprises:
if the system monitors that the number of the media channels in the abnormal state meets the first preset condition, acquiring the first recovery media channel response scheme corresponding to the first preset condition according to the mapping relation between the preset recovery media channel response scheme and the preset condition.
3. The method for quickly recovering a media channel according to claim 1, wherein if the operation response result or the number meets any one of the preset conditions, obtaining a recovered media channel response scheme corresponding to the preset condition according to a mapping relationship between the preset recovered media channel response scheme and the preset condition further comprises:
if the system monitors that the operation triggered by the media channel is the creation operation of the media channel, acquiring an operation response result fed back by the creation operation;
and if the operation response result meets the second preset condition, acquiring the second recovery media channel response scheme corresponding to the second preset condition according to the mapping relation between the preset recovery media channel response scheme and the preset condition.
4. The method for quickly recovering a media channel according to claim 1, wherein if the operation response result or the number meets any one of the preset conditions, obtaining a recovered media channel response scheme corresponding to the preset condition according to a mapping relationship between the preset recovered media channel response scheme and the preset condition further comprises:
if the system monitors that the operation triggered by the media channel is the activation operation of the media channel, acquiring an operation response result fed back by the activation operation;
and if the operation response result meets the third preset condition, acquiring the third recovery media channel response scheme corresponding to the third preset condition according to the mapping relation between the preset recovery media channel response scheme and the preset condition.
5. The media channel quick recovery method of claim 1, further comprising:
the system monitors the states of all media channels at intervals of preset time;
if the state of the media channel is monitored to be in an abnormal state, counting the number of the media channels in the abnormal state;
judging whether the quantity meets a first preset condition, and if so, executing a first recovery media channel response scheme corresponding to the first preset condition.
6. The method for quickly restoring media channels according to claim 5, wherein the system monitors the status of all media channels at predetermined intervals specifically comprises:
starting a timer and setting the timer to be a preset time;
if the current duration reaches the preset time, the timer sends a state detection instruction of the media channel to the system;
and after the system receives the state detection instruction, acquiring the states of all media channels.
7. The method of claim 1, wherein the system comprises a master control unit and a media processing unit, further comprising:
when a main control unit controls a media processing unit to perform the creation operation of a media channel, the main control unit sends a request for creating the media channel to the media processing unit, wherein the request for creating the media channel carries a time slot ID of the media channel to be created;
when the main control unit receives a media channel creation success message sent by the media processing unit, recording a media channel ID in the media channel creation success message and associating the media channel corresponding to the media channel ID.
8. A media channel fast recovery system comprising a processor and a memory coupled to the processor, the memory storing a media channel fast recovery program, the processor implementing the steps in the media channel fast recovery method of any one of claims 1-7 when executing the program.
9. A computer readable storage medium storing one or more programs executable by one or more processors to implement the steps in the media channel fast recovery method of any one of claims 1-7.
CN202010289169.9A 2020-04-14 2020-04-14 Media channel quick recovery method, system and storage medium Active CN111562997B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010289169.9A CN111562997B (en) 2020-04-14 2020-04-14 Media channel quick recovery method, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010289169.9A CN111562997B (en) 2020-04-14 2020-04-14 Media channel quick recovery method, system and storage medium

Publications (2)

Publication Number Publication Date
CN111562997A CN111562997A (en) 2020-08-21
CN111562997B true CN111562997B (en) 2023-06-30

Family

ID=72070402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010289169.9A Active CN111562997B (en) 2020-04-14 2020-04-14 Media channel quick recovery method, system and storage medium

Country Status (1)

Country Link
CN (1) CN111562997B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114638548B (en) * 2022-05-09 2022-09-30 浙江国利网安科技有限公司 Wind control method and device of industrial control system and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330369B (en) * 2007-06-21 2014-07-09 华为技术有限公司 Transmitting and receiving method and apparatus, channel protection method and system
CN101699824B (en) * 2009-11-16 2012-11-28 中兴通讯股份有限公司 Device and method for failure recovery
CN102118526A (en) * 2009-12-30 2011-07-06 北京大唐高鸿数据网络技术有限公司 VoIP (Voice over Internet Protocol) media communication method based on SIP (Session Initiation Protocol)
CN102271077B (en) * 2010-06-01 2016-03-30 中兴通讯股份有限公司 The resource control method of streaming media server and streaming media server
US9246843B2 (en) * 2012-09-04 2016-01-26 Apple Inc. Detecting and recovering from a transmission channel change during a streaming media session
CN105792358A (en) * 2014-12-25 2016-07-20 中兴通讯股份有限公司 Channel obtaining signal configuring and generating method and device
CN110768816B (en) * 2018-07-27 2022-04-15 成都鼎桥通信技术有限公司 Multimedia service exception protection method and device

Also Published As

Publication number Publication date
CN111562997A (en) 2020-08-21

Similar Documents

Publication Publication Date Title
US20160286380A1 (en) Management method for embedded universal integrated circuit card, related device, and system
CN108134713B (en) Communication method and device
CN110830283A (en) Fault detection method, device, equipment and system
CN111562997B (en) Media channel quick recovery method, system and storage medium
CN111541762B (en) Data processing method, management server, device and storage medium
CN108924043A (en) System monitoring method, gateway communication, gateway apparatus, service processing equipment
CN109964493B (en) Network connection detection method, device, terminal and computer storage medium
CN111124761B (en) Equipment restarting method, device, equipment and medium
US9092396B2 (en) Standby system device, a control method, and a program thereof
CN113946487A (en) Method and system for realizing autonomous service degradation recovery in fault scene
CN113179170A (en) Method and device for processing abnormity of power receiving end equipment, power supply end equipment and medium
US11930292B2 (en) Device state monitoring method and apparatus
CN110768816B (en) Multimedia service exception protection method and device
CN112751743A (en) Message sending exception processing method, message sending device and electronic equipment
CN115314361A (en) Server cluster management method and related components thereof
CN110308938B (en) Management method and device for plugging and unplugging peripheral events
CN110851328B (en) Method for detecting abnormal power failure of password card in PKCS #11 application
CN111641987B (en) Method for processing based on service, terminal equipment, network equipment and computer storage medium
CN110890989A (en) Channel connection method and device
CN111934909A (en) Method and device for switching IP (Internet protocol) resources of host and standby machine, computer equipment and storage medium
CN111865631A (en) Fault information reporting method and device, electronic equipment and readable storage medium
US20220045874A1 (en) Charging processing method and system, and related device
JP6045410B2 (en) Network device and state change notification method
CN109788008B (en) Application server calling method and system based on Nginx
KR100594132B1 (en) Interface device and method of code location multiple access mobile telephone network system home location register with improved signal processing performance

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
GR01 Patent grant
GR01 Patent grant