Video uploading method and device and video processing system

By analyzing the video images, and merging the video clips, the problem of video clips duplication when multiple targets appear simultaneously is solved, and the effect of reducing network data and saving bandwidth is achieved.

CN120017775APending Publication Date: 2025-05-16SHANGHAI FUWEI FAST DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311529384.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-15
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

When multiple targets appear on the monitoring screen at the same time, the existing video upload method will cause duplicate parts between the video clips, increase the amount of data transmitted by the network, waste bandwidth resources, and may lead to delay in system processing speed and affect the normal operation of other network systems.

Method used

By collecting video images, the target video information is analyzed and obtained, including the start time, deadline and identification information, and the video clips that need to be uploaded are merged and processed based on this information, and then uploaded to the business platform.

Benefits of technology

This greatly reduces the amount of data transmitted by the network, saves bandwidth resources, avoids duplicate parts between video clips, and improves the system processing speed and the normal operation of the network system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120017775A_ABST
    Figure CN120017775A_ABST
Patent Text Reader

Abstract

The invention discloses a video uploading method and device and a video processing system. The method comprises the following steps: acquiring a video image; the video image is analyzed, target video information is obtained, and the target video information comprises the starting time of a target video, the deadline of the target video and identification information; according to the target video information, carrying out merging processing on video clips needing to be uploaded; and uploading the combined video to a service platform. By using the scheme of the invention, the data volume of network transmission can be reduced, and bandwidth resources are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of video transmission, and in particular to a video uploading method and device, and a video processing system. Background Art

[0002] With the continuous development of science and technology, the use of cameras is becoming more and more common. In many public places, such as residential areas, office buildings, streets, construction sites, etc., surveillance cameras are installed to solve security problems. When abnormal behavior occurs in the monitoring area, the surveillance camera will record the scene and upload the video to the server. In order to provide convenience for tourists, many scenic spots and amusement parks will install shooting devices to shoot tourists' play videos. After the shooting device captures the tourists' play video, it uploads the video to the server, which edits it and pushes it to the tourists.

[0003] In many business scenarios, what is needed is a partial video clip related to the target, rather than the entire video. The front-end device will first analyze the video file to obtain the target video clip, and then upload it to the server. When multiple detection targets appear in the same video, the general upload method is to upload the video of each target separately or directly upload the entire video shot. This method sometimes results in duplicate parts between multiple video clips. For example, it is necessary to monitor whether there are strangers in the target area. When a stranger appears, his video clip needs to be uploaded to the business platform. If multiple strangers appear in the monitoring area at the same time, there will be duplicate parts between the video clips of each stranger, which increases the amount of data transmitted over the network and causes a waste of bandwidth resources. In an environment with insufficient network traffic and bandwidth resources, it will also cause delays in system processing speed and affect the normal operation of other working systems under the same network. Summary of the invention

[0004] The embodiments of the present invention provide a video uploading method and device, and a video processing system to reduce the amount of data transmitted over a network and save bandwidth resources.

[0005] On the one hand, an embodiment of the present invention provides a video uploading method, the method comprising:

[0006] Collect video images;

[0007] Analyze the video image to obtain target video information, wherein the target video information includes: a start time of the target video, an end time of the target video, and identification information;

[0008] Merging the video clips to be uploaded according to the target video information;

[0009] Upload the merged video to the business platform.

[0010] Optionally, the merging of target video segments to be uploaded according to the target video information includes:

[0011] Retrieving the uploaded video set according to the target video information to determine whether the corresponding target video has been uploaded;

[0012] If it has been uploaded, the target video information and the corresponding uploaded video ID are uploaded to the service platform;

[0013] If it has not been uploaded, retrieving the video set to be uploaded, and merging the target video information into the video set to be uploaded;

[0014] The step of uploading the merged video to the service platform includes:

[0015] Upload the video clips and video information in the video collection to be uploaded to the business platform according to the set period.

[0016] Optionally, each member in the uploaded video set includes: video ID, video start time, video end time; each member in the to-be-uploaded video set includes: video information array, video start time, video end time.

[0017] Optionally, retrieving a collection of uploaded videos according to the target video information to determine whether the target video has been uploaded includes:

[0018] Retrieving each member of the uploaded video set in sequence according to the target video information;

[0019] If there is a member in the uploaded video set, the start time of the member is less than or equal to the start time of the target video, and the end time of the member is greater than or equal to the end time of the target video, it is determined that the target video has been uploaded;

[0020] The ID of the uploaded video is the ID of the uploaded video of the member.

[0021] Optionally, the method further comprises:

[0022] The service platform obtains the corresponding video according to the ID of the uploaded video, and intercepts the video according to the target video information to obtain the target video;

[0023] The target video information and the target video are saved.

[0024] Optionally, the retrieving the video set to be uploaded and merging the target video information into the video set to be uploaded includes:

[0025] Searching each member of the to-be-uploaded video set in turn according to the target video information to determine whether there is a related member;

[0026] If there is a related member, the target video information is added to the video information array of the related member, and the start time and / or end time of the related member is updated; then the member is taken out from the set of videos to be uploaded as the target video, and continues to be compared with the remaining members in the set of videos to be uploaded;

[0027] If there is no relevant member, a new member is added, the target video information is added to the video information array of the new member, and the start time of the member is set to the start time of the target video, and the end time of the member is set to the end time of the target video.

[0028] Optionally, the determining whether there are related members includes: if the deadlines of all members in the to-be-uploaded video set are less than the start time of the target video information, or the start time is greater than the deadline of the target video information, determining that there are no related members; otherwise, determining that there are related members.

[0029] Optionally, if there is a related member, adding the target video information to the video information array of the related member, and updating the start time and / or end time of the related member includes:

[0030] If there is a member whose start time is less than or equal to the start time of the target video and whose end time is greater than or equal to the end time of the target video, then the target video information is added to the video information array of the member;

[0031] If there is a member whose start time is greater than the start time of the target video and less than or equal to the end time of the target video, and whose end time is greater than the end time of the target video, then the target video information is added to the video information array of the member, and the start time of the member is updated to the start time of the target video;

[0032] If there is a member whose start time is less than the start time of the target video and whose end time is greater than or equal to the start time of the target video and less than the end time of the target video, then the target video information is added to the video information array of the member, and the end time of the member is updated to the end time of the target video;

[0033] If there is a member whose start time is greater than the start time of the target video and whose end time is less than the end time of the target video, then add the target video information to the video information array of the member, update the start time of the member to the start time of the target video, and update the end time of the member to the end time of the target video.

[0034] Optionally, uploading the video clips and video information in the video set to be uploaded to the business platform according to the set period includes: taking out each member from the video set to be uploaded in turn, intercepting the original video according to the start time and end time of the member to obtain the video clip to be uploaded, and assigning a video ID to the video clip, and uploading the video ID, the video clip and member information to the business platform.

[0035] Optionally, the method further includes: adding a member to the uploaded video set, and storing the video ID, start time, and end time.

[0036] Optionally, the method further comprises:

[0037] The service platform saves the uploaded data and establishes an association between the video clip and the video ID;

[0038] Each target video is intercepted from the video clip according to the uploaded member information, and the target video and target video information are saved.

[0039] On the other hand, an embodiment of the present invention further provides a video uploading device, the device comprising:

[0040] An acquisition module, used for acquiring video images;

[0041] An image analysis module, used to analyze the video image to obtain target video information, wherein the target video information includes: a start time of the target video, an end time of the target video and identification information;

[0042] A merging processing module, used for merging the video clips to be uploaded according to the target video information;

[0043] The upload module is used to upload the merged video to the business platform.

[0044] Optionally, the device further comprises:

[0045] A first storage module, used to store an uploaded video set, wherein the uploaded video set includes: an ID of the uploaded video, a video start time, and a video end time;

[0046] The second storage module is used to store a video set to be uploaded, wherein the video set to be uploaded includes: a video information array, a video start time, and a video end time;

[0047] The merging processing module is specifically used to retrieve the uploaded video set according to the target video information, and determine whether the corresponding target video has been uploaded; if it has been uploaded, trigger the uploading module to upload the target video information and the corresponding ID of the uploaded video to the business platform; if it has not been uploaded, merge the target video information into the video set to be uploaded;

[0048] The uploading module uploads the video clips and video information in the video set to be uploaded to the service platform according to a set period.

[0049] On the other hand, an embodiment of the present invention further provides a video processing system, the system comprising: a service platform, and the video uploading device described above;

[0050] The service platform is used to receive and save the data uploaded by the video uploading device, establish an association between the video clip and the video ID; intercept each target video from the video clip according to the uploaded member information, and save the target video and target video information.

[0051] On the other hand, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned video uploading method are executed.

[0052] On the other hand, an embodiment of the present invention further provides a video processing device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and is characterized in that the processor executes the steps of the aforementioned video uploading method when running the computer program.

[0053] The video uploading method and device, and the video processing system provided by the embodiments of the present invention collect video images, obtain target video information, and then merge the video clips to be uploaded according to the target video information, and then upload them to the service platform after merging. Therefore, in the scenario where multiple targets appear in the shooting screen at the same time, the amount of data transmitted by the network can be greatly reduced, saving bandwidth resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 is a flow chart of a video uploading method provided by an embodiment of the present invention;

[0055] Figure 2 is a schematic diagram of a member structure of an uploaded video set in an embodiment of the present invention;

[0056] Figure 3 This is a schematic diagram of the member structure of a video set to be uploaded in an embodiment of the present invention;

[0057] Figure 4is a schematic diagram of a process of retrieving an uploaded video collection and an uploading service platform in an embodiment of the present invention;

[0058] Figure 5 is a schematic diagram of adding target video information to a set of videos to be uploaded in an embodiment of the present invention;

[0059] Figure 6 is a schematic diagram of a process of performing uploading and storing operations according to a video set to be uploaded in an embodiment of the present invention;

[0060] Figure 7 It is a structural schematic diagram of a video uploading device provided by an embodiment of the present invention;

[0061] Figure 8 is another structural schematic diagram of a video uploading device provided by an embodiment of the present invention;

[0062] Fig. 9 The diagram is a schematic diagram of a structure of a video processing system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0063] The principle and spirit of the present invention will be described below with reference to the exemplary embodiments shown in the accompanying drawings. It should be understood that these embodiments are described only to enable those skilled in the art to better understand and implement the present invention, and are not intended to limit the scope of the present invention in any way.

[0064] In order to avoid the waste of bandwidth resources due to duplication between video clips during the uploading process of the detected target video, the embodiment of the present invention provides a method and system for improving the efficiency of video uploading, which collects video images, obtains target video information, and then merges the video clips to be uploaded according to the target video information, and then uploads them to the service platform after merging.

[0065] like Figure 1 FIG. 1 is a flow chart of a video uploading method provided by an embodiment of the present invention, comprising the following steps:

[0066] In step 101, a video image is captured.

[0067] For example, you can use a camera to shoot a video and obtain a video image from the camera.

[0068] In step 102, the video image is analyzed to obtain target video information, wherein the target video information includes: a start time of the target video, an end time of the target video, and identification information.

[0069] The present invention does not limit the specific video analysis method. For example, it can be to perform face recognition and face scoring on video frames to obtain a video with the best face quality, or to perform behavior recognition on video frames to obtain a video with abnormal behavior.

[0070] Accordingly, the identification information may be defined according to a video analysis method. For example, when performing face recognition analysis on a video, the identification information may be a face feature value or a face image.

[0071] In step 103, the video clips to be uploaded are merged according to the target video information.

[0072] For example, an uploaded video collection and a to-be-uploaded video collection may be set to store relevant information of uploaded videos and to-be-uploaded videos respectively.

[0073] like Figure 2 and Figure 3 As shown, Figure 2 It is a schematic diagram of the member structure of the uploaded video set. Each member in the uploaded video set includes: the ID of the uploaded video, the video start time, and the video end time. Figure 3 It is a schematic diagram of the member structure of the video set to be uploaded. Each member in the video set to be uploaded includes: video information array, video start time, and video end time.

[0074] The process of merging the video clips to be uploaded is as follows:

[0075] First, according to the target video information, a collection of uploaded videos is retrieved to determine whether the corresponding target video has been uploaded;

[0076] If it has been uploaded, the target video information and the corresponding ID of the uploaded video are uploaded to the service platform;

[0077] If it has not been uploaded, the video set to be uploaded is retrieved, and the target video information is merged into the video set to be uploaded.

[0078] The process for retrieving a collection of uploaded videos is as follows:

[0079] Retrieve each member in the uploaded video set in turn; if there is a member whose start time is less than or equal to the start time of the target video and whose end time is greater than or equal to the end time of the target video, it is determined that the target video has been uploaded, that is, the target video has been included in the uploaded video.

[0080] Accordingly, in this case, there is no need to upload the target video, but in order for the service platform to save the target video, the target video information and the corresponding ID of the uploaded video need to be uploaded to the service platform, so that the service platform can intercept the target video from the uploaded video according to the target video information. The ID of the uploaded video is the ID of the uploaded video of the member that meets the above conditions.

[0081] Refer to the following Figure 4 The above process is described in more detail.

[0082] like Figure 4 As shown, assuming that the start time in the target video information is S and the end time is E, the uploaded video collection is retrieved, in which the information of a member is as follows: ID of the uploaded video: 123, video start time: S1, video end time: E1.

[0083] Since S1≤S and E1≥E are satisfied, the target video is included, indicating that the target video has been uploaded. Therefore, the target video information and the ID of the uploaded video of the member: 123 are uploaded to the service platform.

[0084] Accordingly, the service platform can find the video with ID 123 according to the uploaded data, and according to the start and end time in the target video information, extract and save the video segment in the time range [S, E] from the video with ID 123. For example, the saved data structure may include: target video information, target video segment.

[0085] The process of retrieving a collection of videos to upload is as follows:

[0086] Searching each member of the to-be-uploaded video set in turn according to the target video information to determine whether there is a related member;

[0087] If there is a related member, the target video information is stored in the video information array of the related member, and the start time and / or end time of the related member is updated; then the member is taken out from the set of videos to be uploaded as the target video, and is continuously compared with the remaining members in the set of videos to be uploaded;

[0088] If there is no relevant member, a new member is added, the target video information is added to the video information array of the new member, and the start time of the member is set to the start time of the target video, and the end time of the member is set to the end time of the target video.

[0089] The above-mentioned related members refer to the members whose videos overlap with the target video in time, and the non-related members refer to the members whose videos do not overlap with the target video in time. To this end, it can be determined whether there are related members according to the following methods:

[0090] If the deadlines of all members in the to-be-uploaded video set are less than the start time of the target video information, or the start time is greater than the deadline of the target video information, it is determined that there are no relevant members; otherwise, it is determined that there are relevant members.

[0091] Furthermore, when there are related members, it can be further divided into several situations. The specific retrieval process is as follows:

[0092] (1) If there is a member whose start time is less than or equal to the start time of the target video and whose end time is greater than or equal to the end time of the target video, then the target video information is added to the video information array of the member. In this case, the start and end time of the target video are completely included in the start and end time of the member, and will not affect the start and end time of the member. Therefore, it is only necessary to add the target video information to the video information array of the member.

[0093] (2) If there is a member whose start time is greater than the start time of the target video and less than or equal to the end time of the target video, and whose end time is greater than the end time of the target video, then the target video information is added to the video information array of the member, and the start time of the member is updated to the start time of the target video.

[0094] (3) If there is a member whose start time is less than the start time of the target video and whose end time is greater than or equal to the start time of the target video and less than the end time of the target video, then the target video information is added to the video information array of the member, and the end time of the member is updated to the end time of the target video.

[0095] (4) If there is a member whose start time is greater than the start time of the target video and whose end time is less than the end time of the target video, then the target video information is added to the video information array of the member, and the start time of the member is updated to the start time of the target video, and the end time of the member is updated to the end time of the target video.

[0096] It should be noted that for the above three situations (2), (3) and (4), since the start time and / or end time of the member have changed, after the start time and / or end time of the member is updated, it is necessary to take the member out of the set of videos to be uploaded as the target video and continue to compare it with the remaining members in the set of videos to be uploaded.

[0097] Combine the following Figure 5 The above four situations with related members and the method of adding the target video information to the set of videos to be uploaded in the situation without related members are described in detail.

[0098] Reference Figure 5 , the start time in the target video information Z is S, and the end time is E; there are four members in the set of videos to be uploaded, which are as follows:

[0099] Member 1: video information array [A, B, C], start time S1, end time E1;

[0100] Member 2: video information array [D, E, F], start time S2, end time E2;

[0101] Member 3: video information array [G, H, I], start time S3, end time E3;

[0102] Member 4: video information array [J, K, L], start time S4, end time E4;

[0103] Case 1: If S1 ≤ S and E1 ≥ E, add the target video information Z to the video information array [A, B, C] of Member 1. After adding, the video information array of Member 1 becomes [A, B, C, Z], and the start and end times remain unchanged;

[0104] Case 2: If S < S2 ≤ E and E2 > E, add the target video information Z to the video information array [D, E, F] of Member 2. After adding, the video information array of Member 2 becomes [D, E, F, Z], and the start time is modified to S, while the end time remains unchanged;

[0105] Case 3: If S3 < S and S < E3 ≤ E, add the target video information Z to the video information array [G, H, I] of Member 3. After adding, the video information array of Member 2 becomes [G, H, I, Z], and the start time remains unchanged, while the end time is modified to E;

[0106] Case 4: If S4 > S and E4 < E, add the target video information Z to the video information array [J, K, L] of Member 4. After adding, the video information array of Member 4 becomes [J, K, L, Z], and the start time is modified to S, and the end time is modified to E;

[0107] Case 5: If there is no relevant member in the set of videos to be uploaded, that is, no member that can be merged is found, then add a new Member 5 to the set of videos to be uploaded, and add the target video information Z to the video information array of Member 5. After adding, the video information array of Member 5 becomes [Z], and the start time is S and the end time is E.

[0108] Continue to refer to Figure 1 , in step 104, upload the merged video to the service platform.

[0109] In the embodiment of the present invention, the video clips and video information of each member in the video set to be uploaded may be uploaded to the service platform according to a set period or event triggering.

[0110] Specifically, members are sequentially taken from the video set to be uploaded, the original video is intercepted according to the start time and end time of the member to obtain the video segment to be uploaded, and a new ID is assigned to the video segment to identify the video segment. The video ID, video segment and member information are uploaded to the service platform. The member information includes the video information array, start time and end time of the member.

[0111] Accordingly, the service platform saves the uploaded data and establishes an association between the video clip and the video ID; further, each target video is intercepted from the video clip according to the uploaded member information, and the target video and target video information are saved.

[0112] On the other hand, it is also necessary to add a member to the uploaded video collection to store the uploaded video ID, start time, and end time.

[0113] Combine the following Figure 6 The above uploading and storing process is further described in detail.

[0114] Reference Figure 6 , assuming that the member information included in the video set to be uploaded is as follows: video information array [A, B, C], start time S, end time E.

[0115] When uploading for this member, firstly, the original video (ie, surveillance video) needs to be intercepted according to the start and end time [S, E], the video segment in the [S, E] time range is obtained, and the video ID is assigned to it: 123.

[0116] Then, on the one hand, the member information, the assigned video ID: 123, and the captured video clip are uploaded to the service platform. On the other hand, a new member is added to the uploaded video collection: video ID: 123, start time S, end time E.

[0117] It should be noted that in order to avoid accidents during the uploading process (such as network interruption, equipment failure, etc.) that may lead to upload failure, you can also set upload success flag information, and then add the above new member to the uploaded video collection after determining that the upload is successful based on the flag information.

[0118] Continue to refer to Figure 6After receiving the uploaded data, the business platform extracts the target video A corresponding to the video information A (starting time SA, ending time EA), the target video B corresponding to the video information B (starting time SB, ending time EB), and the target video C corresponding to the video information C (starting time SC, ending time EC) from the uploaded video clips according to the video information data group [A, B, C] in the member information, and saves each target video and target video information.

[0119] The video uploading method provided by the embodiment of the present invention collects video images, obtains target video information, and then merges the video clips to be uploaded according to the target video information, and then uploads them to the service platform after merging. Therefore, in the scenario where multiple targets appear in the shooting picture at the same time, the amount of data transmitted by the network can be greatly reduced, saving bandwidth resources.

[0120] Accordingly, the embodiment of the present invention also provides a video uploading device, such as Figure 7 Shown is a structural schematic diagram of the device.

[0121] The video upload device 700 includes the following modules:

[0122] The acquisition module 701 is used to acquire video images;

[0123] An image analysis module 702 is used to analyze the video image to obtain target video information, wherein the target video information includes: a start time of the target video, an end time of the target video and identification information;

[0124] A merging processing module 703 is used to merge the video segments to be uploaded according to the target video information;

[0125] The uploading module 704 is used to upload the merged video to the service platform.

[0126] In a non-limiting embodiment, an uploaded video set and a to-be-uploaded video set may be set to store the relevant information of the uploaded videos and the to-be-uploaded videos respectively. Accordingly, the merging processing module 703 may implement the above merging processing operation with the help of these two sets.

[0127] Accordingly, if Figure 8 As shown, the video uploading device 700 provided in the embodiment of the present invention may further include:

[0128] The first storage module 705 is used to store the uploaded video set, wherein the uploaded video set includes: the ID of the uploaded video, the video start time, and the video end time;

[0129] The second storage module 706 is used to store a video set to be uploaded, wherein the video set to be uploaded includes: a video information array, a video start time, and a video end time;

[0130] Accordingly, the merging processing module 703 can retrieve the uploaded video set according to the target video information to determine whether the corresponding target video has been uploaded; if it has been uploaded, the uploading module is triggered to upload the target video information and the ID of the corresponding uploaded video to the service platform; if it has not been uploaded, the target video information is merged into the video set to be uploaded;

[0131] Accordingly, the uploading module 704 may upload the video clips and video information in the to-be-uploaded video set to the service platform according to a set period.

[0132] Accordingly, an embodiment of the present invention further provides a video processing system, such as Fig. 9 As shown, the system includes: a video uploading device 700 and a business platform 900.

[0133] The specific structure and working mode of the video uploading device 700 can be referred to the previous description and will not be repeated here.

[0134] In this embodiment, the business platform 900 is used to receive and save the data uploaded by the video uploading device 700, establish an association relationship between the video clip and the video ID; obtain the target video according to the uploaded video information, and save the target video and the corresponding target video information.

[0135] It should be noted that the data transmission between the video uploading device 700 and the service platform 900 may be via a data line, a wired / wireless network, etc., which is not limited in the embodiment of the present invention.

[0136] For the specific implementation and working mode of each module in the video uploading device and the video processing system of the present invention, reference may be made to the description in the above-mentioned method embodiment of the present invention.

[0137] In a specific implementation, each module / unit included in each device or product described in the above embodiments may be a software module / unit or a hardware module / unit, or may be partially a software module / unit and partially a hardware module / unit. For example, for each device or product applied to or integrated in a chip, each module / unit included therein may be implemented in the form of hardware such as circuits, or at least some of the modules / units may be implemented in the form of software programs, which run on a processor integrated inside the chip, and the remaining (if any) modules / units may be implemented in the form of hardware such as circuits; for each device or product applied to or integrated in a chip module, each module / unit included therein may be implemented in the form of hardware such as circuits, and different modules / units may be located in the same component (such as a chip, circuit module, etc.) or different components of the chip module, or at least some of the modules / units may be implemented in the form of hardware such as circuits. The element can be implemented in the form of a software program, which runs on a processor integrated inside the chip module, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuits; for various devices and products applied to or integrated in the terminal, the various modules / units contained therein can be implemented in the form of hardware such as circuits, and different modules / units can be located in the same component (for example, chip, circuit module, etc.) or in different components in the terminal, or, at least some modules / units can be implemented in the form of a software program, which runs on a processor integrated inside the terminal, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuits.

[0138] The embodiment of the present invention further provides a storage medium, which is a computer-readable storage medium and stores a computer program. When the computer program is executed, Figure 1 The storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc. The storage medium may also include a non-volatile memory or a non-transitory memory, etc.

[0139] Accordingly, an embodiment of the present application further provides a video processing device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and the processor can execute the above-mentioned Figure 1 Some or all of the steps of the method.

[0140] It should be understood that the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article indicates that the associated objects before and after are in an "or" relationship.

[0141] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0142] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented using software, the above embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means.

[0143] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0144] In the several embodiments provided in the present application, it should be understood that the disclosed methods, devices and systems can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0145] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0146] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can be physically arranged separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.

[0147] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the method described in each embodiment of the present application.

[0148] Although the present application is disclosed as above, the present application is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application. Therefore, the protection scope of the present application shall be subject to the scope defined by the claims.

Claims

1. A video uploading method, characterized in that: The method comprises: Collect video images; Analyze the video image to obtain target video information, wherein the target video information includes: a start time of the target video, an end time of the target video, and identification information; Merging the video clips to be uploaded according to the target video information; Upload the merged video to the business platform.

2. The method according to claim 1, characterized in that The merging process of the target video segments to be uploaded according to the target video information includes: Retrieving the uploaded video set according to the target video information to determine whether the corresponding target video has been uploaded; If it has been uploaded, the target video information and the corresponding uploaded video ID are uploaded to the service platform; If it has not been uploaded, retrieving the video set to be uploaded, and merging the target video information into the video set to be uploaded; The step of uploading the merged video to the service platform includes: Upload the video clips and video information in the video collection to be uploaded to the business platform according to the set period.

3. The method according to claim 2, characterized in that Each member in the uploaded video set includes: video ID, video start time, and video end time; Each member of the video set to be uploaded includes: a video information array, a video start time, and a video end time.

4. The method according to claim 3, characterized in that Retrieving the uploaded video set according to the target video information and determining whether the target video has been uploaded comprises: Retrieving each member of the uploaded video set in sequence according to the target video information; If there is a member in the uploaded video set, the start time of the member is less than or equal to the start time of the target video, and the end time of the member is greater than or equal to the end time of the target video, it is determined that the target video has been uploaded; The ID of the uploaded video is the ID of the uploaded video of the member.

5. The method according to claim 4, characterized in that The method further comprises: The service platform obtains the corresponding video according to the ID of the uploaded video, and intercepts the video according to the target video information to obtain the target video; The target video information and the target video are saved.

6. The method according to claim 4, characterized in that The retrieving the video set to be uploaded and merging the target video information into the video set to be uploaded comprises: Searching each member of the to-be-uploaded video set in turn according to the target video information to determine whether there is a related member; If there is a related member, the target video information is added to the video information array of the related member, and the start time and / or end time of the related member is updated; then the member is taken out from the set of videos to be uploaded as the target video, and continues to be compared with the remaining members in the set of videos to be uploaded; If there is no relevant member, a new member is added, the target video information is added to the video information array of the new member, and the start time of the member is set to the start time of the target video, and the end time of the member is set to the end time of the target video.

7. The method according to claim 6, characterized in that The determining whether there is a relevant member comprises: If the deadlines of all members in the to-be-uploaded video set are less than the start time of the target video information, or the start time is greater than the deadline of the target video information, it is determined that there are no relevant members; otherwise, it is determined that there are relevant members.

8. The method according to claim 6, characterized in that If there is a related member, adding the target video information to the video information array of the related member, and updating the start time and / or end time of the related member includes: If there is a member whose start time is less than or equal to the start time of the target video and whose end time is greater than or equal to the end time of the target video, then the target video information is added to the video information array of the member; If there is a member whose start time is greater than the start time of the target video and less than or equal to the end time of the target video, and whose end time is greater than the end time of the target video, then the target video information is added to the video information array of the member, and the start time of the member is updated to the start time of the target video; If there is a member whose start time is less than the start time of the target video and whose end time is greater than or equal to the start time of the target video and less than the end time of the target video, then the target video information is added to the video information array of the member, and the end time of the member is updated to the end time of the target video; If there is a member whose start time is greater than the start time of the target video and whose end time is less than the end time of the target video, then add the target video information to the video information array of the member, update the start time of the member to the start time of the target video, and update the end time of the member to the end time of the target video.

9. The method according to any one of claims 2 to 8, characterized in that: The uploading of the video clips and video information in the video set to be uploaded to the service platform according to the set period includes: Each member is taken out from the video collection to be uploaded in turn, the original video is cut into the video segment to be uploaded according to the start time and end time of the member, a video ID is assigned to the video segment, and the video ID, the video segment and member information are uploaded to the business platform.

10. The method according to claim 9, characterized in that The method further comprises: Add a member to the uploaded video collection and store the video ID, start time, and end time.

11. The method according to claim 9, characterized in that The method further comprises: The service platform saves the uploaded data and establishes an association between the video clip and the video ID; Each target video is intercepted from the video clip according to the uploaded member information, and the target video and target video information are saved.

12. A video uploading device, characterized in that: The device comprises: An acquisition module, used for acquiring video images; An image analysis module, used to analyze the video image to obtain target video information, wherein the target video information includes: a start time of the target video, an end time of the target video and identification information; A merging processing module, used for merging the video clips to be uploaded according to the target video information; The upload module is used to upload the merged video to the business platform.

13. The device according to claim 12, characterized in that The device also includes: A first storage module, used to store an uploaded video set, wherein the uploaded video set includes: an ID of the uploaded video, a video start time, and a video end time; The second storage module is used to store a video set to be uploaded, wherein the video set to be uploaded includes: a video information array, a video start time, and a video end time; The merging processing module is specifically used to retrieve the uploaded video set according to the target video information, and determine whether the corresponding target video has been uploaded; if it has been uploaded, trigger the uploading module to upload the target video information and the corresponding ID of the uploaded video to the business platform; if it has not been uploaded, merge the target video information into the video set to be uploaded; The uploading module uploads the video clips and video information in the video set to be uploaded to the service platform according to a set period.

14. A video processing system, characterized in that: The system comprises: a business platform, and a video uploading device as claimed in claim 12 or 13; The service platform is used to receive and save the data uploaded by the video uploading device, establish an association between the video clip and the video ID; intercept each target video from the video clip according to the uploaded member information, and save the target video and target video information.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the video uploading method according to any one of claims 1 to 11 are executed.

16. A video processing device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, wherein: When the processor runs the computer program, the steps of the video uploading method according to any one of claims 1 to 11 are performed.