CN115098872A - System and method for intercepting video uploading frame of browser - Google Patents

System and method for intercepting video uploading frame of browser Download PDF

Info

Publication number
CN115098872A
CN115098872A CN202210687827.9A CN202210687827A CN115098872A CN 115098872 A CN115098872 A CN 115098872A CN 202210687827 A CN202210687827 A CN 202210687827A CN 115098872 A CN115098872 A CN 115098872A
Authority
CN
China
Prior art keywords
video
frame
browser
editable
uploading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210687827.9A
Other languages
Chinese (zh)
Other versions
CN115098872B (en
Inventor
张信凯
尹前文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen High Tech Technology Co ltd
Original Assignee
Shenzhen High Tech Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen High Tech Technology Co ltd filed Critical Shenzhen High Tech Technology Co ltd
Priority to CN202210687827.9A priority Critical patent/CN115098872B/en
Publication of CN115098872A publication Critical patent/CN115098872A/en
Application granted granted Critical
Publication of CN115098872B publication Critical patent/CN115098872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a method and a system for intercepting uploaded frames of a browser video. By using the standardized second browser instead of directly executing video interception and video uploading in the first browser, network security risk isolation is realized, and video tampering caused by direct injection attack on a plug-in or malicious code of the first browser is avoided. Meanwhile, based on video frame interception, the invention combines three information of data pair parameter transmission, semi-public information transmission and video uploading frame interception information transmission, thereby avoiding the hidden danger of network security attack and data tampering caused by single channel video frame interception and uploading, and ensuring higher system security and user data leakage prevention performance in the browser video frame uploading process.

Description

System and method for intercepting video uploading frame of browser
Technical Field
The invention belongs to the technical field of network information, and particularly relates to a browser video uploading frame intercepting system and a method thereof.
Background
With the popularization of 5G technology and the iteration of coding technology represented by LDPC codes, video applications are loaded through mobile terminals, and then uploading and downloading operations are performed on videos or pictures, becoming one of the more popular user-side entertainment means.
Generally, on a mobile terminal or a PC side, a user mainly obtains and downloads videos through a mobile application or a browser. The video file or the video source code is pulled from the remote video server to the local browser, and is played through the built-in video decoding and playing function of the browser or through plug-in and other forms. And if the user needs and has the authority, editing, intercepting, downloading or uploading the video and the like can be further executed.
The browser is used as a universal webpage and an image information browsing window, and provides a visual graphical browsing interface for a user. Them banus invented the first web browser in 1990. For mobile terminals and PC terminals, the following browsers are currently mainstream: CHROM. Chrome is a truly user-friendly web browser, and also provides themes and plug-ins for users. Nevertheless, such many extensions are designed to make it easier for users to optimize the relevant work of search engines, and these extensions are designed to use Web technology as Java, CSS, and HTML. Google adds an admirable security feature for every user. FIREFOX. Contains many advanced functions including incremental lookup, private browsing, spell checking, smart bookmarking, tag browsing, etc. It implements many Web standards such as the subsets HTML and XML under the standard universal markup language, XHTML, SVG 1.1 (partial), CSS (in addition to the standard, there is extended support), ecmascript (javascript), DOM, MathML, DTD, XSLT, XPath, and PNG image files (including transparency support). The browser Firefox is truly user-friendly and easy to install, even though they may help those users who want to use it in search engine optimization. SAFAR. Designed by Cupertino, apple, a U.S. multinational technology corporation. The Mac OS X Panther was first introduced by Safari in 2003 and its excellent performance gained global goodness. The apple company's own kernel is also the kernel used by apple's Safari browser. The method uses a Webkit engine, comprises a Webcore typesetting engine and a JavaScript core analysis engine, which are derived from KHTML and KJS engines of KDE, are free software, authorize under GPL treaty, and simultaneously support the development of a BSD system. Webkit opens source code at the same time, and is not limited by IE and Firefox in the aspect of safety, so the Safari browser is very safe. Safari believes to be the best networking software for Mac system users because it can achieve an admirable result or a better internet experience. IE (Internet Explorer). Internet Explorer is a web browser from microsoft corporation. The Internet Explorer technology is closed and supports only a few CSS, HTML, and DOM features (and many implementations are problematic). Not only do the competitors Firefox and Opera lead Internet Explorer in this respect, they also have native XHTML support. As such, Internet Explorer has always failed the Acid2 test to verify the degree of CSS standard support. Another significant drawback of Internet Explorer arises from the PNG format, and this problem is only solved in Internet Explorer 7. However, Internet Explorer 7 will suffer a significant degradation in performance when accessing web pages containing transparent PNGs. Internet Explorer is suitable for all systems using the Windows operating system. Opera. One of the "Opera" by Opera software corporation is the fifth of the ten best web browsers in the world in recent years. Its functions include internet external member, powerful encryption, security, internet external member etc. The European and Peng browser supports intelligent pre-reading, intelligent zooming and gesture operation, is additionally provided with a fashionable and personalized interface design, and supports the whole-network browsing of WAP (wireless application protocol) and WWW (world Wide Web) sites of the mobile phone. Meanwhile, the mobile internet browsing reminding device has a built-in browsing reminding function and provides mobile internet experience for users.
A user can select to store or upload videos of interest after obtaining the videos at a browser end, browser video uploading in the prior art is generally performed by directly downloading the videos by the browser and then storing a cover page, compatibility differences caused by the non-standardization problem of the browser are not considered, and downloaded video data are leaked or tampered due to the fact that different browsers can cause various forms of security attacks. Meanwhile, due to the adoption of a third-party browser, user data at a system end cannot be strictly kept secret, and user information is leaked to a certain degree. An attacker can attack the widely used browser by only acquiring the version of the non-standardized browser and adopting plug-in or malicious code injection and other modes, so that the probability that the browser is attacked by various types of attacks is greatly increased. Furthermore, in the process of uploading the video frames, since the video frames are not intercepted or only simply intercepted, the intercepted information is not reasonably utilized, and the verification of uploading the video frames of the browser cannot be realized based on the intercepted information in combination with other comparison information.
The invention provides a method and a system for intercepting a browser video uploading frame. By using the standardized second browser instead of directly executing video interception and video uploading in the first browser, network security risk isolation is realized, and video tampering caused by direct injection attack on a plug-in or malicious code of the first browser is avoided. Meanwhile, based on video frame interception, the invention combines three information of data pair parameter transmission, semi-public information transmission and video uploading frame interception information transmission, thereby avoiding the hidden danger of network security attack and data tampering caused by single channel video frame interception and uploading, and ensuring higher system security and user data leakage prevention performance in the browser video frame uploading process.
Disclosure of Invention
The invention aims to provide a browser video uploading frame intercepting system and method which are superior to those in the prior art.
In order to achieve the purpose, the technical scheme of the invention is as follows:
a browser video upload frame truncation system, the system comprising:
the first browser is used for receiving a first editable video sent by a far-end video server, and the first editable video can be played in the first browser but cannot be edited in the first browser;
the first browser is further used for receiving a user instruction, transmitting the first editable video to a second browser when the instruction is interpreted as video transfer based on instruction interpretation of an instruction interpreter;
a second browser to receive the first editable video and edit the first editable video using a first specific application;
the editing the first editable video using a first particular application includes at least:
performing region segmentation on each frame of the first editable video, and averagely dividing each frame into L regions, wherein L is the total frame number of the first editable video;
determining a first random number M1 using a first random number determiner, wherein the first random number M1 is an integer greater than 0 and equal to or less than L/2;
determining a second random number M2 using a second random number determiner, wherein the second random number M2 is an integer greater than L/2 and less than or equal to L;
intercepting an M1 th frame in the first editable video;
intercepting an M2 th frame in the first editable video;
intercepting an M2 region of an M1 th frame in the first editable video;
intercepting an M1 region of an M2 th frame in the first editable video;
combining the intercepted M2 th area of the M1 th frame in the first editable video and the M1 th area of the M2 th frame in the first editable video into video uploading frame intercepting information, and sending the video uploading frame intercepting information to an uploading server and a comparison module;
the second browser is further used for sending a first editable video from the semi-public channel to the uploading server;
the video uploading frame verification module is used for combining data pairs < D1, D2> based on the intercepted information and sending the data pairs < D1, D2> to an uploading server;
an upload server for receiving a first editable video from a semi-public channel;
the uploading server also generates video uploading frame intercepting comparison information based on the data pair < D1, D2> and the first editable video received from the semi-public channel; intercepting comparison information of the video uploading frame, sending the comparison information to a comparison module, and placing the first editable video into a to-be-determined storage area;
the comparison module is used for receiving video uploading frame intercepting comparison information sent by the uploading server and video uploading frame intercepting information sent by the second browser and executing video data comparison;
when the video uploading frame interception comparison information is consistent with the video uploading frame interception information, judging that the first editable video received from the semi-public channel is credible, and placing the first editable video into a special network disk partition of a user from a pending storage area;
and when the video uploading frame interception comparison information is inconsistent with the video uploading frame interception information, judging that the first editable video received from the semi-public channel is not credible, and starting an unreliable information feedback mechanism.
Preferably, the first editable video is editable only by the first specific application.
Preferably, the first application-specific edit is embedded in a second browser.
Preferably, in the data pair < D1, D2>, D1 is equal to M1, and D2 is equal to M2.
Preferably, in the data pair < D1, D2>, D1 has a specific function mapping relation P1 with M1, and D2 has a specific function mapping relation P2 with M2.
Meanwhile, the application also claims a method for intercepting the browser video uploading frame, which comprises the following steps:
the method comprises the following steps: operating a first browser to receive a first editable video sent by a remote video server, wherein the first editable video can be played in the first browser but cannot be edited in the first browser;
step two: operating a first browser to receive a user instruction, and based on instruction interpretation of an instruction interpreter, sending the first editable video to a second browser when the instruction interpretation is video transfer;
step three: operating a second browser to receive the first editable video and edit the first editable video using a first specific application;
the editing the first editable video using a first particular application includes at least:
performing region segmentation on each frame of the first editable video, and averagely dividing each frame into L regions, wherein L is the total frame number of the first editable video;
step four: determining a first random number M1 using a first random number determiner, wherein the first random number M1 is an integer greater than 0 and equal to or less than L/2;
step five: determining a second random number M2 using a second random number determiner, wherein the second random number M2 is an integer greater than L/2 and less than or equal to L;
step six: intercepting: operative to intercept an M1 th frame in the first editable video; intercepting an M2 th frame in the first editable video; intercepting an M2 region of an M1 th frame in the first editable video; intercepting an M1 region of an M2 th frame in the first editable video; combining the intercepted M2 th area of the M1 th frame in the first editable video and the M1 th area of the M2 th frame in the first editable video into video uploading frame intercepting information, and sending the video uploading frame intercepting information to an uploading server and a comparison module;
step seven: operating a second browser to send a first editable video from the semi-public channel to an upload server;
step eight: operating a video upload frame verification module to send a data pair < D1, D2> to an upload server based on intercepting an information combination data pair < D1, D2 >;
step nine: operating an upload server to receive a first editable video from the semi-public channel; generating video upload frame capture comparison information based on the data pair < D1, D2> and the first editable video received from the semi-public channel; intercepting comparison information of the video uploading frame, sending the intercepted comparison information to a comparison module, and placing the first editable video into a pending storage area;
step ten: the operation comparison module receives video uploading frame intercepting comparison information sent by the uploading server and video uploading frame intercepting information sent by the second browser, and performs video data comparison;
when the video uploading frame interception comparison information is consistent with the video uploading frame interception information, judging that the first editable video received from the semi-public channel is credible, and placing the first editable video into a special network disk partition of a user from a pending storage area;
and when the video uploading frame interception comparison information is inconsistent with the video uploading frame interception information, judging that the first editable video received from the semi-public channel is not credible, and starting an unreliable information feedback mechanism.
Preferably, the first editable video is editable only by the first specific application.
Preferably, the first application-specific edit is embedded in a second browser.
Preferably, in the data pair < D1, D2>, D1 is equal to M1, and D2 is equal to M2.
Preferably, in the data pair < D1, D2>, D1 and M1 have a specific function mapping relation P1, and D2 and M2 have a specific function mapping relation P2.
The invention provides a method and a system for intercepting uploaded frames of a browser video. By using the standardized second browser instead of directly executing video interception and video uploading in the first browser, network security risk isolation is realized, and video tampering caused by direct injection attack on a plug-in or malicious code of the first browser is avoided. Meanwhile, based on video frame interception, the invention combines three information of data pair parameter transmission, semi-public information transmission and video uploading frame interception information transmission, thereby avoiding the hidden danger of network security attack and data tampering caused by single channel video frame interception and uploading, and ensuring higher system security and user data leakage prevention performance in the browser video frame uploading process.
Drawings
FIG. 1 is a basic system architecture diagram of a browser video upload frame capture system shown in the present invention;
FIG. 2 is a diagram of a basic system structure of a second browser and specific modules in the browser video upload frame capture system according to the present invention;
fig. 3 is a basic system structure diagram of an upload server storage area in the browser video upload frame capture system according to the present invention;
FIG. 4 is a flowchart of a preferred embodiment of a method for intercepting a browser video upload frame according to the present invention;
fig. 5 is a schematic diagram of a preferred display embodiment of the step of sending the first editable video and data pair by the browser video upload frame capture method according to the present invention.
Detailed Description
The following describes several embodiments and benefits of a browser video upload frame capture system as claimed herein in order to facilitate a more detailed review and decomposition of the present invention.
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that although the terms first, second, etc. may be used in embodiments of the invention to describe methods and corresponding apparatus, these keywords should not be limited to these terms. These terms are only used to distinguish keywords from each other. For example, the first browser, the first editable video, etc. may also be referred to as the second browser, the second editable video, and similarly, the second browser, the second editable video, etc. may also be referred to as the first browser, the first editable video, without departing from the scope of the embodiments of the invention.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (a stated condition or event)" may be interpreted as "upon determining" or "in response to determining" or "upon detecting (a stated condition or event)" or "in response to detecting (a stated condition or event)", depending on the context.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an embodiment of a system for intercepting a browser video upload frame, according to the present invention, the system includes:
the first browser is used for receiving a first editable video sent by a far-end video server, and the first editable video can be played in the first browser but cannot be edited in the first browser;
the first browser is further used for receiving a user instruction, and sending the first editable video to a second browser when the instruction is interpreted as video reprinting based on instruction interpretation of an instruction interpreter;
fig. 2 is a basic system structure diagram of a second browser and a specific module in the video upload frame capture system of a browser claimed in the present invention.
A second browser to receive the first editable video and edit the first editable video using a first specific application;
as an embodiment that can be superimposed, the first specific application is an application that can edit a first editable video, the first specific application can unlock an edit lock bit for all videos of the same type of the first editable video, and the edit lock bit is an edit lock that is locked in a video encoding process of the first editable video and all videos of the same type and is only locked by the first specific application, so as to unlock an editing right of the videos of the same type of the first editable video after unlocking.
The editing the first editable video using a first particular application includes at least:
performing region segmentation on each frame of the first editable video, and averagely dividing each frame into L regions, wherein L is the total frame number of the first editable video;
determining a first random number M1 using a first random number determiner, wherein the first random number M1 is an integer greater than 0 and equal to or less than L/2;
determining a second random number M2 using a second random number determiner, wherein the second random number M2 is an integer greater than L/2 and less than or equal to L;
intercepting an M1 th frame in the first editable video;
intercepting an M2 th frame in the first editable video;
intercepting an M2 region of an M1 th frame in the first editable video;
intercepting an M1 region of an M2 th frame in the first editable video;
combining the intercepted M2 th area of the M1 th frame in the first editable video and the M1 th area of the M2 th frame in the first editable video into video uploading frame intercepting information, and sending the video uploading frame intercepting information to an uploading server and a comparison module;
the second browser is further used for sending a first editable video to the uploading server from the semi-public channel;
the video uploading frame verification module combines the data pair < D1, D2> based on the intercepted information, and sends the data pair < D1, D2> to the uploading server;
an upload server for receiving a first editable video from a semi-public channel;
the uploading server is also used for generating video uploading frame intercepting comparison information based on the data pair < D1, D2> and the first editable video received from the semi-public channel; intercepting comparison information of the video uploading frame, sending the intercepted comparison information to a comparison module, and placing the first editable video into a pending storage area;
as an embodiment that can be superimposed, the upload server generates video upload frame capture comparison information based on the data pair < D1, D2> and the first editable video received by the public channel, and includes at least: in the data pair < D1, D2>, D1 and M1 have a specific function mapping relationship P1, D2 and M2 have a specific function mapping relationship P2, and the function mapping relationships P1 and P2 are also known by the upload server and the second browser in the system initialization process and are synchronized in real time subsequently. As another stackable embodiment, in the data pair < D1, D2>, D1 equals M1 and D2 equals M2. The uploading server acquires values of M1 and M2 from the data pair < D1, D2> based on the function mapping relations P1 and P2, and intercepts an M1 th frame in a first editable video based on the values of M1 and M2 and the first editable video received from the semi-public channel; intercepting an M2 th frame in the first editable video; intercepting an M2 region of an M1 th frame in the first editable video; intercepting an M1 region of an M2 th frame in the first editable video; combining the M2 region of the M1 th frame in the intercepted first editable video and the M1 region of the M2 th frame in the first editable video into video upload frame interception comparison information. The semi-public channel is a channel that contains only simple encryption techniques, such as symmetric encryption.
The comparison module is used for receiving video uploading frame interception comparison information sent by the uploading server and video uploading frame interception information sent by the second browser and executing video data comparison;
description fig. 3 is a diagram of a basic system structure of an upload server storage area in a browser video upload frame capture system as claimed in the present invention.
When the video uploading frame interception comparison information is consistent with the video uploading frame interception information, judging that the first editable video received from the semi-public channel is credible, and placing the first editable video into a user special network disk partition from a to-be-determined storage area;
as another stackable embodiment, when the video upload frame capture comparison information is inconsistent with the video upload frame capture information, it is determined that the first editable video received from the semi-public channel is untrusted, and an untrusted information feedback mechanism is started, where the untrusted information feedback mechanism may be: and sending an untrusted alarm to the second browser, and popping up the untrusted alarm prompt in the second browser in a plug-in or popup mode.
And when the video uploading frame interception comparison information is inconsistent with the video uploading frame interception information, judging that the first editable video received from the semi-public channel is not credible, and starting an unreliable information feedback mechanism.
As another overlappable embodiment, the first editable video may only be edited by the first specific application.
As another stackable embodiment, the first application-specific edit is embedded in the second browser.
As another stackable embodiment, in the data pair < D1, D2>, D1 equals M1 and D2 equals M2.
As another stackable embodiment, in the data pair < D1, D2>, D1 has a specific function mapping relationship P1 with M1, and D2 has a specific function mapping relationship P2 with M2.
4-5, fig. 4-5 are schematic diagrams of preferred display embodiments of the browser video upload frame capture method and specific steps thereof claimed by the present invention, the method comprises the following steps:
step S102: operating a first browser to receive a first editable video sent by a remote video server, wherein the first editable video can be played in the first browser but cannot be edited in the first browser;
step S104: operating a first browser to receive a user instruction, and based on instruction interpretation of an instruction interpreter, sending the first editable video to a second browser when the instruction interpretation is video transfer;
step S106: operating a second browser to receive the first editable video and edit the first editable video using a first specific application;
as an embodiment that can be superimposed, the first specific application is an application that can edit a first editable video, the first specific application can unlock an edit lock bit for all videos of the same type of the first editable video, and the edit lock bit is an edit lock that is locked in a video encoding process of the first editable video and all videos of the same type and is only locked by the first specific application, so as to unlock an editing right of the videos of the same type of the first editable video after unlocking.
The editing the first editable video using a first particular application includes at least:
performing region segmentation on each frame of the first editable video, and averagely dividing each frame into L regions, wherein L is the total frame number of the first editable video;
step S108: determining a first random number M1 using a first random number determiner, wherein the first random number M1 is an integer greater than 0 and equal to or less than L/2;
step S110: determining a second random number M2 using a second random number determiner, wherein the second random number M2 is an integer greater than L/2 and less than or equal to L;
step S112: intercepting: operative to intercept an M1 th frame in the first editable video; intercepting an M2 th frame in the first editable video; intercepting an M2 region of an M1 th frame in the first editable video; intercepting an M1 region of an M2 th frame in the first editable video; combining the intercepted M2 th area of the M1 th frame in the first editable video and the M1 th area of the M2 th frame in the first editable video into video uploading frame intercepting information, and sending the video uploading frame intercepting information to an uploading server and a comparison module;
step S114: operating a second browser to send a first editable video from the semi-public channel to an upload server;
step S116: operating a video upload frame verification module to send a data pair < D1, D2> to an upload server based on intercepting an information combination data pair < D1, D2 >;
step S118: operating an upload server to receive a first editable video from the semi-public channel; generating video upload frame capture comparison information based on the data pair < D1, D2> and the first editable video received from the semi-public channel; intercepting comparison information of the video uploading frame, sending the intercepted comparison information to a comparison module, and placing the first editable video into a pending storage area;
as an overlappable embodiment, the upload server generates video upload frame capture comparison information based on the data pair < D1, D2> and the first editable video received by the public channel, and at least includes: in the data pair < D1, D2>, D1 and M1 have a specific function mapping relationship P1, D2 and M2 have a specific function mapping relationship P2, and the function mapping relationships P1 and P2 are also known by the upload server and the second browser in the system initialization process and are subsequently synchronized in real time. As another stackable embodiment, in the data pair < D1, D2>, D1 equals M1 and D2 equals M2. The uploading server acquires values of M1 and M2 from the data pair < D1, D2> based on function mapping relations P1 and P2, and intercepts an M1 th frame in a first editable video received from a semi-public channel based on the values of M1 and M2; intercepting an M2 th frame in the first editable video; intercepting an M2 region of an M1 th frame in the first editable video; intercepting an M1 region of an M2 th frame in the first editable video; combining the M2 region of the M1 th frame in the intercepted first editable video and the M1 region of the M2 th frame in the first editable video into video uploading frame interception comparison information. The semi-public channel is a channel that contains only simple encryption techniques, such as symmetric encryption.
Step S120: the operation comparison module receives video uploading frame intercepting comparison information sent by the uploading server and video uploading frame intercepting information sent by the second browser, and performs video data comparison;
when the video uploading frame interception comparison information is consistent with the video uploading frame interception information, judging that the first editable video received from the semi-public channel is credible, and placing the first editable video into a special network disk partition of a user from a pending storage area;
and when the video uploading frame interception comparison information is inconsistent with the video uploading frame interception information, judging that the first editable video received from the semi-public channel is not credible, and starting an unreliable information feedback mechanism.
As another stackable embodiment, when the video upload frame capture comparison information is inconsistent with the video upload frame capture information, it is determined that the first editable video received from the semi-public channel is untrusted, and an untrusted information feedback mechanism is started, where the untrusted information feedback mechanism may be: and sending an untrusted alarm to the second browser, and popping up the untrusted alarm prompt in the second browser in a plug-in or popup mode.
As another overlappable embodiment, the first editable video may only be edited by the first specific application.
As another stackable embodiment, the first application-specific edit is embedded in the second browser.
As another stackable embodiment, in the data pair < D1, D2>, D1 equals M1 and D2 equals M2.
As another stackable embodiment, in the data pair < D1, D2>, D1 has a specific function mapping relationship P1 with M1, and D2 has a specific function mapping relationship P2 with M2.
The invention provides a method and a system for intercepting uploaded frames of a browser video. By using the standardized second browser instead of directly executing video interception and video uploading in the first browser, network security risk isolation is realized, and video tampering caused by direct injection attack on a plug-in or malicious code of the first browser is avoided. Meanwhile, based on video frame interception, the invention combines three information of data pair parameter transmission, semi-public information transmission and video uploading frame interception information transmission, thereby avoiding the hidden danger of network security attack and data tampering caused by single channel video frame interception and uploading, and ensuring higher system security and user data leakage prevention performance in the browser video frame uploading process.
In all the above embodiments, in order to meet the requirements of some special data transmission and read/write functions, the above method and its corresponding devices may add devices, modules, devices, hardware, pin connections or memory and processor differences to expand the functions during the operation process.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the above-described method, apparatus and unit may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the method steps into only one logical or functional division may be implemented in practice in another manner, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as steps of the method and device separation components may or may not be logically or physically separate, or may not be physical units, and may be located in one position, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, the method steps, the implementation thereof, and the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above-described method and apparatus may be implemented as an integrated unit in the form of a software functional unit, which may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), an NVRAM, a magnetic disk, or an optical disk, and various media capable of storing program codes.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
It should be noted that: the above embodiments are only used to explain and illustrate the technical solution of the present invention more clearly, and not to limit the same; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A browser video upload frame truncation system, the system comprising:
the first browser is used for receiving a first editable video sent by a far-end video server, and the first editable video can be played in the first browser but cannot be edited in the first browser;
the first browser is further used for receiving a user instruction, transmitting the first editable video to a second browser when the instruction is interpreted as video transfer based on instruction interpretation of an instruction interpreter;
a second browser for receiving the first editable video and editing the first editable video using a first specific application;
the editing the first editable video using a first particular application includes at least:
performing region segmentation on each frame of the first editable video, and averagely dividing each frame into L regions, wherein L is the total frame number of the first editable video;
determining a first random number M1 using a first random number determiner, wherein the first random number M1 is an integer greater than 0 and equal to or less than L/2;
determining a second random number M2 using a second random number determiner, wherein the second random number M2 is an integer greater than L/2 and less than or equal to L;
intercepting an M1 th frame in the first editable video;
intercepting an M2 th frame in the first editable video;
intercepting an M2 region of an M1 th frame in the first editable video;
intercepting an M1 region of an M2 th frame in the first editable video;
combining the intercepted M2 th area of the M1 th frame in the first editable video and the M1 th area of the M2 th frame in the first editable video into video uploading frame intercepting information, and sending the video uploading frame intercepting information to an uploading server and a comparison module;
the second browser is further used for sending a first editable video to the uploading server from the semi-public channel;
the video uploading frame verification module is used for combining data pairs < D1, D2> based on the intercepted information and sending the data pairs < D1, D2> to an uploading server;
an upload server for receiving a first editable video from a semi-public channel;
the uploading server is also used for generating video uploading frame intercepting comparison information based on the data pair < D1, D2> and the first editable video received from the semi-public channel; intercepting comparison information of the video uploading frame, sending the comparison information to a comparison module, and placing the first editable video into a to-be-determined storage area;
the comparison module is used for receiving video uploading frame intercepting comparison information sent by the uploading server and video uploading frame intercepting information sent by the second browser and executing video data comparison;
when the video uploading frame interception comparison information is consistent with the video uploading frame interception information, judging that the first editable video received from the semi-public channel is credible, and placing the first editable video into a special network disk partition of a user from a pending storage area;
and when the video uploading frame interception comparison information is inconsistent with the video uploading frame interception information, judging that the first editable video received from the semi-public channel is not credible, and starting an unreliable information feedback mechanism.
2. The browser video upload frame grabber system of claim 1, wherein said first editable video is editable only by a first specific application.
3. The browser video upload frame grabber system of claim 2, wherein said first specific application is embedded in a second browser.
4. The browser video upload frame grabber system of claim 1, wherein:
in the data pair < D1, D2>, D1 equals M1, and D2 equals M2.
5. The browser video upload frame grabber system of claim 1, wherein:
in the data pair < D1, D2>, D1 has a specific function mapping relation P1 with M1, and D2 has a specific function mapping relation P2 with M2.
6. A browser video uploading frame intercepting method comprises the following steps:
the method comprises the following steps: operating a first browser to receive a first editable video sent by a remote video server, wherein the first editable video can be played in the first browser but cannot be edited in the first browser;
step two: operating a first browser to receive a user instruction, and based on instruction interpretation of an instruction interpreter, sending the first editable video to a second browser when the instruction interpretation is video transfer;
step three: operating a second browser to receive the first editable video and edit the first editable video using a first specific application;
the editing the first editable video using a first particular application includes at least:
performing region segmentation on each frame of the first editable video, and averagely dividing each frame into L regions, wherein L is the total frame number of the first editable video;
step four: determining a first random number M1 using a first random number determiner, wherein the first random number M1 is an integer greater than 0 and equal to or less than L/2;
step five: determining a second random number M2 using a second random number determiner, wherein the second random number M2 is an integer greater than L/2 and less than or equal to L;
step six: intercepting: operative to intercept an M1 th frame in the first editable video; intercepting an M2 th frame in the first editable video; intercepting an M2 region of an M1 th frame in the first editable video; intercepting an M1 region of an M2 th frame in the first editable video; combining the intercepted M2 th area of the M1 th frame in the first editable video and the M1 th area of the M2 th frame in the first editable video into video uploading frame intercepting information, and sending the video uploading frame intercepting information to an uploading server and a comparison module;
step seven: operating a second browser to send a first editable video from the semi-public channel to an upload server;
step eight: operating a video upload frame verification module to send a data pair < D1, D2> to an upload server based on intercepting an information combination data pair < D1, D2 >;
step nine: operating an upload server to receive a first editable video from the semi-public channel; generating video upload frame capture comparison information based on the data pair < D1, D2> and the first editable video received from the semi-public channel; intercepting comparison information of the video uploading frame, sending the intercepted comparison information to a comparison module, and placing the first editable video into a pending storage area;
step ten: the operation comparison module receives video uploading frame intercepting comparison information sent by the uploading server and video uploading frame intercepting information sent by the second browser, and performs video data comparison;
when the video uploading frame interception comparison information is consistent with the video uploading frame interception information, judging that the first editable video received from the semi-public channel is credible, and placing the first editable video into a special network disk partition of a user from a pending storage area;
and when the video uploading frame interception comparison information is inconsistent with the video uploading frame interception information, judging that the first editable video received from the semi-public channel is not credible, and starting an unreliable information feedback mechanism.
7. The browser video upload frame grabber method of claim 6, wherein said first editable video is editable only by a first specific application.
8. The browser video upload frame grabber method of claim 7, wherein said first application specific edit is embedded in a second browser.
9. The method for intercepting the video upload frame of the browser according to claim 6, wherein:
in the data pair < D1, D2>, D1 equals M1, and D2 equals M2.
10. The method for intercepting the browser video upload frame as recited in claim 6, wherein:
in the data pair < D1, D2>, D1 has a specific function mapping relation P1 with M1, and D2 has a specific function mapping relation P2 with M2.
CN202210687827.9A 2022-06-17 2022-06-17 System and method for intercepting video uploading frame of browser Active CN115098872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210687827.9A CN115098872B (en) 2022-06-17 2022-06-17 System and method for intercepting video uploading frame of browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210687827.9A CN115098872B (en) 2022-06-17 2022-06-17 System and method for intercepting video uploading frame of browser

Publications (2)

Publication Number Publication Date
CN115098872A true CN115098872A (en) 2022-09-23
CN115098872B CN115098872B (en) 2023-03-10

Family

ID=83290965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210687827.9A Active CN115098872B (en) 2022-06-17 2022-06-17 System and method for intercepting video uploading frame of browser

Country Status (1)

Country Link
CN (1) CN115098872B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117528154A (en) * 2024-01-04 2024-02-06 湖南快乐阳光互动娱乐传媒有限公司 Video delivery method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080244740A1 (en) * 2007-03-06 2008-10-02 Wetpaint.Com, Inc. Browser-independent editing of content
US20200195982A1 (en) * 2017-04-28 2020-06-18 Blackbird Plc Methods, systems, processor and computer code for providing video clips
CN112422508A (en) * 2020-10-19 2021-02-26 武汉烽火众智数字技术有限责任公司 Method and system for playing video in browser webpage
CN113497967A (en) * 2021-05-26 2021-10-12 浙江大华技术股份有限公司 Video frame switching method and device based on browser and storage medium
US20210358524A1 (en) * 2020-05-14 2021-11-18 Shanghai Bilibili Technology Co., Ltd. Method and device of editing a video

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080244740A1 (en) * 2007-03-06 2008-10-02 Wetpaint.Com, Inc. Browser-independent editing of content
US20200195982A1 (en) * 2017-04-28 2020-06-18 Blackbird Plc Methods, systems, processor and computer code for providing video clips
US20210358524A1 (en) * 2020-05-14 2021-11-18 Shanghai Bilibili Technology Co., Ltd. Method and device of editing a video
CN112422508A (en) * 2020-10-19 2021-02-26 武汉烽火众智数字技术有限责任公司 Method and system for playing video in browser webpage
CN113497967A (en) * 2021-05-26 2021-10-12 浙江大华技术股份有限公司 Video frame switching method and device based on browser and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117528154A (en) * 2024-01-04 2024-02-06 湖南快乐阳光互动娱乐传媒有限公司 Video delivery method and device, electronic equipment and storage medium
CN117528154B (en) * 2024-01-04 2024-03-29 湖南快乐阳光互动娱乐传媒有限公司 Video delivery method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN115098872B (en) 2023-03-10

Similar Documents

Publication Publication Date Title
US11704384B2 (en) Secure document sharing
TWI461937B (en) Method and system to selectively secure the display of advertisements on web browsers
US10614249B2 (en) Sanitization of content displayed by web-based applications
US8181107B2 (en) Content adaptation
US9805009B2 (en) Method and device for cascading style sheet (CSS) selector matching
CN104185845B (en) For the system and method for the binary representation for providing webpage
US8769050B2 (en) Serving font files in varying formats based on user agent type
US8543869B2 (en) Method and system for reconstructing error response messages under web application environment
US10992646B2 (en) Data transmission method and data transmission apparatus
CN113382083B (en) Webpage screenshot method and device
CN115098872B (en) System and method for intercepting video uploading frame of browser
WO2023005163A1 (en) Method for loading application page, storage medium and related device thereof
CN112287010B (en) Map service providing method, device, terminal and storage medium based on android system
JP2023541186A (en) Visualization page rendering method, device, equipment and storage medium
KR20230015956A (en) Filter application-specific network data
WO2002044949A9 (en) Minimal identification of features
CN116132175A (en) Event-driven network engine-based remote back door detection method
CN113162887A (en) Browser interaction method, device, server, user terminal and storage medium
CN109218284B (en) XSS vulnerability detection method and device, computer equipment and readable medium
US11847405B1 (en) Encoding hyperlink data in a printed document
CN109523591A (en) Processing method, device, equipment and the storage medium of picture
CN113703780B (en) Decompilation detection and webpage resource data sending method, device, equipment and medium
AU2017204137B2 (en) Data transmission method and data transmission apparatus
CN114154153A (en) Malicious code detection method and device, electronic equipment and storage medium
CN113918862A (en) Web application protection method, system and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant