CN117041678A - Video backtracking method, video backtracking device, equipment and storage medium - Google Patents

Video backtracking method, video backtracking device, equipment and storage medium Download PDF

Info

Publication number
CN117041678A
CN117041678A CN202311006447.5A CN202311006447A CN117041678A CN 117041678 A CN117041678 A CN 117041678A CN 202311006447 A CN202311006447 A CN 202311006447A CN 117041678 A CN117041678 A CN 117041678A
Authority
CN
China
Prior art keywords
target
static resource
video
backtracking
behavior data
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.)
Pending
Application number
CN202311006447.5A
Other languages
Chinese (zh)
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.)
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company of China 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 Ping An Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN202311006447.5A priority Critical patent/CN117041678A/en
Publication of CN117041678A publication Critical patent/CN117041678A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/71Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/7867Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title and artist information, manually generated time, location and usage information, user ratings
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the application provides a video backtracking method, a video backtracking device, video backtracking equipment and a storage medium. The method comprises the following steps: receiving a video backtracking request, and acquiring user operation behavior data of a target front-end page corresponding to the video backtracking request and a target static resource address; judging whether the target static resource address is in a target database or not, wherein the target database comprises a plurality of pre-stored initial static resource addresses; when the target static resource address is not in the target database, acquiring a target static resource corresponding to the target static resource address in an asynchronous downloading mode; the method comprises the steps of assembling the target static resources and the user operation behavior data into target videos, and backtracking the target videos.

Description

Video backtracking method, video backtracking device, equipment and storage medium
Technical Field
The present application relates to the technical field of financial science and technology, and in particular, to a video backtracking method, a video backtracking apparatus, a computer device, and a computer readable storage medium.
Background
In the insurance field, retrospective management of internet insurance sales behavior is required. The internet insurance sales behavior can be traced, namely, the insurance mechanism records and stores the transaction behavior of selling insurance products on the self-operating network platform in a sales page management mode, a sales process recording mode and the like, so that the insurance mechanism can be checked. At present, the technical scheme of backtracking of internet insurance sales behavior mainly uses rrweb plug-ins. The rrweb plug-in can record and play back user operation in the web interface, so that retrospective management of the networking insurance sales behavior can be realized.
However, the rrweb plug-in records the static resource address of the page, and the static resource addresses are respectively managed by each front-end system, so that when video backtracking is performed, if the front-end system is in a offline state or the version iterates, the static resource address is easily deleted or the directory is easily changed, and further the video cannot be played back.
Disclosure of Invention
The application provides a video backtracking method, a video backtracking device, computer equipment and a computer readable storage medium, aiming at improving the success rate of videos including insurance sales in the backtracking process.
In order to achieve the above object, the present application provides a video backtracking method, the method comprising:
receiving a video backtracking request, and acquiring user operation behavior data of a target front-end page corresponding to the video backtracking request and a target static resource address;
judging whether the target static resource address is in a target database or not, wherein the target database comprises a plurality of pre-stored initial static resource addresses;
when the target static resource address is not in the target database, acquiring a target static resource corresponding to the target static resource address in an asynchronous downloading mode;
and assembling the target static resource and the user operation behavior data into a target video, and backtracking the target video.
In order to achieve the above object, the present application further provides a video backtracking device, including:
the acquisition module is used for receiving the video backtracking request and acquiring user operation behavior data of a target front-end page corresponding to the video backtracking request and a target static resource address;
the judging module is used for judging whether the target static resource address is in a target database or not, wherein the target database comprises a plurality of pre-stored initial static resource addresses;
the acquisition module is further used for acquiring the target static resource corresponding to the target static resource address in an asynchronous downloading mode when the target static resource address is not in the target database;
and the video backtracking module is used for assembling the target static resources and the user operation behavior data into a target video and backtracking the target video.
In addition, to achieve the above object, the present application also provides a computer apparatus including a memory and a processor; the memory is used for storing a computer program; the processor is configured to execute the computer program and implement the steps of any one of the video backtracking methods provided by the embodiments of the present application when the computer program is executed.
In addition, to achieve the above object, the present application further provides a computer readable storage medium storing a computer program, where the computer program when executed by a processor causes the processor to implement the steps of the video backtracking method according to any one of the embodiments of the present application.
The video backtracking method, the video backtracking device, the computer equipment and the computer readable storage medium disclosed by the embodiment of the application can receive the video backtracking request and acquire the user operation behavior data of the target front-end page corresponding to the video backtracking request and the target static resource address. Further, whether the target static resource address is in the target database or not can be judged, and when the target static resource address is not in the target database, the target static resource corresponding to the target static resource address can be obtained in an asynchronous downloading mode. Thus, the target static resource and the user operation behavior data can be assembled into the target video, and the target video is played back. According to the video backtracking method, when the target static resource address is not in the target database, the target static resource corresponding to the target static resource address can be acquired in an asynchronous downloading mode, and the target static resource can be effectively acquired, so that the success rate of video backtracking is improved, and the problem that when the backtracking video is played, the page is disordered and the video cannot be normally backtracked due to the fact that static resources such as pictures and CSS patterns cannot be loaded to the front page is effectively solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, 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 application, 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 view of a video backtracking method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a video backtracking method according to an embodiment of the present application;
fig. 3 is a flowchart of another video backtracking method according to an embodiment of the present application;
FIG. 4 is a schematic flow chart of obtaining a target video according to an embodiment of the present application;
fig. 5 is a schematic flow chart of backtracking a target video according to an embodiment of the present application;
FIG. 6 is a schematic block diagram of a video backtracking apparatus provided by an embodiment of the present application;
fig. 7 is a schematic block diagram of a computer device provided by an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application 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 application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations. In addition, although the division of the functional modules is performed in the apparatus schematic, in some cases, the division of the modules may be different from that in the apparatus schematic.
The term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Some embodiments of the present application are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
As shown in fig. 1, the video backtracking method provided by the embodiment of the application can be applied to an application environment as shown in fig. 1. The application environment includes a terminal device 110 and a server 120, where the terminal device 110 may communicate with the server 120 through a network. Specifically, the server 120 may receive a video backtracking request, and obtain user operation behavior data of a target front end page corresponding to the video backtracking request and a target static resource address; judging whether the target static resource address is in a target database or not, wherein the target database comprises a plurality of pre-stored initial static resource addresses; when the target static resource address is not in the target database, acquiring a target static resource corresponding to the target static resource address in an asynchronous downloading mode; and finally, the target static resource and the user operation behavior data are assembled into a target video, and the target video is sent to the terminal equipment 110 for backtracking. The server 120 may be an independent server, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms. The terminal device 110 may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, etc. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the present application is not limited herein.
Referring to fig. 2, fig. 2 is a flowchart of a video backtracking method according to an embodiment of the present application. As shown in fig. 2, the video backtracking method includes steps S11 to S14.
Step S11: and receiving the video backtracking request, and acquiring user operation behavior data of a target front-end page corresponding to the video backtracking request and a target static resource address.
Specifically, a video backtracking request can be received, and then a target front-end page corresponding to the video backtracking request is determined. The target front-end page may be an insurance sales page, or other front-end pages, which is not limited in this disclosure, and the target front-end page is exemplified as an insurance sales page.
It can be appreciated that the video backtracking request is used for requesting to generate a backtracking video of the insurance sales behavior, so that user operation behavior data and a target static resource address of the insurance sales page can be obtained based on the video backtracking request, so that a target video corresponding to the insurance sales page can be obtained based on the user operation behavior data and the target static resource address, and backtracking can be performed on the target video.
Wherein the user operation behavior data includes insurance sales behavior data; the target static resource address is used to request a static resource on the insurance sales page. Therefore, the target video corresponding to the insurance sales page can be obtained based on the user operation behavior data and the target static resource address, so that backtracking of the target video is realized.
Optionally, obtaining user operation behavior data of a target front-end page corresponding to the video backtracking request includes: acquiring user operation behaviors of a target front-end page through a rrweb component, and generating a corresponding operation flow; user behavior data is determined based on the operation flow.
Specifically, the rrweb component can monitor and record the user operation behavior of the insurance sales page, so as to obtain the corresponding record event. Further, an operation flow can be generated according to the obtained recorded events to realize screening and processing of the recorded events, such as screening specific types of events, aggregating events and the like. Thus, the required user behavior data can be determined after processing.
Wherein the user behavior data includes at least one of order number, document number, start time, end time, insertion time, and page entry time, the application is not limited.
It should be noted that the rrweb component is an open source JavaScript library for recording and playing back user operation behaviors of the Web application. The rrweb component can capture user interactions on the page, such as clicks, scrolls, inputs, etc., and record these as an event stream. Through the rrweb component, the user's operational flow can be recorded and played back accurately. Thus, the recording of user operational behavior data for an insurance sales page can be implemented based on the rrweb component.
In the embodiment of the application, the video backtracking request can be received, and the user operation behavior data and the target static resource address of the insurance sales page corresponding to the video backtracking request can be obtained, so that the target video of the insurance sales page can be backtracked.
Step S12: and judging whether the target static resource address is in the target database.
Step S13: and when the target static resource address is not in the target database, acquiring the target static resource corresponding to the target static resource address in an asynchronous downloading mode.
The target database comprises a plurality of pre-stored initial static resource addresses.
Specifically, it may be determined whether the target resource address is in the target database to determine whether the target static resource can be obtained directly based on the target database. When the target static resource address is not in the target database, the target static resource cannot be obtained through the target database, so that the target static resource corresponding to the target static resource address can be rapidly obtained in other servers through an asynchronous downloading mode. Therefore, the condition that the backtracking failure is caused by the fact that the target video cannot obtain the target static resource in the backtracking process can be prevented.
It should be noted that, asynchronous downloading refers to downloading in a non-blocking manner without blocking the main thread or the current execution flow when downloading a file or a resource. Compared with synchronous downloading, asynchronous downloading can continue to execute other tasks while downloading files, so that the responsiveness and efficiency of the program are improved. In asynchronous downloading, the downloading operation is typically performed in a background thread or an asynchronous task. This allows the main thread or current execution flow to continue to perform other tasks without having to wait for the download operation to complete. Once the download is complete, a corresponding callback function or handler may be triggered to process the downloaded results or to perform further operations. Therefore, the method and the device can rapidly acquire the target static resources from other servers in an asynchronous downloading mode, so that the efficiency of generating the target video can be improved, and the success rate of backtracking the target video is improved.
Step S14: and assembling the target static resources and the user operation behavior data into a target video, and backtracking the target video.
Specifically, after the target static resource and the user operation behavior data are obtained, the target static resource and the user operation behavior data can be assembled into a target video comprising insurance sales behaviors. Furthermore, the target video can be traced back, so that the execution conditions of the insurance sales in sales content, data storage, safety protection and related internal control degree can be reviewed, called, downloaded and the like.
In the embodiment of the application, the target static resource and the user operation behavior data can be assembled into the target video, and the backtracking of the target video is performed, so that the insurance sales behavior is checked and processed.
The video backtracking method disclosed by the embodiment of the application can receive the video backtracking request and acquire the user operation behavior data and the target static resource address of the insurance sales page corresponding to the video backtracking request. Further, whether the target static resource address is in the target database or not can be judged, and when the target static resource address is not in the target database, the target static resource corresponding to the target static resource address can be obtained in an asynchronous downloading mode. Thus, the target static resource and the user operation behavior data can be assembled into the target video, and the target video is played back. According to the video backtracking method, when the target static resource address is not in the target database, the target static resource corresponding to the target static resource address can be acquired in an asynchronous downloading mode, and the target static resource can be effectively acquired, so that the success rate of video backtracking is improved, and the problem that when the backtracking video is played, the page is disordered and the video cannot be normally backtracked due to the fact that static resources such as pictures and CSS patterns cannot be loaded to the front page is effectively solved.
Referring to fig. 3, fig. 3 is a flowchart of another video backtracking method according to an embodiment of the present application; . As shown in fig. 3, video backtracking may be achieved through steps S21 to S24.
Step S21: and receiving the video backtracking request, and acquiring user operation behavior data of a target front-end page corresponding to the video backtracking request and a target static resource address.
Step S22: and judging whether the target static resource address is in the target database.
The specific description of step S21 to step S22 can be referred to step S11 to step S12, and the description thereof is omitted herein for avoiding repetition.
Step S23: when the target static resource address is in the target database, searching the target static resource corresponding to the target static resource address from the target database to obtain a searching result.
Step S24: and when the searching result is that the searching is successful, the target static resource and the user operation behavior data are assembled into a target video, and the target video is traced back.
Specifically, when the target static resource address is in the target database, the target static resource corresponding to the static resource address can be further searched from the target database, and a search result is obtained. When the searching result is successful, the fact that the target static resources which are not invalid exist in the target database is indicated, at the moment, the target static resources and the user operation behavior data can be assembled into target videos, and the target videos are traced back.
Optionally, searching the target static resource corresponding to the target static resource address from the target database, and after obtaining the searching result, further including: when the searching result is that searching fails, acquiring a relative path corresponding to the target static resource address from a preset server; and determining a target static resource based on the relative path, assembling the target static resource and user operation behavior data into a target video, and backtracking the target video.
It can be understood that when the search result is a search failure, it is indicated that the static resource corresponding to the static resource address existing in the target database has failed, so that the target static resource cannot be obtained from the target database. At this time, a relative path corresponding to the target static resource address may be obtained from the preset server, so that the target static resource may be obtained based on the relative path, and further, the target static resource and the user operation behavior data may be assembled into a target video, and the target video may be traced back.
The preset server is not limited to the present application, and may be, for example, an object storage server such as amazon S3, gu Geyun storage and microsoft Azure Blob storage.
In particular, an object store server is a web service for storing and retrieving large amounts of unstructured data. It provides a distributed storage model in which data is organized into objects and accessed by unique identifiers. These objects may contain any type of data, such as images, videos, documents, and the like. Object storage servers are typically highly scalable and durable, capable of handling large-scale data and providing high availability. They employ redundant data backup policies to ensure reliability and persistence of data. In addition, object store servers typically provide simple APIs and management interfaces to facilitate the management and access of data by developers and administrators. Therefore, the relative path corresponding to the target static resource address can be acquired based on the object storage server, and the target static resource can be acquired based on the relative path.
Optionally, when the search result is that the search fails, acquiring a relative path corresponding to the target static resource address from a preset server includes: and when the searching result is that searching fails, inquiring a relative path corresponding to the target static resource address from a preset server based on the relative path storage table.
The relative path storage table adopts a hash table structure and comprises a mapping relation between a target static resource address and a relative path.
It should be noted that, the hash table structure can map the key to a unique index position through a hash function by using the correspondence between the key and the value, thereby realizing rapid data access. Therefore, the mapping relation between the target static resource address and the relative path can be stored in advance in a hash table structure mode to obtain a relative path storage table, so that the corresponding relative path can be quickly queried based on the static resource address.
In the embodiment of the application, the video backtracking request can be received, and the user operation behavior data of the insurance sales page corresponding to the video backtracking request and the target static resource address can be obtained. And when the target static resource address is in the target database, searching the target static resource corresponding to the target static resource address from the target database to obtain a searching result, determining the target static resource in a corresponding mode based on the searching result, further realizing the assembly of the target static resource address and the user operation behavior data into a target video, and backtracking the target video. The target static resources can be effectively obtained, so that the success rate of video backtracking is improved, and the problems that when the backtracking video is played, the page is disordered and the video cannot be normally backtracked due to the fact that the static resources such as pictures, CSS styles and the like of insurance sales pages cannot be loaded are effectively solved.
With continued reference to fig. 4, fig. 4 is a flowchart of a method for obtaining a target video according to an embodiment of the application. As shown in fig. 4, the target video may be obtained through steps S141 to S142.
Step S141: based on the user operation behavior data, a point in time and a location of the insertion of the target static resource are determined.
Step S142: and introducing user operation behavior data into the blank video item, and inserting target static resources into the user operation behavior data based on the time point and the position to obtain a target video.
Specifically, the obtained user operation behavior data can be analyzed to determine the time point and the position of inserting the target static resource. And then introducing user operation behavior data into the blank video project, and inserting identifiers or metadata of static resources into the user operation behavior data according to the determined time point and position, so as to realize the insertion of target static resources into the user operation behavior data, and thus obtaining the target video.
In the embodiment of the application, the target static resource can be inserted into the user operation behavior data, thereby realizing the generation of the target video and further realizing the backtracking of the target video.
With continued reference to fig. 5, fig. 5 is a schematic flow chart of backtracking a target video according to an embodiment of the application. As shown in fig. 5, backtracking the target video may be achieved through steps S143 to S144.
Step S143: and determining a backtracking time node and a query frequency.
Step S144: and backtracking the target video based on the backtracking time node and the query frequency.
The backtracking time node may be a generation time of a transaction behavior, that is, a generation time of a user implementing the transaction behavior, and may also be understood as a collection time of user behavior data.
The query frequency may be set according to specific requirements, for example, the query frequency is 1 hour, 2 hours, 5 hours, and the like, and the present application is described by taking the query frequency as 1 hour as an example.
Specifically, the user operation behavior at the corresponding time point can be checked based on the generation time of the transaction behavior of the user on the insurance sales page in each hour, so as to realize backtracking of the target video.
It can be understood that the target video is traced back and forth according to the tracing time node and the query frequency, so that the operation behavior of the user can be more accurate, and the query efficiency is improved.
Referring to fig. 6, fig. 6 is a schematic block diagram of a video backtracking apparatus according to an embodiment of the present application. The video backtracking device can be configured in a server and is used for executing the video backtracking method.
As shown in fig. 6, the video backtracking apparatus 200 includes: the system comprises an acquisition module 201, a judgment module 202 and a video backtracking module 203.
The acquiring module 201 is configured to receive a video backtracking request, and acquire user operation behavior data of a target front end page corresponding to the video backtracking request and a target static resource address;
a judging module 202, configured to judge whether the target static resource address is in a target database, where the target database includes a plurality of pre-stored initial static resource addresses;
the obtaining module 201 is further configured to obtain, when the target static resource address is not in the target database, a target static resource corresponding to the target static resource address in an asynchronous downloading manner;
and the video backtracking module 203 is configured to assemble the target static resource and the user operation behavior data into a target video, and backtrack the target video.
The obtaining module 201 is further configured to, when the target static resource address is in the target database, search the target static resource corresponding to the target static resource address from the target database, and obtain a search result.
The video backtracking module 203 is further configured to assemble the target static resource and the user operation behavior data into a target video and backtrack the target video when the search result is that the search is successful.
The obtaining module 201 is further configured to obtain, when the search result is that the search fails, a relative path corresponding to the target static resource address from a preset server.
The video backtracking module 203 is further configured to determine the target static resource based on the relative path, assemble the target static resource and the user operation behavior data into a target video, and backtrack the target video.
And the obtaining module 201 is further configured to query, when the search result is a search failure, a relative path corresponding to the target static resource address from the preset server based on a relative path storage table, where the relative path storage table adopts a hash table structure, and includes a mapping relationship between the target static resource address and the relative path.
The obtaining module 201 is further configured to obtain a user operation behavior of the target front end page through a rrweb component, and generate a corresponding operation flow; and determining the user behavior data based on the operation flow, wherein the user behavior data comprises at least one of an order number, a document number, a start time, an end time, an insertion time and an entering page time.
The video backtracking module 203 is further configured to determine a time point and a position of inserting the target static resource based on the user operation behavior data; and introducing the user operation behavior data into the blank video item, and inserting the target static resource into the user operation behavior data based on the time point and the position to obtain the target video.
The video backtracking module 203 is further configured to determine a backtracking time node and a query frequency; and backtracking the target video based on the backtracking time node and the query frequency.
It should be noted that, for convenience and brevity of description, specific working processes of the above-described apparatus and each module, unit may refer to corresponding processes in the foregoing method embodiments, which are not repeated herein.
The methods and apparatus of the present application are operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
By way of example, the methods, apparatus described above may be implemented in the form of a computer program that is executable on a computer device as shown in fig. 7.
Referring to fig. 7, fig. 7 is a schematic diagram of a computer device according to an embodiment of the application. The computer device may be a server.
As shown in fig. 7, the computer device includes a processor, a memory, and a network interface connected by a system bus, wherein the memory may include a volatile storage medium, a non-volatile storage medium, and an internal memory.
The non-volatile storage medium may store an operating system and a computer program. The computer program includes program instructions that, when executed, cause a processor to perform any of a number of video backtracking methods.
The processor is used to provide computing and control capabilities to support the operation of the entire computer device.
The internal memory provides an environment for the execution of a computer program in a non-volatile storage medium that, when executed by a processor, causes the processor to perform any of a number of video backtracking methods.
The network interface is used for network communication such as transmitting assigned tasks and the like. It will be appreciated by those skilled in the art that the architecture of the computer device, which is merely a block diagram of some of the structures associated with the present application, is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or less components than those shown, or may combine some of the components, or have a different arrangement of components.
It should be appreciated that the processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) 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.
Wherein in some embodiments the processor is configured to run a computer program stored in the memory to implement the steps of: receiving a video backtracking request, and acquiring user operation behavior data of a target front-end page corresponding to the video backtracking request and a target static resource address; judging whether the target static resource address is in a target database or not, wherein the target database comprises a plurality of pre-stored initial static resource addresses; when the target static resource address is not in the target database, acquiring a target static resource corresponding to the target static resource address in an asynchronous downloading mode; and assembling the target static resource and the user operation behavior data into a target video, and backtracking the target video.
In some embodiments, when the target static resource address is in the target database, the processor is further configured to search the target static resource corresponding to the target static resource address from the target database, to obtain a search result; and when the searching result is that the searching is successful, the target static resource and the user operation behavior data are assembled into a target video, and the target video is traced back.
In some embodiments, the processor is further configured to obtain, when the search result is a search failure, a relative path corresponding to the target static resource address from a preset server; and determining the target static resource based on the relative path, assembling the target static resource and the user operation behavior data into a target video, and backtracking the target video.
In some embodiments, the processor is further configured to query, when the search result is a search failure, a relative path corresponding to the target static resource address from the preset server based on a relative path storage table, where the relative path storage table adopts a hash table structure, and includes a mapping relationship between the target static resource address and the relative path.
In some embodiments, the processor is further configured to obtain, by using a rrweb component, a user operation behavior of the target front-end page, and generate a corresponding operation flow; and determining the user behavior data based on the operation flow, wherein the user behavior data comprises at least one of an order number, a document number, a start time, an end time, an insertion time and an entering page time.
In some embodiments, the processor is further configured to determine a point in time and a location of insertion of the target static resource based on the user operational behavior data; and introducing the user operation behavior data into the blank video item, and inserting the target static resource into the user operation behavior data based on the time point and the position to obtain the target video.
In some embodiments, the processor is further configured to determine a backtracking time node and a query frequency; and backtracking the target video based on the backtracking time node and the query frequency.
The embodiment of the application also provides a computer readable storage medium, and a computer program is stored on the computer readable storage medium, wherein the computer program comprises program instructions, and when the program instructions are executed, any video backtracking method provided by the embodiment of the application is realized.
The computer readable storage medium may be an internal storage unit of the computer device according to the foregoing embodiment, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, which are provided on the computer device.
Further, the computer-readable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like.
While the application 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 application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (10)

1. A video backtracking method, the method comprising:
receiving a video backtracking request, and acquiring user operation behavior data of a target front-end page corresponding to the video backtracking request and a target static resource address;
judging whether the target static resource address is in a target database or not, wherein the target database comprises a plurality of pre-stored initial static resource addresses;
when the target static resource address is not in the target database, acquiring a target static resource corresponding to the target static resource address in an asynchronous downloading mode;
and assembling the target static resource and the user operation behavior data into a target video, and backtracking the target video.
2. The method of claim 1, wherein said determining if said target static resource address is within a target database further comprises:
when the target static resource address is in the target database, searching the target static resource corresponding to the target static resource address from the target database to obtain a searching result;
and when the searching result is that the searching is successful, the target static resource and the user operation behavior data are assembled into a target video, and the target video is traced back.
3. The method according to claim 2, wherein the searching the target static resource corresponding to the target static resource address from the target database, after obtaining the searching result, further comprises:
when the searching result is that searching fails, acquiring a relative path corresponding to the target static resource address from a preset server;
and determining the target static resource based on the relative path, assembling the target static resource and the user operation behavior data into a target video, and backtracking the target video.
4. The method of claim 3, wherein when the search result is a search failure, the obtaining the relative path corresponding to the target static resource address from a preset server includes:
and when the searching result is that searching fails, inquiring a relative path corresponding to the target static resource address from the preset server based on a relative path storage table, wherein the relative path storage table adopts a hash table structure and comprises a mapping relation between the target static resource address and the relative path.
5. The method of claim 1, wherein the obtaining the user operation behavior data of the target front-end page corresponding to the video backtracking request includes:
acquiring user operation behaviors of the target front-end page through a rrweb component, and generating a corresponding operation flow;
and determining the user behavior data based on the operation flow, wherein the user behavior data comprises at least one of an order number, a document number, a start time, an end time, an insertion time and an entering page time.
6. The method of claim 1, wherein the assembling the target static resource with the user operational behavior data into a target video comprises:
determining a time point and a position for inserting the target static resource based on the user operation behavior data;
and introducing the user operation behavior data into the blank video item, and inserting the target static resource into the user operation behavior data based on the time point and the position to obtain the target video.
7. The method of claim 1, wherein the backtracking the target video comprises:
determining a backtracking time node and a query frequency;
and backtracking the target video based on the backtracking time node and the query frequency.
8. A video backtracking apparatus, the video backtracking apparatus comprising:
the acquisition module is used for receiving the video backtracking request and acquiring user operation behavior data of a target front-end page corresponding to the video backtracking request and a target static resource address;
the judging module is used for judging whether the target static resource address is in a target database or not, wherein the target database comprises a plurality of pre-stored initial static resource addresses;
the acquisition module is further used for acquiring the target static resource corresponding to the target static resource address in an asynchronous downloading mode when the target static resource address is not in the target database;
and the video backtracking module is used for assembling the target static resources and the user operation behavior data into a target video and backtracking the target video.
9. A computer device, comprising: a memory and a processor; wherein the memory is connected to the processor for storing a program, and the processor is configured to implement the steps of the video backtracking method according to any one of claims 1-7 by running the program stored in the memory.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, causes the processor to implement the steps of the video backtracking method of any one of claims 1-7.
CN202311006447.5A 2023-08-10 2023-08-10 Video backtracking method, video backtracking device, equipment and storage medium Pending CN117041678A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311006447.5A CN117041678A (en) 2023-08-10 2023-08-10 Video backtracking method, video backtracking device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311006447.5A CN117041678A (en) 2023-08-10 2023-08-10 Video backtracking method, video backtracking device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117041678A true CN117041678A (en) 2023-11-10

Family

ID=88624007

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311006447.5A Pending CN117041678A (en) 2023-08-10 2023-08-10 Video backtracking method, video backtracking device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117041678A (en)

Similar Documents

Publication Publication Date Title
US10503493B2 (en) Distributed versioning of applications using cloud-based systems
US8126859B2 (en) Updating a local version of a file based on a rule
US9954746B2 (en) Automatically generating service documentation based on actual usage
US9213607B2 (en) Systems, methods, and media for synthesizing views of file system backups
US20180349254A1 (en) Systems and methods for end-to-end testing of applications using dynamically simulated data
US9104797B1 (en) Efficient cloud-based annotation of crash reports
US20180060415A1 (en) Language tag management on international data storage
US10732964B2 (en) Systems and methods for updating multi-tier cloud-based application stacks
US20220147407A1 (en) Automation solutions for event logging and debugging on kubernetes
CN112632358B (en) Resource link obtaining method and device, electronic equipment and storage medium
Kälber et al. Forensic application-fingerprinting based on file system metadata
US10855750B2 (en) Centralized management of webservice resources in an enterprise
CN113395340A (en) Information updating method, device, equipment, system and readable storage medium
CN112860507B (en) Control method and device for sampling rate of distributed link tracking system
US20230315405A1 (en) Discovering matching code segments according to index and comparative similarity
US9135253B2 (en) Simulating accesses for archived content
CN115174158B (en) Cloud product configuration checking method based on multi-cloud management platform
US11847120B2 (en) Performance of SQL execution sequence in production database instance
CN117041678A (en) Video backtracking method, video backtracking device, equipment and storage medium
US20150347402A1 (en) System and method for enabling a client system to generate file system operations on a file system data set using a virtual namespace
CN111400243B (en) Development management system based on pipeline service and file storage method and device
US20170154096A1 (en) Data service system and electronic apparatus
Andrade Digital Forensic Artifacts of SQLite-Based Windows 10 Applications
US20230168906A1 (en) Dynamic fingerprints for robotic process automation
US20230169120A1 (en) Partial fingerprint masking for pattern searching

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