CN112988475B - Disaster tolerance test method, device, test server and medium - Google Patents

Disaster tolerance test method, device, test server and medium Download PDF

Info

Publication number
CN112988475B
CN112988475B CN202110469767.9A CN202110469767A CN112988475B CN 112988475 B CN112988475 B CN 112988475B CN 202110469767 A CN202110469767 A CN 202110469767A CN 112988475 B CN112988475 B CN 112988475B
Authority
CN
China
Prior art keywords
video
video picture
picture
disaster tolerance
conference system
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
CN202110469767.9A
Other languages
Chinese (zh)
Other versions
CN112988475A (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.)
Xiamen Yilian Communication Technology Co ltd
Original Assignee
Xiamen Yealink Network Technology 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 Xiamen Yealink Network Technology Co Ltd filed Critical Xiamen Yealink Network Technology Co Ltd
Priority to CN202110469767.9A priority Critical patent/CN112988475B/en
Publication of CN112988475A publication Critical patent/CN112988475A/en
Application granted granted Critical
Publication of CN112988475B publication Critical patent/CN112988475B/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/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1608Error detection by comparing the output signals of redundant hardware
    • G06F11/1616Error detection by comparing the output signals of redundant hardware where the redundant component is an I/O device or an adapter therefor
    • G06F11/162Displays
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a disaster tolerance testing method, a disaster tolerance testing device, a testing server and a medium, and relates to the technical field of data processing. The test server applied to the disaster tolerance test system, the disaster tolerance test system includes the test server, the terminal equipment, the conference system, including: the method comprises the steps that a control terminal device sends an original video picture to a first video processing unit in a conference system; carrying out disaster recovery operation on the first video processing unit; acquiring a first video picture and a second video picture from terminal equipment; and calculating the disaster tolerance capability of the conference system according to the first video picture, the second video picture and the original video picture. The video processing unit in the conference system is automatically subjected to disaster recovery operation by adopting the test server without manual participation, so that the waste of human resources is reduced; and the testing server calculates the disaster tolerance capability of the conference system based on the first video picture, the second video picture and the original video picture, and the obtained disaster tolerance testing result is objective and accurate.

Description

Disaster tolerance test method, device, test server and medium
Technical Field
The invention relates to the technical field of data processing, in particular to a disaster tolerance testing method, a disaster tolerance testing device, a testing server and a medium.
Background
In the cluster conference system, a plurality of sets of MCU (Microcontroller Unit) systems with the same function may be established, and health status monitoring and function switching may be performed between each other. When one MCU fails and stops working, the call in progress can be switched to another MCU to recover the conference. The shorter the recovery time, the better the disaster tolerance capability, and the more important it becomes to test the disaster tolerance.
In the related technology, one MCU is manually operated, so that the MCU works abnormally, and disaster recovery migration of the MCU is triggered; and manually observing and counting the time for recovering the conference to obtain the disaster tolerance test result.
However, in the related art, the disaster tolerance test can be completed only by manual intervention, which wastes unnecessary human resources and is prone to cause the problem that the determined disaster tolerance test result is inaccurate.
Disclosure of Invention
The present invention aims to provide a method, an apparatus, a test server and a medium for disaster recovery testing, so as to solve the problems in the related art that the disaster recovery testing needs to be completed by manual intervention, unnecessary human resources are wasted, and the determined disaster recovery testing result is inaccurate.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides a disaster recovery testing method, which is applied to a test server in a disaster recovery testing system, where the disaster recovery testing system includes the test server, a terminal device, and a conference system; wherein the conference system comprises: a plurality of video processing units; the test server is respectively in communication connection with the terminal equipment and the plurality of video processing units; the video processing units are respectively in communication connection with the terminal equipment; the method comprises the following steps:
controlling the terminal equipment to send an original video picture to a first video processing unit in the conference system, so that the terminal equipment receives and plays a first video picture obtained by processing a part of video pictures in the original video picture by the first video processing unit;
carrying out disaster recovery operation on the first video processing unit, so that a second video processing unit in the conference system processes another part of video pictures in the original video pictures to obtain second video pictures, and transmitting the second video pictures to the terminal equipment for playing;
acquiring the first video picture and the second video picture from the terminal equipment;
and calculating the disaster tolerance capability of the conference system according to the first video picture, the second video picture and the original video picture, wherein the disaster tolerance capability is used for representing the disaster tolerance processing capability of other video processing units after one video processing unit in the conference system breaks down.
Optionally, the original video picture is a face video picture; the calculating the disaster tolerance capability of the conference system according to the first video picture, the second video picture and the original video picture comprises:
carrying out face recognition on the first video image and the second video image to obtain a first face recognition result;
and calculating the disaster tolerance capability according to the first face recognition result and the difference information of the second face recognition result corresponding to the original video picture.
Optionally, the first face recognition result is a first mark text of a face picture in a video picture played by the terminal device; the second face recognition result is a second mark text of the face picture of the original video picture;
the calculating the disaster tolerance capability according to the first face recognition result and the difference information of the second face recognition result corresponding to the original video picture comprises:
calculating disaster tolerance time according to the difference value between the first marked text and the second marked text and a preset video playing speed, wherein the disaster tolerance capability comprises: and the disaster recovery time.
Optionally, the controlling the terminal device to send an original video picture to a first video processing unit in the conference system includes:
controlling the terminal equipment to send the original video picture to the first video processing unit for multiple times so as to obtain the disaster tolerance capability of multiple disaster tolerance tests;
the method further comprises the following steps:
and calculating the average disaster tolerance capability of the multiple times of disaster tolerance tests as the target disaster tolerance capability of the conference system.
Optionally, the conference system further includes: the conference server is in communication connection with the terminal device, the conference server is in communication connection with the first video processing unit, and before the terminal device is controlled to send an original video picture to the first video processing unit in the conference system, the method further comprises:
and controlling the terminal equipment to send a call instruction to the conference server in the conference system so as to establish communication connection between the first video processing unit in the conference system and the terminal equipment through the conference server.
Optionally, the disaster recovery testing system further includes: the video playing device is in communication connection with the terminal device, and before calculating the disaster tolerance capability according to the first face recognition result and the difference information of the second face recognition result corresponding to the original video picture, the method further comprises:
controlling the video playing device to play the original video picture through the terminal device, and acquiring the original video picture from the video playing device;
and carrying out face recognition on the original video image to obtain a second face recognition result.
Optionally, the disaster recovery operation is any one of the following operations: closing operation, restarting operation, power-off operation and network-off operation.
In a second aspect, an embodiment of the present invention further provides a disaster recovery testing apparatus, which is applied to a testing server in a disaster recovery testing system, where the disaster recovery testing system includes the testing server, a terminal device, and a conference system; wherein the conference system comprises: a plurality of video processing units; the test server is respectively in communication connection with the terminal equipment and the plurality of video processing units; the video processing units are respectively in communication connection with the terminal equipment; the device comprises:
the control module is used for controlling the terminal equipment to send an original video picture to a first video processing unit in the conference system, so that the terminal equipment receives and plays a first video picture obtained by processing a part of video pictures in the original video picture by the first video processing unit;
the operation module is used for carrying out disaster recovery operation on the first video processing unit, so that a second video processing unit in the conference system processes another part of video pictures in the original video pictures to obtain second video pictures, and the second video pictures are transmitted to the terminal equipment to be played;
an obtaining module, configured to obtain the first video picture and the second video picture from the terminal device;
and the computing module is used for computing the disaster tolerance capability of the conference system according to the first video picture, the second video picture and the original video picture, wherein the disaster tolerance capability is used for representing the disaster tolerance processing capability of other video processing units after one video processing unit in the conference system breaks down.
Optionally, the original video picture is a face video picture; the computing module is further configured to perform face recognition on the first video image and the second video image to obtain a first face recognition result; and calculating the disaster tolerance capability according to the first face recognition result and the difference information of the second face recognition result corresponding to the original video picture.
Optionally, the first face recognition result is a first tagged text of a face picture in a video picture played by the terminal device; the second face recognition result is a second mark text of the face picture of the original video picture;
the computing module is further configured to compute a disaster recovery time according to a difference between the first marked text and the second marked text and a preset video playing speed, where the disaster recovery capability includes: and the disaster recovery time.
Optionally, the control module is further configured to control the terminal device to send the original video picture to the first video processing unit for multiple times, so as to obtain the disaster tolerance capability of multiple disaster tolerance tests;
the device further comprises:
and the first calculation module is used for calculating the average disaster tolerance capability of the multiple disaster tolerance tests as the target disaster tolerance capability of the conference system.
Optionally, the conference system further includes: a conference server, the conference server being in communication connection with the terminal device, the conference server being in communication connection with the first video processing unit, the apparatus further comprising:
and controlling the terminal equipment to send a call instruction to the conference server in the conference system so as to establish communication connection between the first video processing unit in the conference system and the terminal equipment through the conference server.
Optionally, the disaster tolerance testing system further includes: the video playing device is in communication connection with the terminal device, and before calculating the disaster tolerance capability according to the first face recognition result and the difference information of the second face recognition result corresponding to the original video picture, the apparatus further includes:
the first control module is used for controlling the video playing equipment to play the original video picture through the terminal equipment and acquiring the original video picture from the video playing equipment;
and the first acquisition module is used for carrying out face recognition on the original video picture to obtain a second face recognition result.
Optionally, the disaster recovery operation is any one of the following operations: closing operation, restarting operation, power-off operation and network-off operation.
In a third aspect, an embodiment of the present invention further provides a test server, including: a memory and a processor, wherein the memory stores a computer program executable by the processor, and the processor implements the disaster recovery testing method according to any one of the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is read and executed, the method for disaster recovery testing according to any one of the above first aspects is implemented.
The invention has the beneficial effects that: the embodiment of the invention provides a disaster tolerance test method, which is applied to a test server in a disaster tolerance test system, wherein the disaster tolerance test system comprises the test server, terminal equipment and a conference system; wherein, conference system includes: a plurality of video processing units; the test server is respectively in communication connection with the terminal equipment and the plurality of video processing units; the plurality of video processing units are respectively in communication connection with the terminal equipment; the method comprises the following steps: the method comprises the steps that a terminal device is controlled to send an original video picture to a first video processing unit in a conference system, so that the terminal device receives and plays the first video picture obtained by processing a part of video pictures in the original video picture from the first video processing unit; carrying out disaster recovery operation on the first video processing unit, so that a second video processing unit in the conference system processes another part of video pictures in the original video pictures to obtain second video pictures, and transmitting the second video pictures to the terminal equipment for playing; acquiring a first video picture and a second video picture from terminal equipment; and calculating the disaster tolerance capability of the conference system according to the first video picture, the second video picture and the original video picture, wherein the disaster tolerance capability is used for representing the disaster tolerance processing capability of other video processing units after one video processing unit in the conference system fails. The video processing unit in the conference system is automatically subjected to disaster recovery operation by adopting the test server without manual participation, so that the waste of human resources is reduced; and the testing server calculates the disaster tolerance capability of the conference system based on the first video picture, the second video picture and the original video picture, and the obtained disaster tolerance testing result is objective and accurate.
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 embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of a disaster recovery testing system according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a disaster recovery testing method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a disaster recovery testing method according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a disaster recovery testing method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a disaster recovery testing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a test server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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, but not all embodiments of the present invention.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. 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 application.
In the description of the present application, it should be noted that if the terms "upper", "lower", etc. are used for indicating the orientation or positional relationship based on the orientation or positional relationship shown in the drawings or the orientation or positional relationship which is usually arranged when the product of the application is used, the description is only for convenience of describing the application and simplifying the description, but the indication or suggestion that the referred device or element must have a specific orientation, be constructed in a specific orientation and operation, and thus, cannot be understood as the limitation of the application.
Furthermore, the terms "first," "second," and the like in the description and in the claims, as well as in the drawings, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the features of the embodiments of the present application may be combined with each other without conflict.
Fig. 1 is a schematic structural diagram of a disaster recovery testing system according to an embodiment of the present application, and as shown in fig. 1, the disaster recovery testing system may include: the system comprises a test server 101, terminal equipment 102, a conference system 103 and video playing equipment 104; conference system 103 may include: a plurality of video processing units 1031, a conference server 1032.
The test server 101 is respectively in communication connection with the terminal device 102 and the plurality of video processing units 1031; the plurality of video processing units 1031 are respectively connected in communication with the terminal apparatus 102.
In some embodiments, the test server 101 may control the terminal device 102 to send the original video pictures to a first video processing unit in the conference system 103, so that the terminal device 102 receives and plays the first video pictures from the first video processing unit; the test server 101 may perform disaster recovery operation on the first video processing unit, so that the second video processing unit obtains a second video picture, and transmits the second video picture to the terminal device 102 for playing; the first video picture and the second video picture are acquired from the terminal, and the disaster tolerance capability of the conference system 103 is calculated according to the first video picture, the second video picture and the original video picture.
In addition, a conference server 1032 is communicatively connected to the terminal device 102, and the conference server 1032 is communicatively connected to the first video processing unit.
In some embodiments, the test server 101 may control the terminal device 102 to send a call instruction to the conference server 1032, and the conference server 1032 may establish a communication connection between the first video processing unit and the terminal device 102, so as to facilitate communication between the first video processing unit and the terminal device 102.
Furthermore, the terminal device 102 is also communicatively connected to the video playback device 104. The test terminal may control the video playing device 104 to play the original video picture through the terminal device 102, so as to calculate the disaster tolerance capability of the conference system 103 based on the played original video picture.
It should be noted that the terminal device 102 may be a desktop computer, a notebook computer, a tablet computer, or a mobile phone, and the like, which is not specifically limited in this embodiment of the application; in addition, the video playing device 104 may be a camera, and the video processing Unit 1031 may be an MCU (Microcontroller Unit).
In the embodiment of the present application, the test server may also be referred to as an automatic control system.
The embodiment of the present application further provides a disaster tolerance testing method, where an execution main body of the disaster tolerance testing method may be the testing server 101 in the disaster tolerance testing system, and the testing server 101 is used as the execution main body to explain the disaster tolerance testing method provided in the embodiment of the present application.
Fig. 2 is a schematic flow chart of a disaster recovery testing method according to an embodiment of the present invention, and as shown in fig. 2, the method may include:
s201, the terminal device is controlled to send an original video image to a first video processing unit in the conference system, so that the terminal device receives and plays the first video image which is obtained by processing a part of video images in the original video image from the first video processing unit.
In some embodiments, the test server may send a sending instruction to the terminal device, and the terminal device may receive the sending instruction and send the original video picture to the first video processing unit according to the sending instruction.
Correspondingly, the first video processing unit can receive the original video picture, process the original video picture to obtain a first video picture, and then send the first video picture to the terminal device; accordingly, the terminal device can receive and play the first video picture.
The terminal device cannot directly play the original video picture, and needs to process the original video picture by the first video processing unit to obtain the first video picture, and the terminal device can play the first video picture.
In addition, the original video picture may include multiple pictures, and the content of the multiple pictures may be different.
S202, carrying out disaster recovery operation on the first video processing unit, so that the second video processing unit in the conference system processes another part of video pictures in the original video pictures to obtain second video pictures, and transmitting the second video pictures to the terminal equipment for playing.
The second video frame may also include at least one frame.
In some embodiments, the test server may perform a disaster recovery operation on the first video processing unit, and then the first video processing unit may be in a service-off state, and the second video processing unit may be in a service-on state, and then the second video processing unit may process another part of the video pictures in the original video pictures to obtain a second video picture, and send the second video picture to the terminal device, and accordingly, the terminal may receive and play the second video picture.
S203, acquiring a first video picture and a second video picture from the terminal equipment.
The first video picture and the second video picture may be pictures played by the terminal device before and after the disaster recovery operation.
It should be noted that the test server may obtain the first video picture and the second video picture from the terminal device after the preset duration of the disaster recovery operation performed on the first video processing unit.
And S204, calculating the disaster tolerance capability of the conference system according to the first video picture, the second video picture and the original video picture.
The disaster tolerance capability is used for representing the disaster tolerance processing capability of other video processing units after one video processing unit in the conference system fails.
In a possible implementation manner, the test server may obtain a first video picture, a second video picture, and a playing picture corresponding to the original video picture, respectively identify the first video picture, the second video picture, and the playing picture corresponding to the original video picture, obtain an identification result, and calculate the disaster tolerance capability of the conference system according to the identification result.
In addition, the disaster tolerance capability of the conference system can be used as the basis of the disaster tolerance test result.
Optionally, the calculated disaster tolerance capability of the conference system may include: the time length of the picture jamming in the disaster recovery process.
In summary, the embodiment of the present invention provides a disaster recovery testing method, which is applied to a testing server in a disaster recovery testing system, where the disaster recovery testing system includes the testing server, a terminal device, and a conference system; wherein, conference system includes: a plurality of video processing units; the test server is respectively in communication connection with the terminal equipment and the plurality of video processing units; the video processing units are respectively in communication connection with the terminal equipment; the method comprises the following steps: the method comprises the steps that terminal equipment is controlled to send an original video picture to a first video processing unit in a conference system, so that the terminal equipment receives and plays a first video picture which is obtained by processing a part of video pictures in the original video picture from the first video processing unit; carrying out disaster recovery operation on the first video processing unit, so that a second video processing unit in the conference system processes another part of video pictures in the original video pictures to obtain second video pictures, and transmitting the second video pictures to the terminal equipment for playing; acquiring a first video picture and a second video picture from terminal equipment; and calculating the disaster tolerance capability of the conference system according to the first video picture, the second video picture and the original video picture, wherein the disaster tolerance capability is used for representing the disaster tolerance processing capability of other video processing units after one video processing unit in the conference system fails. The video processing unit in the conference system is automatically subjected to disaster recovery operation by adopting the test server without manual participation, so that the waste of human resources is reduced; moreover, the testing server calculates the disaster tolerance capability of the conference system based on the first video picture, the second video picture and the original video picture, and the obtained disaster tolerance testing result is objective and accurate.
Optionally, the original video picture is a human face video picture.
Fig. 3 is a schematic flow chart of a disaster recovery testing method according to an embodiment of the present invention, and as shown in fig. 3, the process of calculating the disaster recovery capability of the conference system according to the first video picture, the second video picture and the original video picture in S104 may include:
s301, carrying out face recognition on the first video image and the second video image to obtain a first face recognition result.
The testing server may be deployed with an AI (Artificial Intelligence) face recognition service, and the testing server may perform face recognition on the first video picture and the second video picture by using the AI face recognition service, so as to obtain a first face recognition result.
It should be noted that the first video image and the second video image may include at least one face, each face is different, each face may correspond to one face recognition result, and the first face recognition result may include a plurality of different face recognition results.
S302, calculating disaster tolerance capability according to the first face recognition result and the difference information of the second face recognition result corresponding to the original video picture.
The original video image may also include a plurality of faces, each face is different, each face may correspond to one face recognition result, and the second face recognition result may include a plurality of different face recognition results.
In some embodiments, the test server may compare the first face recognition result with a plurality of different face recognition results, and the second face recognition result with a plurality of different face recognition results to obtain a comparison result, and may calculate the disaster tolerance capability according to the comparison result and the preset parameter.
It should be noted that, in the process of disaster recovery operation, the first video picture and the second video picture may have abnormal playing, when the video face picture that is played is lost, the first face recognition result does not include the recognition result corresponding to the lost face picture, and the second face recognition result includes a plurality of complete different face recognition results, so that the disaster recovery capability may be determined based on the first face recognition result and the second face recognition result.
Optionally, the first face recognition result is a first mark text of a face picture in a video picture played by the terminal device; the second face recognition result is a second mark text of the face picture of the original video picture;
the step of calculating the disaster tolerance capability according to the first face recognition result and the difference information of the second face recognition result corresponding to the original video picture in S302 may include:
and calculating disaster recovery time according to the difference value between the first marked text and the second marked text and the preset video playing speed.
Wherein, the disaster recovery capability comprises: and disaster recovery time. The second markup text may be represented as text a and the first markup text may be represented as A1.
It should be noted that the first markup text may include a plurality of first text results having an order, each first text result corresponds to one face picture, where the plurality of face pictures are different, and therefore, the plurality of first text results are also different, and in addition, different first text results may be identifiers of different face pictures.
In the process of disaster recovery operation, the played face picture is blocked, and for the played face picture, the face recognition has no result, the played face picture has no corresponding first text result, and the effect is equivalent to the loss of the face picture.
Similarly, the first tagged text may include a complete, sequential plurality of second text results; the different two-text results may be the identifications of different face pictures.
In a possible implementation manner, the test server may compare the first labeled text with the second labeled text, match a first text result of a first labeled text first, and then match a first text result of a last labeled text to obtain a matching interval; and taking the text which is not matched in the interval as a difference value, counting the number of the difference values, and calculating the disaster recovery time according to the number of the difference values and the preset video playing speed.
Optionally, the product of the number of the difference values and the preset video playing speed may be used as the disaster recovery time.
For example, the first markup text may include: 2. 3, 6 and 7; the second markup text may include: 1. 2, 3, 4, 5, 6, 7, the matching interval may be 2 to 7, the unmatched texts in the interval are 4 and 5, and when the preset video playing speed is 500ms (millisecond), the disaster recovery time =2 × 500ms =1s (second).
Optionally, the process of controlling the terminal device to send the original video picture to the first video processing unit in the conference system in S201 may include:
and the multiple control terminal equipment sends the original video pictures to the first video processing unit to obtain the disaster tolerance capability of the multiple disaster tolerance tests.
The method may further comprise:
and calculating the average disaster tolerance capability of the multiple disaster tolerance tests as the target disaster tolerance capability of the conference system.
In the embodiment of the application, the test server sends the original video picture to the first video processing unit through the control terminal device for multiple times to obtain the disaster tolerance capability of the multiple times of disaster tolerance tests, so that the automatic control cycle test can be realized, the average disaster tolerance capability of the multiple times of disaster tolerance tests is taken as the target disaster tolerance capability, and the accuracy of the test value can be improved.
Optionally, before the controlling terminal device sends the original video picture to the first video processing unit in the conference system, the method may further include:
and the control terminal device sends a call instruction to a conference server in the conference system so as to establish communication connection between a first video processing unit in the conference system and the terminal device through the conference server.
Optionally, fig. 4 is a schematic flow chart of the disaster tolerance testing method according to the embodiment of the present invention, as shown in fig. 4, before calculating the disaster tolerance capability according to the difference information of the first face recognition result and the second face recognition result corresponding to the original video picture in S302, the method may further include:
s401, controlling the video playing device to play the original video picture through the terminal device, and acquiring the original video picture from the video playing device.
S402, carrying out face recognition on the original video image to obtain a second face recognition result.
The video playing device can be preset with original video pictures.
In some embodiments, the test server may send a play instruction to the video playing device through the terminal device, and then the video playing device may receive the play instruction and play the original video picture, and then the test server may obtain the original video picture from the video playing device through the terminal device, and perform face recognition on the original video picture to obtain a second face recognition result.
Optionally, after obtaining the second face recognition result, the test server may execute the processes in S201 to S203 to obtain the first face recognition result.
Optionally, the disaster recovery operation is any one of the following operations: closing operation, restarting operation, power-off operation and network-off operation.
It should be noted that, performing any of the above disaster recovery operations on the first video processing unit may trigger the disaster recovery of the first video processing unit.
In summary, the disaster recovery testing method provided by the embodiment of the application can quickly verify through solidification of the testing scene, and the MCU is used for disaster recovery without manual multiple tests; after disaster recovery operation, the conference call is continued, and the conference system works stably; the testing accuracy is high, a fixed input source is adopted, and compared with an output result, different difference values have objective data indexes; the testing environment is simple, and complex hardware testing equipment does not need to be purchased; and the test is carried out in a circulating way, so that the precision of the test value is high and the error is small.
It should be noted that the second tagged text may be directly printed in the conference system without comparing the first tagged text with the second tagged text, so as to verify whether the disaster recovery migration is successful.
In addition, the conference system can also play fixed sound by itself, after the terminal device enters the conference, the terminal device can recognize the voice, and the disaster recovery time is judged according to the lost voice, which is not specifically limited by the embodiment of the present application.
Fig. 5 is a schematic structural diagram of a disaster recovery testing apparatus according to an embodiment of the present invention, and as shown in fig. 5, the apparatus may include:
a control module 501, configured to control a terminal device to send an original video frame to a first video processing unit in a conference system, so that the terminal device receives and plays a first video frame obtained by processing a part of video frames in the original video frame from the first video processing unit;
an operation module 502, configured to perform a disaster recovery operation on the first video processing unit, so that a second video processing unit in the conference system processes another part of video pictures in the original video pictures to obtain a second video picture, and transmits the second video picture to the terminal device for playing;
an obtaining module 503, configured to obtain a first video picture and a second video picture from a terminal device;
a calculating module 504, configured to calculate a disaster tolerance capability of the conference system according to the first video picture, the second video picture, and the original video picture, where the disaster tolerance capability is used to represent that after a video processing unit in the conference system fails, the disaster tolerance processing capabilities of other video processing units are switched.
Optionally, the original video picture is a face video picture; the calculating module 504 is further configured to perform face recognition on the first video image and the second video image to obtain a first face recognition result; and calculating the disaster tolerance capability according to the first face recognition result and the difference information of the second face recognition result corresponding to the original video picture.
Optionally, the first face recognition result is a first mark text of a face picture in a video picture played by the terminal device; the second face recognition result is a second mark text of the face picture of the original video picture;
the calculating module 504 is further configured to calculate a disaster tolerance time according to a difference between the first marked text and the second marked text and a preset video playing speed, where the disaster tolerance capability includes: and disaster recovery time.
Optionally, the control module 501 is further configured to control the terminal device to send an original video picture to the first video processing unit for multiple times, so as to obtain the disaster tolerance capability of multiple disaster tolerance tests;
the device still includes:
and the first calculation module is used for calculating the average disaster tolerance capability of the multiple disaster tolerance tests as the target disaster tolerance capability of the conference system.
Optionally, the conference system further includes: conference server, conference server and terminal equipment communication connection, conference server and first video processing unit communication connection, the device still includes:
and the control terminal device sends a call instruction to a conference server in the conference system so as to establish communication connection between a first video processing unit in the conference system and the terminal device through the conference server.
Optionally, the disaster tolerance test system further includes: the video playing device is in communication connection with the terminal device, and before calculating the disaster tolerance capability according to the first face recognition result and the difference information of the second face recognition result corresponding to the original video picture, the device further comprises:
the first control module is used for controlling the video playing equipment to play the original video picture through the terminal equipment and acquiring the original video picture from the video playing equipment;
and the first acquisition module is used for carrying out face recognition on the original video image to obtain a second face recognition result.
Optionally, the disaster recovery operation is any one of the following operations: closing operation, restarting operation, power-off operation and network-off operation.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. As another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 6 is a schematic structural diagram of a test server according to an embodiment of the present invention, and as shown in fig. 6, the test server includes: a processor 601, a memory 602.
The memory 602 is used for storing programs, and the processor 601 calls the programs stored in the memory 602 to execute the above-mentioned method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the invention also provides a program product, for example a computer-readable storage medium, comprising a program which, when being executed by a processor, is adapted to carry out the above-mentioned method embodiments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The present invention has been described in terms of the preferred embodiment, and it is not intended to be limited to the embodiment. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A disaster recovery test method is characterized in that the method is applied to a test server in a disaster recovery test system, and the disaster recovery test system comprises the test server, terminal equipment and a conference system; wherein the conference system comprises: a plurality of video processing units; the test server is respectively in communication connection with the terminal equipment and the plurality of video processing units; the plurality of video processing units are respectively in communication connection with the terminal equipment; the method comprises the following steps:
controlling the terminal equipment to send an original video picture to a first video processing unit in the conference system, so that the terminal equipment receives and plays a first video picture obtained by processing a part of video pictures in the original video picture by the first video processing unit;
carrying out disaster recovery operation on the first video processing unit, so that a second video processing unit in the conference system processes another part of video pictures in the original video pictures to obtain second video pictures, and transmitting the second video pictures to the terminal equipment for playing;
acquiring the first video picture and the second video picture from the terminal equipment;
calculating the disaster tolerance capability of the conference system according to the first video picture, the second video picture and the original video picture, wherein the disaster tolerance capability is used for representing the disaster tolerance processing capability of other video processing units after one video processing unit in the conference system fails;
the original video picture is a face video picture; the calculating the disaster tolerance capability of the conference system according to the first video picture, the second video picture and the original video picture comprises:
carrying out face recognition on the first video image and the second video image to obtain a first face recognition result;
calculating the disaster tolerance capability according to the first face recognition result and the difference information of a second face recognition result corresponding to the original video picture;
the first face recognition result is a first mark text of a face picture in a video picture played by the terminal equipment; the second face recognition result is a second mark text of the face picture of the original video picture;
the calculating the disaster tolerance capability according to the first face recognition result and the difference information of the second face recognition result corresponding to the original video picture comprises:
calculating disaster tolerance time according to the difference value between the first marked text and the second marked text and a preset video playing speed, wherein the disaster tolerance capability comprises: and the disaster recovery time.
2. The method of claim 1, wherein the controlling the terminal device to send raw video pictures to a first video processing unit in the conference system comprises:
controlling the terminal equipment to send the original video picture to the first video processing unit for multiple times so as to obtain the disaster tolerance capability of multiple disaster tolerance tests;
the method further comprises the following steps:
and calculating the average disaster tolerance capability of the multiple times of disaster tolerance tests as the target disaster tolerance capability of the conference system.
3. The method of claim 1, wherein the conferencing system further comprises: the conference server is in communication connection with the terminal device, the conference server is in communication connection with the first video processing unit, and before the terminal device is controlled to send an original video picture to the first video processing unit in the conference system, the method further comprises:
and controlling the terminal equipment to send a call instruction to the conference server in the conference system so as to establish communication connection between the first video processing unit in the conference system and the terminal equipment through the conference server.
4. The method according to claim 1, wherein the disaster recovery test system further comprises: the video playing device is in communication connection with the terminal device, and before calculating the disaster tolerance capability according to the first face recognition result and the difference information of the second face recognition result corresponding to the original video picture, the method further comprises:
controlling the video playing device to play the original video picture through the terminal device, and acquiring the original video picture from the video playing device;
and carrying out face recognition on the original video image to obtain a second face recognition result.
5. The method according to any of claims 1-4, wherein the disaster recovery operation is any of the following operations: closing operation, restarting operation, power-off operation and network-off operation.
6. A disaster recovery testing device is characterized by being applied to a testing server in a disaster recovery testing system, wherein the disaster recovery testing system comprises the testing server, terminal equipment and a conference system; wherein the conference system comprises: a plurality of video processing units; the test server is respectively in communication connection with the terminal equipment and the plurality of video processing units; the video processing units are respectively in communication connection with the terminal equipment; the device comprises:
the control module is used for controlling the terminal equipment to send an original video picture to a first video processing unit in the conference system, so that the terminal equipment receives and plays a first video picture obtained by processing a part of video pictures in the original video picture by the first video processing unit;
the operation module is used for carrying out disaster recovery operation on the first video processing unit, so that a second video processing unit in the conference system processes another part of video pictures in the original video pictures to obtain second video pictures, and the second video pictures are transmitted to the terminal equipment to be played;
an obtaining module, configured to obtain the first video picture and the second video picture from the terminal device;
the computing module is used for computing the disaster tolerance capability of the conference system according to the first video picture, the second video picture and the original video picture, wherein the disaster tolerance capability is used for representing the disaster tolerance processing capability of other video processing units after one video processing unit in the conference system fails;
the original video picture is a face video picture; the computing module is further configured to perform face recognition on the first video image and the second video image to obtain a first face recognition result; calculating the disaster tolerance capability according to the first face recognition result and the difference information of a second face recognition result corresponding to the original video picture;
the first face identification result is a first mark text of a face picture in a video picture played by the terminal equipment; the second face recognition result is a second mark text of the face picture of the original video picture;
the calculation module is further configured to calculate a disaster tolerance time according to a difference value between the first tagged text and the second tagged text and a preset video playing speed, where the disaster tolerance capability includes: and the disaster recovery time.
7. A test server, comprising: a memory storing a computer program executable by the processor, and a processor implementing the disaster recovery testing method according to any one of claims 1 to 5 when the computer program is executed by the processor.
8. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is read and executed, the computer program implements the disaster recovery testing method according to any one of claims 1 to 5.
CN202110469767.9A 2021-04-28 2021-04-28 Disaster tolerance test method, device, test server and medium Active CN112988475B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110469767.9A CN112988475B (en) 2021-04-28 2021-04-28 Disaster tolerance test method, device, test server and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110469767.9A CN112988475B (en) 2021-04-28 2021-04-28 Disaster tolerance test method, device, test server and medium

Publications (2)

Publication Number Publication Date
CN112988475A CN112988475A (en) 2021-06-18
CN112988475B true CN112988475B (en) 2022-10-28

Family

ID=76336513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110469767.9A Active CN112988475B (en) 2021-04-28 2021-04-28 Disaster tolerance test method, device, test server and medium

Country Status (1)

Country Link
CN (1) CN112988475B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108366216A (en) * 2018-02-28 2018-08-03 深圳市爱影互联文化传播有限公司 TV news recording, record and transmission method, device and server
CN111866497A (en) * 2020-07-20 2020-10-30 厦门亿联网络技术股份有限公司 Conference audio and video automatic detection method and system

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080016156A1 (en) * 2006-07-13 2008-01-17 Sean Miceli Large Scale Real-Time Presentation of a Network Conference Having a Plurality of Conference Participants
CN101753339B (en) * 2008-12-09 2012-02-29 中兴通讯股份有限公司 Method for realizing conference backup function of multi-point control unit and system thereof
US8225137B2 (en) * 2010-09-04 2012-07-17 Cisco Technology, Inc. System and method for providing media server redundancy in a network environment
CN103997617A (en) * 2014-02-17 2014-08-20 宁波公众信息产业有限公司 Control device and method of video scheduling
US9400720B2 (en) * 2014-04-18 2016-07-26 Sybase, Inc. Flexible high availability disaster recovery with a set of database servers
CN103974061B (en) * 2014-05-27 2016-05-25 合一网络技术(北京)有限公司 A kind of method of testing and system play
CN205880853U (en) * 2016-04-08 2017-01-11 新疆大乘高科信息工程有限公司 Novel dual backup command center system
CN106254100B (en) * 2016-07-27 2019-04-16 腾讯科技(深圳)有限公司 A kind of data disaster tolerance methods, devices and systems
CN109309831B (en) * 2018-12-13 2020-05-08 苏州科达科技股份有限公司 Method and device for testing video delay in video conference
CN110557597A (en) * 2019-09-12 2019-12-10 视联动力信息技术股份有限公司 video conference sign-in method, server, electronic equipment and storage medium
CN112532923A (en) * 2020-11-03 2021-03-19 视联动力信息技术股份有限公司 Video stream processing method and device, terminal equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108366216A (en) * 2018-02-28 2018-08-03 深圳市爱影互联文化传播有限公司 TV news recording, record and transmission method, device and server
CN111866497A (en) * 2020-07-20 2020-10-30 厦门亿联网络技术股份有限公司 Conference audio and video automatic detection method and system

Also Published As

Publication number Publication date
CN112988475A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN110659397B (en) Behavior detection method and device, electronic equipment and storage medium
CN110475124B (en) Video jamming detection method and device
CN112612472B (en) Embedded model SDK development method and development platform
CN112994980A (en) Time delay testing method and device, electronic equipment and storage medium
CN112131079A (en) Data monitoring method and device, electronic equipment and storage medium
CN109189677B (en) Test method and device for updating state of variable value
CN112988475B (en) Disaster tolerance test method, device, test server and medium
CN113296666A (en) Anchor exposure data reporting method and device, terminal equipment and storage medium
CN114170543A (en) Data processing method and device, computer equipment and computer readable storage medium
CN111695445A (en) Face recognition method, device, equipment and computer readable storage medium
CN108874673A (en) The test method and device of application program
CN110427277B (en) Data verification method, device, equipment and storage medium
CN113591885A (en) Target detection model training method, device and computer storage medium
CN116431504A (en) Automatic test method, system and device
CN110113630A (en) Video detecting method, device, electronic equipment and storage medium
CN109901950A (en) A kind of method and device for evading application crash
CN112995650B (en) Method and device for detecting video continuity of camera
CN111427642B (en) Data processing method, device, terminal equipment and computer readable storage medium
CN113821443A (en) Application program function detection method, device, equipment and storage medium
CN112218155A (en) Automatic detection method and device for switching time consumption and electronic equipment
CN113065524A (en) Intelligent workbench management system, intelligent workbench, method, device and medium
CN113742553B (en) Data processing method and device
CN115883822B (en) Method and device for debugging camera of online examination system and storage medium
CN111428806B (en) Image tag determining method and device, electronic equipment and storage medium
CN114827754B (en) Video first frame time detection method and device

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230506

Address after: Room 208-7, Hengye Building, No. 100 Xiangxing Road, Xiang'an Industrial Zone, Torch High tech Zone, Xiamen City, Fujian Province, 361100

Patentee after: Xiamen Yilian Communication Technology Co.,Ltd.

Address before: 361000 Yilian R & D building, No.1, Lingxia North Road, hi tech park, Huli District, Xiamen City, Fujian Province

Patentee before: YEALINK (XIAMEN) NETWORK TECHNOLOGY Co.,Ltd.