CN115098872B - 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
CN115098872B
CN115098872B CN202210687827.9A CN202210687827A CN115098872B CN 115098872 B CN115098872 B CN 115098872B CN 202210687827 A CN202210687827 A CN 202210687827A CN 115098872 B CN115098872 B CN 115098872B
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.)
Active
Application number
CN202210687827.9A
Other languages
Chinese (zh)
Other versions
CN115098872A (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 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.

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 a mobile terminal, and then uploading and downloading operations are performed on videos or pictures, which is 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, these many extensions are designed to make it easier for the user's search engine to optimize the relevant work, 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 (extended support in addition to the standard), 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. For the first time Safari introduced Mac OS X pantoher in 2003, and its remarkable 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 often select to store or upload an interested video after obtaining the video at a browser end, and in the browser video uploading in the prior art, the user generally directly downloads the browser video and then uploads the downloaded video by storing a cover page, and compatibility difference caused by the non-standardization problem of the browser is not considered, and the downloaded video data is leaked or tampered due to security attacks in various forms possibly caused by different browsers. 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 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 process of uploading the browser video frame.
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 by using a first random number determiner, wherein the first random number M1 is an integer which is greater than 0 and less than or equal to L/2;
determining a second random number M2 by using a second random number determiner, wherein the second random number M2 is an integer which is 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 area of an M1 frame in the first editable video;
intercepting an M1 region of an M2 frame in a 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 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 intercepted comparison information to a comparison module, and placing the first editable video into a pending 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 and M1 have a specific function mapping relationship P1, and D2 and M2 have a specific function mapping relationship P2.
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 by using a first random number determiner, wherein the first random number M1 is an integer which is greater than 0 and less than or equal to L/2;
step five: determining a second random number M2 by using a second random number determiner, wherein the second random number M2 is an integer which is greater than L/2 and less than or equal to L;
step six: intercepting: intercepting an M1 th frame in the first editable video in an operation mode; intercepting an M2 th frame in the first editable video; intercepting an M2 area of an M1 frame in the first editable video; intercepting an M1 region of an M2 frame in a 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 the intercepted 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 a 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 interception comparison information sent by the uploading server and video uploading frame interception 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 relationship P1, and D2 and M2 have a specific function mapping relationship 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 directly caused by 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 to describe the methods and corresponding apparatuses in the embodiments of the present invention, 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 "at … …" or "in response to a determination" or "in response to a detection," depending on context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (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, 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;
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 by the first editable video and all videos of the same type in a video encoding process and is only locked by the first specific application, so as to unlock an edit right of the videos of the same type of the first editable video after being unlocked.
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 by using a first random number determiner, wherein the first random number M1 is an integer which is greater than 0 and less than or equal to L/2;
determining a second random number M2 by using a second random number determiner, wherein the second random number M2 is an integer which is 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 area of an M1 frame in the first editable video;
intercepting an M1 region of an M2 frame in a 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 the data pair < D1, D2> based on the intercepted information and sending 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 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;
as an embodiment that can be superimposed, the upload server generates video upload frame capture comparison information based on a data pair < D1, D2> and a first editable video received by an open 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 is equal to M1 and D2 is equal to M2. The uploading server obtains values of M1 and M2 from the data pair < D1, D2> based on the function mapping relation P1, P2, and intercepts the M1-th frame in the 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 area of an M1 frame in the first editable video; intercepting an M1 region of an M2 frame in a first editable video; and 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 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 intercepting comparison information sent by the uploading server and video uploading frame intercepting 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 special network disk partition of a user from a pending 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 is only editable 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 is equal to M1 and D2 is equal to M2.
As another embodiment that can be superimposed, in the data pair < D1, D2>, D1 and M1 have a specific function mapping P1, and D2 and M2 have a specific function mapping P2.
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 by the first editable video and all videos of the same type in a video encoding process and is only locked by the first specific application, so as to unlock an edit right of the videos of the same type of the first editable video after being unlocked.
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 by using a first random number determiner, wherein the first random number M1 is an integer which is greater than 0 and less than or equal to L/2;
step S110: determining a second random number M2 by using a second random number determiner, wherein the second random number M2 is an integer which is greater than L/2 and less than or equal to L;
step S112: intercepting: intercepting an M1 th frame in the first editable video in an operation mode; intercepting an M2 th frame in the first editable video; intercepting an M2 area of an M1 frame in the first editable video; intercepting an M1 region of an M2 frame in a 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 the intercepted 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 a 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 a data pair < D1, D2> and a first editable video received by a 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 is equal to M1 and D2 is equal to M2. The uploading server acquires values of M1 and M2 from the data pair < D1, D2> based on the function mapping relation P1, 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 area of an M1 frame in the first editable video; intercepting an M1 region of an M2 frame in a first editable video; and 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 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 interception comparison information sent by the uploading server and video uploading frame interception 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 is only editable by the first specific application.
As another superimposable embodiment, said first application-specific editing is embedded in a second browser.
As another stackable embodiment, in the data pair < D1, D2>, D1 is equal to M1 and D2 is equal to M2.
As another embodiment that can be superimposed, in the data pair < D1, D2>, D1 and M1 have a specific function mapping P1, and D2 and M2 have a specific function mapping 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.
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 device may add devices, modules, devices, hardware, pin connections or memory, processor differences to expand the functions during the operation process.
It is clear to those skilled in the art that, for convenience and brevity 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 individual steps of the method, apparatus separation parts may or may not be logically or physically separate, or may not be physical units, and may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, 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 method 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 should not be taken as limiting the scope of the present 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 (8)

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 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 by using a first random number determiner, wherein the first random number M1 is an integer which is greater than 0 and less than or equal to L/2;
determining a second random number M2 by using a second random number determiner, wherein the second random number M2 is an integer which is 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 area of an M1 frame in the first editable video;
intercepting an M1 region of an M2 frame in a 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, a comparison module and a video uploading frame verification 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 the data pair < D1, D2> based on the intercepted information, wherein in the data pair < D1, D2>, the D1 and the M1 have a specific function mapping relation P1, the D2 and the M2 have a specific function mapping relation P2, and the function mapping relations P1 and P2 are known by the uploading server and the second browser together in the system initialization process and are synchronized in real time in the follow-up process; sending the data pair < D1, D2> to an upload 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 intercepted comparison information to a comparison module, and placing the first editable video into a pending 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 user special network disk partition from a to-be-determined 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 is equal to M1 and D2 is equal to M2.
5. 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, interpreting the instruction based on an instruction interpreter, and sending the first editable video to a second browser when the instruction is interpreted as video reprinting;
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 by using a first random number determiner, wherein the first random number M1 is an integer which is greater than 0 and less than or equal to L/2;
step five: determining a second random number M2 by using a second random number determiner, wherein the second random number M2 is an integer which is greater than L/2 and less than or equal to L;
step six: intercepting: intercepting an M1 th frame in the first editable video in an operation mode; intercepting an M2 th frame in the first editable video; intercepting an M2 area of an M1 frame in the first editable video; intercepting an M1 region of an M2 frame in a 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, a comparison module and a video uploading frame verification module;
step seven: operating a second browser to send a first editable video from the semi-public channel to an upload server;
step eight: the video uploading frame verification module is operated to combine data pairs < D1, D2> based on the intercepted information, in the data pairs < D1, D2>, a specific function mapping relation P1 exists between D1 and M1, a specific function mapping relation P2 exists between D2 and M2, the function mapping relations P1 and P2 are known by an uploading server and a second browser in the system initialization process, and the functions are synchronized in real time in the follow-up process; sending the data pair < D1, D2> to an upload server;
step nine: operating an upload server to receive a first editable video from the semi-public channel; generating video upload frame interception comparison information based on the data pair < D1, D2> and a 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 interception comparison information sent by the uploading server and video uploading frame interception 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.
6. The browser video upload frame grabber method of claim 5, wherein said first editable video is editable only by a first specific application.
7. The browser video upload frame grabber method of claim 6, wherein said first application specific edit is embedded in a second browser.
8. The method for intercepting the browser video upload frame as recited in claim 5, wherein:
in the data pair < D1, D2>, D1 is equal to M1 and D2 is equal to 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 CN115098872A (en) 2022-09-23
CN115098872B true 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)

Families Citing this family (1)

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

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113497967A (en) * 2021-05-26 2021-10-12 浙江大华技术股份有限公司 Video frame switching method and device based on browser and storage medium

Family Cites Families (4)

* 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
GB201706848D0 (en) * 2017-04-28 2017-06-14 Forbidden Tech Plc Ftl uk
CN112437342B (en) * 2020-05-14 2022-09-23 上海哔哩哔哩科技有限公司 Video editing method and device
CN112422508A (en) * 2020-10-19 2021-02-26 武汉烽火众智数字技术有限责任公司 Method and system for playing video in browser webpage

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113497967A (en) * 2021-05-26 2021-10-12 浙江大华技术股份有限公司 Video frame switching method and device based on browser and storage medium

Also Published As

Publication number Publication date
CN115098872A (en) 2022-09-23

Similar Documents

Publication Publication Date Title
US11704384B2 (en) Secure document sharing
US9292618B2 (en) Content adaptation
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
US8620995B2 (en) Method, computer program, transcoding server and computer system for modifying a digital document
US20110093565A1 (en) Serving Font Files in Varying Formats Based on User Agent Type
US8910036B1 (en) Web based copy protection
CN107832277A (en) For the system and method for the binary representation for providing webpage
US9838418B1 (en) Detecting malware in mixed content files
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
CN111008348A (en) Anti-crawler method, terminal, server and computer readable storage medium
JP2023541186A (en) Visualization page rendering method, device, equipment and storage medium
WO2023005163A1 (en) Method for loading application page, storage medium and related device thereof
US20020174099A1 (en) Minimal identification
US6857070B1 (en) Data processing method and apparatus, and storage medium capable of being read by a computer
CN114357524B (en) Electronic document processing method and device
US20220253510A1 (en) Web Browser Extension Script Obfuscation System
CN106354489B (en) A kind of EPG engine and page parsing method
CN115048665A (en) Excel file-based information hiding method, device, equipment and storage medium
CN109218284B (en) XSS vulnerability detection method and device, computer equipment and readable medium
CN113162887A (en) Browser interaction method, device, server, user terminal and storage medium
US11847405B1 (en) Encoding hyperlink data in a printed document
CN117389769B (en) Browser-end rich text copying method and system based on cloud service and cloud platform

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