CN112788270B - Video backtracking method, device, computer equipment and storage medium - Google Patents
Video backtracking method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN112788270B CN112788270B CN202011621806.4A CN202011621806A CN112788270B CN 112788270 B CN112788270 B CN 112788270B CN 202011621806 A CN202011621806 A CN 202011621806A CN 112788270 B CN112788270 B CN 112788270B
- Authority
- CN
- China
- Prior art keywords
- information
- user
- dom node
- screen recording
- client
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/16—Analogue secrecy systems; Analogue subscription systems
- H04N7/173—Analogue secrecy systems; Analogue subscription systems with two-way working, e.g. subscriber sending a programme selection signal
- H04N7/17309—Transmission or handling of upstream communications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/16—Analogue secrecy systems; Analogue subscription systems
- H04N7/173—Analogue secrecy systems; Analogue subscription systems with two-way working, e.g. subscriber sending a programme selection signal
- H04N2007/17381—Analogue secrecy systems; Analogue subscription systems with two-way working, e.g. subscriber sending a programme selection signal the upstream transmission being initiated by the user terminal
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
The embodiment of the invention discloses a video backtracking method, a video backtracking device, computer equipment and a storage medium, wherein the method comprises the steps of controlling a client to record a screen according to a screen recording triggering request so as to obtain DOM node information and a plurality of click events; the client is controlled to perform association compression between the user mark information, the obtained DOM node information and the click event at preset time intervals so as to obtain a compression packet; controlling an asynchronous system to receive the compressed packet forwarded by the data receiving server; and taking all the compressed packets from the asynchronous system at preset time intervals for decompression, and assembling corresponding DOM node information associated with the same user mark information and clicking events according to the sequence of the time stamps to obtain intermediate video data which can be read back. The method and the device for restoring the video recorded by the client comprehensively and quickly through processing the related video data can be applied to scenes such as intelligent government affairs, so that construction of intelligent cities is promoted, and the use experience of users is improved.
Description
Technical Field
The present invention relates to the field of data processing, and in particular, to a video backtracking method, apparatus, computer device, and storage medium.
Background
With the development of scientific technology, video backtracking technology is increasingly widely used. At present, for the definition and the rising of the concept that internet insurance sales behavior can be retrospectively managed, people put forward higher requirements on the process and application of retrospectively recording videos on a screen of a client. Although methods for recording and backtracking screen information of a client exist at present, no method for comprehensively and rapidly generating, transmitting, storing and reproducing video backtracking information after the screen information is recorded without user's noninductivity is provided, and great inconvenience is brought to users.
Disclosure of Invention
The embodiment of the invention provides a video backtracking method, a video backtracking device, computer equipment and a storage medium, which can comprehensively and rapidly restore videos recorded by a client under the condition of not influencing the operation and the use of a user, and greatly improve the use experience of the user.
In a first aspect, an embodiment of the present invention provides a video backtracking method, where the method includes:
if a screen recording trigger request sent by a user is detected, controlling a client to record a screen according to the screen recording trigger request so as to obtain a plurality of DOM node information including time stamps and a plurality of click events; the screen recording triggering request comprises user mark information;
The client is controlled to perform association compression between user mark information in the screen recording triggering request, the obtained DOM node information and the clicking event at preset time intervals to obtain a compression packet, and the compression packet is sent to a data receiving server;
the control asynchronization system receives the compressed packet forwarded by the data receiving server and returns corresponding feedback information to the client to complete data interaction;
and extracting all the compressed packets from the asynchronous system at intervals of preset time to decompress so as to obtain decompressed DOM node information and clicking events, and assembling corresponding DOM node information and clicking events which are associated with the same user mark information according to the sequence of the time stamps so as to obtain intermediate video data which can be read back.
In a second aspect, an embodiment of the present invention further provides a video backtracking apparatus, where the apparatus includes:
the video recording unit is used for controlling the client to record the screen according to the screen recording triggering request if the screen recording triggering request sent by the user is detected so as to obtain a plurality of DOM node information including time stamps and a plurality of click events; the screen recording triggering request comprises user mark information.
The information compression unit is used for controlling the client to perform association compression between user mark information in the screen recording trigger request, the obtained DOM node information and the clicking event at intervals of preset time to obtain a compression packet, and sending the compression packet to the data receiving server.
And the information feedback unit is used for controlling the asynchronous system to receive the compressed packet forwarded by the data receiving server and returning corresponding feedback information to the client so as to complete data interaction.
And the decompression processing unit is used for extracting all the compressed packets from the asynchronous system at intervals of preset time to decompress so as to obtain decompressed DOM node information and click events, and assembling the corresponding DOM node information and click events which are associated with the same user mark information according to the sequence of the time stamps so as to obtain intermediate video data which can be read back.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the method when executing the computer program.
In a fourth aspect, embodiments of the present invention also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements the above method.
The embodiment of the invention provides a video backtracking method, a video backtracking device, computer equipment and a storage medium. Wherein the method comprises the following steps: controlling the client to record the screen according to the detected screen recording triggering request to obtain a plurality of DOM node information including time stamps and a plurality of click events; the client is controlled to perform association compression between user mark information in the screen recording triggering request, the obtained DOM node information and the clicking event at preset time intervals so as to obtain a compression packet; controlling an asynchronous system to receive the compressed packet forwarded by the data receiving server; and taking all the compressed packets from the asynchronous system at preset time intervals for decompression, and assembling corresponding DOM node information associated with the same user mark information and clicking events according to the sequence of the time stamps to obtain intermediate video data which can be read back. The embodiment of the invention can comprehensively and rapidly restore the video recorded by the client through processing the related video data, does not influence the operation of the user on the application program, and can be applied to scenes such as intelligent government affairs, thereby promoting the construction of intelligent cities and improving the use experience of the user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a video backtracking method according to an embodiment of the present invention;
fig. 1a is an application scenario schematic diagram of a video backtracking method according to an embodiment of the present invention;
fig. 2 is a schematic sub-flowchart of a video backtracking method according to an embodiment of the present invention;
fig. 3 is a flowchart of a video backtracking method according to another embodiment of the present invention;
FIG. 4 is a schematic block diagram of a video backtracking apparatus according to an embodiment of the present invention;
fig. 5 is a schematic block diagram of a video recording unit of a video backtracking apparatus according to an embodiment of the present invention;
FIG. 6 is a schematic block diagram of a video backtracking apparatus according to another embodiment of the present invention;
fig. 7 is a schematic diagram of a computer device structure according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification 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.
Referring to fig. 1 and fig. 1a, fig. 1 is a schematic flowchart of a video backtracking method provided in an embodiment of the present application, and fig. 1a is a schematic scene diagram of the video backtracking method in an embodiment of the present application. The video backtracking method is applied to the processing server 10. After detecting a screen recording trigger request sent by a user, the processing server 10 may control the client 20 to record a screen, specifically may control the client 20 to continuously collect DOM node information and click events, compress the collected DOM node information and click events at intervals of a preset time to obtain a compressed packet, decompress the compressed packet transmitted through the data receiving server 30 and the asynchronous system 40 by the processing server 10, and generate intermediate video data according to time assembly and the like. According to the method and the device for processing the video, the video recorded by the client can be comprehensively and rapidly restored through processing of related video data, meanwhile, the operation of a user on an application program is not affected, the method and the device can be applied to scenes such as smart government affairs, so that construction of smart cities is promoted, and the use experience of the user is improved. The individual steps of the video backtracking method will be described in detail below in terms of the processing server 10.
Referring to fig. 1, fig. 1 is a schematic flowchart of a video backtracking method according to an embodiment of the present invention. The method can be operated in terminals such as smart phones (such as Android mobile phones and IOS mobile phones), tablet computers, notebook computers and intelligent devices. As shown in fig. 1, the steps of the method include steps S101 to S104.
Step S101, if a screen recording trigger request sent by a user is detected, controlling a client to record a screen according to the screen recording trigger request so as to obtain a plurality of DOM node information including time stamps and a plurality of click events; the screen recording triggering request comprises user mark information.
In this embodiment, if the processor server detects a screen recording trigger request sent by the user, the processor server may control the client to record a screen according to the screen recording trigger request. Several DOM node information including a time stamp may be obtained during the recording process. Wherein, DOM node means that each component in XML file is a node, DOM node information means information included in DOM node. When a user clicks the client, the cursor moves from one DOM node to the adjacent DOM node to form an event.
For example, when a user logs in the insurance system at the client, that is, the user completes logging in by inputting an account number and a password, a screen recording trigger request is correspondingly generated at the moment, so that all operation traces performed by the user on the client are recorded, and video backtracking is facilitated. Since the recording process is a continuous process, when the DOM node is acquired, the corresponding time stamp needs to be determined at the same time, so that the subsequent correct backtracking can be performed.
Further, as shown in fig. 2, the step S101 includes steps S201 to S202.
Step S201, if a screen recording trigger request sent by a user is detected, the screen recording trigger request is analyzed to obtain user mark information and a screen recording instruction.
After detecting a screen recording trigger request sent by a user, the processing server can analyze the screen recording trigger request, so that user mark information and a corresponding screen recording instruction are obtained. The user identification information can be an account number of the user, and can be other information capable of confirming the identity of the user.
Step S202, the screen recording instruction is sent to the client to control the client to continuously collect DOM node information and clicking events, and the collected DOM node information and clicking events are stored in a temporary storage unit, wherein each DOM node information and each clicking event comprise a time stamp.
The processing server can send the screen recording instruction to the client, and generally, after receiving the screen recording instruction, the client can be controlled to continuously collect DOM node information and click events, so that recording of a screen can be realized in real time. Meanwhile, the processing server also controls the client to store the collected DOM node information and the clicking event into the temporary storage unit. Each DOM node information and each click event comprises a time stamp so as to realize the subsequent backtracking of the video.
Step S102, the control client performs association compression between user mark information in the screen recording trigger request, the obtained DOM node information and the clicking event at intervals of preset time to obtain a compression packet, and sends the compression packet to the data receiving server.
In this embodiment, the processing server may control the client to correlate the user mark information in the screen recording trigger request with the DOM node information in the temporary storage unit and the click event every preset time. After the association is completed, the DOM node information and the click event are compressed to obtain a compressed packet, and the compressed packet is sent to the data receiving server. The compressed DOM node information and the click event can effectively reduce the network transmission load of the client in the transmission process, and the transmission efficiency is improved.
And step S103, if yes, controlling the asynchronous system to receive the compressed packet forwarded by the data receiving server and returning corresponding feedback information to the client so as to complete data interaction.
In this embodiment, the data receiving server needs to forward the compressed packet after receiving the compressed packet, and at this time, the processing server can control the asynchronous system to receive the compressed packet forwarded by the data receiving server, and at the same time, the asynchronous system generates corresponding feedback information after receiving the compressed packet, and sends the feedback information to the client, so as to complete sequential data interaction, thereby effectively reducing the pressure of the whole processing server.
The asynchronous system can be a message middleware for storing the compressed package.
Step S104, all the compressed packets are fetched from the asynchronous system at preset time intervals to be decompressed to obtain decompressed DOM node information and click events, and the corresponding DOM node information and click events which are associated with the same user mark information are assembled according to the sequence of the time stamps to obtain intermediate video data which can be read back.
In this embodiment, the processing server may call out all the compressed packets from the asynchronous system for decompression every preset event, so as to obtain corresponding DOM node information and click events. The processing server can assemble corresponding DOM node information and click events which are associated with the same user mark information according to the sequence of the time stamps, so that intermediate video data is obtained. In general, the data receiving server and the asynchronous system can receive compressed packets from different clients, so that DOM node information and click events associated with the same user identification information are assembled to obtain a video operated by the same user on the client. The data is assembled according to the sequence of the time stamps, i.e. according to the time axis.
Further, the method in this embodiment may further include the steps of:
step S105, uploading the intermediate video data to a blockchain for reading and viewing by a user.
In this embodiment, based on the corresponding intermediate video data obtained after the data processing, the intermediate video data is uploaded to the blockchain to ensure the security and the fair transparency to the user. The user device may download the intermediate video data from the blockchain to verify that the relevant information has been tampered with. The blockchain referred to in this embodiment is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
Further, after the step S102 of the method in this embodiment, the method further includes the following steps:
step S102', controlling the data receiving server to detect whether the received compressed packet is legal and safe according to a preset security check rule.
The processing server may control the data receiving server to detect whether the received compressed packet is legal or not according to a preset security check rule, specifically may detect whether the user flag information of the compressed packet is user flag information in a preset database, if so, it indicates that the received compressed packet is legal, and step S103 may be continued at this time. If not, the compressed packet is not legal, and the compressed packet can be deleted.
Further, the data receiving server includes a preset database, and the preset database includes a plurality of different preset user identification information, so step S102' of the present application may include the following steps:
controlling the data receiving server to acquire the user mark information of the compressed packet;
and controlling the data receiving server to judge whether the user mark information is preset user mark information in a preset database.
The processing server may control the data receiving server to obtain the user flag information of the compressed packet, if the user flag information is preset user flag information in a preset database, it indicates that the compressed packet is legal, step S103 may be continued, and if not, the compressed packet may be deleted.
In summary, the embodiment can comprehensively and rapidly restore the video recorded by the client through processing related video data, does not influence the operation of the user on the application program, and can be applied to scenes such as intelligent government affairs, thereby promoting the construction of intelligent cities and improving the use experience of the user.
Referring to fig. 3, fig. 3 is a schematic flowchart of a video backtracking method according to another embodiment of the present invention. As shown in fig. 3, the steps of the method include steps S301 to S306. The explanation and detailed explanation of the steps similar to steps S101 to S104 in the above embodiment are omitted herein, and the following detailed explanation is added to the steps in this embodiment.
Step S301, if a screen recording trigger request sent by a user is detected, controlling a client to record a screen according to the screen recording trigger request so as to obtain a plurality of DOM node information including time stamps and a plurality of click events; the screen recording triggering request comprises user mark information.
Step S302, the control client performs association compression between user mark information in the screen recording trigger request, the obtained DOM node information and the clicking event at intervals of preset time to obtain a compression packet, and sends the compression packet to the data receiving server.
Step S303, the control asynchronization system receives the compressed packet forwarded by the data receiving server and returns corresponding feedback information to the client to complete data interaction.
Step S304, all the compressed packets are fetched from the asynchronous system at preset time intervals to be decompressed to obtain decompressed DOM node information and clicking events, and the corresponding DOM node information and clicking events which are associated with the same user mark information are assembled according to the sequence of the time stamps to obtain intermediate video data which can be read back.
Step S305, retrieving a preset database and storing the intermediate video data in the preset database for the user to retrieve and view.
In this embodiment, the processing server is further capable of retrieving preset data, and storing the intermediate video data in a preset database, so that a user can retrieve and view the intermediate video data from the database.
In step S306, if the preset database access fails, the intermediate video data is stored in the local NAS volume.
In this embodiment, if the processing server fails to retrieve the preset database, the intermediate video data may be stored in the local NAS volume at this time, so that the user may retrieve the intermediate video data conveniently. The local NAS volume may refer to local storage.
Further, the method in this embodiment may further include the steps of:
step S307, if the screen recording completion request sent by the user is detected, the screen recording completion request is analyzed to obtain completion flag information, user flag information and a screen recording completion instruction.
Step S308, the client is controlled to stop screen recording according to the screen recording completion instruction, and the completion mark information associated with the user mark information is sequentially sent to a preset database through a data receiving server and an asynchronization system.
In this embodiment, if the processing server detects a screen recording completion request sent by the user, the processing server may analyze that the screen recording completion request has obtained completion flag information, user flag information, and a screen recording completion instruction. The completion flag information may flag that the user has completed the operation on the client, and the screen recording is completed. The processing server can control the blank guard short stop screen to record according to the screen recording completion instruction, and sends completion flag information associated with user flag information to the data receiving server, the data receiving server sends the completion flag information to the asynchronous system, and the asynchronous system can send the completion flag information associated with the user flag information to a preset database under the request of the processing server so as to be convenient for a user to read.
Further, the method in this embodiment may further include the steps of:
step S309, if a query request sent by a user is detected, the query request is parsed to obtain target user mark information.
In this embodiment, if the processing server detects a query request sent by a user, the processing server may continue to parse the query request to obtain target user flag information, where the target user flag information has certainty, and can satisfy the current requirement of the user, so as to facilitate viewing of corresponding intermediate video data.
Step S310, according to the target user mark information, all the intermediate video data including DOM node information associated with the target user mark information are called from a preset database to be checked.
In this embodiment, the processing server may retrieve all intermediate video data including DOM node information associated with the target user flag information from the preset database according to the target user flag information, and view the intermediate video data.
In addition, the processing server can also call all the intermediate video data of the click event including the relevant target user mark information from the preset database for viewing, so that the backtracking of the video is realized.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
Referring to fig. 4, in response to the video backtracking method, an embodiment of the present invention further provides a video backtracking device, where the device 100 includes: a video recording unit 101, an information compression unit 102, an information feedback unit 103, and a decompression processing unit 104.
The video recording unit 101 is configured to, if a screen recording trigger request sent by a user is detected, control a client to record a screen according to the screen recording trigger request so as to obtain a plurality of DOM node information including a timestamp and a plurality of click events; the screen recording triggering request comprises user mark information.
In this embodiment, if the processor server detects a screen recording trigger request sent by the user, the processor server may control the client to record a screen according to the screen recording trigger request. Several DOM node information including a time stamp may be obtained during the recording process. Wherein, DOM node means that each component in XML file is a node, DOM node information means information included in DOM node. When a user clicks the client, the cursor moves from one DOM node to the adjacent DOM node to form an event.
Further, as shown in fig. 5, the video recording unit 101 includes a request parsing unit 201 and an information collecting unit 202.
The request parsing unit 201 is configured to parse the screen recording trigger request to obtain user flag information and a screen recording instruction if the screen recording trigger request sent by the user is detected.
After detecting a screen recording trigger request sent by a user, the processing server can analyze the screen recording trigger request, so that user mark information and a corresponding screen recording instruction are obtained. The user identification information can be an account number of the user, and can be other information capable of confirming the identity of the user.
The information collection unit 202 is configured to send the screen recording instruction to the client to control the client to continuously collect DOM node information and click events, and store the collected DOM node information and click events in the temporary storage unit, where each DOM node information and each click event includes a timestamp.
The processing server can send the screen recording instruction to the client, and generally, after receiving the screen recording instruction, the client can be controlled to continuously collect DOM node information and click events, so that recording of a screen can be realized in real time. Meanwhile, the processing server also controls the client to store the collected DOM node information and the clicking event into the temporary storage unit. Each DOM node information and each click event comprises a time stamp so as to realize the subsequent backtracking of the video.
The information compression unit 102 is configured to control the client to perform association compression between user mark information in the screen recording trigger request, the obtained DOM node information, and the click event at intervals of a preset time to obtain a compressed packet, and send the compressed packet to the data receiving server.
In this embodiment, the processing server may control the client to correlate the user mark information in the screen recording trigger request with the DOM node information in the temporary storage unit and the click event every preset time. After the association is completed, the DOM node information and the click event are compressed to obtain a compressed packet, and the compressed packet is sent to the data receiving server. The compressed DOM node information and the click event can effectively reduce the network transmission load of the client in the transmission process, and the transmission efficiency is improved.
The information feedback unit 103 is configured to control the asynchronous system to receive the compressed packet forwarded by the data receiving server, and return corresponding feedback information to the client to complete data interaction.
In this embodiment, the data receiving server needs to forward the compressed packet after receiving the compressed packet, and at this time, the processing server can control the asynchronous system to receive the compressed packet forwarded by the data receiving server, and at the same time, the asynchronous system generates corresponding feedback information after receiving the compressed packet, and sends the feedback information to the client, so as to complete sequential data interaction, thereby effectively reducing the pressure of the whole processing server.
The asynchronous system can be a message middleware for storing the compressed package.
The decompression processing unit 104 is configured to retrieve all the compressed packets from the asynchronous system at intervals of a preset time to decompress the packets, so as to obtain decompressed DOM node information and click events, and assemble corresponding DOM node information and click events associated with the same user mark information according to the sequence of the time stamps, so as to obtain intermediate video data that can be read back.
In this embodiment, the processing server may call out all the compressed packets from the asynchronous system for decompression every preset event, so as to obtain corresponding DOM node information and click events. The processing server can assemble corresponding DOM node information and click events which are associated with the same user mark information according to the sequence of the time stamps, so that intermediate video data is obtained. In general, the data receiving server and the asynchronous system can receive compressed packets from different clients, so that DOM node information and click events associated with the same user identification information are assembled to obtain a video operated by the same user on the client. The data is assembled according to the sequence of the time stamps, i.e. according to the time axis.
Further, the apparatus 100 in this embodiment may further include the following units:
the uplink unit 105 is configured to upload the intermediate video data into a blockchain for reading and viewing by a user.
In this embodiment, based on the corresponding intermediate video data obtained after the data processing, the intermediate video data is uploaded to the blockchain to ensure the security and the fair transparency to the user. The user device may download the intermediate video data from the blockchain to verify that the relevant information has been tampered with. The blockchain referred to in this embodiment is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
Further, the apparatus 100 in this embodiment may further include the following units:
and the detecting unit 102' is used for controlling the data receiving server to detect whether the received compressed packet is legal and safe according to a preset safety check rule.
If it is legal, the information compression unit 102 is executed.
The processing server may control the data receiving server to detect whether the received compressed packet is legal or not according to a preset security check rule, specifically may detect whether the user flag information of the compressed packet is user flag information in a preset database, if so, it indicates that the received compressed packet is legal or not, and at this time, the information feedback unit 103 may continue. If not, the compressed packet is not legal, and the compressed packet can be deleted.
Further, the data receiving server includes a preset database, and the preset database includes a plurality of different preset user mark information, so the detection unit 102' of the present application may include the following units:
the sign acquisition unit is used for controlling the data receiving server to acquire the user sign information of the compressed packet;
and the sign judging unit is used for controlling the data receiving server to judge whether the user sign information is preset user sign information in a preset database.
The processing server may control the data receiving server to obtain the user flag information of the compressed packet, if the user flag information is preset user flag information in a preset database, it indicates that the compressed packet is legal, at this time, the information feedback unit 103 may be continued, and if not, the compressed packet may be deleted. And if the data receiving server is controlled to judge that the user mark information is preset user mark information in a preset database, the data receiving server is indicated to detect the received compression inclusion method safety according to a preset safety check rule.
Referring to fig. 6, another embodiment of the present invention further provides a video backtracking apparatus corresponding to the above another video backtracking method, where the apparatus 300 includes: a video recording unit 301, an information compressing unit 302, an information feedback unit 303, a decompression processing unit 304, a database retrieving unit 305, and a local storage unit 306.
The video recording unit 301 is configured to, if a screen recording trigger request sent by a user is detected, control a client to record a screen according to the screen recording trigger request so as to obtain a plurality of DOM node information including a timestamp and a plurality of click events; the screen recording triggering request comprises user mark information.
The information compression unit 302 is configured to control the client to perform association compression between the user mark information in the screen recording trigger request, the obtained DOM node information, and the click event at intervals of a preset time to obtain a compressed packet, and send the compressed packet to the data receiving server.
The information feedback unit 303 is configured to control the asynchronous system to receive the compressed packet forwarded by the data receiving server, and return corresponding feedback information to the client to complete data interaction.
The decompression processing unit 304 is configured to retrieve all the compressed packets from the asynchronous system at intervals of a preset time to decompress the packets, so as to obtain decompressed DOM node information and click events, and assemble corresponding DOM node information and click events associated with the same user mark information according to the sequence of the time stamps, so as to obtain intermediate video data that can be read back.
The database retrieving unit 305 is configured to retrieve a preset database and store the intermediate video data in the preset database for a user to retrieve and view.
In this embodiment, the processing server is further capable of retrieving preset data, and storing the intermediate video data in a preset database, so that a user can retrieve and view the intermediate video data from the database.
The local storage unit 306 is configured to store the intermediate video data in a local NAS volume if a preset database access fails.
In this embodiment, if the processing server fails to retrieve the preset database, the intermediate video data may be stored in the local NAS volume at this time, so that the user may retrieve the intermediate video data conveniently. The local NAS volume may refer to local storage.
Further, the apparatus 300 in this embodiment may further include the following units:
the request parsing unit 307 is configured to parse the screen recording completion request to obtain completion flag information, user flag information, and a screen recording completion instruction if the screen recording completion request sent by the user is detected.
The instruction processing unit 308 is configured to control the client to stop screen recording according to the screen recording completion instruction, and send completion flag information associated with user flag information to a preset database sequentially through a data receiving server and an asynchronization system.
In this embodiment, if the processing server detects a screen recording completion request sent by the user, the processing server may analyze that the screen recording completion request has obtained completion flag information, user flag information, and a screen recording completion instruction. The completion flag information may flag that the user has completed the operation on the client, and the screen recording is completed. The processing server can control the blank guard short stop screen to record according to the screen recording completion instruction, and sends completion flag information associated with user flag information to the data receiving server, the data receiving server sends the completion flag information to the asynchronous system, and the asynchronous system can send the completion flag information associated with the user flag information to a preset database under the request of the processing server so as to be convenient for a user to read.
Further, the apparatus 300 in this embodiment may further include the following units:
the information query unit 309 is configured to, if a query request sent by a user is detected, parse the query request to obtain target user identifier information.
In this embodiment, if the processing server detects a query request sent by a user, the processing server may continue to parse the query request to obtain target user flag information, where the target user flag information has certainty, and can satisfy the current requirement of the user, so as to facilitate viewing of corresponding intermediate video data.
And the information viewing unit 310 is configured to retrieve all intermediate video data including DOM node information associated with the target user mark information from a preset database according to the target user mark information for viewing.
In this embodiment, the processing server may retrieve all intermediate video data including DOM node information associated with the target user flag information from the preset database according to the target user flag information, and view the intermediate video data.
In addition, the processing server can also call all the intermediate video data of the click event including the relevant target user mark information from the preset database for viewing, so that the backtracking of the video is realized.
It should be noted that, as will be clearly understood by those skilled in the art, the specific implementation process of the video backtracking apparatus 100 and each unit may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, the description is omitted here.
As can be seen from the above, in hardware implementation, the above video recording unit 101, the information compression unit 102, the information feedback unit 103, the decompression processing unit 104, and the like may be embedded in hardware or independent of the video backtracking device, or may be stored in software in a memory of the video backtracking device, so that the processor invokes and executes the operations corresponding to the above units. The processor may be a Central Processing Unit (CPU), microprocessor, single-chip microcomputer, etc.
The video backtracking apparatus described above may be implemented in the form of a computer program which is executable on a computer device as shown in fig. 7.
Fig. 7 is a schematic structural diagram of a computer device according to the present invention. The device may be a server, where the server may be a stand-alone server, or may be a server cluster formed by a plurality of servers.
With reference to FIG. 7, the computer device 400 includes a processor 402, memory, internal memory 404, and a network interface 405 connected by a system bus 401, where the memory may include a non-volatile storage medium 403 and internal memory 404.
The non-volatile storage medium 403 may store an operating system 4031 and a computer program 4032, which when executed, causes the processor 402 to perform a video backtracking method.
The processor 402 is used to provide computing and control capabilities, supporting the operation of the overall computer device 400.
The internal memory 404 provides an environment for the execution of a computer program 4032 in the non-volatile storage medium 403, which computer program 4032, when executed by the processor 402, causes the processor 402 to perform a video backtracking method.
The network interface 405 is used for network communication with other devices. Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of a portion of the architecture in connection with the present application and is not intended to limit the computer device 400 to which the present application is applied, and that a particular computer device 400 may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 402 is configured to execute a computer program 4032 stored in a memory to implement the steps of one of the video backtracking methods in the above embodiments.
It should be appreciated that in embodiments of the present application, the processor 402 may be a central processing unit (Central Processing Unit, CPU), the processor 402 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSPs), application specific integrated circuits (Application Specific Integrated Circuit, ASICs), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that all or part of the flow in a method embodying the above described embodiments may be accomplished by computer programs instructing the relevant hardware. The computer program may be stored in a storage medium that is a computer readable storage medium. The computer program is executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer readable storage medium. The storage medium stores a computer program which, when executed by a processor, causes the processor to perform the steps of a video backtracking method of one of the above embodiments.
The storage medium is a physical, non-transitory storage medium, and may be, for example, a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be combined, divided and deleted according to actual needs. In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The integrated unit may be stored in a storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a terminal, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (9)
1. A video backtracking method, the method comprising:
if a screen recording trigger request sent by a user is detected, controlling a client to record a screen according to the screen recording trigger request so as to obtain a plurality of DOM node information including time stamps and a plurality of click events; the screen recording triggering request comprises user mark information;
the client is controlled to perform association compression between user mark information in the screen recording triggering request, the obtained DOM node information and the clicking event at preset time intervals to obtain a compression packet, and the compression packet is sent to a data receiving server;
controlling the data receiving server to detect whether the received compressed packet is legal and safe according to a preset safety check rule, wherein the preset safety check rule is used for detecting whether user mark information of the compressed packet is user mark information in a preset database;
If the data is legal and safe, controlling the asynchronous system to receive the compressed packet forwarded by the data receiving server and returning corresponding feedback information to the client so as to complete data interaction;
and extracting all the compressed packets from the asynchronous system at intervals of preset time to decompress so as to obtain decompressed DOM node information and clicking events, and assembling corresponding DOM node information and clicking events which are associated with the same user mark information according to the sequence of the time stamps so as to obtain intermediate video data which can be read back.
2. The method of claim 1, wherein the step of controlling the client to record the screen according to the screen triggering request to obtain a plurality of DOM node information including a time stamp and a plurality of click events if the screen triggering request sent by the user is detected comprises:
if a screen recording trigger request sent by a user is detected, analyzing the screen recording trigger request to acquire user mark information and a screen recording instruction;
and sending the screen recording instruction to the client to control the client to continuously collect DOM node information and clicking events, and storing the collected DOM node information and clicking events into a temporary storage unit, wherein each DOM node information and each clicking event comprise a time stamp.
3. The method of claim 1, wherein the method further comprises:
and uploading the intermediate video data to a blockchain for reading and viewing by a user.
4. The method of claim 1, wherein the method further comprises:
calling a preset database and storing the intermediate video data in the preset database for a user to call and view;
and if the preset database access fails, storing the intermediate video data in a local NAS volume.
5. The method of claim 4, wherein the method further comprises:
if a screen recording completion request sent by a user is detected, analyzing the screen recording completion request to obtain completion mark information, user mark information and a screen recording completion instruction;
and controlling the client to stop screen recording according to the screen recording completion instruction, and sequentially transmitting the completion mark information associated with the user mark information to a preset database through a data receiving server and an asynchronization system.
6. The method of claim 4, wherein the method further comprises:
if a query request sent by a user is detected, analyzing the query request to acquire target user mark information;
And according to the target user mark information, all the intermediate video data including DOM node information related to the target user mark information are called from a preset database for viewing.
7. A video backtracking apparatus, the apparatus comprising:
the video recording unit is used for controlling the client to record the screen according to the screen recording triggering request if the screen recording triggering request sent by the user is detected so as to obtain a plurality of DOM node information including time stamps and a plurality of click events; the screen recording triggering request comprises user mark information;
the information compression unit is used for controlling the client to perform association compression between user mark information in the screen recording trigger request, the obtained DOM node information and the click event at intervals of preset time to obtain a compression packet, and sending the compression packet to the data receiving server;
the detection unit is used for controlling the data receiving server to detect whether the received compressed packet is legal or not according to a preset safety check rule, wherein the preset safety check rule is used for detecting whether the user mark information of the compressed packet is user mark information in a preset database or not;
The information feedback unit is used for controlling the asynchronous system to receive the compressed packet forwarded by the data receiving server and returning corresponding feedback information to the client side so as to complete data interaction if the information feedback unit is legal and safe;
and the decompression processing unit is used for extracting all the compressed packets from the asynchronous system at intervals of preset time to decompress so as to obtain decompressed DOM node information and click events, and assembling the corresponding DOM node information and click events which are associated with the same user mark information according to the sequence of the time stamps so as to obtain intermediate video data which can be read back.
8. A computer device, characterized in that it comprises a memory on which a computer program is stored and a processor which, when executing the computer program, implements the method according to any of claims 1-6.
9. A computer readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, causes the processor to perform the method according to any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011621806.4A CN112788270B (en) | 2020-12-31 | 2020-12-31 | Video backtracking method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011621806.4A CN112788270B (en) | 2020-12-31 | 2020-12-31 | Video backtracking method, device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112788270A CN112788270A (en) | 2021-05-11 |
CN112788270B true CN112788270B (en) | 2023-05-12 |
Family
ID=75754282
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011621806.4A Active CN112788270B (en) | 2020-12-31 | 2020-12-31 | Video backtracking method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112788270B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113489766A (en) * | 2021-06-28 | 2021-10-08 | 上海浦东发展银行股份有限公司 | Method, system, device and medium for acquiring client behavior and backtracking video |
CN114398243A (en) * | 2021-12-21 | 2022-04-26 | 广州佰锐网络科技有限公司 | Backtracking method and system about user operation track |
CN114741145A (en) * | 2022-03-24 | 2022-07-12 | 中国农业银行股份有限公司 | Page operation track processing method and device |
CN115460453A (en) * | 2022-09-06 | 2022-12-09 | 中国银行股份有限公司 | Method, device and equipment for recording business process and displaying business process |
CN115472014B (en) * | 2022-09-16 | 2023-10-10 | 苏州映赛智能科技有限公司 | Traffic tracing method, system, server and computer storage medium |
CN116743735A (en) * | 2023-06-20 | 2023-09-12 | 北京好心情互联网医院有限公司 | Backtracking method, device, equipment and storage medium based on video arrangement |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020119271A1 (en) * | 2018-12-13 | 2020-06-18 | 阿里巴巴集团控股有限公司 | Block chain-based screen recording evidence obtaining method, system, and electronic device |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8879890B2 (en) * | 2011-02-21 | 2014-11-04 | Kodak Alaris Inc. | Method for media reliving playback |
US20170220998A1 (en) * | 2012-06-14 | 2017-08-03 | Gregory William Horn | Automated service management system with rule-based, cascading action requests |
CN103841372B (en) * | 2012-11-23 | 2017-10-13 | 中国电信股份有限公司 | Information superposition method and system, central server, ranging administrative unit |
US20170148488A1 (en) * | 2015-11-20 | 2017-05-25 | Mediatek Inc. | Video data processing system and associated method for analyzing and summarizing recorded video data |
CN110046096A (en) * | 2019-03-27 | 2019-07-23 | 北京三快在线科技有限公司 | For handling the method, apparatus and storage medium of client operation exception |
CN110688522A (en) * | 2019-09-25 | 2020-01-14 | 神州数码融信软件有限公司 | Key frame based transaction flow recording method and device |
CN111031333B (en) * | 2019-12-02 | 2022-04-22 | 北京达佳互联信息技术有限公司 | Video processing method, device, system and storage medium |
CN111159474B (en) * | 2020-04-03 | 2020-09-04 | 腾讯科技(深圳)有限公司 | Multi-line evidence obtaining method, device and equipment based on block chain and storage medium |
-
2020
- 2020-12-31 CN CN202011621806.4A patent/CN112788270B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020119271A1 (en) * | 2018-12-13 | 2020-06-18 | 阿里巴巴集团控股有限公司 | Block chain-based screen recording evidence obtaining method, system, and electronic device |
Non-Patent Citations (1)
Title |
---|
凌文剑 ; 赵卫东 ; .基于RFID时间戳的智能视觉监控系统.万方平台.2009,全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN112788270A (en) | 2021-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112788270B (en) | Video backtracking method, device, computer equipment and storage medium | |
CN102638581B (en) | A kind of cookie information storage means and system | |
CN107220142B (en) | Method and device for executing data recovery operation | |
CN111901192B (en) | Statistical method and device for page access data | |
CN112468520B (en) | Data detection method, device and equipment and readable storage medium | |
CN103443781A (en) | Data delivery | |
CN113687974B (en) | Client log processing method and device and computer equipment | |
CN111552633A (en) | Interface abnormal call testing method and device, computer equipment and storage medium | |
CN107480277A (en) | Method and device for web log file collection | |
CN103890734A (en) | Telemetry file hash and conflict detection | |
CN112650755B (en) | Data storage method, method for querying data, database, and readable medium | |
CN114465741B (en) | Abnormality detection method, abnormality detection device, computer equipment and storage medium | |
CN113497723A (en) | Log processing method, log gateway and log processing system | |
US20060149771A1 (en) | Information processing system and communication retry method | |
CN113448817A (en) | Page screen recording method and device and storage medium | |
CN102868909B (en) | MP4 online video caching method and device | |
CN113472542A (en) | Network attack defense method and device based on SM3 algorithm, storage medium, client terminal and service terminal | |
CN113821254A (en) | Interface data processing method, device, storage medium and equipment | |
CN112131085B (en) | Method, system and device for recording and playing back internet business process | |
CN114650236A (en) | Log processing method and device and storage medium | |
CN114979109B (en) | Behavior track detection method, behavior track detection device, computer equipment and storage medium | |
CN115801279A (en) | File secure transmission method and device | |
CN115914578A (en) | Case handling full-process management method and system based on block chain | |
CN112416875B (en) | Log management method, device, computer equipment and storage medium | |
CN116708906A (en) | Web application monitoring method and device, electronic equipment and 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 |