CN110234038A - A kind of user management method based on distributed storage - Google Patents

A kind of user management method based on distributed storage Download PDF

Info

Publication number
CN110234038A
CN110234038A CN201910400275.7A CN201910400275A CN110234038A CN 110234038 A CN110234038 A CN 110234038A CN 201910400275 A CN201910400275 A CN 201910400275A CN 110234038 A CN110234038 A CN 110234038A
Authority
CN
China
Prior art keywords
video
user
master library
distributed storage
label
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
CN201910400275.7A
Other languages
Chinese (zh)
Other versions
CN110234038B (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.)
Terminus Beijing Technology Co Ltd
Original Assignee
Terminus Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Terminus Beijing Technology Co Ltd filed Critical Terminus Beijing Technology Co Ltd
Priority to CN201910400275.7A priority Critical patent/CN110234038B/en
Publication of CN110234038A publication Critical patent/CN110234038A/en
Application granted granted Critical
Publication of CN110234038B publication Critical patent/CN110234038B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • 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/43Processing 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • 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/84Generation or processing of descriptive data, e.g. content descriptors
    • H04N21/8405Generation or processing of descriptive data, e.g. content descriptors represented by keywords
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

This application discloses a kind of user management methods based on distributed storage, belong to technical field of data processing.The described method includes: application node recorded video, extracts the key message of video and broadcast;The key message that node obtains broadcast is authenticated, the label of corresponding video is demarcated, and determines master library timestamp, distributed storage database master library is written using master library timestamp, key message and label as authentication data;Node is evaluated and tested every the timestamp in the last one storage packet that prefixed time interval obtains distributed storage database Zhi Ku as initial time, and obtains current time as deadline;The authentication data in the corresponding period is searched in distributed storage database master library as measured data to be evaluated according to initial time and deadline;The user class of corresponding user is evaluated and tested according to measured data to be evaluated, and is saved to distributed storage database Zhi Ku.It in the application, has not only ensured the safety and stability of each data, but also operating process is open and clear, has not lost justice, can effectively manage user and excitation user.

Description

A kind of user management method based on distributed storage
Technical field
This application involves technical field of data processing more particularly to a kind of user management methods based on distributed storage.
Background technique
It is strategic new that seven powers have been arranged in " State Council is about the decision for accelerating cultivation and development strategy new industry " Emerging industrial system, including " generation information technology industry ".Generation information technology is seven strategies that State Council determines Property one of new industry, be divided into six aspects, be that next-generation communication network, Internet of Things, the integration of three networks, novel flat-plate are aobvious respectively Show, high performance integrated circuit and using cloud computing as the high end software of representative.Master about development " generation information technology industry " Wanting content is, " Accelerating The Construction broadband, it is ubiquitous, fusion, safety information network infrastructure, push next-generation mobile communications, under The research and development and industrialization of generation internet core equipment and intelligent terminal.
Today of internet rapid technological growth, various applications are also given birth to therewith.Currently, trill, fast video etc. have view The live streaming application of frequency recording function is very powerful and exceedingly arrogant, and panoramic personage is broadcast live the various videos of application recording by these and issues To network.However, some users but propagate some unsound, passive thoughts whereby, adverse effect is brought for spectators.Cause And do not reduce live streaming using rate in the case where, how to transfer user issue health video and to live streaming user into Row management is necessary.
In current existing live streaming user management method, usually by collection of server user data, adopted by analysis The data of collection are awarded or are punished to corresponding user;However in this method, a large amount of data are stored in server, Once server breaks down, all previous works are then zeroed;And the process of data and opaque is analyzed, reward is not affected by User is likely to generate uneven psychology, and reduces the use interest of application, to reduce the clicking rate of application.
Summary of the invention
To solve the deficiencies in the prior art, the application proposes a kind of user management method based on distributed storage, device And system.
In a first aspect, the application proposes a kind of user management method for application node, comprising:
Recorded video, and extract the key message of the video;
The key message is broadcasted, in distributed storage data bank network so that each certification node demarcates the video Label.
Optionally, the key message for extracting the video, comprising:
Intercept the partial video segment of the video;
By the video clip and Video attribute information to the key message that should be used as the video.
Second aspect, the application propose a kind of for authenticating the user management method of node, comprising:
Obtain the key message in distributed storage data bank network;
The label of corresponding video is demarcated according to the key message;
The label is verified, and when being verified, master library timestamp is determined by preset certification node, by the master library Distributed storage database master library is written as authentication data in timestamp, the key message and the label.
Optionally, the label that corresponding video is demarcated according to the key message, comprising: call preset analysis model The video content of video clip in the key message is analyzed, and demarcates label.
Optionally, the label is verified using practical Byzantine failure tolerance mechanism.
Optionally, the key message includes Video attribute information, and the Video attribute information includes the video record time;
The determining master library timestamp, comprising: current time is obtained, when judging the current time and the video record Between whether meet preset condition, be then using the current time as master library timestamp, otherwise by the video record time make For master library timestamp.
Optionally, the key message includes video clip and Video attribute information;
It is described that distributed storage database master library is written into the key message and the label, comprising:
To the video clip compressed encoding, encoded video data is obtained;
Generate the abstract of the encoded video data;
Distributed storage database master library is written into the abstract, label, master library timestamp, Video attribute information.
The third aspect, the application propose a kind of for evaluating and testing the user management method of node, comprising:
Timestamp in the last one storage packet that prefixed time interval obtains distributed storage database Zhi Ku, and As initial time;
Current time is obtained as deadline, according to the initial time and the deadline in distributed storage number According to the authentication data searched in the master library of library in the corresponding period as measured data to be evaluated;
The user class of corresponding user is evaluated and tested according to the measured data to be evaluated;
The user class is verified, and when being verified, by default evaluation and test node using the deadline as current Branch library timestamp corresponding with the user class save to the distributed storage database Zhi Ku.
Optionally, described to be searched in distributed storage database master library according to the initial time and the deadline Authentication data in the corresponding period is as measured data to be evaluated, comprising:
The master library successively read forward in each storage packet is packaged from the last one storage of distributed storage database master library Timestamp;
Judge the master library timestamp read whether in the initial time and the deadline corresponding period;
When the judgment result is yes, the authentication data in corresponding storage packet is read and as measured data to be evaluated;
When the judgment result is no, determine to search to terminate.
Optionally, the data to be evaluated include: label, video identifier and user identifier with corresponding relationship;
The user class that corresponding user is evaluated and tested according to the measured data to be evaluated, comprising:
Data to be evaluated are sorted out, the corresponding all labels of each user identifier and video identifier are obtained;
The quantity for counting the corresponding video identifier of each user identifier obtains the video record number of each user;
According to the corresponding all labels of each user identifier, the video record number and default evaluating standard of each user, Evaluate and test the user class of corresponding each user.
Optionally, the user class is verified using practical Byzantine failure tolerance mechanism.
Fourth aspect, the application propose a kind of user management device, comprising:
Module is recorded, recorded video is used for;
Extraction module, for extracting the key message of the video;
Broadcast module, the key message extracted for broadcasting the extraction module in distributed storage data bank network, So that each certification node demarcates label to the video.
Optionally, the extraction module, specifically for intercepting the partial video segment of the video, by the video clip With Video attribute information to the key message that should be used as the video.
5th aspect, the application propose a kind of user management device, comprising:
First obtains module, for obtaining the key message in distributed storage data bank network;
Demarcating module, for obtaining the label that the key message that module obtains demarcates corresponding video according to described first;
First authentication module, for verifying the label of the demarcating module calibration;
Determining module, for determining master library timestamp when first authentication module is verified;
First writing module, for being write using the master library timestamp, the key message and the label as authentication data Enter distributed storage database master library.
Optionally, the demarcating module, specifically for calling preset analysis model to analyze video in the key message The video content of segment, and demarcate label.
Optionally, first authentication module is specifically used for verifying the label using practical Byzantine failure tolerance mechanism.
Optionally, the determining module is specifically used for obtaining current time, judges the current time and the crucial letter Whether the video record time in breath meets preset condition, is then using the current time as master library timestamp, otherwise by institute The video record time is stated as master library timestamp.
Optionally, the key message includes video clip and Video attribute information;First writing module includes: coding Submodule generates submodule and write-in submodule;
The encoding submodule, for obtaining encoded video data to the video clip compressed encoding;
The generation submodule, for generating the abstract of the encoded video data;
Said write submodule, it is distributed for the abstract, label, master library timestamp, Video attribute information to be written Storing data library master library.
6th aspect, the application propose a kind of user management device, comprising:
Second obtain module, for every prefixed time interval obtain distributed storage database Zhi Ku the last one deposit Timestamp in storage packet, and as initial time;
Third obtains module, for obtaining current time as deadline;
Searching module, for being looked into distributed storage database master library according to the initial time and the deadline Look for the authentication data in the corresponding period as measured data to be evaluated;
Evaluation and test module, for evaluating and testing the user class of corresponding user according to the measured data to be evaluated;
Second authentication module, for verifying the user class of the evaluation and test module evaluation and test;
Second writing module, for when second authentication module is verified, using the deadline as current Branch library timestamp is corresponding with the user class to be saved to the distributed storage database Zhi Ku.
Optionally, searching module includes: the first reading submodule, judging submodule and the second reading submodule;
First reading submodule, for from the last one storage of distributed storage database master library package successively to The preceding master library timestamp read in each storage packet;
The judging submodule, for judging the master library timestamp of the first reading submodule reading whether at described Begin in time and the deadline corresponding period, when the judgment result is no, determining to search terminates;
Second reading submodule, for when the judging result of the judging submodule, which is, is, reading corresponding storage Authentication data in packet and as measured data to be evaluated.
Optionally, the data to be evaluated include: label, video identifier and user identifier with corresponding relationship;It is described Evaluation and test module includes: to sort out submodule, statistic submodule and evaluation and test submodule;
The classification submodule obtains the corresponding all labels of each user identifier for sorting out to data to be evaluated And video identifier;
The statistic submodule, the quantity for counting the corresponding video identifier of each user identifier obtain the video of each user Record number;
The evaluation and test submodule, for the video record according to the corresponding all labels of each user identifier, each user Number and default evaluating standard evaluate and test the user class of corresponding each user.
Optionally, second authentication module is specifically used for verifying the evaluation and test mould using practical Byzantine failure tolerance mechanism The user class of block evaluation and test.
7th aspect, the application propose a kind of Subscriber Management System, comprising: the application fourth aspect is any to the 6th aspect The device.
Eighth aspect, the application propose a kind of user management device, comprising:
One or more processors store the storage device of one or more programs;
When one or more of programs are executed by one or more of processors, such as the application first aspect is realized To any method of the third aspect.
9th aspect, the application proposes a kind of computer readable storage medium, is stored thereon with computer program, when described When computer program is executed by processor, realize the application first aspect to the third aspect it is any as described in method.
The advantages of the application, is: each data being handled and stored using distributed storage technology, are on the one hand ensured The safety and stability of storing data;On the other hand calibration label and all processes of user's evaluation and test are open and clear, effectively avoid It is not affected by the injustice psychology of reward user;In another aspect, different data storage is clearly demarcated, convenient for searching;Hereby it is achieved that data And effective management of user.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the application Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Attached drawing 1 is a kind of user management method flow chart for application node according to the application embodiment;
Attached drawing 2 is according to a kind of for authenticating the user management method flow chart of node of the application embodiment;
Attached drawing 3 is according to a kind of for evaluating and testing the user management method flow chart of node of the application embodiment;
Attached drawing 4 is a kind of user management method flow chart according to the application embodiment;
Attached drawing 5 is the first user management device block diagram according to the application embodiment;
Attached drawing 6 is second of user management device block diagram according to the application embodiment;
Attached drawing 7 is the third user management device block diagram according to the application embodiment.
Specific embodiment
The illustrative embodiments of the disclosure are more fully described below with reference to accompanying drawings.Although showing this public affairs in attached drawing The illustrative embodiments opened, it being understood, however, that may be realized in various forms the disclosure without the reality that should be illustrated here The mode of applying is limited.It is to be able to thoroughly understand the disclosure on the contrary, providing these embodiments, and can be by this public affairs The range opened is fully disclosed to those skilled in the art.
In the application, the video that application distribution formula memory technology records each live streaming user is analyzed, and then to live streaming User is managed.Specifically, each live streaming application (such as Chinese prickly ash, fast application etc.) is used as application node, what interception user recorded Video clip is simultaneously broadcast in distributed storage data bank network;It include multiple certification nodes in distributed storage data bank network And multiple evaluation and test nodes, label is demarcated by video clip of the certification node to application node broadcasts, and pass through evaluation and test node base It grades in label to user, so that the management measures such as each user is rewarded accordingly, be punished according to evaluating result.With Under the present processes are described in further detail.
Embodiment one
According to presently filed embodiment, a kind of user management method for application node is proposed, as shown in Figure 1, packet It includes:
Step 101: recorded video, and extract the key message of video;
Specifically, when receiving shooting triggering information from the user, recorded video;Intercept the part for the video recorded Video clip, by the video clip of interception and Video attribute information to the key message that should be used as video.
Wherein, before the partial video segment for intercepting the video of recording, further includes: judge record video size whether No more than default size, it is, by the video of recording and Video attribute information to the key message that should be used as video;Otherwise it executes Intercept the operation of the partial video segment for the video recorded.
Since the video data that user records is usually larger, and in view of data transmission efficiency and occupy asking for memory space It inscribes, only intercepts partial video segment in the application and be broadcast to distributed storage database (master library and Zhi Ku), analyzed for each node; Wherein, the size of video clip can sets itself according to demand.
Further, Video attribute information includes: video record time, video identifier, user identifier etc.;Default size can With sets itself according to demand.
Step 102: broadcasting the key message of extraction, in distributed storage data bank network so that each certification node is to right The video calibration label answered.
Embodiment two
According to presently filed embodiment, it is also proposed that it is a kind of for authenticating the user management method of node, as shown in Fig. 2, Include:
Step 201: obtaining the key message in distributed storage data bank network;
Wherein, key message includes video clip and Video attribute information, Video attribute information include the video record time, Video identifier, user identifier etc..
Step 202: the label of corresponding video is demarcated according to the key message of acquisition;
Specifically, calling the video content of video clip in the key message of preset analysis model analysis acquisition, and mark Calibration label;
Wherein, analysis model is to acquire a large amount of video sample in advance to be trained and obtain, specific model training process This will not be detailed here.
In the application, label is the condensed description of video, including but not limited to the description of video content, convey spirit to retouch It states;For example, certain user recorded the video of the lovely expression packet of one section of child, the label for demarcating the video is expression, lovely; For another example certain user recorded one section of video that some group is attacked using uncivil language, and it is uncivil for demarcating the label of the video Term etc..
Step 203: the label of calibration is verified, and when being verified, master library timestamp is determined by preset certification node, Distributed storage database master library is written using master library timestamp, key message and label as authentication data.
Wherein, the label of calibration is verified, preferably using practical Byzantine failure tolerance mechanism (PBFT) verifying calibration label.
Specifically, send label when some certification node obtains label and give other each certification nodes, this other each authenticate Whether the label that node verification receives is reasonable, and sends verification result to preset certification node, when preset certification node When receiving the verification result of preset quantity, determine whether label is reasonable according to the verification result received.
Wherein, preset quantity can sets itself according to demand;And whether label is determined according to the verification result received Rationally, specially determine whether label is reasonable according to the principle that the minority is subordinate to the majority;
For example, preset quantity is authenticate node total number 70%, currently there are 10 certification nodes, then receive 7 and test When demonstrate,proving result, statistical testing of business cycles determines that label is reasonable when the quantity for being verified result is at least 4 by the quantity of result.
Further, in step 203, master library timestamp is determined, comprising:
Current time is obtained, judges whether the video record time in current time and key message meets preset condition, It is then using current time as master library timestamp, otherwise using the video record time as master library timestamp.
Wherein, judge whether the video record time in current time and key message meets preset condition, specifically: sentence Whether disconnected current time and the time interval of the video record time in key message are no more than preset duration, are to determine to meet Otherwise preset condition determines to be unsatisfactory for preset condition;Preset duration is, for example, 60 seconds.
Further, in step 203, master library timestamp, key message and label is written as authentication data and are distributed Formula storing data library master library, comprising: to the video clip compressed encoding in key message, obtain encoded video data;It generates and compiles The abstract of code video data, and distributed storage database master is written into abstract, label, master library timestamp, Video attribute information Library.
The label of each video and related data are saved to distributed storage database master library as a result, data are open and clear And can not distort, it is provided for the subsequent rank for evaluating and testing each user and stablizes effective data basis.
Embodiment three
According to presently filed embodiment, it is also proposed that it is a kind of for evaluating and testing the user management method of node, as shown in figure 3, Include:
Step 301: every in the last one storage packet that prefixed time interval obtains distributed storage database Zhi Ku Timestamp, and as initial time;
Wherein, the timestamp in the last one storage packet of distributed storage database Zhi Ku is the time of last time evaluation and test Point, this evaluation and test search corresponding authentication data in distributed storage database master library as initial time;
Further, prefixed time interval can sets itself, for example, 24 hours according to demand.
Step 302: obtaining current time as deadline, according to initial time and deadline in distributed storage number According to the authentication data searched in the master library of library in the corresponding period as measured data to be evaluated;
Wherein, recognizing in the corresponding period is searched in distributed storage database master library according to initial time and deadline Data are demonstrate,proved as measured data to be evaluated, comprising: package from the last one storage of distributed storage database master library and successively read forward The master library timestamp in each storage packet is taken, judges the master library timestamp read whether in initial time and corresponding deadline In section;When the judgment result is yes, the authentication data in corresponding storage packet is read and as measured data to be evaluated;When judging result is When no, determining to search terminates.
More specifically, the corresponding period is searched in distributed storage database master library according to initial time and deadline Interior authentication data is as measured data to be evaluated, comprising:
Step A1: it regard the last one storage packet of distributed storage database master library as currently stored packet;
Step A2: reading the master library timestamp in currently stored packet, as current master library timestamp;
Step A3: judge that the current master library timestamp whether in initial time and deadline corresponding period, is A4 is thened follow the steps, is otherwise terminated;
Step A4: reading the authentication data in currently stored packet as measured data to be evaluated, and by the previous of currently stored packet A storage packet is used as currently stored packet, return step A2.
Step 303: the user class of corresponding user is evaluated and tested according to measured data to be evaluated;
Wherein, data to be evaluated include the label, video identifier and user identifier with corresponding relationship;
Corresponding, step 303 includes:
Data to be evaluated are sorted out, the corresponding all labels of each user identifier and video identifier are obtained;
The quantity for counting the corresponding video identifier of each user identifier obtains the video record number of each user;
According to the corresponding all labels of obtained each user identifier, the video record number and default evaluation and test mark of each user Standard evaluates and tests the user class of corresponding each user.
Wherein, the process of evaluating standard and the user class of the corresponding each user of evaluation and test is preset, it can according to demand certainly Row setting;
For example, having preset each label and the corresponding weight of different video recording number, then evaluation and test pair in evaluating standard The user class of each user answered includes the corresponding weight summation of each user identifier of calculating, and according to weight summation and user class Corresponding relationship, determine the user class of corresponding user.
Step 304: verifying the user class of evaluation and test, and when being verified, will be made deadline by default evaluation and test node It saves for current branch library timestamp is corresponding with user class to distributed storage database Zhi Ku.
Specifically, current branch library timestamp, user identifier and corresponding user class are saved by default evaluation and test node To distributed storage database Zhi Ku.
Wherein, the user class of evaluation and test is verified, specially using the user class of practical Byzantine failure tolerance mechanism verifying evaluation and test Not;Its specific implementation process can be found in be verified described in step 203 using practical Byzantine failure tolerance mechanism in embodiment two and mark The process of label, this will not be detailed here.
Further, method further include: every preset time period, according to respectively storage is wrapped in distributed storage database Zhi Ku Branch library timestamp, read respective stored packet in user class data, each user of comprehensive evaluating is in the preset time period User class.Wherein, preset time period be, for example, one month, season etc.;Thus understand the long-time service state of each user, Formulate more effective management strategy.
Further, method further include: reward and punish corresponding user according to the user class of evaluation and test;To adjust Family enthusiasm is employed, excitation user issues high-quality video.
For example, being sent to application node for user class is corresponding with user identifier, application node shows boundary in all videos In face, by the forward display of video sequence of user corresponding to the high user identifier of user class;The for another example high user of user class Certain expression packets can be used, video clip can be beautified, stage property can be used etc.;For another example, extremely low for rank, behavior is severe User be forbidden to use using etc..
Each authentication data stored in distributed storage database master library is combined as a result, evaluates and tests the rank of each user, not only With stable data basis, and test process is open and clear, effectively avoids the injustice psychology for being not affected by reward user; Furthermore label data and assessment data storage are clearly demarcated, convenient for data search and management.
Example IV
According to presently filed embodiment, it is also proposed that a kind of user management method, as shown in Figure 4, comprising:
Step 401: application node recorded video, and the key message of video is taken, and in distributed storage data bank network Middle broadcast key message;
Step 402: certification node obtains the key message in distributed storage data bank network, and according to key message mark Surely the label of video is corresponded to, label is verified, and when being verified, master library timestamp is determined by preset certification node, will be led Distributed storage database master library is written as authentication data in library timestamp, key message and label;
Step 403: evaluation and test node every prefixed time interval obtain distributed storage database Zhi Ku the last one deposit Timestamp in storage packet obtains current time as deadline as initial time;
Step 404: evaluation and test node is according to the initial time and deadline of acquisition in distributed storage database master library The authentication data in the corresponding period is searched as measured data to be evaluated;
Step 405: evaluation and test node evaluates and tests the user class of corresponding user according to the measured data to be evaluated of acquisition, verifies user class Not, and when being verified, by default evaluation and test node that deadline is corresponding with user class as current branch library timestamp It saves to distributed storage database Zhi Ku.
The implementation method of each step in the present embodiment can participate in associated description of the embodiment one into embodiment three, herein No longer it is described in detail.
Embodiment five
According to presently filed embodiment, it is also proposed that a kind of user management device, as shown in Figure 5, comprising:
Module 501 is recorded, recorded video is used for;
Extraction module 502, for extracting the key message for recording the video that module 501 is recorded;
Broadcast module 503, the crucial letter extracted for broadcasting extraction module 502 in distributed storage data bank network Breath, so that each certification node demarcates label to video.
According to presently filed embodiment, extraction module 502 records the video that module 501 is recorded specifically for interception Partial video segment, and by video clip and Video attribute information to the key message that should be used as video.
Embodiment six
According to presently filed embodiment, it is also proposed that a kind of user management device, as shown in Figure 6, comprising:
First obtains module 601, for obtaining the key message in distributed storage data bank network;
Demarcating module 602, for obtaining the label that the key message that module 601 obtains demarcates corresponding video according to first;
First authentication module 603, for verifying the label of the calibration of demarcating module 602;
Determining module 604, for determining master library timestamp when the first authentication module 603 is verified;
First writing module 605, for being deposited master library timestamp, key message and label as authentication data write-in distribution Store up database master library.
According to presently filed embodiment, demarcating module 602, specifically for calling preset analysis model analysis of key to believe The video content of video clip in breath, and demarcate label.
According to presently filed embodiment, the first authentication module 603, specifically for being tested using practical Byzantine failure tolerance mechanism Demonstrate,prove the label.
According to presently filed embodiment, determining module 604 is specifically used for obtaining current time, judge current time with Whether the video record time in key message meets preset condition, otherwise will then using current time as master library timestamp The video record time is as master library timestamp.
According to presently filed embodiment, key message includes video clip and Video attribute information;
Corresponding, the first writing module 605 includes: encoding submodule, generates submodule and write-in submodule, in which:
Encoding submodule, for obtaining encoded video data to video clip compressed encoding;
Submodule is generated, for generating the abstract of encoded video data;
Write-in submodule is stated, is used to make a summary, label, master library timestamp, Video attribute information write-in distributed storage number According to library master library.
Embodiment seven
According to presently filed embodiment, a kind of user management device is also provided, as shown in fig. 7, comprises:
Second obtains module 701, for obtaining last of distributed storage database Zhi Ku every prefixed time interval Timestamp in a storage packet, and as initial time;
Third obtains module 702, for obtaining current time as deadline;
Searching module 703, for searching phase in distributed storage database master library according to initial time and deadline Answer the authentication data in the period as measured data to be evaluated;
Evaluation and test module 704, for evaluating and testing the user class of corresponding user according to measured data to be evaluated;
Second authentication module 705, for verifying the user class of the evaluation and test of evaluation and test module 704;
Second writing module 706, for when the second authentication module 705 is verified, using deadline as current branch Library timestamp is corresponding with user class to be saved to distributed storage database Zhi Ku.
According to presently filed embodiment, searching module 703 includes: the first reading submodule, judging submodule and second Reading submodule, in which:
First reading submodule is successively read forward for packaging from the last one storage of distributed storage database master library Take the master library timestamp in each storage packet;
Judging submodule, for judging the master library timestamp of the first reading submodule reading whether in initial time and cut-off In the time corresponding period, when the judgment result is no, determining to search terminates;
Second reading submodule, for when the judging result of judging submodule, which is, is, reading recognizing in corresponding storage packet Demonstrate,prove data and as measured data to be evaluated.
According to presently filed embodiment, data to be evaluated include: label, video identifier and user with corresponding relationship Mark;
Corresponding, evaluation and test module 704 includes: to sort out submodule, statistic submodule and evaluation and test submodule, in which:
Sort out submodule and obtains the corresponding all labels of each user identifier and view for sorting out to data to be evaluated Frequency marking is known;
Statistic submodule, the quantity for counting the corresponding video identifier of each user identifier obtain the video record of each user Number;
Submodule is evaluated and tested, for according to the video record number of the corresponding all labels of each user identifier, each user and pre- If evaluating standard, the user class of corresponding each user is evaluated and tested.
According to presently filed embodiment, the second authentication module 705, specifically for being tested using practical Byzantine failure tolerance mechanism Demonstrate,prove the user class that evaluation and test module 704 is evaluated and tested.
In the application, it is also proposed that a kind of Subscriber Management System, comprising: embodiment five to any dress of embodiment seven It sets.
In the application, it is also proposed that a kind of user management device, comprising: one or more processors, storage are one or more The storage device of program;When one or more of programs are executed by one or more of processors, such as embodiment is realized One to any method of embodiment three.
In the application, it is also proposed that a kind of computer readable storage medium is stored thereon with computer program, when the computer When program is executed by processor, realize embodiment one to embodiment three it is any as described in method.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Divide reference mutually, each embodiment focuses on the differences from other embodiments.Particularly with device reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
In the application, label is demarcated to the video that user records by the node in distributed storage data bank network, it will The relevant informations such as label are saved to distributed storage database, and based on the information such as label in distributed storage database to Family is graded, to the operation such as be rewarded, be punished;Should during, can not distort, be open and clear etc. based on the database Characteristic, that is, ensured the safety and stability of storing data, but make calibration and test process it is open and clear, effectively avoid not by To the injustice psychology of reward user;Furthermore by master library in conjunction with Zhi Ku, memory space, but also data are not only effectively extended Storage is clearly demarcated, convenient for searching;It realizes data and effective management of user is broadcast live.
The preferable specific embodiment of the above, only the application, but the protection scope of the application is not limited thereto, Within the technical scope of the present application, any changes or substitutions that can be easily thought of by anyone skilled in the art, Should all it cover within the scope of protection of this application.Therefore, the protection scope of the application should be with scope of protection of the claims It is quasi-.

Claims (10)

1. a kind of user management method for application node characterized by comprising
Recorded video, and extract the key message of the video;
The key message is broadcasted in distributed storage data bank network, and the video is demarcated for each certification node and is marked Label.
2. the method according to claim 1, wherein the key message for extracting the video, comprising:
Intercept the partial video segment of the video;
By the video clip and Video attribute information to the key message that should be used as the video.
3. a kind of for authenticating the user management method of node characterized by comprising
Obtain the key message in distributed storage data bank network;
The label of corresponding video is demarcated according to the key message;
The label is verified, and when being verified, master library timestamp is determined by preset certification node, by the master library time Distributed storage database master library is written as authentication data in stamp, the key message and the label.
4. according to the method described in claim 3, it is characterized in that, the mark for demarcating corresponding video according to the key message Label, comprising: call preset analysis model to analyze the video content of video clip in the key message, and demarcate label.
5. according to the method described in claim 3, it is characterized in that, verifying the label using practical Byzantine failure tolerance mechanism.
6. according to the method described in claim 3, it is characterized in that, the key message includes Video attribute information, the view Frequency attribute information includes the video record time;
The determining master library timestamp, comprising: obtain current time, judge that the current time is with the video record time It is no to meet preset condition, it is then using the current time as master library timestamp, otherwise using the video record time as master Library timestamp.
7. according to the method described in claim 3, it is characterized in that, the key message includes video clip and video attribute letter Breath;
It is described that distributed storage database master library is written into the key message and the label, comprising:
To the video clip compressed encoding, encoded video data is obtained;
Generate the abstract of the encoded video data;
Distributed storage database master library is written into the abstract, label, master library timestamp, Video attribute information.
8. a kind of for evaluating and testing the user management method of node characterized by comprising
Timestamp in the last one storage packet that prefixed time interval obtains distributed storage database Zhi Ku, and conduct Initial time;
Current time is obtained as deadline, according to the initial time and the deadline in distributed storage database The authentication data in the corresponding period is searched in master library as measured data to be evaluated;
The user class of corresponding user is evaluated and tested according to the measured data to be evaluated;
The user class is verified, and when being verified, by default evaluation and test node using the deadline as current branch Library timestamp is corresponding with the user class to be saved to the distributed storage database Zhi Ku.
9. according to the method described in claim 8, it is characterized in that, described exist according to the initial time and the deadline The authentication data in the corresponding period is searched in distributed storage database master library as measured data to be evaluated, comprising:
The master library time successively read forward in each storage packet is packaged from the last one storage of distributed storage database master library Stamp;
Judge the master library timestamp read whether in the initial time and the deadline corresponding period;
When the judgment result is yes, the authentication data in corresponding storage packet is read and as measured data to be evaluated;
When the judgment result is no, determine to search to terminate.
10. according to the method described in claim 8, it is characterized in that, the data to be evaluated include: the mark with corresponding relationship Label, video identifier and user identifier;
The user class that corresponding user is evaluated and tested according to the measured data to be evaluated, comprising:
Data to be evaluated are sorted out, the corresponding all labels of each user identifier and video identifier are obtained;
The quantity for counting the corresponding video identifier of each user identifier obtains the video record number of each user;
According to the corresponding all labels of each user identifier, the video record number and default evaluating standard of each user, evaluation and test The user class of corresponding each user.
CN201910400275.7A 2019-05-13 2019-05-13 User management method based on distributed storage Active CN110234038B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910400275.7A CN110234038B (en) 2019-05-13 2019-05-13 User management method based on distributed storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910400275.7A CN110234038B (en) 2019-05-13 2019-05-13 User management method based on distributed storage

Publications (2)

Publication Number Publication Date
CN110234038A true CN110234038A (en) 2019-09-13
CN110234038B CN110234038B (en) 2020-02-14

Family

ID=67861296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910400275.7A Active CN110234038B (en) 2019-05-13 2019-05-13 User management method based on distributed storage

Country Status (1)

Country Link
CN (1) CN110234038B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103052952A (en) * 2010-08-08 2013-04-17 高通股份有限公司 Apparatus and methods for managing content
CN103412859A (en) * 2012-10-11 2013-11-27 华迪计算机集团有限公司 Method and device for rapidly searching for enormous videos based on media asset management system
US20150006596A1 (en) * 2012-06-27 2015-01-01 International Business Machines Corporation Method for selecting storage cloud for storage of entity files from plurality of storage clouds, and computer and computer program therefor
CN105681717A (en) * 2016-03-04 2016-06-15 广州星唯信息科技有限公司 Bus monitoring video distributed storage method and system
CN105828052A (en) * 2016-06-02 2016-08-03 中国联合网络通信集团有限公司 Video monitoring method and monitoring system based on Storm technology
CN106919652A (en) * 2017-01-20 2017-07-04 东北石油大学 Short-sighted frequency automatic marking method and system based on multi-source various visual angles transductive learning
US20170339229A1 (en) * 2016-05-20 2017-11-23 Sinclair Broadcast Group, Inc. Content atomization
CN108307229A (en) * 2018-02-02 2018-07-20 新华智云科技有限公司 A kind of processing method and equipment of video-audio data
CN108471522A (en) * 2018-04-18 2018-08-31 成都零光量子科技有限公司 A kind of video frequency monitoring method that can not be distorted and system
US20180302664A1 (en) * 2012-04-18 2018-10-18 Scorpcast, Llc Interactive video distribution system and video player utilizing a client server architecture
US20190082155A1 (en) * 2016-02-22 2019-03-14 Gopro, Inc. System and method for presenting and viewing a spherical video segment
CN109583230A (en) * 2018-10-31 2019-04-05 阿里巴巴集团控股有限公司 Data based on block chain deposit card method and device, electronic equipment
CN109690607A (en) * 2016-10-25 2019-04-26 猫头鹰照相机股份有限公司 Data collection, image capture and analysis configuration based on video

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103052952A (en) * 2010-08-08 2013-04-17 高通股份有限公司 Apparatus and methods for managing content
US20180302664A1 (en) * 2012-04-18 2018-10-18 Scorpcast, Llc Interactive video distribution system and video player utilizing a client server architecture
US20150006596A1 (en) * 2012-06-27 2015-01-01 International Business Machines Corporation Method for selecting storage cloud for storage of entity files from plurality of storage clouds, and computer and computer program therefor
CN103412859A (en) * 2012-10-11 2013-11-27 华迪计算机集团有限公司 Method and device for rapidly searching for enormous videos based on media asset management system
US20190082155A1 (en) * 2016-02-22 2019-03-14 Gopro, Inc. System and method for presenting and viewing a spherical video segment
CN105681717A (en) * 2016-03-04 2016-06-15 广州星唯信息科技有限公司 Bus monitoring video distributed storage method and system
US20170339229A1 (en) * 2016-05-20 2017-11-23 Sinclair Broadcast Group, Inc. Content atomization
CN105828052A (en) * 2016-06-02 2016-08-03 中国联合网络通信集团有限公司 Video monitoring method and monitoring system based on Storm technology
CN109690607A (en) * 2016-10-25 2019-04-26 猫头鹰照相机股份有限公司 Data collection, image capture and analysis configuration based on video
CN106919652A (en) * 2017-01-20 2017-07-04 东北石油大学 Short-sighted frequency automatic marking method and system based on multi-source various visual angles transductive learning
CN108307229A (en) * 2018-02-02 2018-07-20 新华智云科技有限公司 A kind of processing method and equipment of video-audio data
CN108471522A (en) * 2018-04-18 2018-08-31 成都零光量子科技有限公司 A kind of video frequency monitoring method that can not be distorted and system
CN109583230A (en) * 2018-10-31 2019-04-05 阿里巴巴集团控股有限公司 Data based on block chain deposit card method and device, electronic equipment

Also Published As

Publication number Publication date
CN110234038B (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN106372113B (en) The method for pushing and system of news content
CN107995283B (en) A kind of data bury the method, equipment and system of point analysis
Myers et al. Information diffusion and external influence in networks
CN107896160B (en) A kind of data center network flowmeter factor method based on distributed system
CN111107423A (en) Video service playing card pause identification method and device
CN103716826A (en) Wireless data service simulated scene-based user experience quality testing method
CN108521582A (en) A kind of copyright video the whole network rating recording system based on block chain technology
CN109451486A (en) WiFi acquisition system and WiFi terminal detection method based on probe request
CN104317939A (en) Log statistics method and system on basis of digital film playing server
CN101291263A (en) Performance test system and method for content distributing network node
CN109361575A (en) A kind of method and its system obtaining analysis DNS data on flows
CN104657747A (en) Online game stream classifying method based on statistical characteristics
Becken et al. Twitter conversations reveal issue salience of aviation in the broader context of climate change
CN101447995A (en) Method for identifying P2P data stream, device and system thereof
CN105740361B (en) The detection method and device of full dose data integrity degree
CN106303591A (en) A kind of video recommendation method and device
CN110234038A (en) A kind of user management method based on distributed storage
CN109101577A (en) A kind of data circulation method, apparatus and system
CN108650145A (en) Phone number characteristic automatic extraction method under a kind of home broadband WiFi
Altschaffel et al. Statistical pattern recognition based content analysis on encrypted network: Traffic for the teamviewer application
CN112235254A (en) Rapid identification method for Tor network bridge in high-speed backbone network
CN107734534A (en) A kind of network load appraisal procedure and device
CN112995686B (en) Data processing method, live broadcast method, authentication server and live broadcast data server
CN108833298B (en) Packet transmission method, device and storage medium
CN104469805B (en) Instant messaging service traffics generation method based on user behavior analysis

Legal Events

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