A smart ward video system based on data processing

Through the parallel network transmission structure and priority redundant coding, combined with the decoding method based on error concealment, the problem of video data packet loss in smart ward video is solved, the video quality and real-time performance are improved, and the reliability and accuracy of telemedicine are ensured. sex.

CN117956112BActive Publication Date: 2024-08-23GUANGZHOU NANSHA SMART CITY BIG DATA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311840977.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2024-08-23
Estimated Expiration
2043-12-28

AI Technical Summary

Technical Problem

Smart ward video is prone to video data packet loss when the network speed is limited, resulting in frequent retransmissions, increased video delay, poor real-time performance and video distortion, which seriously restricts the popularization and development of telemedicine.

Method used

A smart ward video system based on data processing is used to optimize network channels and improve anti-packet loss capabilities through parallel network transmission structure and priority redundant coding. It is also combined with a decoding method based on error concealment to ensure video quality and real-time performance.

Benefits of technology

It effectively shortens the encoding length, improves video quality, reduces network transmission delay, improves diagnosis and treatment accuracy and video real-time performance, ensures that the video definition received by doctors reaches diagnosis and treatment standards, and enhances the anti-packet loss capability of smart ward video.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117956112B
    Figure CN117956112B
Patent Text Reader

Abstract

The invention discloses a smart ward video system based on data processing, which belongs to the technical field of data processing systems and includes: an establishment module for establishing a network channel between a first hospital and a second hospital; an optimization module for introducing a parallel network transmission structure and optimizing the network channel; a receiving module for receiving a video sequence of a target patient; an encoding module for performing priority-based redundant encoding on the video sequence; a transmission module for transmitting the video encoding sequence to the first hospital by optimizing the network channel; a judgment module for judging whether there is packet loss in the video encoding sequence, if so, calling a decoding module, otherwise calling a sending module; a decoding module for decoding the video encoding sequence based on error concealment to obtain a video decoding sequence; and a sending module for sending the video decoding sequence to a doctor. The video sequence is non-equivalently protected by replacing the retransmission mechanism with a redundant encoding method, thereby improving the real-time transmission of the video sequence.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of data processing systems, and in particular relates to a smart ward video system based on data processing. Background Art

[0002] With the continuous growth of network bandwidth, in order to overcome the problem of medical resources being limited by geographical distance, telemedicine has gradually become popular. Telemedicine is a model that uses information technology and communication technology to provide healthcare services and medical monitoring over long distances. The goal of telemedicine is to improve the accessibility, convenience and efficiency of medical services while reducing medical costs. As a type of telemedicine, smart ward video allows medical staff to communicate with patients, other medical staff or experts in real time, which helps to strengthen collaboration and communication between medical teams, improve the efficiency of medical services, and improve medical services through remote communication and monitoring technology.

[0003] At present, when the network speed of smart ward video is certain, when video data packet loss occurs, a retransmission strategy will be used for frequent retransmission, which wastes a lot of network resources, increases the video delay rate, and has poor real-time performance. It is also very easy to have video distortion, which makes it easy for doctors to misdiagnose during remote video calls, seriously restricting the popularization and development of telemedicine. Summary of the invention

[0004] In order to solve the technical problem that in the prior art, when the network rate of smart ward video is constant, when video data packet loss occurs, a retransmission strategy will be adopted for frequent retransmission, which wastes a lot of network resources, increases the video delay rate, and has poor real-time performance. It is also very easy to have video distortion, which leads to misdiagnosis by doctors during remote video, seriously restricting the popularization and development of telemedicine. The present invention provides a smart ward video system based on data processing.

[0005] The present invention provides a smart ward video system based on data processing, which includes a first hospital and a second hospital. Patients can receive remote diagnosis and treatment from doctors in the first hospital in the ward of the second hospital through the smart ward video system. The smart ward video system based on data processing also includes:

[0006] Establish a module for establishing a network channel between the first hospital and the second hospital according to the telemedicine request of the target patient;

[0007] An optimization module, used for introducing a parallel network transmission structure, optimizing a network channel, and obtaining an optimized network channel, wherein the parallel network transmission structure includes a parallel first branch and a parallel second branch;

[0008] A receiving module, configured to receive a video sequence of a target patient, wherein the video sequence includes a plurality of video frames;

[0009] The encoding module is used to perform priority-based redundant encoding on the video sequence according to the image tolerable packet loss length under the preset image clarity requirement, and obtain the video encoding sequence and the transmission bit rate of the video encoding sequence;

[0010] A transmission module, used for transmitting the video coding sequence to the video receiving terminal of the first hospital through an optimized network channel;

[0011] A judgment module is used to judge whether there is packet loss in the video coding sequence. If so, the decoding module is called; otherwise, the video coding sequence is decoded and the sending module is called;

[0012] A decoding module, used for decoding the video coding sequence based on error concealment to obtain a video decoding sequence;

[0013] The sending module is used to send the video decoding sequence to the doctor for diagnosis and treatment of the target patient.

[0014] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0015] In the present invention, according to the image under the preset image clarity requirement, the video sequence transmitted from the patient to the doctor's receiving end is redundantly encoded based on priority, different redundancies are set according to the importance of the data, and differentiated protection is performed to shorten the encoding length to the greatest extent, and the video quality is improved and maintained at the source end and transmission process of the video sequence. Redundant coding is used instead of retransmitters to improve the network transmission anti-packet loss capability, ensure data transmission reliability, and reduce transmission delay. In this way, even if packet loss occurs in time, the video sequence can be restored to the image with preset image clarity, thereby ensuring that the patient video seen by the doctor is clear and can meet the diagnosis and treatment standards, while improving the accuracy of diagnosis and treatment and reducing network transmission delay. In addition, in the decoding link, a decoding method based on error concealment is combined to replace the traditional decoding method. Even if packet loss occurs, data decoding can be completed according to the received data, and the restored image clarity at least reaches the preset image clarity, further improving the anti-packet loss capability and video real-time of the smart ward video. In addition, a parallel network transmission structure is used at the doctor end and the patient end instead of the traditional star transmission structure to increase the time slot transmission volume, shorten the video transmission time, and further improve the video real-time. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The preferred implementation modes will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and implementation methods of the present invention.

[0017] Figure 1It is a structural schematic diagram of a smart ward video system based on data processing provided by the present invention;

[0018] Figure 2 It is a structural schematic diagram of a smart ward video system provided by the present invention;

[0019] Figure 3 It is a schematic diagram of a network channel structure of a parallel network transmission structure provided by the present invention. DETAILED DESCRIPTION

[0020] In one embodiment, referring to Figure 1 , showing a schematic diagram of the structure of a smart ward video system based on data processing provided by the present invention. Figure 2 , showing a structural schematic diagram of a smart ward video system provided by the present invention.

[0021] The present invention provides a smart ward video system based on data processing. The smart ward video system based on data processing includes a first hospital and a second hospital. Patients can receive remote diagnosis and treatment from doctors in the first hospital in the ward of the second hospital through the smart ward video system; the smart ward video system based on data processing also includes.

[0022] In real life, the first hospital can be a hospital in the same province or another province that is far away, and the second hospital can be a hospital in a rural area, town, county, etc. When it is inconvenient for the patient to transfer to another hospital or the transfer distance is too far, if there is an expert who can treat the disease in the first hospital, the patient and the expert in the first hospital can complete the remote video with the help of the medical staff of the second hospital. The real-time video of the patient needs to be transmitted to the video receiving end of the expert in the first hospital. The expert in the first hospital does not need to transmit the video to the sending end of the patient. The expert in the first hospital only needs to observe the video sent by the patient to make a reasonable diagnosis and treatment evaluation and plan. In this way, patients can overcome geographical restrictions to enjoy better medical resources and promote the balanced distribution of medical resources.

[0023] Establish module 1, for establishing a network channel between the first hospital and the second hospital according to the telemedicine request of the target patient.

[0024] Among them, medical requests include requests made by patients through the smart ward video system, such as making an appointment for remote diagnosis or consultation. Once the patient's remote medical request is identified, the task of the establishment module is to establish a network channel between the first hospital and the second hospital. The network channel is a communication channel connecting two remote locations, enabling doctors and patients to conduct real-time video communication, data transmission and medical information sharing.

[0025] Reference Figure 3 , showing a schematic diagram of a network channel structure of a parallel network transmission structure provided by the present invention.

[0026] Depend on Figure 3 It can be seen that compared with the traditional star-type transmission structure, the parallel network transmission structure has two parallel network transmission channels, namely B1 and B2, which can complete the transmission of four video segments, namely a1, a2, a5 and a6, or complete the transmission of a3, a4, a5 and a6 in two time slots, while the traditional star-type transmission structure can only strictly transmit one video segment in each time slot in a substitute transmission manner, and can complete the transmission of at most two video segments in two time slots. This structure optimizes the network channel, reduces the time consumption of long-distance video transmission, and improves the real-time performance of video.

[0027] The optimization module 2 is used to introduce a parallel network transmission structure, optimize the network channel, and obtain an optimized network channel.

[0028] The parallel network transmission structure includes a first parallel branch and a second parallel branch.

[0029] It should be noted that the network channel is designed to have a parallel first branch and a second branch. This parallel structure can improve the efficiency and robustness of data transmission. The optimization module is responsible for optimizing the entire network channel to ensure better performance in telemedicine services. The optimization goals may include increasing data transmission speed, reducing latency, and enhancing network stability. The purpose of introducing a parallel network transmission structure is to improve the capacity and efficiency of the entire network system by using two or more channels at the same time, which is particularly important for telemedicine services that transmit large amounts of data or have high real-time requirements. In addition, the parallel transmission method can also ensure that data is evenly distributed between the first branch and the second branch to avoid overloading one of the channels while the other is idle. Overall, the optimization module plays a key role in the smart ward video system. By introducing a parallel network transmission structure and implementing an optimization strategy, the efficiency and reliability of telemedicine services are improved, which helps to ensure that the remote diagnosis and treatment process between patients and doctors is smoother and more efficient.

[0030] In a possible implementation manner, both the first branch and the second branch have multiple time slot spaces.

[0031] The time slot space in the communication field refers to some discrete moments or time periods divided in time, where each moment or time period is called a time slot. The first branch and the second branch both have multiple time slot spaces, which means that two communication branches or channels are divided into multiple time slots in time to achieve parallel communication operations. This division helps to effectively utilize communication resources, avoid conflicts, and improve the capacity and transmission efficiency of the system.

[0032] The receiving module 3 is used to receive a video sequence of a target patient, wherein the video sequence includes a plurality of video frames.

[0033] It should be noted that the receiving module is responsible for receiving the patient's video sequence. The video sequence is a video stream generated by the patient in the Second Hospital through the smart ward video system. The video sequence is composed of a series of video frames, and each frame represents an instantaneous picture.

[0034] The encoding module 4 is used to perform priority-based redundant encoding on the video sequence according to the tolerable packet loss length of the image under the preset image clarity requirement, and obtain the video encoding sequence and the transmission bit rate of the video encoding sequence.

[0035] The preset image clarity requirement refers to the clarity level that the doctor hopes the video image received should have for telemedicine.

[0036] Specifically, priority-based redundant coding considers information of different frequencies in the image to improve tolerance to data loss. The output of the coding module includes the video coding sequence after coding and the corresponding transmission bit rate. The video coding sequence is a compressed representation of the original video data, and the transmission bit rate represents the data transmission rate required during the transmission process. The coding module may use a specific compression algorithm to compress the video sequence to reduce the bandwidth required for transmission and ensure high-quality video transmission under limited network resources.

[0037] In general, the encoding module improves transmission efficiency by processing and compressing video sequences, while taking into account the preset image clarity requirements and the stability of network transmission. It provides optimized video data for subsequent transmission and decoding.

[0038] It should be noted that those skilled in the art can set the preset image clarity according to actual needs, and the present invention is not limited thereto.

[0039] In a possible implementation manner, the image can withstand packet loss length k. During the transmission process, when the packet loss length is the image can withstand packet loss length, the clarity of each video frame in the video sequence can reach the preset image clarity. The specific calculation method of the image can withstand packet loss length k is:

[0040]

[0041] Among them, DPI min Indicates the preset image clarity, bit 编码 represents the size of the encoded image, and o represents the transmission error tolerance rate.

[0042] Among them, the image tolerable packet loss length is a parameter indicating the maximum packet loss length allowed during the transmission process. In the context of video transmission, packet loss usually refers to the data packets lost during the data transmission process due to network problems or other reasons. The preset image clarity is a predefined target clarity level, which indicates the clarity of the video frame that the doctor hopes to receive in the telemedicine service. The encoded image size refers to the size of a single video frame after the encoding process. In video encoding, by adopting different compression algorithms, the original image data can be compressed into a smaller bit representation, thereby reducing the demand for transmission bandwidth. The transmission fault tolerance rate is a parameter indicating the error rate that can be tolerated during the transmission process. It reflects the tolerance of the system to data loss or damage. A higher fault tolerance rate usually means that the system is more capable of handling packet loss or errors. The maximum packet loss length that the image can tolerate is calculated based on the preset image clarity, the encoded image size and the transmission fault tolerance rate. A certain degree of packet loss is allowed during the transmission process, while ensuring that the clarity of each video frame can reach the preset image clarity under this packet loss length.

[0043] In a possible implementation, the encoding module is specifically used for:

[0044] S1041: Divide the video frame into a plurality of basic blocks of 8×8 pixels.

[0045] S1042: Perform discrete cosine transform on the basic block to obtain frequency domain data of the basic block, where the frequency domain data includes 1 low-frequency component and 63 high-frequency components.

[0046] Among them, discrete cosine transform is a transformation method that converts image data from the spatial domain to the frequency domain, so that the frequency components in the image can be better represented. In this process, each basic block will be converted into frequency domain data, including a low-frequency component and 63 high-frequency components. The low-frequency component usually contains most of the energy in the image, while the high-frequency component contains details and changes. Through this transformation, the image data can be represented in a more compact way, which is conducive to subsequent compression and encoding.

[0047] S1043: With the goal of placing component data at adjacent positions in non-adjacent data packets, determining a rearrangement side length according to the tolerable packet loss length of the image, and rearranging the transformed video frame according to the rearrangement side length.

[0048] It should be noted that the goal of this step is to rearrange the transformed video frames so that component data at adjacent positions are placed in non-adjacent data packets. Such rearrangement is to improve the fault tolerance of the video data when data packets are lost.

[0049] In a possible implementation manner, S1043 specifically includes:

[0050] S1043A: Obtain the packet loss length k that the image can withstand;

[0051] S1043B: Divide the video frame into square areas according to the length limit of a single data packet, and obtain a rearrangement side length d according to the total number of areas t obtained;

[0052]

[0053] Where N represents the total number of basic blocks of the video frame;

[0054] S1043C: According to the image's tolerable packet loss length k and the length of the first rearrangement side, determine the second rearrangement side length e used to rearrange each square area:

[0055]

[0056] S1043D: Rearrange the transformed video frame according to the first rearrangement side length and the second rearrangement side length.

[0057] Specifically, the transformed video frames are rearranged according to the side lengths of the primary and secondary rearrangements. This rearrangement process aims to improve fault tolerance in the event of packet loss, ensuring that even if packet loss occurs, the image clarity and integrity can be maintained as much as possible through the rearrangement strategy, so that the video transmitted to the doctor's video receiving end is always maintained within the recoverable range, thereby improving real-time communication capabilities.

[0058] S1044: quantize the frequency domain data of the rearranged video frame according to a standard quantization table to obtain a two-dimensional quantization matrix of size 8×8.

[0059] S1045: Perform a zigzag scan on the two-dimensional quantization matrix to reduce the dimension of the two-dimensional quantization matrix to obtain a one-dimensional quantization matrix.

[0060] Among them, zigzag scanning is a method of traversing matrix elements, starting from the upper left corner, traversing along one diagonal direction, then traversing along the other diagonal direction, and so on. This scanning method can rearrange the elements of a two-dimensional matrix into a one-dimensional sequence. The one-dimensional sequence obtained after scanning will contain the order information of the elements in the original matrix, but at this time the data is rearranged into a one-dimensional form, which is easier to encode and compress later. These two steps together constitute the quantization process in image or video encoding, which is part of the compression algorithm, and the purpose is to reduce the amount of data to meet the needs of transmission and storage.

[0061] S1046: Prioritize the frequency domain data after dimensionality reduction according to the frequency to obtain a primary sequence, a secondary sequence, and a tertiary sequence.

[0062] In a possible implementation manner, S1046 specifically includes:

[0063] S1046A: Divide the low-frequency components of each basic block into a primary sequence, divide the first to third high-frequency components of each basic block into a secondary sequence, and divide the remaining high-frequency components of each basic block into a tertiary sequence.

[0064] Specifically, the low-frequency components of each basic block are divided into a primary sequence. The low-frequency components usually contain the main information of the image or video, so they are divided into a primary sequence to more strongly protect the main information. The first to third high-frequency components of each basic block are divided into a secondary sequence. The high-frequency components contain detailed information of the image, but compared with the low-frequency components, they have less impact on the human eye. These high-frequency components are divided into a secondary sequence to moderately protect the image details. The remaining high-frequency components of each basic block are divided into a tertiary sequence. The remaining high-frequency components usually contain subtle changes in the image and have less impact on the human eye. These remaining high-frequency components are divided into a tertiary sequence for weaker protection.

[0065] Through such division, the system can provide different degrees of protection for different parts of the image according to the different frequencies. This division method is consistent with the human eye's perception of frequency, and helps to provide asymmetric protection for sub-bands of different levels when performing error correction or redundant encoding, so as to more effectively utilize bandwidth and transmission resources. The division of sub-sequences with different priorities can be consistent with the human eye's sensitivity from high to low from low frequency to high frequency, which is conducive to unequal protection of sequences of different levels during encoding.

[0066] S1047: Segment the primary sequence, the secondary sequence, and the tertiary sequence respectively according to different preset segmentation units.

[0067] It should be noted that those skilled in the art can set the size of the preset segment unit according to actual needs, and the present invention does not limit this.

[0068] S1048: Perform redundancy coding based on convolutional codes on the segmented data of the preset segmented unit length to determine sequence redundancy and transmission code rate of different priorities.

[0069] In a possible implementation manner, the sequence redundancy and the transmission code rate are determined as follows:

[0070]

[0071]

[0072] Among them, r i Represents the sequence redundancy of priority i, i = 1, 2, 3, R irepresents the transmission code rate of priority i, n represents the memory length of the convolutional code encoder, g represents the original information bit length, and represents the output length n.

[0073] Among them, the convolutional code is a linear time-invariant system that generates a redundant output sequence by performing a convolution operation on the input information sequence. The system can determine the corresponding redundancy and transmission bit rate according to the sequences of different priorities. This flexible redundancy coding method can be adjusted according to the importance of the data and the transmission conditions to improve the system's tolerance to packet loss. In video coding, redundancy coding is a technology that enhances the tolerance to packet loss during data transmission by introducing redundant information. The purpose of S1048 is to perform redundancy coding based on convolutional codes on the segmented data of the preset segment unit length to determine the sequence redundancy and transmission bit rate of different priorities.

[0074] In a possible implementation manner, after S1048, the method further includes:

[0075] S1048A: Based on the principle that sequences of different priorities can fill a single data packet, determine the constraints of sequence redundancy. The specific constraints are:

[0076]

[0077] Wherein, t1, t2, t3 represent the bit length of the original data in the primary sequence, secondary sequence and tertiary sequence respectively, x, y, z represent the bit length of the data in the primary sequence, secondary sequence and tertiary sequence in a single data packet respectively, p represents the bit length of a single data packet, r1, r2, r3 represent the sequence redundancy of the primary sequence, secondary sequence and tertiary sequence respectively.

[0078] It should be noted that the system introduces additional constraints on redundancy to ensure that sequences of different priorities can be fully filled in a single data packet. The purpose of this constraint is to adjust the redundancy within a certain range to adapt to different transmission conditions and network bandwidth. The formulation of the constraint is to ensure that the adjustment of redundancy is carried out within a certain limit, rather than increasing it indefinitely, to ensure that sequences of different priorities can fully utilize the space of a single data packet. In this way, the system can more flexibly respond to different network transmission environments and bandwidth limitations.

[0079] S1049: Encode the video sequence according to the sequence redundancy to obtain a video encoding sequence.

[0080] It should be noted that the encoding method can be encoded using existing technologies, such as spatial domain compression, inter-frame prediction or hybrid coding. The difference is that before encoding using existing technologies, the basic blocks of the video sequence are rearranged, and the sequence priorities are divided and redundancy is set to provide unequal protection for video sequences of different priorities, thereby ensuring that the video sequence can be restored to a preset image clarity for diagnosis and treatment even if packet loss occurs during network transmission.

[0081] The transmission module 5 is used to transmit the video coding sequence to the video receiving end of the first hospital through optimizing the network channel.

[0082] The judgment module 6 is used to judge whether there is packet loss in the video coding sequence. If so, the decoding module is called; otherwise, the video coding sequence is decoded and the sending module is called.

[0083] It should be noted that the judgment module will monitor the data packets during the transmission process to check whether some data packets have not been successfully transmitted to the target hospital end, which involves monitoring and analyzing the sequence number and transmission status of the data packets. If the judgment module detects that there is packet loss in the video coding sequence, it means that some data has not successfully reached the target hospital end. In this case, the judgment module will trigger the corresponding processing flow. In the case of packet loss, the system needs to correct errors or reconstruct the lost data by calling the decoding module to ensure the integrity and clarity of the video sequence. The decoding module uses some error correction codes to restore the lost data. If the judgment module detects that there is no packet loss in the video coding sequence, it means that the data transmission is complete. In this case, the judgment module will trigger the decoding and sending process, and the video coding sequence will be decoded normally and sent to the video receiving end at the hospital end.

[0084] Through such judgment and processing flow, the system can automatically adapt according to the transmission situation to ensure the integrity and quality of the video data. In the case of packet loss, the decoding module is used for error correction, and in the case of no packet loss, decoding and sending are performed directly. Such a design helps to improve the stability and reliability of the system.

[0085] The decoding module 7 is used to decode the video coding sequence based on error concealment to obtain a video decoding sequence.

[0086] In a possible implementation manner, the decoding module is specifically used for:

[0087] S1071: Searching for a reference block that has not lost low-frequency components in a 3×3 basic block unit area with the block to be restored as the center;

[0088] S1072: Record the Euclidean distance d from the reference block to the block to be restored r :

[0089]

[0090] Where (x, y) represents the coordinate position of the reference block relative to the block to be restored;

[0091] S1073: setting the reference block and the high-frequency components to be restored to 0 and then performing inverse discrete cosine transform;

[0092] S1074: Estimate the low-frequency components of the block to be restored according to the high-frequency components of the reference block:

[0093]

[0094] Among them, E DC(x,y) Represents the low-frequency component of the block to be restored estimated based on the high-frequency components of each reference block, R DC(x,y) represents the low-frequency component of each reference block, M=8 represents the side length of the basic block, Represents the pixel value of the block to be restored obtained by inverse discrete cosine transform, Represents the pixel value of the reference block adjacent to the block to be restored obtained by inverse discrete cosine transform;

[0095] S1075: Taking the inverse of the Euclidean distance as the weight of each reference block, weighted averaging the estimated low-frequency components of the block to be restored is performed to obtain the low-frequency components E of the block to be restored. DC :

[0096]

[0097] S1076: Decode the video encoding sequence according to the low-frequency component of the block to be restored to obtain a video decoding sequence.

[0098] Specifically, the decoding module searches for reference blocks that have not lost low-frequency components in the 3×3 basic block unit area with the block to be restored as the center, and finds blocks that can provide reference and have not lost key information. The Euclidean distance from the reference block to the block to be restored is recorded. The Euclidean distance is used to measure the similarity between two blocks and helps to select the most appropriate reference block. The high-frequency components of the reference block and the block to be restored are set to 0, and then an inverse discrete cosine transform is performed. This step is to estimate the low-frequency components in the frequency domain. The low-frequency components of the block to be restored are estimated based on the high-frequency components of the reference block. This step is to use known high-frequency information to estimate the low-frequency part for better decoding. The inverse of the Euclidean distance is used as the weight of each reference block, and the estimated low-frequency components of the block to be restored are weighted averaged, which helps to more accurately estimate the low-frequency components of the block to be restored, which is in line with the actual situation that the closer the distance, the greater the reference value. Finally, the video coding sequence is decoded according to the estimated low-frequency components of the blocks to be recovered to obtain the video decoding sequence. This decoding process is based on error concealment, which replaces the traditional retransmission mechanism. Based on the aforementioned video sequence reordering and redundancy coding process, the difficulty of video recovery caused by packet loss is reduced, so that the decoding result based on error concealment can restore the video sequence in the packet loss state to the video sequence with the preset image clarity. By estimating and correcting the lost information, the original video frame is restored as much as possible, the video quality degradation caused by packet loss is reduced, and the accuracy and clarity of decoding are improved.

[0099] The sending module 8 is used to send the video decoding sequence to the doctor so as to diagnose and treat the target patient.

[0100] It is understandable that by sending the decoded video sequence, doctors can observe the patient's condition in real time and conduct remote diagnosis and treatment. This telemedicine method can help doctors understand the patient's condition in a timely manner and provide diagnosis and treatment suggestions. It is especially important in some areas far away from medical resources or in emergency situations. Doctors can provide timely medical services by remotely observing the patient's condition, providing patients with a more convenient and efficient medical experience.

[0101] In a possible implementation, it further includes:

[0102] The monitoring module 9 is used to monitor the clarity of the video decoding sequence, and issue a reminder when the clarity of the video decoding sequence is lower than the preset image clarity.

[0103] It should be noted that the reminder can be a screen pop-up at the doctor's receiving end or the patient's sending end, so as to avoid the doctor from performing diagnosis and treatment when he knows that the image clarity is insufficient, which may lead to misdiagnosis.

[0104] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0105] In the present invention, according to the image under the preset image clarity requirement, the video sequence transmitted from the patient to the doctor's receiving end is redundantly encoded based on priority, different redundancies are set according to the importance of the data, and differentiated protection is performed to shorten the encoding length to the greatest extent, and the video quality is improved and maintained at the source end and transmission process of the video sequence. Redundant coding is used instead of retransmitters to improve the network transmission anti-packet loss capability, ensure data transmission reliability, and reduce transmission delay. In this way, even if packet loss occurs in time, the video sequence can be restored to the image with preset image clarity, thereby ensuring that the patient video seen by the doctor is clear and can meet the diagnosis and treatment standards, while improving the accuracy of diagnosis and treatment and reducing network transmission delay. In addition, in the decoding link, a decoding method based on error concealment is combined to replace the traditional decoding method. Even if packet loss occurs, data decoding can be completed according to the received data, and the restored image clarity at least reaches the preset image clarity, further improving the anti-packet loss capability and video real-time of the smart ward video. In addition, a parallel network transmission structure is used at the doctor end and the patient end instead of the traditional star transmission structure to increase the time slot transmission volume, shorten the video transmission time, and further improve the video real-time.

[0106] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0107] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A smart ward video system based on data processing, characterized in that: The data processing-based smart ward video system includes a first hospital and a second hospital, and patients can receive remote diagnosis and treatment from doctors in the first hospital in the ward of the second hospital through the smart ward video system; The smart ward video system based on data processing also includes: An establishing module, used for establishing a network channel between the first hospital and the second hospital according to a telemedicine request of a target patient; An optimization module, used for introducing a parallel network transmission structure, optimizing the network channel, and obtaining an optimized network channel, wherein the parallel network transmission structure includes a parallel first branch and a parallel second branch; A receiving module, configured to receive a video sequence of the target patient, wherein the video sequence includes a plurality of video frames; An encoding module, configured to perform priority-based redundant encoding on the video sequence according to the tolerable packet loss length of the image under the preset image clarity requirement, to obtain a video encoding sequence and a transmission bit rate of the video encoding sequence; A transmission module, used for transmitting the video coding sequence to a video receiving terminal of the first hospital through the optimized network channel; A judging module, used to judge whether there is packet loss in the video coding sequence, and if so, call the decoding module; otherwise, decode the video coding sequence and call the sending module; A decoding module, used for decoding the video coding sequence based on error concealment to obtain a video decoding sequence; A sending module, used for sending the video decoding sequence to the doctor so as to diagnose and treat the target patient; The image can withstand packet loss length k. During the transmission process, when the packet loss length is the image can withstand packet loss length, the clarity of each video frame in the video sequence can reach the preset image clarity. The specific calculation method of the image can withstand packet loss length k is: Among them, DPI min Indicates the preset image definition, bit 编码 represents the size of the encoded image, and o represents the transmission error tolerance rate; The encoding module is specifically used for: S1041: Divide the video frame into a plurality of basic blocks of 8×8 pixels; S1042: performing discrete cosine transform on the basic block to obtain frequency domain data of the basic block, wherein the frequency domain data includes 1 low-frequency component and 63 high-frequency components; S1043: With the goal of placing component data at adjacent positions in non-adjacent data packets, determining a rearrangement side length according to the tolerable packet loss length of the image, and rearranging the transformed video frames according to the rearrangement side length; S1044: quantizing the frequency domain data of the rearranged video frame according to a standard quantization table to obtain a two-dimensional quantization matrix of size 8×8; S1045: performing a zigzag scan on the two-dimensional quantization matrix to reduce the dimension of the two-dimensional quantization matrix to obtain a one-dimensional quantization matrix; S1046: Prioritize the frequency domain data after dimensionality reduction according to the frequency to obtain a primary sequence, a secondary sequence, and a tertiary sequence; S1047: Segment the primary sequence, the secondary sequence, and the tertiary sequence respectively according to different preset segmentation units; S1048: performing redundancy coding based on a convolutional code on the segmented data of the preset segment unit length, and determining sequence redundancy and transmission code rate of different priorities; S1049: Encode the video sequence according to the sequence redundancy to obtain the video encoding sequence; The S1043 specifically includes: S1043A: Obtaining a packet loss length k that the image can withstand; S1043B: Divide the video frame into square areas according to the length limit of a single data packet, and obtain a rearrangement side length d according to the total number of areas t obtained; Wherein, N represents the total number of basic blocks of the video frame; S1043C: According to the image's tolerable packet loss length k and the primary rearrangement side length, determine a secondary rearrangement side length e for rearranging each square area: S1043D: Rearrange the transformed video frames according to the first rearrangement side length and the second rearrangement side length; The S1046 is specifically: S1046A: Divide the low-frequency components of each basic block into the primary sequence, divide the first to third high-frequency components of each basic block into the secondary sequence, and divide the remaining high-frequency components of each basic block into the tertiary sequence; The decoding module is specifically used for: S1071: Searching for a reference block that has not lost low-frequency components in a 3×3 basic block unit area with the block to be restored as the center; S1072: Record the Euclidean distance d from the reference block to the block to be restored r : Wherein, (x, y) represents the coordinate position of the reference block relative to the block to be restored; S1073: performing inverse discrete cosine transform after setting the reference block and the high-frequency component to be restored to 0; S1074: Estimate the low-frequency component of the block to be restored according to the high-frequency component of the reference block: Among them, E DC(x,y) represents the low-frequency component of the block to be restored estimated based on the high-frequency components of each reference block, R DC(x,y) represents the low-frequency component of each reference block, M=8 represents the side length of the basic block, Represents the pixel value of the block to be restored obtained by inverse discrete cosine transform, Represents the pixel value of the reference block adjacent to the block to be restored obtained by the inverse discrete cosine transform; S1075: Taking the inverse of the Euclidean distance as the weight of each reference block, weighted averaging the estimated low-frequency components of the block to be restored to obtain the low-frequency components E of the block to be restored. DC : S1076: Decode the video encoding sequence according to the low-frequency component of the block to be restored to obtain the video decoding sequence.

2. The intelligent ward video system based on data processing according to claim 1 is characterized in that: The sequence redundancy and the transmission code rate are determined in the following manner: Among them, r i Represents the sequence redundancy of priority i, i = 1, 2, 3, R i represents the transmission code rate of priority i, n represents the memory length of the convolutional code encoder, g represents the original information bit length, and represents the output length n.

3. The intelligent ward video system based on data processing according to claim 2 is characterized in that: After S1048, the following steps are also included: S1048A: Based on the principle that sequences with different priorities can fill a single data packet, determine the constraint condition of the sequence redundancy, wherein the constraint condition is specifically: Wherein, t1, t2, t3 represent the bit lengths of the original data in the primary sequence, the secondary sequence and the tertiary sequence respectively, x, y, z represent the bit lengths of the data in the primary sequence, the secondary sequence and the tertiary sequence in a single data packet respectively, p represents the bit length of a single data packet, and r1, r2, r3 represent the sequence redundancy of the primary sequence, the secondary sequence and the tertiary sequence respectively.

4. The intelligent ward video system based on data processing according to claim 1 is characterized in that: The first branch and the second branch each have a plurality of time slot spaces.

5. The intelligent ward video system based on data processing according to claim 1 is characterized in that: Also includes: The monitoring module is used to monitor the clarity of the video decoding sequence and issue a reminder when the clarity of the video decoding sequence is lower than a preset image clarity.