CN115391408A - Video log tracking method and device and electronic equipment - Google Patents
Video log tracking method and device and electronic equipment Download PDFInfo
- Publication number
- CN115391408A CN115391408A CN202211325567.7A CN202211325567A CN115391408A CN 115391408 A CN115391408 A CN 115391408A CN 202211325567 A CN202211325567 A CN 202211325567A CN 115391408 A CN115391408 A CN 115391408A
- Authority
- CN
- China
- Prior art keywords
- log
- user operation
- field
- current
- data field
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 73
- 230000008859 change Effects 0.000 claims description 24
- 238000012545 processing Methods 0.000 claims description 24
- 230000004048 modification Effects 0.000 claims description 22
- 238000012986 modification Methods 0.000 claims description 22
- 230000015654 memory Effects 0.000 claims description 21
- 230000004044 response Effects 0.000 claims description 14
- 238000010586 diagram Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44213—Monitoring of end-user related data
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Social Psychology (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the application discloses a video log tracking method and device and electronic equipment, wherein the method comprises the following steps: acquiring a plurality of log data corresponding to a plurality of user operations executed on a target video by at least one target user; querying a user operation type corresponding to any one of the plurality of log data; executing corresponding operation based on the user operation type matched with the current user operation corresponding to the current log data; and acquiring and tracking various parameter information matched with the corresponding operation.
Description
Technical Field
The present invention relates to the field of video processing technologies, and in particular, to a method and an apparatus for tracking a log of a video, a storage medium, an electronic device, and a computer program product.
Background
In an actual business scene, the historical operation behavior of a user can be tracked through the online video service platform system. In order to track the historical operation behavior of the user, it is necessary to effectively and accurately record all operation logs of the background use user.
Most of the existing log tracking methods can only record the system operation logs in a coarse granularity mode, which operation is executed by a user is recorded in a coarse granularity mode, and specific parameter information corresponding to the operation executed by the user cannot be recorded in a fine granularity mode. For example, in a specific application scenario, the current user operation is to modify an on-demand video, but it is not possible to determine various modification parameter information corresponding to the current user operation. Therefore, the existing log tracking method cannot accurately track the logs of the video and cannot accurately acquire various parameter information matched with user operation.
How to improve the accuracy of tracking the video logs is a technical problem to be solved.
Disclosure of Invention
Based on this, it is necessary to provide a video log tracking method, device, storage medium and electronic device for solving the problem of low accuracy of tracking a log based on an existing video.
In a first aspect, an embodiment of the present application provides a method for tracking a log of a video, where the method includes:
acquiring a plurality of log data corresponding to a plurality of user operations executed by at least one target user on a target video;
querying a user operation type corresponding to any data in the plurality of log data;
executing corresponding operation based on the user operation type matched with the current user operation corresponding to the current log data;
and acquiring and tracking various parameter information matched with the corresponding operation.
In one embodiment, before the executing the corresponding operation based on the user operation type matched with the current user operation corresponding to the current log data, the method further includes:
configuring a unique first log data identifier for current log data and recording corresponding first log data before responding to the execution of current user operation and the current user operation is any preset user operation type, wherein the first log data comprises a first service data field, and the first service data field has a corresponding first service field format;
and responding to the executed current user operation and the current user operation being any preset user operation type, and recording corresponding second log data based on the first log data identification, wherein the second log data comprises a second service data field, and the second service field has a corresponding second service data field format.
In one embodiment, the performing the corresponding operation based on the user operation type matched with the current user operation corresponding to the current log data includes:
and in response to the fact that the user operation type matched with the current user operation corresponding to the current log data is judged to be modification operation, comparing the first service data field with the second service data field, and performing field modification processing on the second service data field based on a preset standard service data field format until any service field in the second service field conforms to the preset standard service data field format.
In one embodiment of the method of the present invention,
after the field modification processing is performed on the second service data field based on the preset standard service data field format until any service field in the second service field conforms to the preset standard service data field format, the method further includes:
and recording and storing data field change attributes of the second service data field with changed data field formats by comparing the second service data field formats with the preset standard service data field formats, wherein the data field change attributes comprise data field change names and corresponding change values.
In one embodiment, the performing the corresponding operation based on the user operation type matched with the current user operation corresponding to the current log data includes:
and in response to the judgment that the user operation type matched with the current user operation corresponding to the current log data is the adding operation, comparing the first service data field with the second service data field, and performing field adding processing on the second service data field based on a preset standard service data field format until any service field in the second service field conforms to the preset standard service data field format. In one embodiment, the performing the corresponding operation based on the user operation type matched with the current user operation corresponding to the current log data includes:
and in response to the fact that the user operation type matched with the current user operation corresponding to the current log data is judged to be the deleting operation, comparing the first service data field with the second service data field, and performing field deleting processing on the redundant field inquired in the second service data field based on a preset standard service data field format until any service field in the second service field conforms to the preset standard service data field format.
In an embodiment, the log type corresponding to the current log data is a preset log type, and the preset log type includes any one of adding a log, editing a log, and deleting a log.
In one embodiment, the executing the corresponding operation based on the user operation type matched with the current user operation corresponding to the current log data includes:
and under the condition that the log type corresponding to the current log data is not a preset log type, presenting the current log data.
In a second aspect, an embodiment of the present application provides an apparatus for tracking logs of a video, where the apparatus includes:
the first acquisition module is used for acquiring a plurality of log data corresponding to a plurality of user operations executed on a target video by at least one target user;
the query module is used for querying a user operation type corresponding to any data in the plurality of log data;
the execution module is used for executing corresponding operation based on the user operation type matched with the current user operation corresponding to the current log data;
and the second acquisition module is used for acquiring various parameter information matched with the corresponding operation.
And the tracking module is used for tracking various parameter information matched with the corresponding operation.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the above method steps.
In the embodiment of the application, a plurality of log data corresponding to a plurality of user operations executed on a target video by at least one target user are obtained; querying a user operation type corresponding to any data in the plurality of log data; executing corresponding operation based on the user operation type matched with the current user operation corresponding to the current log data; and acquiring and tracking various parameter information matched with the corresponding operation. According to the video log tracking method, the video log can be accurately tracked, and various parameter information matched with user operation can be accurately acquired; in addition, the specific changed parameter information can be accurately determined, so that data restoration can be performed, original data can be accurately restored, and data tracing is simple and easy.
Drawings
Exemplary embodiments of the present invention may be more completely understood in consideration of the following drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the present application and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 is a flowchart of a method for log tracking of a video according to an exemplary embodiment of the present application;
FIG. 2 is a flowchart of a method for tracking logs of a video in a specific application scenario according to an exemplary embodiment of the present application;
fig. 3 is a flowchart of a log tracking method for another video in a specific application scenario according to an exemplary embodiment of the present application;
FIG. 4 is a flowchart of a log tracking method for a video in a specific application scenario according to an exemplary embodiment of the present application;
fig. 5 is a schematic structural diagram of a log tracking apparatus 500 for video according to an exemplary embodiment of the present application;
FIG. 6 illustrates a schematic diagram of an electronic device provided by an exemplary embodiment of the present application;
FIG. 7 illustrates a schematic diagram of a computer-readable medium provided by an exemplary embodiment of the present application.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which this application belongs.
In addition, the terms "first" and "second", etc. are used to distinguish different objects, rather than to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the application provides a video log tracking method and device, an electronic device and a computer readable medium, which are described below with reference to the accompanying drawings.
Referring to fig. 1, which illustrates a flowchart of a video log tracking method according to some embodiments of the present application, as shown in the figure, the video log tracking method may include the following steps:
step S101: and acquiring a plurality of log data corresponding to a plurality of user operations executed on the target video by at least one target user.
Step S102: and querying a user operation type corresponding to any data in the plurality of log data.
Step S103: and executing the corresponding operation based on the user operation type matched with the current user operation corresponding to the current log data.
In one possible implementation manner, executing a corresponding operation based on a user operation type matched with a current user operation corresponding to current log data includes the following steps:
in response to the fact that the user operation type matched with the current user operation corresponding to the current log data is judged to be modification operation, comparing the first service data field with the second service data field, and performing field modification processing on the second service data field based on a preset standard service data field format until any service field in the second service field conforms to the preset standard service data field format; therefore, each second service data field format in the database can be ensured to have a standard data field format, and the compatibility among various data in the database is greatly improved.
In a practical specific application scenario, the corresponding preset standard service data field format may be set according to the selected different types of databases, where the preset standard service data field format is not specifically limited, and may be adjusted according to the requirements of different application scenarios, which is not described herein again.
In a possible implementation manner, after performing field modification processing on the second service data field based on the preset standard service data field format until any service field in the second service field conforms to the preset standard service data field format, the method further includes the following steps:
recording and storing data field change attributes of the second service data field, which are subjected to data field format change, by comparing the second service data field format with a preset standard service data field format, wherein the data field change attributes comprise data field change names and corresponding change values; in this way, it is possible to accurately acquire: the modification operation of the current user is executed, and the modification operation of the current user is the various change parameter information corresponding to any preset user operation type, so that the various change parameter information matched with the modification operation of the user can be accurately acquired.
In an actual application scenario, the data field change attribute does not include only the data field change name and the corresponding change value, and is not specifically limited herein, and may be adjusted according to the requirements of different application scenarios, which is not described herein again.
In one possible implementation manner, executing a corresponding operation based on a user operation type matched with a current user operation corresponding to current log data includes the following steps:
in response to the fact that the user operation type matched with the current user operation corresponding to the current log data is judged to be adding operation, comparing the first service data field with the second service data field, and performing field adding processing on the second service data field based on a preset standard service data field format until any service field in the second service field accords with the preset standard service data field format; therefore, each second service data field format in the database can be ensured to have a standard data field format, and the compatibility among various data in the database is greatly improved.
In a practical specific application scenario, the corresponding preset standard service data field format may be set according to the selected different types of databases, where the preset standard service data field format is not specifically limited, and may be adjusted according to the requirements of different application scenarios, which is not described herein again.
In one possible implementation manner, executing a corresponding operation based on a user operation type matched with a current user operation corresponding to current log data includes the following steps:
in response to the fact that the user operation type matched with the current user operation corresponding to the current log data is judged to be a deleting operation, comparing the first service data field with the second service data field, and performing field deleting processing on the redundant field inquired in the second service data field based on a preset standard service data field format until any service field in the second service field accords with the preset standard service data field format; therefore, each second service data field format in the database can be ensured to have a standard data field format, and the compatibility among various data in the database is greatly improved.
In a practical specific application scenario, the corresponding preset standard service data field format may be set according to the selected different types of databases, where the preset standard service data field format is not specifically limited, and may be adjusted according to the requirements of different application scenarios, which is not described herein again.
It should be noted that the log type corresponding to the current log data is a preset log type, and the preset log type includes any one of adding a log, editing a log, and deleting a log.
In one possible implementation manner, executing a corresponding operation based on a user operation type matched with a current user operation corresponding to current log data includes the following steps:
and under the condition that the log type corresponding to the current log data is not the preset log type, presenting the current log data, thereby realizing the visualization of the data.
In a possible implementation manner, before executing a corresponding operation based on a user operation type matched with a current user operation corresponding to current log data, the method further includes the following steps:
configuring a unique first log data identifier for current log data and recording corresponding first log data before responding to the execution of current user operation and the current user operation is any preset user operation type, wherein the first log data comprises a first service data field, and the first service data field has a corresponding first service field format; in this way, it is possible to accurately obtain: in response to executing the current user operation, each item of original data corresponding to the current user operation before the current user operation is any preset user operation type, wherein each item of original data comprises each item of original data such as a first log data identifier and first log data, the first log data comprises a first service data field, and the first service data field has a corresponding first service field format, so that the recovery process of each item of original data is simplified, and the corresponding original data is directly inquired based on the first log data identifier.
Responding to the executed current user operation and the current user operation being any preset user operation type, and recording corresponding second log data based on the first log data identifier, wherein the second log data comprises a second service data field, and the second service field has a corresponding second service data field format; in this way, it is possible to accurately obtain: the current user operation is executed and is various parameter information corresponding to any preset user operation type, so that various parameter information matched with the user operation can be accurately acquired.
In a specific application scenario, when the current user operation type is determined to be the video on demand modification, corresponding second log data are recorded based on the first log data identifier, the second log data comprise second service data fields, the second service fields have corresponding second service data field formats, and specific parameter information can be accurately determined to be changed by comparing the first log data with the second log data, so that the tracking accuracy of the video log is greatly improved.
In an actual application scene, through the data processing process, since specific parameter information can be accurately determined to be changed, original data before modification and modified data after modification corresponding to user modification operation can be accurately monitored, and data change fields before and after modification corresponding to the user modification operation can be monitored; therefore, when the system is attacked, the original data can still be quickly recovered, and the safety of the data is ensured.
Step S104: and acquiring and tracking various parameter information matched with the corresponding operation.
In the embodiment of the present application, for detailed descriptions of each operation and each parameter information matched with each operation, refer to the foregoing description, and are not described herein again.
Fig. 2 is a flowchart illustrating a log tracking method for a video in a specific application scenario according to an exemplary embodiment of the present application.
The related description based on fig. 2 is similar to the description of fig. 1, and the same or similar parts refer to the description of fig. 1, and are not repeated herein.
Fig. 3 is a flowchart illustrating a log tracking method for another video in a specific application scenario according to an exemplary embodiment of the present application.
The related description based on fig. 3 is similar to the description of fig. 1, and the same or similar parts refer to the description of fig. 1, and are not repeated herein.
It should be noted that, in the video log tracking method as shown in fig. 3, because different multiple data processing templates are provided, and different data processing templates have corresponding business data multi-language templates for processing, the application scope of the video log tracking method is greatly improved, the development cost is also reduced, and it is not necessary to specially develop a corresponding system capable of performing video log tracking for each language template.
Fig. 4 is a flowchart illustrating a log tracking method for a video in a specific application scenario according to an exemplary embodiment of the present application.
The related description based on fig. 4 is similar to the description of fig. 1 and 3, and the same or similar parts refer to the description of fig. 1 and 3, which are not repeated herein.
It should be noted that, in the video log tracking method as shown in fig. 4, because different service field multi-language templates have corresponding preset standard formats, when it is determined that log data is a log to be added, a log to be edited, or a log to be deleted, service data fields are filtered based on the corresponding preset standard formats until all service data fields conform to the preset standard formats, and log data is presented, so that an interface system adopted by the video log tracking method is more friendly to users, and visualized data is realized.
In the foregoing embodiment, a method for tracking a video log is provided, and correspondingly, an apparatus for tracking a video log is also provided. The video log tracking device provided by the embodiment of the application can implement the video log tracking method, and the video log tracking device can be implemented by software, hardware or a combination of software and hardware. For example, the video log tracking device may include integrated or separate functional modules or units to perform the corresponding steps in the methods described above.
Please refer to fig. 5, which illustrates a schematic diagram of a video log tracking apparatus according to some embodiments of the present application. Since the apparatus embodiments are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to some of the description of the method embodiments for relevant points. The device embodiments described below are merely illustrative.
As shown in fig. 5, the log tracking apparatus 500 for video may include:
a first obtaining module 501, configured to obtain a plurality of log data corresponding to a plurality of user operations executed on a target video by at least one target user;
a query module 502, configured to query a user operation type corresponding to any data in the plurality of log data;
an executing module 503, configured to execute a corresponding operation based on a user operation type matched with a current user operation corresponding to the current log data;
a second obtaining module 504, configured to obtain information about each parameter matched with a corresponding operation;
and a tracking module 505, configured to track each item of parameter information matched with the corresponding operation.
In some implementations of the embodiments of the present application, the apparatus 500 may further include:
a configuration module (not shown in the figure) for configuring a unique first log data identifier for the current log data before responding to the current user operation being executed and the current user operation being any preset user operation type before the corresponding operation is executed based on the user operation type matched with the current user operation corresponding to the current log data;
a first recording module (not shown in the figures) for recording corresponding first log data, the first log data including a first service data field, the first service data field having a corresponding first service field format;
and a second recording module (not shown in the figure) for, in response to that the current user operation has been performed and the current user operation is any preset user operation type, recording corresponding second log data based on the first log data identifier, where the second log data includes a second service data field, and the second service field has a corresponding second service data field format.
In some implementations of embodiments of the present application, the execution module 503 is configured to:
and in response to the judgment that the user operation type matched with the current user operation corresponding to the current log data is the modification operation, comparing the first service data field with the second service data field, and performing field modification processing on the second service data field based on the preset standard service data field format until any service field in the second service field conforms to the preset standard service data field format.
In some implementations of embodiments of the present application, the apparatus 500 may further include:
and a recording and storing module (not shown in the figure) for recording and storing a data field change attribute of the second service data field, in which the data field format is changed, by comparing the second service data field format with a preset standard service data field format, where the data field change attribute includes a data field change name and a corresponding change value.
In some implementations of embodiments of the present application, the execution module 503 is configured to:
and in response to the judgment that the user operation type matched with the current user operation corresponding to the current log data is the adding operation, comparing the first service data field with the second service data field, and performing field adding processing on the second service data field based on the preset standard service data field format until any service field in the second service field conforms to the preset standard service data field format.
In some implementations of embodiments of the present application, the execution module 503 is configured to:
and in response to the fact that the user operation type matched with the current user operation corresponding to the current log data is judged to be the deleting operation, comparing the first service data field with the second service data field, and performing field deleting processing on the redundant field inquired in the second service data field based on the preset standard service data field format until any service field in the second service field conforms to the preset standard service data field format.
In some embodiments of the present application, a log type corresponding to current log data is a preset log type, and the preset log type includes any one of adding a log, editing a log, and deleting a log.
In some implementations of the embodiment of the present application, when the log type corresponding to the current log data is not a preset log type, the current log data is subjected to presentation processing.
In some embodiments of the embodiment of the present application, the video log tracking method apparatus 500 provided in the embodiment of the present application has the same advantages as the video log tracking method provided in the foregoing embodiment of the present application based on the same inventive concept.
The embodiment of the present application further provides an electronic device corresponding to the video log tracking method provided in the foregoing embodiment, where the electronic device may be an electronic device for a server, such as a server, including an independent server and a distributed server cluster, to execute the video log tracking method; the electronic device may also be an electronic device for a client, such as a mobile phone, a notebook computer, a tablet computer, a desktop computer, etc., to perform the log tracking method of the video.
Please refer to fig. 6, which illustrates a schematic diagram of an electronic device according to some embodiments of the present application. As shown in fig. 6, the electronic apparatus 40 includes: a processor 400, a memory 401, a bus 402 and a communication interface 403, wherein the processor 400, the communication interface 403 and the memory 401 are connected through the bus 402; the memory 401 stores a computer program that can be executed on the processor 400, and the processor 400 executes the computer program to perform the video log tracking method described above.
The Memory 401 may include a high-speed Random Access Memory (RAM) and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is implemented through at least one communication interface 403 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like may be used.
The electronic device provided by the embodiment of the application and the video log tracking method provided by the embodiment of the application have the same inventive concept and have the same beneficial effects as the method adopted, operated or realized by the electronic device.
Referring to fig. 7, a computer-readable storage medium is shown as an optical disc 50, on which a computer program (i.e., a program product) is stored, and when the computer program is executed by a processor, the computer program performs the video log tracking method.
It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, a phase change memory (PRAM), a Static Random Access Memory (SRAM), a Dynamic Random Access Memory (DRAM), other types of Random Access Memories (RAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a flash memory, or other optical and magnetic storage media, which are not described in detail herein.
The computer-readable storage medium provided by the above-mentioned embodiment of the present application and the log tracking method of the video provided by the embodiment of the present application have the same beneficial effects as the method adopted, run or implemented by the application program stored in the computer-readable storage medium.
It should be noted that the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some communication interfaces, indirect coupling or communication connection between devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; these modifications and substitutions do not depart from the spirit of the embodiments of the present application, and they should be construed as being included in the scope of the claims and description of the present application.
Claims (10)
1. A method of log tracking of a video, comprising:
acquiring a plurality of log data corresponding to a plurality of user operations executed on a target video by at least one target user;
querying a user operation type corresponding to any data in the plurality of log data;
executing corresponding operation based on the user operation type matched with the current user operation corresponding to the current log data;
and acquiring and tracking various parameter information matched with the corresponding operation.
2. The method of claim 1, wherein prior to the performing the corresponding operation based on the type of user operation matched with the current user operation corresponding to the current log data, further comprising:
configuring a unique first log data identifier for current log data and recording corresponding first log data before responding to the execution of current user operation and the current user operation is any preset user operation type, wherein the first log data comprises a first service data field, and the first service data field has a corresponding first service field format;
and responding to the fact that the current user operation is executed and is any preset user operation type, and recording corresponding second log data based on the first log data identification, wherein the second log data comprise second service data fields, and the second service fields have corresponding second service data field formats.
3. The method of claim 2, wherein the performing the corresponding operation based on the user operation type matched to the current user operation corresponding to the current log data comprises:
and in response to the judgment that the user operation type matched with the current user operation corresponding to the current log data is a modification operation, comparing the first service data field with the second service data field, and performing field modification processing on the second service data field based on a preset standard service data field format until any service field in the second service field conforms to the preset standard service data field format.
4. The method according to claim 3, wherein after the performing field modification processing on the second service data field based on a preset standard service data field format until any service field in the second service field conforms to the preset standard service data field format, the method further comprises:
and recording and storing data field change attributes of the second service data field with changed data field formats by comparing the second service data field formats with the preset standard service data field formats, wherein the data field change attributes comprise data field change names and corresponding change values.
5. The method of claim 2, wherein the performing the corresponding operation based on the user operation type matched to the current user operation corresponding to the current log data comprises:
and in response to the judgment that the user operation type matched with the current user operation corresponding to the current log data is the adding operation, comparing the first service data field with the second service data field, and performing field adding processing on the second service data field based on a preset standard service data field format until any service field in the second service field conforms to the preset standard service data field format.
6. The method of claim 2, wherein the performing the corresponding operation based on the user operation type matched to the current user operation corresponding to the current log data comprises:
and in response to the fact that the user operation type matched with the current user operation corresponding to the current log data is judged to be the deleting operation, comparing the first service data field with the second service data field, and performing field deleting processing on the redundant field inquired in the second service data field based on a preset standard service data field format until any service field in the second service field conforms to the preset standard service data field format.
7. The method of any one of claims 1 to 6,
the log type corresponding to the current log data is a preset log type, and the preset log type comprises any one of log adding, log editing and log deleting.
8. The method of claim 7, wherein the performing the corresponding operation based on the type of user operation matched to the current user operation corresponding to the current log data comprises:
and under the condition that the log type corresponding to the current log data is not the preset log type, presenting the current log data.
9. An apparatus for log tracking of video, comprising:
the first acquisition module is used for acquiring a plurality of log data corresponding to a plurality of user operations executed on a target video by at least one target user;
the query module is used for querying a user operation type corresponding to any data in the plurality of log data;
the execution module is used for executing corresponding operation based on the user operation type matched with the current user operation corresponding to the current log data;
the second acquisition module is used for acquiring various parameter information matched with the corresponding operation;
and the tracking module is used for tracking each item of parameter information matched with the corresponding operation.
10. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
the processor is used for reading the executable instructions from the memory and executing the executable instructions to realize the method of any one of the claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211325567.7A CN115391408A (en) | 2022-10-27 | 2022-10-27 | Video log tracking method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211325567.7A CN115391408A (en) | 2022-10-27 | 2022-10-27 | Video log tracking method and device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115391408A true CN115391408A (en) | 2022-11-25 |
Family
ID=84129461
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211325567.7A Pending CN115391408A (en) | 2022-10-27 | 2022-10-27 | Video log tracking method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115391408A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110276002A (en) * | 2019-06-26 | 2019-09-24 | 浙江大搜车软件技术有限公司 | Search for application data processing method, device, computer equipment and storage medium |
CN112597179A (en) * | 2021-03-03 | 2021-04-02 | 北京视界云天科技有限公司 | Log information analysis method and device |
CN113391973A (en) * | 2021-05-24 | 2021-09-14 | 青岛海信智慧生活科技股份有限公司 | Internet of things cloud container log collection method and device |
CN114629929A (en) * | 2022-03-16 | 2022-06-14 | 北京奇艺世纪科技有限公司 | Log recording method, device and system |
-
2022
- 2022-10-27 CN CN202211325567.7A patent/CN115391408A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110276002A (en) * | 2019-06-26 | 2019-09-24 | 浙江大搜车软件技术有限公司 | Search for application data processing method, device, computer equipment and storage medium |
CN112597179A (en) * | 2021-03-03 | 2021-04-02 | 北京视界云天科技有限公司 | Log information analysis method and device |
CN113391973A (en) * | 2021-05-24 | 2021-09-14 | 青岛海信智慧生活科技股份有限公司 | Internet of things cloud container log collection method and device |
CN114629929A (en) * | 2022-03-16 | 2022-06-14 | 北京奇艺世纪科技有限公司 | Log recording method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107644286B (en) | Workflow processing method and device | |
US20180107725A1 (en) | Data Storage Method and Apparatus, and Data Read Method and Apparatus | |
CN111914520A (en) | Document collaborative editing method and device, computer device and storage medium | |
CN107066519B (en) | Task detection method and device | |
CN110647562B (en) | Data query method and device, electronic equipment and storage medium | |
CN113704243A (en) | Data analysis method, data analysis device, computer device, and storage medium | |
CN110806866A (en) | Generation method and device of front-end management system | |
CN112416710A (en) | User operation recording method and device, electronic equipment and storage medium | |
CN112016028A (en) | Information recording method and device, and information storage method, device and system | |
CN112988458B (en) | Data backup method and device, electronic equipment and storage medium | |
CN108874379B (en) | Page processing method and device | |
CN115099210A (en) | Construction method and system of clearing file | |
CN109271564B (en) | Policy query method and device | |
CN113468118B (en) | File increment storage method, device and storage medium based on blockchain | |
CN110866382A (en) | Document generation method, device, terminal equipment and medium | |
CN113569257A (en) | User authority management method and device in gray scale release | |
CN115391408A (en) | Video log tracking method and device and electronic equipment | |
CN114611039B (en) | Analysis method and device of asynchronous loading rule, storage medium and electronic equipment | |
CN114443781A (en) | Method and device for generating enterprise guarantee map | |
CN112632266B (en) | Data writing method and device, computer equipment and readable storage medium | |
CN114444894A (en) | Enterprise risk identification method and device, storage medium and electronic equipment | |
CN115543685A (en) | Database rollback method and device, electronic equipment and storage medium | |
CN114065067A (en) | Table display method and device, readable storage medium and electronic equipment | |
CN113761005A (en) | Metadata configuration method and device, electronic equipment and storage medium | |
CN111241082A (en) | Data correction method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20221125 |
|
RJ01 | Rejection of invention patent application after publication |