CN115119070A - Video signing method, device and system based on alliance chain - Google Patents

Video signing method, device and system based on alliance chain Download PDF

Info

Publication number
CN115119070A
CN115119070A CN202210640576.9A CN202210640576A CN115119070A CN 115119070 A CN115119070 A CN 115119070A CN 202210640576 A CN202210640576 A CN 202210640576A CN 115119070 A CN115119070 A CN 115119070A
Authority
CN
China
Prior art keywords
video
data
address
video data
alliance chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210640576.9A
Other languages
Chinese (zh)
Other versions
CN115119070B (en
Inventor
王宇虹
豆敏娟
李瑞男
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202210640576.9A priority Critical patent/CN115119070B/en
Publication of CN115119070A publication Critical patent/CN115119070A/en
Application granted granted Critical
Publication of CN115119070B publication Critical patent/CN115119070B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/123Applying verification of the received information received data contents, e.g. message integrity
    • 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/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4627Rights management associated to the content

Abstract

The invention provides a video signing method, a video signing device and a video signing system based on a alliance chain, and relates to the technical field of block chains. The video signing method based on the alliance chain is applied to an alliance chain network and comprises the following steps: receiving video data from a video initiating terminal of a alliance chain network, and determining missing data according to a timestamp in the video data; determining an adjacent IP address according to the IP address of the receiving end corresponding to the missing data; searching homogeneous data from a video frame pool of adjacent IP addresses according to the missing data, and generating complete video data according to the homogeneous data and the video data; and extracting target video data from the complete video data according to a preset time period, sequencing the target video data according to the time stamp, and displaying to perform video subscription. The invention can solve the requirement of online signing and reduce the network security risk.

Description

Video signing method, device and system based on alliance chain
Technical Field
The present invention relates to the field of block chain technology, and in particular, to a video subscription method, apparatus, and system based on a federation chain.
Background
With the development and progress of modern science and technology, the globalization degree is gradually deepened, and the scenes of remote office work and learning are gradually increased, so that people are forced to seek a safe, tamper-proof and efficient communication mode. The financial subscription has higher requirements on safety, security and tamper resistance, and a large number of financial transactions only allow offline network points to be handled face to face, so that a tracker can intercept information by tracking an information transmission path, and safety problems are brought, thereby generating urgent requirements for guaranteeing absolute safety of the information transmission path.
Disclosure of Invention
The embodiment of the invention mainly aims to provide a video signing method, a video signing device and a video signing system based on a alliance chain, so as to meet the requirement of online signing and reduce the network security risk.
In order to achieve the above object, an embodiment of the present invention provides a video subscription method based on a alliance chain, which is applied to an alliance chain network, and includes:
receiving video data from a video initiating terminal of a alliance chain network, and determining missing data according to a time stamp in the video data;
determining an adjacent IP address according to the IP address of the receiving end corresponding to the missing data;
searching homogeneous data from a video frame pool of adjacent IP addresses according to the missing data, and generating complete video data according to the homogeneous data and the video data;
and extracting target video data from the complete video data according to a preset time period, sequencing the target video data according to the time stamp, and displaying to perform video subscription.
In one embodiment, the method further comprises the following steps:
receiving integrity alarm data from a video initiating end, and positioning damaged data according to an IP address and a timestamp in the integrity alarm data;
and repairing the damaged data, and feeding back repair information to the video initiating end and the third-party video end.
In one embodiment, the method further comprises the following steps:
receiving security alarm data from a video initiating terminal; the video starting end checks and generates the IP address of the starting end corresponding to the video data according to the preset IP address;
and deleting the video data corresponding to the problem IP address in the security alarm data.
The embodiment of the invention also provides a video subscription device based on the alliance chain, which is applied to the alliance chain network and comprises the following steps:
the device comprises a missing data determining module, a data processing module and a data processing module, wherein the missing data determining module is used for receiving video data from a video initiating end of a alliance chain network and determining the missing data according to a time stamp in the video data;
the adjacent IP address determining module is used for determining an adjacent IP address according to the IP address of the receiving end corresponding to the missing data;
the complete video data module is used for searching homogeneous data from a video frame pool of adjacent IP addresses according to the missing data and generating complete video data according to the homogeneous data and the video data;
and the video signing module is used for extracting target video data from the complete video data according to a preset time period, sequencing the target video data according to the time stamp and then displaying the target video data so as to sign a video.
In one embodiment, the method further comprises the following steps:
the damaged data positioning module is used for receiving integrity alarm data from a video initiating end and positioning the damaged data according to an IP address and a timestamp in the integrity alarm data;
and the repair module is used for repairing the damaged data and feeding back repair information to the video initiating end and the third-party video end.
In one embodiment, the method further comprises the following steps:
the alarm data receiving module is used for receiving the security alarm data from the video initiating end; the video data processing method comprises the steps that a video initiating terminal detects and generates security alarm data according to a preset IP address, wherein the video initiating terminal checks and generates an initiating terminal IP address corresponding to the video data;
and the deleting module is used for deleting the video data corresponding to the problem IP address in the security alarm data.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor implements the steps of the video subscription method based on the alliance chain when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the video subscription method based on the alliance chain.
An embodiment of the present invention further provides a computer program product, which includes a computer program/instruction, and when the computer program/instruction is executed by a processor, the steps of the video subscription method based on the alliance chain are implemented.
An embodiment of the present invention further provides a video subscription system, including:
the video subscribing device as described above; and
the video initiating terminal is used for sending video data to the video signing device;
the video signing device and the video initiating terminal form a alliance chain network.
The video signing method, the device and the system based on the alliance chain determine missing data according to the time stamp in the video data to determine an adjacent IP address according to a corresponding receiving end IP address, then search homogeneous data from a video frame pool of the adjacent IP address according to the missing data, generate complete video data according to the homogeneous data and the video data, finally extract target video data from the complete video data according to a preset time period, sort the target video data according to the time stamp and display the target video data for video signing, can meet the requirement of online signing, and reduce the network security risk.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a video subscription method based on a federation chain in an embodiment of the present invention;
fig. 2 is a block diagram of a video subscription apparatus based on a alliance chain in the embodiment of the present invention;
FIG. 3 is a block diagram of a computer device in an embodiment of the invention;
fig. 4 is a schematic diagram of a video subscription system based on a federation chain in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
In the technical scheme of the application, the data acquisition, storage, use, processing and the like all conform to relevant regulations of national laws and regulations.
In view of the safety problem brought by the information transmission mode in the traditional mode, the embodiment of the invention provides a video signing method, a video signing device and a video signing system based on a alliance chain.
The brand new application of the block chain in the communication field can completely change the channel of information transmission, and fundamentally solves the problem of path security of information transmission. Advanced encryption technology is adopted in the data communication processes of block chain checking, sending and the like. This technique ensures not only that the source of the data is correct, but also that the data is not intercepted and tampered with by a person in the middle of the process. The blockchain system reduces the conventional network security risk because it eliminates the need for an intermediary party. The user can obtain video contact with a financial institution by using the block chain, the identity confirmation is completed in a remote video form, meanwhile, the specific file is transmitted by using the block chain and signed in an agreement, and the validity and the falsification prevention of the signature are ensured by using a falsification prevention technology of the block chain.
The terms to which the present invention relates are explained as follows:
blockchain (Blockchain): the block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. It is essentially a decentralized database, and the underlying technology is a series of data blocks associated using cryptography, each data block containing information of a batch of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. As a high energy consumption system, to maintain the authenticity and integrity of the block chain, operations can be performed seven trillion times per second, thus requiring a large amount of hardware and energy for support.
Through a distributed protocol, a communication network of a block chain technology can realize communication establishment in less than ten seconds, the communication protocol is developed by using a fragmentation technology, the loading time is optimized, and the block chain technology has a plurality of obvious advantages in the aspects of communication network dispersibility, safety and the like, such as:
1. blockchain technology communication is not blocked by firewalls because each user and each conversation is a distinctive Session (Session) with unlimited access to anywhere in the world, which is useful for enabling secure communications.
2. The block chain technology has user-controlled record storage and has the characteristic of being not tampered, so that the protocol cannot be modified in the signing process.
3. Blockchain techniques may enable advanced encryption for each session, message, and file.
The present invention will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a video subscription method based on a federation chain in an embodiment of the present invention. As shown in fig. 1, the video subscription method based on the alliance chain is applied to an alliance chain network, and includes:
s101: and receiving video data from a video initiating terminal of the alliance chain network, and determining missing data according to a time stamp in the video data.
In step S101, the live cameras of the users (the video initiator, the video receiver, and the third-party video client) correspond to their respective IP addresses. In the video signing process, a multi-purpose camera of a certain user acquires videos of the user in real time, and video data acquired by cameras with different IP addresses are uploaded to a alliance chain.
The uploaded video data comprises at least two parts: one part is the IP address of each camera, the other part is the created time stamp, and finally the hash function value of the IP address of all the cameras and the time stamp is uploaded, namely the hash (the IP1 of the camera, the IP2, … … of the camera, the IP N of the camera and the time stamp). It should be noted that the hash value can be placed in an access-restricted area in the contract layer, so that data can be acquired with restrictions, and the IP address and the timestamp of each road camera can be effectively protected from being tampered.
Each camera IP address of the same user can create a video block chain belonging to itself, for example, "camera IP X" represents a video block chain created by a camera with IP X, and points to the same video block chain node (iniBlock). The head blocks on the block chain corresponding to each camera IP have similar structures, namely a pointer pointing to iniBlock, a camera IP and a timestamp, and subsequent video data acquired by the camera can be hung on the corresponding video block chain according to the head blocks. The video data contains the IP address of the camera, a timestamp, a frame data length, and frame data. For example, camera IP X creates a chain of video tiles as (camera IP X header tile, video tile 1, video tile 2 … … video tile N-1, video tile N).
After the video data module acquires the video data transmitted by the N paths of cameras, the security of the video data of each path is detected and analyzed, and the phenomenon that the video data are completely lost or key frames are disordered due to network problems, malicious tampering and the like is avoided.
After the video subscription is started, video streams are continuously pushed to the alliance chain, video data detected through safety are placed in a local video frame pool by a video receiving end node and are arranged according to the sequence of timestamps, whether video data are lost or not can be detected in time, the situation that videos cannot be recovered at the later stage is prevented, and especially key frames are lost. Since there may be a delay in the P2P network, it may happen that video data of a later time arrives first at the node, and the video data may be temporarily put into the video frame orphan pool. The video data module will determine the missing data according to the time stamp in the video data: if the missing video data is not received for a long time, the video data module determines that the video data is missing data.
Before executing S101, the method further includes:
(1) and (4) proposing a response: and the signing service initiating end node initiates a video signing proposal, and each node of the block chain carries out feedback. Each node comprises each related party in the video subscription service. Corresponding to the invention, the user or the service personnel as a proposing party of video subscription inputs required information on a user interface and initiates the video subscription operation.
(2) And (3) constructing a federation chain: at least two users (a video initiator and a video receiver) involved in the video subscription service are determined to construct a alliance chain.
All the related parties involved in the subscription in the block chain are submitted for proposal application, and after all the responses of the related parties are collected, a federation chain is constructed for all the parties. It should be noted that the alliance chain is only constructed for the feedback users, all information is transmitted, loaded and stored based on the chain in the subsequent signing process, and other nodes which do not participate in the subsequent signing process cannot acquire the relevant information of the video signing service.
The alliance chain can configure an independent channel for each user, and particularly, the invention supports the configuration of an independent channel for multi-purpose camera equipment used by the user, thereby realizing the backup of a multi-video source and avoiding the situations of video data loss, tampering and the like. For example, each user information (including user identification) and a camera IP are used as a set of information sets, a new channel profile is generated for each set of information sets, then a channel for only the camera to which each user belongs to communicate is created according to the channel profile, and each user performs video data interaction through the channel, thereby forming a new alliance chain for each user. And data is sent and loaded through encryption and decryption, so that the interaction safety is guaranteed.
Each user on the blockchain acquires video image data through a camera deployed in the on-site environment and uploads the video image data into the alliance chain. For example, the video initiator and the video receiver are different nodes in a federation chain, and together they form a P2P remote video subscription network. The video data source is acquired by a camera erected in the site environment of each node, and the generated video data is sent to the video initiating terminal and the video receiving terminal.
S102: and determining the adjacent IP address according to the receiving end IP address corresponding to the missing data.
In specific implementation, after video frame data independently transmitted by IP of each camera is received, firstly, the security of the video data is checked, damaged data or malicious and illegal data are prevented from entering a block chain network, the checked video data are put into a video frame pool, and meanwhile, a plurality of video frames are extracted from the video frame pool according to the sequence of video generation to construct video blocks and wait to be recorded into a video block chain. The invention adopts a workload proving mechanism to fairly compete for the accounting right, a node (a certain camera IP of a user) which obtains the accounting right has the right to propose a video block constructed by the node to be written into a video block chain, the video block is broadcasted to other nodes (third-party video terminals), and the video block is synchronized to the local video block chains of the node after being verified by the other nodes, thereby realizing the synchronization of the video data of the whole network. When all the video data under a certain IP address is lost, S102 and S103 are executed to synchronize video data resolution from other IP cameras (adjacent IP addresses) of the same user.
If the video key frame under a certain IP address is disordered, the detection of the legality and the integrity of the video data is started.
In one embodiment, the process of detecting the integrity of the video data is as follows:
receiving integrity alarm data from a video initiating end, and positioning damaged data according to an IP address and a timestamp in the integrity alarm data; and repairing the damaged data, and feeding back repair information to the video initiating end and the third-party video end.
In specific implementation, after the video data module analyzes data integrity, a risk prompt is initiated on a alliance chain according to preset conditions and actual conditions, and the alarm module responds to the proposal to record bad frame identification information and send the risk prompt for all cameras under the user name of the chain where the bad frame identification information is located. And the node receiving the alarm information positions the video data in the local video frame pool according to the IP address and the timestamp of the camera, restores the video data passing the security detection to the bad frame node, feeds the restoration information back to the alarm module, and deletes the bad frame information identifier in the alarm module.
In one embodiment, the process of detecting the validity of the video data is as follows:
and receiving security alarm data from a video initiating end, and deleting video data corresponding to the problem IP address in the security alarm data.
And the video initiating terminal checks the IP address of the initiating terminal corresponding to the video data according to the preset IP address to generate the safety alarm data.
The validity indicates whether the video data is from a legal camera, that is, whether the camera IP in the video data belongs to the camera IP address (preset IP address) set in the intelligent contract is checked, and the video data sent from the problem IP address is discarded.
S103: searching homogeneous data from the video frame pool of the adjacent IP address according to the missing data, and generating complete video data according to the homogeneous data and the video data.
S104: and extracting target video data from the complete video data according to a preset time period, sequencing the target video data according to the time stamp, and displaying to perform video subscription.
When the video subscription is normally performed, the video data uploaded by the video initiator is decrypted and loaded, and then is sent to other nodes on the alliance chain, such as a video receiving end. The video receiving end automatically checks the IP address and the time range of a camera to which the video to be extracted belongs, traverses blocks on a video block chain, finds out a corresponding time period by matching the time stamps of the blocks, extracts video data stored in the blocks in the time period, restores the video data into an original video according to the time sequence, displays the original video on a terminal interface and completes one-time complete video data transmission.
Video data related to the subscription service is written into the alliance chain. If the user nodes on the block chain receive the bad frame data or the video data within a period of time, the signing risk is prompted to all the user nodes, and the signing can not be continued until the risk disappears, so that the safety of remote video signing is ensured.
The execution subject of the video subscription method based on the alliance chain shown in fig. 1 may be a video receiving terminal. As can be seen from the process shown in fig. 1, in the video subscription method based on the alliance chain according to the embodiment of the present invention, missing data is determined according to a timestamp in video data, so as to determine an adjacent IP address according to a corresponding receiving end IP address, homogeneous data is searched from a video frame pool of the adjacent IP address according to the missing data, complete video data is generated according to the homogeneous data and the video data, target video data is extracted from the complete video data according to a preset time period, the target video data is ranked according to the timestamp and then displayed for video subscription, so that the requirement of online subscription can be met, and the network security risk can be reduced.
Based on the same inventive concept, the embodiment of the invention also provides a video subscription device based on the alliance chain, and as the principle of solving the problems of the device is similar to the video subscription method based on the alliance chain, the implementation of the device can refer to the implementation of the method, and repeated parts are not repeated.
Fig. 2 is a block diagram of a video subscription apparatus based on a alliance chain in the embodiment of the present invention. As shown in fig. 2, the video subscription apparatus based on alliance chain is applied to alliance chain network, and includes:
the missing data determining module is used for receiving video data from a video initiating end of the alliance chain network and determining the missing data according to a time stamp in the video data;
the adjacent IP address determining module is used for determining an adjacent IP address according to the IP address of the receiving end corresponding to the missing data;
the complete video data module is used for searching homogeneous data from a video frame pool of adjacent IP addresses according to the missing data and generating complete video data according to the homogeneous data and the video data;
and the video signing module is used for extracting target video data from the complete video data according to a preset time period, sequencing the target video data according to the time stamp and then displaying the target video data so as to sign a video.
In one embodiment, the method further comprises the following steps:
the damaged data positioning module is used for receiving integrity alarm data from a video initiating end and positioning the damaged data according to an IP address and a timestamp in the integrity alarm data;
and the repair module is used for repairing the damaged data and feeding back repair information to the video initiating end and the third-party video end.
In one embodiment, the method further comprises the following steps:
the alarm data receiving module is used for receiving the security alarm data from the video initiating end; the video data processing method comprises the steps that a video initiating terminal detects and generates security alarm data according to a preset IP address, wherein the video initiating terminal checks and generates an initiating terminal IP address corresponding to the video data;
and the deleting module is used for deleting the video data corresponding to the problem IP address in the security alarm data.
In practical applications, the video subscription device based on the alliance chain comprises:
and the response module is used for feeding back the proposal of the signed service initiated by the signed service initiating end and acquiring the feedback of each node of the block chain to the proposal.
And the chain constructing module is used for determining at least two users of the service according to the feedback and constructing a alliance chain for the at least two users.
And the video data module comprises a missing data determining module, an adjacent IP address determining module, a complete video data module, a video signing module and a damaged data positioning module, and is used for analyzing and monitoring the generated video data in real time, transmitting the complete video data after the repair confirmation to the alliance chain and allowing other users on the chain to acquire video messages.
And the warning module comprises a repairing module, a warning data receiving module and a deleting module and is used for responding risk information of the video information in the signed service, issuing repairing instructions to cameras under different IP addresses of the user or issuing risk prompts to all users of the alliance chain.
To sum up, the video subscription device based on the alliance chain according to the embodiment of the present invention determines missing data according to a timestamp in video data to determine an adjacent IP address according to a corresponding receiving end IP address, searches homogeneous data from a video frame pool of the adjacent IP address according to the missing data, generates complete video data according to the homogeneous data and the video data, extracts target video data from the complete video data according to a preset time period, sorts the target video data according to the timestamp, and displays the target video data for video subscription, thereby solving the requirement of online subscription and reducing the network security risk.
The embodiment of the present invention further provides a specific implementation manner of a computer device, which is capable of implementing all steps in the video subscription method based on the alliance chain in the above embodiment. Fig. 3 is a block diagram of a computer device in an embodiment of the present invention, and referring to fig. 3, the computer device specifically includes the following contents:
a processor (processor)301 and a memory (memory) 302.
The processor 301 is configured to call a computer program in the memory 302, and the processor implements all the steps in the video subscription method based on the federation chain in the above embodiment when executing the computer program, for example, the processor implements the following steps when executing the computer program:
receiving video data from a video initiating terminal of a alliance chain network, and determining missing data according to a time stamp in the video data;
determining an adjacent IP address according to the IP address of the receiving end corresponding to the missing data;
searching homogeneous data from a video frame pool of adjacent IP addresses according to the missing data, and generating complete video data according to the homogeneous data and the video data;
and extracting target video data from the complete video data according to a preset time period, sequencing the target video data according to the time stamp, and displaying to perform video subscription.
To sum up, the computer device of the embodiment of the present invention determines missing data according to a timestamp in video data to determine an adjacent IP address according to a corresponding receiving end IP address, searches for similar data from a video frame pool of the adjacent IP address according to the missing data, generates complete video data according to the similar data and the video data, extracts target video data from the complete video data according to a preset time period, sorts the target video data according to the timestamp, and displays the target video data for video subscription, thereby solving the requirement of online subscription and reducing the network security risk.
An embodiment of the present invention further provides a computer-readable storage medium capable of implementing all the steps in the video subscription method based on a federation chain in the foregoing embodiment, where the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, implements all the steps in the video subscription method based on a federation chain in the foregoing embodiment, for example, when the processor executes the computer program, implements the following steps:
receiving video data from a video initiating end of a alliance chain network, and determining missing data according to a time stamp in the video data;
determining an adjacent IP address according to the IP address of the receiving end corresponding to the missing data;
searching homogeneous data from a video frame pool of adjacent IP addresses according to the missing data, and generating complete video data according to the homogeneous data and the video data;
and extracting target video data from the complete video data according to a preset time period, sequencing the target video data according to the time stamp, and displaying to perform video subscription.
To sum up, the computer-readable storage medium according to the embodiment of the present invention determines missing data according to a timestamp in video data to determine an adjacent IP address according to a corresponding receiving end IP address, searches homogeneous data from a video frame pool of the adjacent IP address according to the missing data, generates complete video data according to the homogeneous data and the video data, extracts target video data from the complete video data according to a preset time period, sorts the target video data according to the timestamp, and displays the sorted target video data to perform video contracting, thereby solving the requirement of online contracting and reducing the network security risk.
An embodiment of the present invention further provides a computer program product capable of implementing all the steps in the video subscription method based on the alliance chain in the above embodiment, where the computer program product includes a computer program/instruction, and when the computer program/instruction is executed by a processor, the computer program/instruction implements all the steps in the video subscription method based on the alliance chain in the above embodiment, for example, when the processor executes the computer program, the processor implements the following steps:
receiving video data from a video initiating terminal of a alliance chain network, and determining missing data according to a time stamp in the video data;
determining an adjacent IP address according to the IP address of the receiving end corresponding to the missing data;
searching homogeneous data from a video frame pool of adjacent IP addresses according to the missing data, and generating complete video data according to the homogeneous data and the video data;
and extracting target video data from the complete video data according to a preset time period, sequencing the target video data according to the time stamps, and displaying the target video data to sign a video.
To sum up, the computer program product of the embodiment of the present invention determines missing data according to a timestamp in video data to determine an adjacent IP address according to a corresponding receiving end IP address, searches homogeneous data from a video frame pool of the adjacent IP address according to the missing data, generates complete video data according to the homogeneous data and the video data, extracts target video data from the complete video data according to a preset time period, sorts the target video data according to the timestamp, and displays the sorted target video data for video subscription, thereby solving the requirement of online subscription and reducing the network security risk.
Based on the same inventive concept, the embodiment of the invention also provides a video subscription system based on the alliance chain, and as the principle of solving the problems of the system is similar to the video subscription method based on the alliance chain, the implementation of the system can refer to the implementation of the method, and repeated parts are not repeated.
Fig. 4 is a schematic diagram of a video subscription system based on a federation chain in the embodiment of the present invention. As shown in fig. 4, the video subscription system based on the alliance chain includes:
the video subscribing device as described above; and
the video initiating terminal is used for sending video data to the video signing device;
the video signing device and the video initiating terminal form a alliance chain network.
The specific work flow of the video subscription system based on the alliance chain in the embodiment of the invention is as follows:
1. and the video initiating end sends the video data to the video receiving end.
2. And the video receiving end determines the missing data according to the time stamp in the video data.
3. And the video receiving terminal determines the adjacent IP address according to the IP address of the receiving terminal corresponding to the missing data.
4. The video receiving end searches the same-class data from the video frame pool of the adjacent IP addresses according to the missing data, and generates complete video data according to the same-class data and the video data;
5. and the video initiating end sends integrity alarm data to the video receiving end.
6. And the video receiving end positions the damaged data according to the IP address and the timestamp in the integrity alarm data.
7. And the video receiving end repairs the damaged data and feeds back repair information to the video initiating end and the third-party video end.
8. The video initiating terminal checks the IP address of the initiating terminal corresponding to the video data according to the preset IP address to generate security alarm data, and the security alarm data is sent to the video receiving terminal.
9. The video receiving end deletes the video data corresponding to the problem IP address in the security alarm data,
10. And the video receiving end extracts the target video data from the complete video data according to a preset time period, and sequences and displays the target video data according to the time stamp so as to sign a contract for the video.
In summary, the video subscription system based on the alliance chain in the embodiment of the invention can solve the problem of remote subscription for the remote video subscription service which needs to be completed by multiple users together. The participation and determination processes of multiple parties do not need manual communication, and the communication efficiency of each relevant party is improved on the premise of reducing the manual cost. In addition, the invention stores the contract and the video data related to the video subscription through the alliance chain constructed for each party signed by the video, thereby ensuring the traceability and the tamper of the video subscription information and the safety and the reliability of the video subscription process and realizing a subscription way with public credibility.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Those of skill in the art will further appreciate that the various illustrative logical blocks, units, and steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate the interchangeability of hardware and software, various illustrative components, elements, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design requirements of the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present invention.
The various illustrative logical blocks, or elements, or devices described in connection with the embodiments disclosed herein may be implemented or performed with a general purpose processor, a digital signal processor, an Application Specific Integrated Circuit (ASIC), a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. For example, a storage medium may be coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC, which may be located in a user terminal. In the alternative, the processor and the storage medium may reside in different components in a user terminal.
In one or more exemplary designs, the functions described above in connection with the embodiments of the invention may be implemented in hardware, software, firmware, or any combination of the three. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media that facilitate transfer of a computer program from one place to another. Storage media may be any available media that can be accessed by a general purpose or special purpose computer. For example, such computer-readable media can include, but is not limited to, RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to carry or store program code in the form of instructions or data structures and which can be read by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Additionally, any connection is properly termed a computer-readable medium, and, thus, is included if the software is transmitted from a website, server, or other remote source via a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wirelessly, e.g., infrared, radio, and microwave. Such discs (disk) and disks (disc) include compact disks, laser disks, optical disks, DVDs, floppy disks and blu-ray disks, where disks usually reproduce data magnetically, while disks usually reproduce data optically with lasers. Combinations of the above may also be included in the computer-readable medium.

Claims (10)

1. A video subscription method based on a alliance chain is characterized in that the video communication method is applied to a alliance chain network and comprises the following steps:
receiving video data from a video initiating end of the alliance chain network, and determining missing data according to a timestamp in the video data;
determining an adjacent IP address according to the IP address of the receiving end corresponding to the missing data;
searching homogeneous data from the video frame pool of the adjacent IP address according to the missing data, and generating complete video data according to the homogeneous data and the video data;
and extracting target video data from the complete video data according to a preset time period, sequencing the target video data according to the time stamp, and displaying to perform video subscription.
2. The video subscription method of claim 1, further comprising:
receiving integrity alarm data from the video initiating end, and positioning damaged data according to an IP address and a timestamp in the integrity alarm data;
and repairing the damaged data, and feeding back repair information to the video initiating terminal and the third-party video terminal.
3. The video subscription method of claim 2, further comprising:
receiving security alarm data from the video initiating terminal; the video initiating terminal checks and generates the IP address of the initiating terminal corresponding to the video data according to a preset IP address;
and deleting the video data corresponding to the problem IP address in the safety alarm data.
4. A video subscription device based on alliance chain, wherein the video communication device is applied to alliance chain network, comprising:
the missing data determining module is used for receiving video data from a video initiating end of the alliance chain network and determining the missing data according to a time stamp in the video data;
the adjacent IP address determining module is used for determining an adjacent IP address according to the IP address of the receiving end corresponding to the missing data;
the complete video data module is used for searching homogeneous data from the video frame pool of the adjacent IP address according to the missing data and generating complete video data according to the homogeneous data and the video data;
and the video signing module is used for extracting target video data from the complete video data according to a preset time period, sequencing the target video data according to the timestamp and displaying the target video data so as to sign a video.
5. The video contracting device of claim 4, further comprising:
the damaged data positioning module is used for receiving integrity alarm data from the video initiating end and positioning the damaged data according to the IP address and the timestamp in the integrity alarm data;
and the repair module is used for repairing the damaged data and feeding back repair information to the video initiating end and the third-party video end.
6. The video contracting device of claim 5, further comprising:
the alarm data receiving module is used for receiving the security alarm data from the video initiating end; the video initiating terminal checks and generates the IP address of the initiating terminal corresponding to the video data according to a preset IP address;
and the deleting module is used for deleting the video data corresponding to the problem IP address in the safety alarm data.
7. A computer device comprising a memory, a processor and a computer program stored on the memory and running on the processor, characterized in that the processor implements the steps of the video subscription method of any one of claims 1 to 3 when executing the computer program.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the video subscription method of any one of claims 1 to 3.
9. A computer program product comprising computer programs/instructions, characterized in that the computer programs/instructions, when executed by a processor, implement the steps of the video subscription method of any of claims 1 to 3.
10. A federation chain-based video subscription system, comprising:
the video contracting device of any one of claims 4 to 6; and
the video initiating terminal is used for sending video data to the video signing device;
wherein, the video signing device and the video initiating terminal form a alliance chain network.
CN202210640576.9A 2022-06-08 2022-06-08 Video signing method, device and system based on alliance chain Active CN115119070B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210640576.9A CN115119070B (en) 2022-06-08 2022-06-08 Video signing method, device and system based on alliance chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210640576.9A CN115119070B (en) 2022-06-08 2022-06-08 Video signing method, device and system based on alliance chain

Publications (2)

Publication Number Publication Date
CN115119070A true CN115119070A (en) 2022-09-27
CN115119070B CN115119070B (en) 2024-04-16

Family

ID=83326602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210640576.9A Active CN115119070B (en) 2022-06-08 2022-06-08 Video signing method, device and system based on alliance chain

Country Status (1)

Country Link
CN (1) CN115119070B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083757A (en) * 2019-04-24 2019-08-02 中国地质大学(北京) A kind of abnormal data access and querying method, system based on alliance's chain network
CN110650321A (en) * 2019-10-24 2020-01-03 黄芸芸 Block chain technology-based video content tamper-proof, loss-proof and recovery method
US20200159891A1 (en) * 2018-11-20 2020-05-21 International Business Machines Corporation Chain-of-custody of digital content in a database system
CN111405223A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 Video processing method, device and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200159891A1 (en) * 2018-11-20 2020-05-21 International Business Machines Corporation Chain-of-custody of digital content in a database system
CN111405223A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 Video processing method, device and equipment
CN110083757A (en) * 2019-04-24 2019-08-02 中国地质大学(北京) A kind of abnormal data access and querying method, system based on alliance's chain network
CN110650321A (en) * 2019-10-24 2020-01-03 黄芸芸 Block chain technology-based video content tamper-proof, loss-proof and recovery method

Also Published As

Publication number Publication date
CN115119070B (en) 2024-04-16

Similar Documents

Publication Publication Date Title
CN107220820B (en) Resource transfers method, apparatus and storage medium
CN108881169B (en) Time distribution and synchronization method and system based on block chain and data processing system
RU2458481C2 (en) Method and system for trusted third party-based two-way object identification
CN101075866B (en) Method and system for loading message on Internet
CN109242404B (en) Resume information management method, resume information management device, computer equipment and readable storage medium
CN108989118B (en) Enterprise-level private block chain deployment tool based on GO language
CN111405223A (en) Video processing method, device and equipment
KR20210059856A (en) Blockchain network system being capable of verifying a blockchain ledger and method for verifying a blockchain ledger
TW202115643A (en) Decentralized automatic phone fraud risk management
CN113079000A (en) Consensus method based on verifiable quantum random number
CN112862487A (en) Digital certificate authentication method, equipment and storage medium
CN110545261A (en) Consensus algorithm applied to block chain network
CN110647583A (en) Block chain construction method, device, terminal and medium
CN110941840A (en) Data processing method, system and terminal
CN110139163B (en) Method and related device for acquiring bullet screen
CN111682955B (en) Tool arrangement device for criminal scene electronic data evidence obtaining
CN110601850B (en) Scenic spot information recording method, related equipment and storage medium
CN115119070A (en) Video signing method, device and system based on alliance chain
CN110992219A (en) Intellectual property protection method and system based on block chain technology
CN114666133B (en) Remote inquiry evidence obtaining system and method based on original handwriting signature
CN105959112B (en) A kind of offline key injected system and method
WO2022016573A1 (en) Video monitoring analysis system and method
CN113783305A (en) AR-based power station integrated management method, system and server
CN112907246A (en) BFT protocol and PoW mechanism-based block chain consensus protocol implementation method and system
CN111600719A (en) Electronic data verifiable trusted system and display platform based on three-party authentication

Legal Events

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