A distributed audio and video file processing system and processing method
By introducing user instruction collection, information pre-processing and information processing modules into the distributed audio and video file processing system, combined with permission control and batch scheduling, the problems of long waiting time and insufficient security during the transcoding process are solved and efficient , secure audio and video file upload and download.
Patent Information
- Application Number
- CN202410725577.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-06
Smart Images

Figure CN118317147B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer data processing, and in particular to a distributed audio and video file processing system and a processing method. Background Art
[0002] With the frequent sharing and sharing modes of audio and video on major platforms, high-quality audio and video has become an important demand of all types of users. Due to the wide transmission path of audio and video and the large demand, in order to adapt to different platforms and user-side networks, encoding processing is required. In addition to video sharing, it also includes user video uploading and other needs. The existing traditional transcoding equipment and servers cannot meet the current customer needs.
[0003] Computer processing technology is usually required in the processing of existing distributed audio and video files. By transcoding the audio and video files and obtaining the transcoding information of the files, the download or upload process of the file selected by the current user is realized. In the existing public platform, an auxiliary system is usually set up to upload and download audio and video files. In this process, only one-way audio and video transcoding and distribution transcoding of audio and video clips are performed, which requires a long waiting and processing time.
[0004] In view of the above problems, the present invention considers designing a processing system to pre-acquire the audio and video transcoding characteristics of the command data on the user demand side of the public platform, improving the efficiency of transcoding success through the process setting of pre-allocation of information, and at the same time controlling the user's access rights to ensure the safe upload and download process of audio and video on the user side. Summary of the invention
[0005] The purpose of the present invention is to provide a distributed audio and video file processing system and processing method to solve the following technical problems:
[0006] How to improve the transcoding success rate and achieve secure uploading and downloading of audio and video on the user side.
[0007] The purpose of the present invention can be achieved through the following technical solutions:
[0008] A distributed audio and video file processing system, comprising:
[0009] The user command acquisition module is used to collect the user's request command signal and feedback the request command signal to the data interface to obtain the audio and video file information and audio and video data;
[0010] Information preprocessing module, used to identify audio and video file information and determine whether the audio and video attribute information and timestamp are qualified:
[0011] If so, execute the user-side request instruction to perform the next step of audio and video data processing;
[0012] If not, the user-side request instruction is rejected;
[0013] Information processing module, used to perform distributed transcoding processing on audio and video data to obtain batch scheduling information and monitor fault information;
[0014] The information processing module includes: a permission control unit, an information distribution unit, and a transcoding monitoring unit;
[0015] The permission control unit is used to authenticate the user's identity information and obtain the user's transcoding record information to determine the user's access rights;
[0016] The method for determining the user access rights by the permission control unit includes:
[0017] Get the current user's historical transcoding operation count O tr And the number of secondary nodes R through the response transcoding history tr ;
[0018] By formula Calculate and determine the current user access coefficient A c ; Among them, γ 1 , γ 2 is the preset weight coefficient, γ 1 , γ 2 All greater than 0; 0 The standard number of transcoding operations on the user side; R 0 is the standard number of historical passing response transcoding nodes; ΔR is the allowable deviation value of historical passing response transcoding nodes;
[0019] The access coefficient A c Compare with the preset access coefficient threshold range:
[0020] If A c If it falls within the access coefficient threshold range, the current user's access rights are considered normal;
[0021] If A c If it is greater than the access coefficient threshold interval, it is judged that the current user has frequent access rights;
[0022] If A c If it is less than the access coefficient threshold interval, it is judged that the current user's access rights are restricted, and the current user's access security is judged;
[0023] The information allocation unit is used to obtain the secondary node sequence information under the current normal user access rights and allocate audio and video file data transcoding tasks to determine batch scheduling information;
[0024] The transcoding monitoring unit is used to perform transcoding monitoring according to the batch scheduling results to obtain a monitoring strategy and determine the monitoring results;
[0025] The information warning module is used to issue a warning signal based on the monitoring fault information results.
[0026] Preferably, the user instruction acquisition module:
[0027] By collecting the file processing request signal sent by the user terminal interface;
[0028] Collect audio and video file information and audio and video data at the user end data interface according to the request signal;
[0029] Construct a user-side data interface main node and multiple secondary nodes, obtain audio and video file information through the main node; respond and store audio and video data through multiple secondary nodes.
[0030] Preferably, the audio and video file information includes: audio and video file source address, audio and video attributes, audio and video timestamp, and audio and video size.
[0031] Preferably, the information preprocessing module:
[0032] Obtain the timestamp distribution and signal response time value corresponding to the audio and video files received by the user-side master node during the response time period of the current secondary node, and form a timestamp response time value set {Sp t1 , …, Sp tn};
[0033] Judgment set {Sp t1 , …, Sp tn} element Sp ti The number of elements X that fall within the preset standard timestamp response time value threshold range;
[0034] If the number of elements X ≥ X ith , then the timestamp distribution is judged to be reasonable, otherwise, the timestamp distribution is judged to be unreasonable.
[0035] Preferably, the information preprocessing module further includes:
[0036] Analyze the audio and video information attributes to determine whether they are compatible:
[0037] If compatible, distributed transcoding is performed;
[0038] If it is incompatible, change the current transcoding method.
[0039] Preferably, the information distribution unit:
[0040] Get the kth secondary node response time value T within the current normal user access permission access time period k ;
[0041] By formula Calculate the batch scheduling signal value B of the kth secondary node ak ; Where m is the total number of secondary nodes; δ is the preset weight coefficient; Q bh is the conversion function; T k (t) is the time period [t 1 , t 2 ] the response time value of the kth secondary node in aveT k (t) is the time period [t 1 , t 2 ]Inside T k The average value of (t); T kith (t) is the time period [t 1 , t 2 ]The average value of the standard curve of the response time value of the kth secondary node.
[0042] Preferably, the transcoding monitoring unit:
[0043] The signal value B will be dispatched in batches ak The threshold interval of the batch scheduling signal with the preset standard [B 1 , B 2 ] to compare the size:
[0044] If B ak ∈[B 1 , B 2 ], then it is judged that the current secondary node meets the scheduling information;
[0045] like The current secondary node is judged to be inconsistent with the scheduling information, transcoding monitoring is performed, and the monitoring strategy is further executed:
[0046] If B ak <B 1 , then the current secondary node is judged to have weak scheduling performance, and a transcoding warning signal is executed to reduce the transcoding task allocation;
[0047] If B ak >B 2 , then it is judged that the current secondary node has strong scheduling performance, and the transcoding warning signal is executed to increase the transcoding task allocation.
[0048] A distributed audio and video file processing method is applied to a distributed audio and video file processing system. The specific method includes:
[0049] Step 1: Collect the request command signal from the user end and feedback the request command signal to the data interface end to obtain the audio and video file information and audio and video data;
[0050] Step 2: Identify the audio and video file information and determine whether the audio and video attribute information and timestamp are qualified:
[0051] If so, execute the user-side request instruction to perform the next step of audio and video data processing;
[0052] If not, the user-side request instruction is rejected;
[0053] Step 3: Perform distributed transcoding processing on audio and video data to obtain batch scheduling information and monitor fault information;
[0054] Step 4: Issue a warning signal based on the monitoring fault information results.
[0055] The beneficial effects of the present invention are as follows: the present invention acquires the transcoding characteristics of audio and video in advance by setting the information processing module, improves the transcoding success efficiency by setting the information pre-allocation process, controls the user access rights to ensure the safe uploading and downloading process of the audio and video on the user side; specifically, it is divided into: ensuring the authentication of the user side identity information and confirming the acquisition of the user side transcoding record information through the permission control unit, and then determining the user access rights; because it is necessary to ensure the security and privacy of the user side, the user rights management is performed on the user side information, and the user's operation information of each time is recorded and counted by acquiring the user behavior log information, so as to ensure the acquisition of the user side transcoding record information; through the information The information allocation unit obtains the sub-node sequence information under the current normal user access rights and allocates audio and video file data transcoding tasks to determine the batch scheduling information; the acquisition of batch scheduling information ensures further scheduling and monitoring process to improve the efficiency of audio and video transcoding; the information allocation unit is set to ensure that the user access and user-side transcoding record information that meets the user authority management standards are analyzed and judged for the audio and video file data transcoding status of each node, thereby ensuring the advance prediction, batching and scheduling of real-time transcoded character information; in addition, the transcoding monitoring unit performs transcoding monitoring according to the batch scheduling results to obtain the monitoring strategy, judge the monitoring results, and realize the process of security early warning of audio and video transcoding.
[0056] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0058] Figure 1 A module diagram of a distributed audio and video file processing system of the present invention;
[0059] Figure 2 This is a structural unit diagram of the information processing module of the present invention;
[0060] Figure 3 This is a step diagram of a distributed audio and video file processing method of the present invention. DETAILED DESCRIPTION
[0061] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0062] Computer processing technology is usually required in the processing of existing distributed audio and video files. By transcoding the audio and video files and obtaining the transcoding information of the files, the download or upload process of the file selected by the current user is realized. In the existing public platform, an auxiliary system is usually set up to upload and download audio and video files. In this process, only one-way audio and video transcoding and distribution transcoding of audio and video clips are performed, which requires a long waiting and processing time.
[0063] In view of the above problems, the present invention designs a processing system to pre-acquire the audio and video transcoding characteristics of the command data on the user demand side of the public platform, improves the transcoding success efficiency through the process setting of pre-allocation of information, and at the same time controls the user's access rights to ensure the safe upload and download process of audio and video on the user side.
[0064] For details, please refer to Figure 1-2 As shown, the present invention is a distributed audio and video file processing system, comprising:
[0065] The user command acquisition module is used to collect the user's request command signal and feedback the request command signal to the data interface to obtain the audio and video file information and audio and video data;
[0066] Information preprocessing module, used to identify audio and video file information and determine whether the audio and video attribute information and timestamp are qualified:
[0067] If so, execute the user-side request instruction to perform the next step of audio and video data processing;
[0068] If not, the user-side request instruction is rejected;
[0069] Information processing module, used to perform distributed transcoding processing on audio and video data to obtain batch scheduling information and monitor fault information;
[0070] The information processing module includes: an authority control unit, an information distribution unit, and a transcoding monitoring unit;
[0071] The permission control unit is used to authenticate the user's identity information and obtain the user's transcoding record information to determine the user's access rights;
[0072] The information allocation unit is used to obtain the secondary node sequence information under the current normal user access rights and allocate audio and video file data transcoding tasks to determine batch scheduling information;
[0073] The transcoding monitoring unit is used to perform transcoding monitoring according to the batch scheduling results to obtain monitoring strategies and determine monitoring results;
[0074] The information warning module is used to issue a warning signal based on the monitoring fault information results.
[0075] Through the above technical scheme, a distributed audio and video file processing system designed in this embodiment includes the following four modules: a user instruction acquisition module, an information preprocessing module, an information processing module, and an information warning module; through these four modules, the processing process of the audio and video signals collected by the user end before transcoding is realized, reducing the waiting time process and the problem of too many steps in a single transcoding process during the audio and video transcoding process; specifically, by first setting a user instruction acquisition module to collect the user end request instruction signal, and according to the request instruction signal feedback data interface end to obtain audio and video file information and audio and video data; because users share more and more audio and video on major platforms, users need to wait for longer and longer video transcoding time, through distributed transcoding to improve video transcoding efficiency, shorten video transcoding waiting time, improve user experience, in order to achieve such an effect here it is necessary to obtain sufficient information in advance on the number of times users use the current platform to share videos and the number of click instructions, and through the user instruction acquisition module to ensure that the user end access and demand information is obtained and determined, and the user end request instruction is determined.
[0076] Secondly, by setting up the information preprocessing module, the audio and video file information is identified and the audio and video attribute information and timestamp are determined to be qualified: if qualified, the user-side request instruction is executed to perform the next step of audio and video data processing; if unqualified, the user-side request instruction is rejected; by setting up the information preprocessing module, it is ensured that the video that cannot be transcoded is prevented from entering the transcoding process, and further analysis is performed by obtaining the original transcoded video information, and the video with incorrect distribution timestamp is processed to avoid incompatibility during the user-side video playback process. Of course, the current audio and video data attribute information needs to be confirmed to reduce and reduce the CPU resource occupation of the node data analysis process during the video transcoding process.
[0077] Furthermore, an information processing module is set up to perform distributed transcoding processing on audio and video data to obtain batch scheduling information and monitor fault information; in this embodiment, an information processing module is set up to further perform pre-transcoding allocation and advance monitoring and prediction on the pre-processed audio and video data, thereby reducing the reasonable distribution of audio and video in the transcoding process and improving the efficiency of transcoding success.
[0078] Among them, the information processing module set in this embodiment specifically includes: an authority control unit, an information allocation unit, and a transcoding monitoring unit; the authority control unit ensures the authentication of the user-side identity information and confirms the acquisition of the user-side transcoding record information, and then determines the user's access rights; because it is necessary to ensure the security and privacy of the user's use, user authority management is performed on the user-side information, and the user's operation information of each time is recorded and statistics are performed by obtaining the user behavior log information, so as to ensure the acquisition of the user-side transcoding record information.
[0079] The information allocation unit is used to obtain the sub-node sequence information under the current normal user access rights and allocate audio and video file data transcoding tasks to determine the batch scheduling information; the information allocation unit is set to ensure that the user access and user-side transcoding record information that meets the user authority management standards are analyzed, and the audio and video file data transcoding status of each node is further determined, thereby ensuring the advance prediction, batching and scheduling of real-time transcoded character information; the batch scheduling information here is obtained by obtaining the response time of each sub-node. The specific settings include setting the scheduler to preset the standard response time in advance, obtaining the scheduling signal of each node according to different response times, and automatically scheduling according to the obtained scheduling signal parameters. The acquisition of batch scheduling information ensures further scheduling and monitoring process, thereby improving the audio and video transcoding efficiency; in addition, the transcoding monitoring unit is used to perform transcoding monitoring according to the batch scheduling results to obtain monitoring strategies and judge the monitoring results; the process of realizing security warnings for audio and video transcoding.
[0080] Finally, by setting up an information warning module, a warning signal is issued according to the monitoring fault information results; ensuring that the monitoring fault signal is obtained and warning processing is performed, the probability of problems occurring during audio and video transcoding is reduced.
[0081] As an implementation mode of the present invention, the user instruction acquisition module:
[0082] By collecting the file processing request signal sent by the user terminal interface;
[0083] Collect audio and video file information and audio and video data at the user end data interface according to the request signal;
[0084] Construct a user-side data interface main node and multiple secondary nodes, obtain audio and video file information through the main node; respond and store audio and video data through multiple secondary nodes.
[0085] Through the above-mentioned technical scheme, the user instruction acquisition module set in this embodiment ensures the acquisition of the file processing request signal issued by the user-side interface, and collects the audio and video file information and audio and video data at the user-side data interface according to the request signal; in order to improve the transmission efficiency and reasonable scheduling process of distributed audio and video, by increasing the processing of audio and video data by each node to reduce the average waiting time of the user, thereby realizing efficient sharing of audio and video, this distributed node setting processing is implemented based on the distributed node machine setting.
[0086] In the specific implementation process, this embodiment realizes the accurate data collection process of the user end in this embodiment by setting up a main node and several secondary nodes; by constructing a user end data interface main node and multiple secondary nodes, wherein the audio and video file information is obtained through the main node, and the audio and video data is responded and stored through multiple secondary nodes.
[0087] As an implementation mode of the present invention, the audio and video file information includes: audio and video file source address, audio and video attributes, audio and video timestamp, and audio and video size.
[0088] Through the above technical solution, the audio and video file information in this embodiment is the audio and video file source address, audio and video attributes, audio and video timestamp, and audio and video size. This type of audio and video file information ensures that its source address information, name and size, partition, etc., as well as the size corresponding to the audio and video are determined.
[0089] As an implementation mode of the present invention, the information preprocessing module:
[0090] Obtain the timestamp distribution and signal response time value corresponding to the audio and video files received by the user-side master node during the response time period of the current secondary node, and form a timestamp response time value set {Sp t1 , ..., Sp tn};
[0091] Judgment set {Sp t1 , ..., Sp tn} element Sp ti The number of elements X that fall within the preset standard timestamp response time value threshold range;
[0092] If the number of elements X ≥ X ith , then the timestamp distribution is judged to be reasonable, otherwise, the timestamp distribution is judged to be unreasonable.
[0093] Through the above technical solution, the existing timestamp is used to verify whether the data has been tampered with after it is generated, so the provider of the timestamp service must prove that the time source used in the service is credible and the timestamp marking service provided is safe; therefore, in this embodiment, feedback is provided by obtaining the response time of the timestamp mark, which can be specifically predicted by predicting the rationality of the timestamp distribution. In this embodiment, the information preprocessing module is used to obtain the timestamp distribution and signal response time value size corresponding to the audio and video files received by the user-side main node within the response time period of the current secondary node, and form a timestamp response time value set {Sp t1 , …, Sp tn}; and judge the set {Sp t1 , …, Sp tn} element Sp ti The number of elements X that fall within the preset standard timestamp response time value threshold; if the number of elements X ≥ X ith , then the timestamp distribution is judged to be reasonable, otherwise, the timestamp distribution is judged to be unreasonable.
[0094] As an implementation mode of the present invention, the information preprocessing module further includes:
[0095] Analyze the audio and video information attributes to determine whether they are compatible:
[0096] If compatible, distributed transcoding is performed;
[0097] If incompatible, change the current transcoding method.
[0098] Through the above technical solution, the information preprocessing module set in this embodiment also reflects whether the attributes of the audio and video information are normal, thereby ensuring the selection of the next transcoding process and the normal operation of distributed transcoding.
[0099] As an implementation mode of the present invention, the authority control unit:
[0100] Get the current user's historical transcoding operation count O tr And the number of secondary nodes R through the response transcoding history tr ;
[0101] By formula Calculate and determine the current user access coefficient A c ; Among them, γ 1 , γ 2 is the preset weight coefficient, γ 1 , γ 2 All greater than 0; 0 0 The standard number of transcoding operations on the user side; R 0 is the standard number of historical passing response transcoding nodes; ΔR is the allowable deviation value of historical passing response transcoding nodes;
[0102] The access coefficient A c Compare with the preset access coefficient threshold range:
[0103] If A c If it falls within the access coefficient threshold range, the current user's access rights are considered normal;
[0104] If A c If it is greater than the access coefficient threshold interval, it is judged that the current user has frequent access rights;
[0105] If A c If it is less than the access coefficient threshold interval, it is determined that the current user's access rights are restricted, and the current user's access security is determined.
[0106] Through the above technical solution, in this embodiment, a permission control unit is set to realize the status analysis of the current user's access rights. By setting the permission control unit, it is ensured that the user's legal access to the platform is restricted, and the security of the platform can be effectively guaranteed. General permission management includes three parts: building permissions, allocating permissions, and using permissions. The permission system can realize the operations of adding, modifying, querying and deleting user roles. Through permission control, it is ensured that users have one-to-one accounts and can only perform operations within the permissions. Because different users have different frequencies and completed operations for audio and video operations, and by counting the current user's historical transcoding operation times and the historical number of transcoding nodes that have responded, the rationality of the current user's permission operation is obtained. Specifically: through the formula Calculate and determine the current user access coefficient A c ; The access coefficient A c Compare the size with the preset access coefficient threshold interval: Determine if A c If it falls within the access coefficient threshold range, the current user's access rights are considered normal; if A c is greater than the access coefficient threshold interval, it is judged that the current user has frequent access rights; if A c If it is less than the access coefficient threshold interval, it is determined that the current user's access rights are restricted, and the current user's access security is determined.
[0107] It should be noted that the standard number of user-side transcoding operations is O 0 , the historical response transcoding secondary node standard number R 0 All of them are standard data values obtained based on historical experience, which will not be elaborated here; the historical allowable deviation value ΔR of the response transcoding sub-node is obtained by training and analyzing the empirical test data and fitting, which will not be elaborated here.
[0108] As an implementation mode of the present invention, the information distribution unit:
[0109] Get the kth secondary node response time value T within the current normal user access permission access time period k ;
[0110] By formula Calculate the batch scheduling signal value B of the kth secondary node ak ; Where m is the total number of secondary nodes; δ is the preset weight coefficient; Q bh is the conversion function; T k (t) is the time period [t 1 , t 2 ] the response time value of the kth secondary node in aveT k (t) is the time period [t 1 , t 2 ]Inside T k The average value of (t); T kith (t) is the time period [t 1 , t 2 ]The average value of the standard curve of the response time value of the kth secondary node.
[0111] Through the above technical solution, in this embodiment, an information distribution unit is set to ensure the acquisition of the batch scheduling signal value of the audio and video, specifically by obtaining the kth secondary node response time value T within the current normal user access permission access time period. k ; By analyzing the response time of the secondary node, the scheduling signal size of the current secondary node is determined, and the formula Calculate the batch scheduling signal value B of the kth secondary node ak .
[0112] It should be noted that the preset weight coefficient δ is obtained based on historical experience data and will not be described in detail here; the conversion function Q bh It is obtained by fitting the test data under normal conditions, and the safety risk of batch scheduling of secondary nodes by the current function is predicted by analyzing the response time state; among them, aveT k (t), T kith (t) are all obtained based on the standard response time value of the corresponding secondary node under the historical data simulation state, which will not be elaborated here.
[0113] As an implementation mode of the present invention, the transcoding monitoring unit:
[0114] The signal value B will be dispatched in batches ak The threshold interval of the batch scheduling signal with the preset standard [B 1 , B 2 ] to compare the size:
[0115] If B ak ∈[B 1 , B2 ], then it is judged that the current secondary node meets the scheduling information;
[0116] like The current secondary node is judged to be inconsistent with the scheduling information, transcoding monitoring is performed, and the monitoring strategy is further executed:
[0117] If B ak <B 1 , then the current secondary node is judged to have weak scheduling performance, and a transcoding warning signal is executed to reduce the transcoding task allocation;
[0118] If B ak >B 2 , then it is judged that the current secondary node has strong scheduling performance, and the transcoding warning signal is executed to increase the transcoding task allocation.
[0119] Through the above technical solution, in order to predict the safety and rationality of the secondary node scheduling in advance, the transcoding monitoring unit is set in this embodiment to complete the batch scheduling signal value B ak Specifically, the batch scheduling signal value B ak The threshold interval of the batch scheduling signal with the preset standard [B 1 , B 2 ] to compare the size: if B ak ∈[B 1 , B 2 ], then the current secondary node is judged to be in compliance with the scheduling information; if Then the current secondary node is judged to be inconsistent with the scheduling information, transcoding monitoring is performed, and the monitoring strategy is further executed to achieve monitoring and early warning: If B ak <B 1 , then the current secondary node is judged to be weak in scheduling, and a transcoding warning signal is executed to reduce the transcoding task allocation; if B ak >B 2 , then it is judged that the current secondary node has strong scheduling performance, and the transcoding warning signal is executed to increase the transcoding task allocation.
[0120] See also Figure 3 As shown, in one embodiment, a distributed audio and video file processing method is provided, which is applied to a distributed audio and video file processing system. The specific method includes:
[0121] Step 1: Collect the request command signal from the user end and feedback the request command signal to the data interface end to obtain the audio and video file information and audio and video data;
[0122] Step 2: Identify the audio and video file information and determine whether the audio and video attribute information and timestamp are qualified:
[0123] If so, execute the user-side request instruction to perform the next step of audio and video data processing;
[0124] If not, the user-side request instruction is rejected;
[0125] Step 3: Perform distributed transcoding processing on audio and video data to obtain batch scheduling information and monitor fault information;
[0126] Step 4: Issue a warning signal based on the monitoring fault information results.
[0127] The relevant modules involved in this system are all hardware system modules or functional modules that combine computer software programs or protocols with hardware in the prior art. The computer software programs or protocols involved in the functional modules are themselves technologies that are well known to those skilled in the art and are not improvements of this system. The improvements of this system are the interaction or connection relationships between the modules, that is, improvements to the overall structure of the system to solve the corresponding technical problems to be solved by this system.
[0128] The above contents are merely examples and explanations of the concept of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the concept of the invention or exceed the scope defined in this application, they shall all fall within the protection scope of the present invention.
Claims
1. A distributed audio and video file processing system, characterized in that: include: The user command acquisition module is used to collect the user's request command signal and feedback the request command signal to the data interface to obtain the audio and video file information and audio and video data; Information preprocessing module, used to identify audio and video file information and determine whether the audio and video attribute information and timestamp are qualified: If so, execute the user-side request instruction to perform the next step of audio and video data processing; If not, the user-side request instruction is rejected; Information processing module, used to perform distributed transcoding processing on audio and video data to obtain batch scheduling information and monitor fault information; The information processing module includes: a permission control unit, an information distribution unit, and a transcoding monitoring unit; The permission control unit is used to authenticate the user's identity information and obtain the user's transcoding record information to determine the user's access rights; The method for determining the user access rights by the permission control unit includes: Get the current user's historical transcoding operation count O tr And the number of secondary nodes R through the response transcoding history tr ; By formula Calculate and determine the current user access coefficient A c ; Among them, γ1 and γ2 are preset weight coefficients, and both γ1 and γ2 are greater than 0; O0 is the standard number of transcoding operations on the user side; R0 is the standard number of historically passed response transcoding nodes; ΔR is the allowable deviation value of historically passed response transcoding nodes; The access coefficient A c Compare with the preset access coefficient threshold range: If A c If it falls within the access coefficient threshold range, the current user's access rights are considered normal; If A c If it is greater than the access coefficient threshold interval, it is judged that the current user has frequent access rights; If A c If it is less than the access coefficient threshold interval, it is judged that the current user's access rights are restricted, and the current user's access security is judged; The information allocation unit is used to obtain the secondary node sequence information under the current normal user access rights and allocate audio and video file data transcoding tasks to determine batch scheduling information; The information distribution unit: Get the kth secondary node response time value T within the current normal user access permission access time period k ; By formula Calculate the batch scheduling signal value B of the kth secondary node ak ; Where m is the total number of secondary nodes; δ is the preset weight coefficient; Q bh is the conversion function; T k (t) is the response time value of the kth secondary node in the time period [t1, t2]; aveT k (t) is T in the time period [t1, t2] k The average value of (t); T kith (t) is the average value of the standard curve of the response time value of the kth secondary node in the time period [t1, t2]; The transcoding monitoring unit is used to perform transcoding monitoring according to the batch scheduling results to obtain a monitoring strategy and determine the monitoring results; The transcoding monitoring unit: The signal value B will be dispatched in batches ak Compare the size with the preset standard batch scheduling signal threshold interval [B1, B2]: If B ak ∈[B1, B2], then the current secondary node is judged to be in compliance with the scheduling information; like The current secondary node is judged not to meet the scheduling information, transcoding monitoring is performed, and the monitoring strategy is further executed: If B ak <B1, the current secondary node is judged to have weak scheduling performance, and a transcoding warning signal is executed to reduce the transcoding task allocation; If B ak > B2, it is judged that the current secondary node has strong scheduling performance, and the transcoding warning signal is executed to increase the transcoding task allocation; The information warning module is used to issue a warning signal based on the monitoring fault information results.
2. A distributed audio and video file processing system according to claim 1, characterized in that: The user instruction acquisition module: By collecting the file processing request signal sent by the user terminal interface; Collect audio and video file information and audio and video data at the user end data interface according to the request signal; Construct a user-side data interface main node and multiple secondary nodes, obtain audio and video file information through the main node; respond and store audio and video data through multiple secondary nodes.
3. A distributed audio and video file processing system according to claim 2, characterized in that: The audio and video file information includes: audio and video file source address, audio and video attributes, audio and video timestamp, and audio and video size.
4. A distributed audio and video file processing system according to claim 1, characterized in that: The information preprocessing module: Obtain the timestamp distribution and signal response time value corresponding to the audio and video files received by the user-side master node within the response time period of the current secondary node, and form a timestamp response time value set {Sp t1 , ..., Sp tn }; Judgment set {Sp t1 , ..., Sp tn } element Sp ti The number of elements X that fall within the preset standard timestamp response time value threshold range; If the number of elements X ≥ X ith , then the timestamp distribution is judged to be reasonable, otherwise, the timestamp distribution is judged to be unreasonable.
5. A distributed audio and video file processing system according to claim 4, characterized in that: The information preprocessing module also includes: Analyze the audio and video information attributes to determine whether they are compatible: If compatible, distributed transcoding is performed; If it is incompatible, change the current transcoding method.
6. A distributed audio and video file processing method, characterized in that: Applied to a distributed audio and video file processing system as claimed in any one of claims 1 to 5, the specific method includes: Step 1: Collect the request command signal from the user end and feedback the request command signal to the data interface end to obtain the audio and video file information and audio and video data; Step 2: Identify the audio and video file information and determine whether the audio and video attribute information and timestamp are qualified: If so, execute the user-side request instruction to perform the next step of audio and video data processing; If not, the user-side request instruction is rejected; Step 3: Perform distributed transcoding processing on audio and video data to obtain batch scheduling information and monitor fault information; Step 4: Issue a warning signal based on the monitoring fault information results.
