CN110222142A - A kind of topic distribution method and device - Google Patents
A kind of topic distribution method and device Download PDFInfo
- Publication number
- CN110222142A CN110222142A CN201910383387.6A CN201910383387A CN110222142A CN 110222142 A CN110222142 A CN 110222142A CN 201910383387 A CN201910383387 A CN 201910383387A CN 110222142 A CN110222142 A CN 110222142A
- Authority
- CN
- China
- Prior art keywords
- topic
- target topic
- information
- ciphertext
- answer
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/31—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of topic distribution method and devices, wherein, the described method includes: receiving target topic extracts instruction, the target topic is extracted in instruction and is numbered comprising target topic, and is sent the target topic to the initiator that the target topic extracts instruction and numbered corresponding target topic information ciphertext;Wherein, the target topic information ciphertext judges whether the target topic information is correct in plain text by instructor in broadcasting's platform after initiator decryption is target topic information plaintext;If the target topic information is correct in plain text, the target topic distribution instruction that instructor in broadcasting's platform issues is received, and distribute according to the target topic and instruct, distribute target topic problem ciphertext to viewer end.Technical solution provided by the present application can encrypt topic information, reveal before distribution and in distribution procedure to avoid topic information.
Description
Technical field
The present invention relates to Internet technical field, in particular to a kind of topic distribution method and device.
Background technique
With the prevalence of live streaming answer, it is movable outstanding that answer is broadcast live in many activities that platform is broadcast live and is proposed live streaming answer
Money reward volume is also higher and higher, this has attracted more users to participate in answer activity, while various black industries also being caused to enliven it
In.To guarantee to compete, justice is carried out, and ensures that the safety of topic information becomes particularly significant, but live streaming platform is carrying out directly at present
When broadcasting answer activity, topic information is distributed with plaintext version in a network mostly, this is easy to cause topic information distributing
It reveals in the process, not can guarantee live streaming answer activity and be normally carried out.
In consideration of it, it is necessary to provide a kind of new topic distribution methods and device to solve above-mentioned deficiency.
Summary of the invention
The application's is designed to provide a kind of topic distribution method and device, can be avoided topic information before distribution and
It is revealed in distribution procedure.
To achieve the above object, on the one hand the application provides a kind of topic distribution method, and the method is applied to live streaming and answers
In topic system, it is stored with the topic information ciphertext for completing encryption in the live streaming answering system, the topic information ciphertext includes
Topic problem ciphertext, which comprises receive target topic and extract instruction, it includes target in instruction that the target topic, which extracts,
Topic number, and send the target topic to the initiator that the target topic extracts instruction and number corresponding target topic letter
Cease ciphertext;Wherein, the target topic information ciphertext passes through instructor in broadcasting after initiator decryption is target topic information plaintext
Platform judges whether the target topic information is correct in plain text;If the target topic information is correct in plain text, instructor in broadcasting's platform is received
The target topic distribution instruction issued, and distributed according to the target topic and instructed, it is close to viewer end distribution target topic problem
Text.
To achieve the above object, on the other hand the application also provides a kind of topic diostribution device, and described device is applied to straight
It broadcasts in answering system, is stored with the topic information ciphertext for completing encryption, the topic information ciphertext in the live streaming answering system
Including topic problem ciphertext, described device includes: topic extraction module, extracts instruction, the target for receiving target topic
Topic is extracted in instruction and is numbered comprising target topic, and sends the target topic to the initiator that the target topic extracts instruction
Mesh numbers corresponding target topic information ciphertext;Topic distribution module, for the target topic letter after the judgement decryption of instructor in broadcasting's platform
After breath plaintext is correct, the target topic distribution instruction that instructor in broadcasting's platform issues is received, and instruction is distributed according to the target topic,
Distribute target topic problem ciphertext to viewer end.
It can be seen that technical solution provided by the present application, live streaming answering system can in advance be encrypted topic information, and
Topic information ciphertext is stored in answer server, after answer server, which receives target topic, extracts instruction, Ke Yigen
The target topic number in instruction is extracted according to target topic, the initiator for extracting instruction to target topic sends corresponding target topic
Mesh information ciphertext, target topic information ciphertext is after above-mentioned initiator decryption is target topic information plaintext, target topic letter
Breath will be sent to instructor in broadcasting's platform in plain text, so that instructor in broadcasting's platform judges whether target topic information is correct in plain text.If instructor in broadcasting's platform judges
Target topic information is correct in plain text, and instructor in broadcasting's platform will issue the distribution instruction of target topic to answer server, so that answer service
Device distributes target topic problem ciphertext to viewer end.In this way, topic management and answer activity are separation during answer is broadcast live
, topic information will be distributed in a network in the form of ciphertext, so as to ensure the safety of topic information, be guaranteed straight
Answer activity is broadcast to be normally carried out.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the schematic diagram of encryption principle in embodiment of the present invention;
Fig. 2 is the flow chart of topic distribution method in embodiment of the present invention;
Fig. 3 is the schematic diagram of topic distribution procedure in embodiment of the present invention;
Fig. 4 is the functional block diagram of topic diostribution device in embodiment of the present invention;
Fig. 5 is the structural schematic diagram of topic diostribution device in embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
The topic encrypted content being related in the application for ease of understanding, below briefly introduces to encryption principle, please join
Fig. 1 is read, information encryption can be divided into three classes: symmetric cryptography, asymmetric encryption and one-way hash encryption.
Symmetric cryptography refers to that encryption and decryption use the same key (or can mutually calculate).Symmetric cryptography
It is generally used for the occasion that information needs secure exchange or storage, such as Cookie encryption, communication encryption, common symmetric cryptography are calculated
Method has DES algorithm, RC algorithm etc..The advantages of symmetric cryptography is that algorithm is simple, and encryption and decryption is high-efficient, and overhead is small, suitable pair
Mass data is encrypted;The disadvantage is that encryption and decryption uses the same key, need to face how the exchange key of safety
Problem, if key is lost, all encryption information will be easy to be cracked, and by taking DES algorithm as an example, what is generated is close
Key only has 56, and encryption strength is not high, further, since DES algorithm full disclosure, the guarantor that safety places one's entire reliance upon to key
Shield, it is necessary to there is reliable channel to distribute key.
Asymmetric encryption refers to encrypting and what decryption used is not the same key, one of them is open to the external world, claims
Make public key, another only has the owner to know, is referred to as private key.It must can just be unlocked with private key with the information of public key encryption, instead
It, must can just be unlocked with the information of private key encryption with public key.Asymmetric encryption techniques are generally used for safe information transmission, number
Occasions, the common algorithms such as signature have RSA Algorithm etc..The advantages of asymmetric encryption is that code key distribution is convenient;The disadvantage is that encryption and
Decrypting process is computationally intensive, and encryption/decryption speed is slow.For reduce calculation amount, when transmit information, frequently with symmetric encryption method with
The mode that asymmet-ric encryption method combines, i.e. information are encrypted using DES session key, then using RSA key encryption dialogue
Key and informative abstract after other side receives information, are made a summary with different key decryption session key and cross-check information.It is thus real
Showing DES for encrypting in plain text, RSA is used for the encryption of DES key, and des encryption speed is fast, it is suitble to the longer message of encryption, and
RSA can solve the problem of DES encryption key distribution.
One-way hash encryption, which refers to, carries out hash calculating by the information to any input length, obtains the defeated of regular length
Information out, common one-way Hash algorithm have MD5, SHA etc..It the characteristics of using one-way hash encryption, can be to arbitrary size
It inputs information and carries out encrypting storing.For carrying out encrypting storing to password, the password that user inputs in registration is not protected directly
It is stored to database, but one-way hash encryption is carried out to password, the ciphertext of generation is saved in the database, when user steps on again
When record, input information carries out password authentification, and the information of user's input obtains the close of input information after similarly hashing calculating
Text compares the ciphertext saved in the ciphertext and database that input information, if unanimously, password authentification success.Unidirectionally
Hash encryption the advantages of be Hash computation processes be it is irreversible, i.e., can not be counted by the output information to regular length
It calculates to obtain input information;The disadvantage is that same Encryption Algorithm can generate identical output information for identical input information,
The attack pattern of look-up table, reversed look-up table and rainbow table can be used in people, cracks input information.
In order to increase the safety of uni-directional hash calculating, salt figure can be used in hashing algorithm, salt figure is equivalent to encryption
Key.By taking MD5 as an example, MD5 belongs to hash algorithm one kind, which can run the numerical value of random length, generates one
A 128 hashed values (hash value), MD5 itself be it is irreversible, but it is identical input information generate hashed value
Be it is identical, this make people can use leakage password database it is counter inquired, for the defect of MD5, can be used
Salt figure further increases its safety, one group of character string that salt figure is randomly generated, may include random upper and lower case letter,
Number and character, digit can be different according to requiring, and after salt figure, identical input information may finally generate difference
Output information, allow for standard cipher library in this way and do not existed, considerably increase people crack input information difficulty.When
So, the above salt figure that is introduced into MD5 algorithm is that one in present embodiment applies example, and in practical applications, salt figure is same
Sample can be applied to other algorithms.
Live streaming answer is substantially a kind of live scene for introducing answer interaction, compared to common net cast system
System, increases instructor in broadcasting's platform and answer server in live streaming answering system, and instructor in broadcasting's platform sends phase according to the live scene at main broadcaster end
Answer instruction is closed, answer server distributes topic to the movable viewer end of answer is participated in, and after viewer end answer finishes topic
Answer is collected as a result, answer server can also compare topic correct option and the answer being collected into result, to judge to see
Whether many ends answer correctly, and the viewer end answer situation of statistics is sent to main broadcaster end.It in this application, is guarantee answer service
Device can distribute topic information in time, and collect answer as a result, topic relevant information and live video in answer activity is broadcast live
Stream is to separate transmission, and answer server by utilizing instant communication protocol transmits topic relevant information, and main broadcaster end utilizes biography
The live video agreement (including but not limited to RTMP, HDL and HLS protocol) of system pushes live video stream.
Topic distribution method provided by the present application is applied in live streaming answering system, is stored in above-mentioned live streaming answering system
Complete the topic information ciphertext of encryption.
Live streaming answer activity start before, be broadcast live platform in encryption server can be used symmetric cryptography, it is asymmetric plus
The Encryption Algorithm such as one or more of this three of close, one-way hash encryption combination encrypt topic information in plain text, this
Apply to this with no restriction.It include item content, topic option and topic correct option in above-mentioned topic information plaintext.Live streaming
Platform is sent to answer server, the storage of answer server after completing relevant encrypted work, by the topic information ciphertext of generation
Deposit above-mentioned topic information ciphertext.It is important to note that above-mentioned topic information ciphertext includes that topic problem ciphertext and topic are answered
Case ciphertext two parts, wherein topic problem ciphertext can specifically include item content ciphertext and topic option ciphertext.In the application
In, answer server and encryption and the decrypting process for being not involved in topic information, live streaming platform impertinence mesh number are encrypted, and
Be establish topic number and the mapping relations of topic information ciphertext, and above-mentioned mapping relations are sent to answer server so that
It obtains answer server and can be numbered according to topic and feed back corresponding topic information ciphertext.It is important to note that same letter
When breath is repeatedly encrypted, if using identical key and identical Encryption Algorithm in ciphering process, the ciphertext generated
It is also identical.Since in actual live streaming answer activity, general in topic information only includes tetra- options of A, B, C, D, institute
The form of expression with topic correct option is usually some letter in A, B, C, D, and the table of the correct option of different topics
Existing form may be identical, such as all be " A ", if this results in live streaming, platform uses identical key and identical encryption
Algorithm encrypts the topic correct option of different topics, identical topic answer ciphertext may be generated, in such case
Under, by analysis topic answer ciphertext and the topic correct option announced, can determine alphabetical A, letter b, letter C and
The corresponding relationship of alphabetical D and ciphertext.
For example, the correct option of topic 1 and the correct option of topic 5 are all A, live streaming platform uses identical key
The correct option of topic 1 and the correct option of topic 5 are encrypted with identical Encryption Algorithm, it is clear that generated after encrypting twice
Topic answer ciphertext be identical.Assuming that the ciphertext generated after encrypting to alphabetical " A " is " &5@3 ", people pass through collection
The correct option " A " announced after ciphertext " &5@3 " and answer, can determine alphabetical " A " by above-mentioned key and it is above-mentioned plus
The ciphertext generated after close algorithm for encryption is " &5@3 ", in this way during subsequent answer, when a certain problem purpose topic of discovery is answered
Case ciphertext is " &5@3 " when, it can determine that the correct option of the topic is " A ", it is clear that this is unfavorable for the guarantor of topic correct option
It is close.
In one embodiment, it when live streaming platform encrypts topic information in plain text, can correctly be answered in topic
Random number is added in case.For example, the correct option of topic 1 and the correct option of topic 5 are all A, live streaming platform to topic just
When true answer is encrypted, random number " 451319ah " can be added after the correct option (i.e. alphabetical " A ") of topic 1,
Random number " dgk42ui " is added after the correct option (i.e. alphabetical " A ") of topic 5, the performance shape of the correct option of such topic 1
Formula has reformed into " A451319ah ", and the form of expression of the correct option of topic 5 has reformed into " Adgk42ui ", it is clear that even if straight
It broadcasts platform to encrypt " A451319ah " and " Adgk42ui " using identical key and identical Encryption Algorithm, generate
Ciphertext be also different, can thus be duplicated to avoid topic answer ciphertext, so improve topic correct option guarantor
Close property.Correspondingly, live streaming platform also needs to establish topic number after live streaming platform adds random number in topic correct option
With the mapping relations of random number, sent so that platform is broadcast live during subsequent decryption and can be numbered according to topic to decryption side
Corresponding random number, the topic information after guaranteeing decryption can be interpreted correctly in plain text.
It is important to note that one group of character string that random number can be randomly generated, including but not limited to capital and small letter
Letter, number and character, random number can add before topic correct option or after topic correct option, the application couple
The concrete form of random number with no restriction, need to only guarantee the form of expression difference of topic correct option after addition random number.
In another embodiment, it when live streaming platform encrypts topic information in plain text, can be directed to different
Topic uses different keys, this can also be duplicated to avoid topic answer ciphertext, and then improves the guarantor of topic correct option
Close property.Correspondingly, live streaming platform also needs to establish topic volume after live streaming platform uses different keys for different topics
Mapping relations number with key are sent so that platform is broadcast live during subsequent decryption and can be numbered according to topic to decryption side
Corresponding key guarantees that topic information ciphertext can be properly decrypt.
Fig. 2 and Fig. 3 are please referred to, topic distribution method provided by the present application may comprise steps of.
S101: receiving target topic and extract instruction, and the target topic is extracted in instruction and numbered comprising target topic, and to
The initiator that the target topic extracts instruction sends the target topic and numbers corresponding target topic information ciphertext.
In the present embodiment, after this live streaming answer activity starts, answer server will receive the extraction of target topic and refer to
It enables, it includes target topic number that above-mentioned target topic, which extracts in instruction, and answer server is retrieved according to target topic number
Corresponding target topic information ciphertext, and above-mentioned target topic information ciphertext is sent to the initiator that target topic extracts instruction.
It is important to note that including that target topic problem ciphertext and target topic answer are close in above-mentioned target topic information ciphertext
Text.
S102: the target topic information ciphertext is after initiator decryption is target topic information plaintext, by leading
It broadcasts platform and judges whether the target topic information is correct in plain text.
In the present embodiment, target topic extracts the initiator of instruction in the target topic for receiving the transmission of answer server
After mesh information ciphertext, target topic information ciphertext can be decrypted as target topic information in plain text according to preset decipherment algorithm,
And above-mentioned target topic information is sent to instructor in broadcasting's platform in plain text, wherein include target topic in above-mentioned target topic information plaintext
Problem plaintext and the answer of target topic are in plain text.The standard that instructor in broadcasting's platform has all topics in this live streaming answer activity is believed in plain text
It ceases, includes topic number, item content, topic option and topic answer in above-mentioned standard cleartext information.Instructor in broadcasting's platform is receiving
After target topic information plaintext after to decryption, can by above-mentioned target topic information in plain text with the standard cleartext information that has into
Row comparison, to judge whether above-mentioned target topic information is correct in plain text.
It is important to note that preset decipherment algorithm is calculated according to the encryption that encryption server uses in live streaming platform
For method come what is be configured, it is above-mentioned that preset decipherment algorithm can guarantee that the initiator of target topic extraction instruction can be decrypted correctly
Target topic information ciphertext.For example, when live streaming platform encrypts topic information using des encryption algorithm in plain text, due to
Des encryption algorithm is that symmetrically, i.e. its cryptographic calculation and decryption operation uses same key, the sender of information and letter
The recipient of breath carry out information transmission and processing when, it is necessary to hold the key jointly, thus live streaming platform can in advance by
Key is stored in the initiator that target topic extracts instruction, or is asked by the initiation direction live streaming platform that target topic extracts instruction
" return " key" is sought, so that the initiator that target topic extracts instruction can be decrypted correctly target topic information ciphertext.
S103: if the target topic information is correct in plain text, the target topic distribution instruction that instructor in broadcasting's platform issues is received, and according to institute
The distribution instruction of target topic is stated, distributes target topic problem ciphertext to viewer end.
When instructor in broadcasting's platform is by comparison, after judging above-mentioned target topic information in plain text correctly, instructor in broadcasting's platform will be to answer server
The distribution instruction of target topic is sent, answer server is distributed according to above-mentioned target topic to be instructed, will be in target topic information ciphertext
Target topic problem cipher text part, be sent to participation this live streaming the movable all viewer ends of answer.Viewer end is receiving
After target topic problem ciphertext, above-mentioned target topic problem ciphertext is decrypted as target topic problem according to preset decipherment algorithm
It in plain text, and will be in above-mentioned target topic problem in plain text locally stored terminal device, wherein in above-mentioned target topic problem plaintext
In plain text including target item content plaintext and target topic option.
It is important to note that live streaming platform can actively be sent to viewer end close when viewer end enters direct broadcasting room
Key can also send key, distribution of the application to key after viewer end confirms and this answer activity is added, then to viewer end
Mode is with no restriction.
In practical applications, it is possible that the situation of target topic mistake, for example, human error in topic Input Process
Cause item content not to be inconsistent with topic option, or lack topic answer etc..At this time instructor in broadcasting's platform will judge target topic information it is bright
Text is incorrect, and instructor in broadcasting's platform can reject the target topic of above-mentioned mistake, and enable alternative topic, to guarantee that live streaming answer is movable
It is normally carried out.It is important to note that live streaming platform is that this live streaming answer is living to guarantee that live streaming answer activity is normally carried out
The dynamic topic quantity prepared is greater than topic quantity actually required, such as this live streaming answer activity is provided with 10 topics altogether and needs
It answers, live streaming platform can prepare 15 topics, so that can enable alternative topic when there is wrong topic.
In one embodiment, after instructor in broadcasting's platform judges that target topic information is incorrect in plain text, instructor in broadcasting's platform can be to target
Topic extracts initiator's feedback target topic error message of instruction, so that the initiator that target topic extracts instruction can be to
Answer server sends alternative topic and extracts instruction, and answer server, will be according to standby after receiving alternative topic and extracting instruction
Alternative topic number in selected topic mesh extraction instruction, the initiator instructed to above-mentioned alternative topic extraction (that is, target topic mentions
The initiator of instruction fetch) send the corresponding alternative topic information ciphertext of above-mentioned alternative topic number.Above-mentioned alternative topic information is close
After the initiator that text extracts instruction through alternative topic decrypts as alternative topic information plaintext, above-mentioned alternative topic is judged by instructor in broadcasting's platform
Whether mesh information is correct in plain text, if instructor in broadcasting's platform judges that above-mentioned alternative topic information is correct in plain text, instructor in broadcasting's platform will be to answer service
Device sends alternative topic and distributes instruction, and answer is broadcast live to this is participated according to above-mentioned alternative topic distribution instruction in answer server
Movable all viewer ends send above-mentioned alternative topic problem ciphertext.
In practical applications, the topic being broadcast live in answer activity is gradually distributed according to pre-set sequence
, so the extraction of target topic refers to after instructor in broadcasting's platform extracts the initiator's feedback target topic error message instructed to target topic
The initiator of order can also directly send to answer server and extract the instruction of next problem purpose, the application to this with no restriction.
In one embodiment, the initiator that target topic extracts instruction can be main broadcaster end.Main broadcaster end takes to answer
Business device sends target topic and extracts instruction, and answer server, will be according to target topic after receiving the extraction of target topic and instructing
The target topic number in instruction is extracted, sends corresponding target topic information ciphertext to main broadcaster end, main broadcaster end is according to preset
Decipherment algorithm decrypts above-mentioned target topic information ciphertext for target topic information in plain text, and is shown in the terminal where main broadcaster end
In equipment, above-mentioned target topic information can be forwarded in plain text instructor in broadcasting's platform by main broadcaster end simultaneously, and instructor in broadcasting's platform inscribes the target received
Mesh information is compared with the standard cleartext information having in plain text, to judge whether above-mentioned target topic information is correct in plain text.Such as
Tab phenolphthaleinum broadcasts platform and judges that above-mentioned target topic information is correct in plain text, and instructor in broadcasting's platform will send the distribution of target topic to answer server and refer to
It enables, answer server is distributed according to above-mentioned target topic to be instructed, and is sent to this movable all viewer end of live streaming answer is participated in
Target topic problem ciphertext.
Correspondingly, instructor in broadcasting's platform can be to main broadcaster end feedback target after instructor in broadcasting's platform judges that target topic information is incorrect in plain text
Topic error message, main broadcaster end will send alternative topic to answer server and extract instruction, and answer server is receiving alternatively
After topic extracts instruction, the alternative topic extracted in instruction according to alternative topic is numbered, is sent to main broadcaster end corresponding alternative
Topic information ciphertext.Above-mentioned alternative topic information ciphertext is displayed on master after the decryption of main broadcaster end is alternative topic information plaintext
On the terminal device for broadcasting end place, above-mentioned target topic information can be forwarded to instructor in broadcasting's platform in plain text simultaneously by main broadcaster end, so that leading
Broadcasting platform may determine that whether above-mentioned alternative topic information is correct in plain text.If instructor in broadcasting's platform judges above-mentioned alternative topic information in plain text just
Really, instructor in broadcasting's platform will send alternative topic distribution instruction to answer server, and answer server refers to according to above-mentioned alternative topic distribution
It enables, sends alternative topic problem ciphertext to this movable all viewer end of live streaming answer is participated in.
In another embodiment, the initiator that target topic extracts instruction can also be instructor in broadcasting's platform.Instructor in broadcasting's platform is to answering
It inscribes server and sends the extraction instruction of target topic, answer server, will be according to target after receiving target topic and extracting instruction
Topic extracts the target topic number in instruction, sends corresponding target topic information ciphertext to instructor in broadcasting's platform, instructor in broadcasting's platform is according to pre-
If decipherment algorithm above-mentioned target topic information ciphertext is decrypted as target topic information in plain text, and by above-mentioned target topic information
It is compared in plain text with the standard cleartext information having, to judge whether above-mentioned target topic information is correct in plain text.If instructor in broadcasting
Platform judges that above-mentioned target topic information is correct in plain text, and instructor in broadcasting's platform will send the distribution instruction of target topic, answer to answer server
Server is distributed according to above-mentioned target topic to be instructed, and sends target topic to this movable all viewer end of live streaming answer is participated in
Problem ciphertext.It is important to note that host needs to read during live streaming to spectators due in live streaming answer activity
It inscribes, so displaying target topic information is needed on the terminal device where main broadcaster end in plain text, in the present embodiment, when instructor in broadcasting's platform
After judging above-mentioned target topic information in plain text correctly, instructor in broadcasting's platform will forward above-mentioned target topic information to main broadcaster end in plain text, so that
Can show above-mentioned target topic information in plain text on terminal device where main broadcaster end.
Correspondingly, instructor in broadcasting's platform will be sent to answer server after instructor in broadcasting's platform judges that target topic information is incorrect in plain text
Alternative topic extracts instruction, and answer server will be extracted according to alternative topic and be instructed after receiving alternative topic and extracting instruction
In alternative topic number, send corresponding alternative topic information ciphertext to instructor in broadcasting's platform.Instructor in broadcasting's platform is according to preset decipherment algorithm
Above-mentioned alternative topic information ciphertext is decrypted as alternative topic information in plain text, and by above-mentioned alternative topic information in plain text with have
Standard cleartext information compares, to judge whether above-mentioned alternative topic information is correct in plain text.When instructor in broadcasting's platform judge it is above-mentioned alternative
After topic information plaintext is correct, instructor in broadcasting's platform will forward above-mentioned alternative topic information to main broadcaster end in plain text, so where main broadcaster end
Terminal device on can show above-mentioned alternative topic information in plain text, while instructor in broadcasting's platform will send alternative topic to answer server
Distribution instruction, answer server is according to above-mentioned alternative topic distribution instruction, to this live streaming movable all spectators of answer of participation
End sends alternative topic problem ciphertext.
In one embodiment, using one-way hash encryption method and bright to topic information using salt figure when live streaming platform
After text is encrypted, above-mentioned salt figure can be sent to answer server by live streaming platform, so that answer server stores above-mentioned salt
Value.Instruction is extracted when answer server receives target topic, and the target topic in instruction is extracted according to target topic and is numbered,
When the initiator for extracting instruction to target topic sends corresponding target topic information ciphertext, answer server will be simultaneously to target
The initiator that topic extracts instruction sends above-mentioned salt figure, and target topic extracts the initiator of instruction according to preset decipherment algorithm
(i.e. the one-way Hash algorithm of live streaming platform use) and the salt figure received, solves the target topic information ciphertext received
It is close.
Correspondingly, sending target topic to viewer end when answer server is according to the target topic distribution instruction received
When problem ciphertext, answer server will send above-mentioned salt figure to viewer end simultaneously, and viewer end is (i.e. straight according to preset decipherment algorithm
Broadcast the one-way Hash algorithm of platform use) and the salt figure that receives, the target topic problem ciphertext received is decrypted.
All topic informations are added in plain text it is important to note that the same salt figure can be used in live streaming platform
It is close, different salt figures also can be used, different topic information is encrypted in plain text, the application to this with no restriction.Work as live streaming
When platform encrypts different topic informations using different salt figures in plain text, it can safeguard that topic is compiled by answer server
Mapping relations number with salt figure, answer server are sent being numbered according to target topic to the initiator that target topic extracts instruction
Target topic information ciphertext and to viewer end send target topic problem ciphertext when, will simultaneously to target topic extract instruct
Initiator and viewer end send target topic and number corresponding salt figure so that target topic extracts initiator and the sight of instruction
Many ends can be decrypted correctly the ciphertext received.
In one embodiment, when the initiator that target topic extracts instruction is main broadcaster end, answer server will be to
Main broadcaster end sends above-mentioned salt figure, so that main broadcaster end can decrypt target topic information ciphertext based on above-mentioned salt figure.
In another embodiment, when the initiator that target topic extracts instruction is instructor in broadcasting's platform, answer server will
Above-mentioned salt figure is sent to instructor in broadcasting's platform, so that instructor in broadcasting's platform can decrypt target topic information ciphertext based on above-mentioned salt figure.In this Shen
Please in, since topic relevant information and live video stream are to separate transmission, so needing to consider topic relevant information and live streaming
The time synchronization problem of video flowing.
In practical applications, instructor in broadcasting's platform is to inscribe signal according to the hair at main broadcaster end, sends target topic point to answer server
Send instructions.For example, the initiator of target topic instruction fetch is assumed to be main broadcaster end, and after live streaming answer activity starts, main broadcaster
End is first broadcast live with viewer end and interacts, while main broadcaster end will send target topic to answer server and extract instruction, answer clothes
Business device response target topic extracts instruction, sends corresponding target topic information ciphertext, the above-mentioned mesh of main broadcaster end decryption to main broadcaster end
Topic information ciphertext is marked, and shows the target topic information plaintext after decryption on the terminal device where main broadcaster end, it is main simultaneously
Broadcast end and above-mentioned target topic information be forwarded to instructor in broadcasting's platform in plain text, instructor in broadcasting's platform by above-mentioned target topic information in plain text and the mark that has
Quasi- cleartext information compares, if instructor in broadcasting's platform judges that above-mentioned target topic information is correct in plain text, instructor in broadcasting's platform is notified that main broadcaster end
It can be inscribed to viewer end reading, and the hair at main broadcaster end is waited to inscribe signal, heard main broadcaster end when instructor in broadcasting's platform and say " topic please be listen " (i.e. main broadcaster end
At the time of proposition problem), the topic that instructor in broadcasting's platform can be provided by live streaming platform distributes API (application
Programming interface, application programming interfaces) it is instructed to the transmission target topic distribution of answer server, while instructor in broadcasting
Platform can be added to time value this moment as hair topic timestamp in the distribution instruction of target topic, and above-mentioned time value can be used and be led
The local zone time of the terminal device where platform is broadcast, the local zone time of terminal device can pass through NTP (Network Time
Protocol, Network Time Protocol) carry out clock synchronization.
It is important to note that API is also known as application programming interface, it is clothes of the group access based on Internet
The standard and explanation of business or application program, for arranging the communication mode between various component softwares.In one embodiment,
Instructor in broadcasting's platform can call the http interface of live streaming platform offer to answer service at once after the hair for receiving main broadcaster end inscribes signal
Device sends the distribution instruction of target topic.
Specifically, in an application example, the http interface that instructor in broadcasting's platform calls for example can be https: //
Www.domain.com/exam/dispatchQuestion/events/ { eventId }/questions/ { sn }, wherein
EventId is live streaming play number, and sn is topic number, and the application distributes the interface type of API with no restriction to topic.
It is close that answer server sends target topic problem to viewer end after receiving the distribution instruction of target topic, at once
Text, and above-mentioned hair topic timestamp is added in target topic problem ciphertext.Since topic relevant information is to pass through instant messaging
What agreement was transmitted, so the transmission delay of topic relevant information can be ignored, it is believed that viewer end receives mesh
Sending at the time of the distribution of target topic instructs at the time of title mesh problem ciphertext with instructor in broadcasting's platform is identical, above-mentioned hair topic timestamp
At the time of the time value of characterization is that viewer end receives target topic problem ciphertext.Viewer end is receiving target topic problem
After ciphertext, above-mentioned target topic problem ciphertext is decrypted as target topic problem in plain text according to preset decipherment algorithm, and will be upper
It states on the locally stored terminal device of target topic problem plaintext, wherein include above-mentioned in above-mentioned target topic problem plaintext
Hair inscribes timestamp.
In practical applications, live video is needed to encode at main broadcaster end, is decoded in viewer end, while network passes
Defeated to there is delay, so live video stream would generally be later than target topic problem ciphertext and reach viewer end, live video stream is arrived
Up to the time value of time and above-mentioned hair topic timestamp characterization, there are a time intervals.To guarantee that viewer end is playing main broadcaster end
When the live video stream of push, (i.e. the time value of hair topic timestamp characterization) it can just be shown at the time of main broadcaster end proposes problem
Show target topic problem in plain text, needs to carry out time synchronization in plain text to live video stream and target topic problem.
In one embodiment, live streaming timestamp can be added in live video stream, such as in live video stream
Live streaming timestamp is added in SEI field, above-mentioned live streaming timestamp can use the local zone time of the terminal device where main broadcaster end,
It is synchronous that the local zone time of terminal device can carry out clock by NTP.After viewer end gets live video stream, it can parse
The live streaming timestamp wherein carried out, and compare the size of live streaming timestamp and above-mentioned hair topic timestamp, when live streaming timestamp is big
When above-mentioned hair topic timestamp, above-mentioned target topic can be shown in the live streaming picture that viewer end terminal device is shown
Mesh problem plaintext, so that above-mentioned target topic problem can just be shown at the time of main broadcaster end proposes problem in plain text.
Viewer end answers in plain text to the target topic problem of display, and answer result is sent to answer server.
Due to only storing target topic answer ciphertext in answer server, so answer server can not directly judge above-mentioned answer knot
Whether fruit is correct, and answer server will send the answer decoding request of target topic problem ciphertext, Dao Botai to instructor in broadcasting's platform at this time
After receiving above-mentioned request, the target topic answer in target topic information plaintext is sent to answer server in plain text.
It is important to note that instructor in broadcasting's platform actively can also send mesh to answer server according to preset time interval
Title mesh answer plaintext, such as Reaction time of this live streaming answer activity setting is 10 seconds, instructor in broadcasting's platform is sent out to answer server
It after sending the distribution instruction of target topic, is spaced 10 seconds, instructor in broadcasting's platform sends the answer of target topic in plain text from trend answer server.
The more above-mentioned answer result of answer server and target topic answer plaintext, if above-mentioned answer result and target topic
Mesh answer is consistent in plain text, then judges that viewer end answer is correct;If above-mentioned answer result and the answer of target topic are inconsistent in plain text,
Then judge viewer end answer mistake.Meanwhile answer server will also count the answer statistical information of viewer end, above-mentioned answer statistics
Information includes but is not limited to the sight of the correct number of answer, answer correct viewer end ID, the number of answer mistake, answer mistake
Many end ID, number, the viewer end ID blocked using resurrection, the number without answer response and the sight without answer response for bringing back to life card are used
The information such as many end ID.
After answer server statistics finish above-mentioned answer statistical information, above-mentioned answer statistical information can be sent to instructor in broadcasting
Platform and main broadcaster end, so that instructor in broadcasting's platform and main broadcaster end can know the answer situation of target topic.Answer server can be with root
Target topic integrated information according to instructor in broadcasting's platform feedback distributes instruction, sends to this movable all viewer end of live streaming answer is participated in
Target topic answer plaintext and above-mentioned answer statistical information.Viewer end is united with answer in plain text according to the target topic answer received
Information is counted, on the terminal device the correct option of displaying target topic clearance information related to target topic.
Refer to it is important to note that instructor in broadcasting's platform can not also send the distribution of target topic integrated information to answer server
It enables, and by answer server after collection finishes above-mentioned answer statistical information, actively to this live streaming movable institute of answer of participation
There is viewer end to send target topic answer plaintext and above-mentioned answer statistical information.
In one embodiment, mesh is sent to this movable all viewer end of live streaming answer is participated in when answer server
When title mesh answer plaintext and answer statistical information, statistics letter can also be added in answer server in above-mentioned answer statistical information
Cease issuing time stamp.After viewer end gets live video stream, the live streaming timestamp wherein carried can be parsed out, and compare
The size of statistical information issuing time stamp and live streaming timestamp, when live streaming timestamp is more than or equal to statistical information issuing time
When stamp, above-mentioned answer statistical information can be shown in the live streaming picture that viewer end terminal device is shown.
In one embodiment, if in topic information including picture or video, encrypted topic information is close
Literary data volume can be bigger, is not suitable for continuing to use instant messaging channel at this time and is distributed to topic information ciphertext, this
In the case of can use CDN network (Content Delivery Network, content distributing network) to topic information ciphertext into
Row distribution.For example, answer server can be before this live streaming answer activity starts, by topic information all in this activity
Ciphertext pushes to CDN network, and above-mentioned topic information ciphertext is buffered in edge node server by CDN network, correspondingly, above-mentioned
It is also cached with the mapping relations of topic number and topic information ciphertext in edge node server, is led when answer server receives
After broadcasting the target topic distribution instruction of platform transmission, answer server will forward above-mentioned target topic distribution instruction to CDN network,
Edge node server in CDN network will be numbered according to the target topic in the distribution instruction of target topic, be sent to viewer end
Above-mentioned target topic information ciphertext.It is important to note that CDN also can be used in topic answer plaintext, answer statistical information
Network is distributed.
In practical applications, can also by topic distributed recorder, topic answer plaintext distributed recorder, answer statistical information and
The information such as clearance information notice are stored in the application backstage of live streaming platform, in order to which the later period calls relevant information to carry out data point
Analysis.
Referring to Fig. 4, the application also provides a kind of topic diostribution device, described device is applied in live streaming answering system,
The topic information ciphertext for completing encryption is stored in the live streaming answering system, the topic information ciphertext includes that topic problem is close
Text, described device include:
Topic extraction module extracts instruction for receiving target topic, and it includes target in instruction that the target topic, which extracts,
Topic number, and send the target topic to the initiator that the target topic extracts instruction and number corresponding target topic letter
Cease ciphertext;
Topic distribution module, after judging the target topic information after decryption in plain text correctly in instructor in broadcasting's platform, described in reception
The target topic that instructor in broadcasting's platform issues distributes instruction, and is distributed according to the target topic and instructed, and distributes target topic to viewer end
Problem ciphertext.
In one embodiment, described device further include:
Salt figure distribution module, the salt figure used for obtaining the target topic information ciphertext in encryption, and according to institute
It states target topic and extracts instruction, Xiang Suoshu initiator sends the salt figure, so that the initiator is decrypted based on the salt figure
The target topic information ciphertext;
And distributed according to the target topic and instructed, Xiang Suoshu viewer end sends the salt figure, so that the spectators
End group decrypts the target topic problem ciphertext in the salt figure.
In one embodiment, described device further include:
Timestamp injection module, when for distributing target topic problem ciphertext to viewer end, in the target topic problem
When hair being added in ciphertext and inscribes timestamp, and distributing answer statistical information to the viewer end, in the answer statistical information
Statistical information issuing time stamp is added;
Wherein, if the live streaming timestamp that the live video stream that the viewer end receives carries is more than or equal to the hair
Timestamp is inscribed, the target topic problem is shown in the live streaming picture that the viewer end is shown in plain text, if the spectators terminate
The live streaming timestamp that the live video stream received carries is stabbed more than or equal to the statistical information issuing time, in the spectators
It holds in the live streaming picture shown and shows the answer statistical information.
In one embodiment, described device further include:
Answer processing module, for receiving answer that the viewer end is sent as a result, sending the mesh to instructor in broadcasting's platform
The answer decoding request of title mesh problem ciphertext, and receive the target topic answer of instructor in broadcasting's platform feedback in plain text;
Statistical information processing module, in plain text for the answer result and the target topic answer, and according to than
Compared with as a result, the target topic integrated information point for generating the answer statistical information of the viewer end, and being fed back according to instructor in broadcasting's platform
Send instructions, Xiang Suoshu viewer end distributes the target topic answer plaintext and the answer statistical information.
In one embodiment, topic extraction module is also used to receive alternative topic and extracts instruction, the alternative topic
It extracts in instruction and is numbered comprising alternative topic, and send the alternative topic to the initiator that the alternative topic extracts instruction and compile
Number corresponding alternative topic information ciphertext;Topic distribution module is also used to judge that the alternative topic information after decryption is bright in instructor in broadcasting's platform
After text is correct, the alternative topic distribution instruction that instructor in broadcasting's platform issues is received, and instruct according to the alternative topic distribution, to institute
It states viewer end and distributes alternative topic problem ciphertext.
Referring to Fig. 5, the application also provides a kind of topic diostribution device, the topic diostribution device includes memory and place
Device is managed, the memory, when the computer program is executed by the processor, may be implemented for storing computer program
Such as above-mentioned topic distribution method.Specifically, in hardware view, which may include processor, internal bus
And memory.The memory may include memory and nonvolatile memory.Processor is read from nonvolatile memory
Corresponding computer program is taken then to run into memory.It will appreciated by the skilled person that structure shown in fig. 5 is only
For signal, the structure of above-mentioned identification device is not caused to limit.For example, the topic diostribution device, which may also include, compares Fig. 5
Shown in more or less component, such as can also include other processing hardware, such as GPU
(GraphicsProcessing Unit, image processor) or correspondence with foreign country port etc..Certainly, in addition to software realization mode
Except, other implementations, such as logical device or the mode of software and hardware combining etc. is not precluded in the application.
In present embodiment, the processor may include central processing unit (CPU) or graphics processor (GPU), when
It so also may include other single-chip microcontroller, logic gates, integrated circuits with logic processing capability etc. or its appropriate group
It closes.Memory described in present embodiment can be for protecting stored memory device.In digital display circuit, can save two into
The equipment of data processed can be memory;In integrated circuits, the circuit with store function of a not no physical form
It can be memory, such as RAM, FIFO;In systems, the storage equipment with physical form can also be memory etc..It is real
When existing, which can also be realized by the way of cloud storage, specific implementation, and this specification is without limitation.
It should be noted that the topic diostribution device in this specification, concrete implementation mode is referred to method implementation
The description of mode, does not repeat one by one herein.
It can be seen that technical solution provided by the present application, live streaming answering system can in advance be encrypted topic information, and
Topic information ciphertext is stored in answer server, after answer server, which receives target topic, extracts instruction, Ke Yigen
The target topic number in instruction is extracted according to target topic, the initiator for extracting instruction to target topic sends corresponding target topic
Mesh information ciphertext, target topic information ciphertext is after above-mentioned initiator decryption is target topic information plaintext, target topic letter
Breath will be sent to instructor in broadcasting's platform in plain text, so that instructor in broadcasting's platform judges whether target topic information is correct in plain text.If instructor in broadcasting's platform judges
Target topic information is correct in plain text, and instructor in broadcasting's platform will issue the distribution instruction of target topic to answer server, so that answer service
Device distributes target topic problem ciphertext to viewer end.In this way, topic management and answer activity are separation during answer is broadcast live
, topic information will be distributed in a network in the form of ciphertext, so as to ensure the safety of topic information, be guaranteed straight
Answer activity is broadcast to be normally carried out.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to be realized by hardware.Based on such
Understand, substantially the part that contributes to existing technology can embody above-mentioned technical proposal in the form of software products in other words
Out, which may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, packet
Some instructions are included to use so that a computer equipment (can be personal computer, server or the network equipment etc.) executes
Method described in certain parts of each embodiment or embodiment.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (15)
1. a kind of topic distribution method, which is characterized in that the method is applied in live streaming answering system, the live streaming answer system
The topic information ciphertext for completing encryption is stored in system, the topic information ciphertext includes topic problem ciphertext, the method packet
It includes:
It receives target topic and extracts instruction, the target topic is extracted in instruction and numbered comprising target topic, and to the target
The initiator that topic extracts instruction sends the target topic and numbers corresponding target topic information ciphertext;
Wherein, the target topic information ciphertext passes through instructor in broadcasting's platform after initiator decryption is target topic information plaintext
Judge whether the target topic information is correct in plain text;
If the target topic information is correct in plain text, the target topic distribution instruction that instructor in broadcasting's platform issues is received, and according to institute
The distribution instruction of target topic is stated, distributes target topic problem ciphertext to viewer end.
2. the method according to claim 1, wherein
If the initiator is main broadcaster end, the target topic information ciphertext is that target topic information is bright through main broadcaster end decryption
Wen Hou, the target topic information is forwarded to instructor in broadcasting's platform by the main broadcaster end in plain text, and judges institute by instructor in broadcasting's platform
It is whether correct in plain text to state target topic information;
If the initiator is instructor in broadcasting's platform, the target topic information ciphertext is that target topic information is bright through instructor in broadcasting's platform decryption
Wen Hou judges whether the target topic information is correct in plain text by instructor in broadcasting's platform.
3. according to the method described in claim 2, it is characterized in that, if the initiator be instructor in broadcasting's platform, the method also includes:
After instructor in broadcasting's platform judges that the target topic information is correct in plain text, the target topic information is forwarded to master in plain text
End is broadcast, so that the main broadcaster end shows the target topic information in plain text.
4. the method according to claim 1, wherein if the initiator be main broadcaster end, the method also includes:
The salt figure that the target topic information ciphertext is used in encryption is obtained, and is extracted and is instructed according to the target topic, to
The main broadcaster end sends the salt figure, so that main broadcaster's end group decrypts the target topic information ciphertext in the salt figure;
And distributed according to the target topic and instructed, Xiang Suoshu viewer end sends the salt figure, so that spectators' end group
The target topic problem ciphertext is decrypted in the salt figure.
5. the method according to claim 1, wherein if the initiator be instructor in broadcasting's platform, the method also includes:
The salt figure that the target topic information ciphertext is used in encryption is obtained, and is extracted and is instructed according to the target topic, to
Instructor in broadcasting's platform sends the salt figure, so that instructor in broadcasting's stylobate decrypts the target topic information ciphertext in the salt figure;
And distributed according to the target topic and instructed, Xiang Suoshu viewer end sends the salt figure, so that spectators' end group
The target topic problem ciphertext is decrypted in the salt figure.
6. the method according to claim 1, wherein the method also includes:
When distributing target topic problem ciphertext to viewer end, hair is added in the target topic problem ciphertext and inscribes timestamp;
Wherein, if the live streaming timestamp that the live video stream that the viewer end receives carries is more than or equal to hair topic
Between stab, show the target topic problem in plain text in the live streaming picture shown to the viewer end.
7. the method according to claim 1, wherein the topic information ciphertext further includes topic answer ciphertext;
Correspondingly, after distributing target topic problem ciphertext to viewer end, the method also includes:
The answer that the viewer end is sent is received as a result, sending the answer solution of the target topic problem ciphertext to instructor in broadcasting's platform
Close request, and receive the target topic answer of instructor in broadcasting's platform feedback in plain text;
Compare the answer result and the target topic answer in plain text, and according to comparison result, determines answering for the viewer end
Statistical information is inscribed, and instruction is distributed according to the target topic integrated information of instructor in broadcasting's platform feedback, Xiang Suoshu viewer end distributes institute
State target topic answer plaintext and the answer statistical information.
8. the method according to the description of claim 7 is characterized in that the method also includes:
When distributing the target topic answer plaintext and the answer statistical information to the viewer end, counts and believe in the answer
Statistical information issuing time stamp is added in breath;
Wherein, if the live streaming timestamp that the live video stream that the viewer end receives carries is believed more than or equal to the statistics
Issuing time stamp is ceased, shows the answer statistical information in the live streaming picture that the viewer end is shown.
9. the method according to claim 1, wherein if instructor in broadcasting's platform judges the target topic information in plain text
It is incorrect, the method also includes:
It receives alternative topic and extracts instruction, the alternative topic extracts in instruction numbers comprising alternative topic, and to described alternative
The initiator that topic extracts instruction sends the alternative topic and numbers corresponding alternative topic information ciphertext;
Wherein, the alternative topic information ciphertext passes through instructor in broadcasting's platform after initiator decryption is alternative topic information plaintext
Judge whether the alternative topic information is correct in plain text;
If the alternative topic information is correct in plain text, the alternative topic distribution instruction that instructor in broadcasting's platform issues is received, and according to institute
Alternative topic distribution instruction is stated, Xiang Suoshu viewer end distributes alternative topic problem ciphertext.
10. a kind of topic diostribution device, which is characterized in that described device is applied in live streaming answering system, the live streaming answer
The topic information ciphertext for completing encryption is stored in system, the topic information ciphertext includes topic problem ciphertext, described device
Include:
Topic extraction module extracts instruction for receiving target topic, and it includes target topic in instruction that the target topic, which extracts,
Number, and the corresponding target topic information of initiator's transmission target topic number for extracting instruction to the target topic is close
Text;
Topic distribution module, for receiving the instructor in broadcasting after the target topic information after the judgement decryption of instructor in broadcasting's platform is correct in plain text
The target topic that platform issues distributes instruction, and is distributed according to the target topic and instructed, and distributes target topic problem to viewer end
Ciphertext.
11. device according to claim 10, which is characterized in that described device further include:
Salt figure distribution module, the salt figure used for obtaining the target topic information ciphertext in encryption, and according to the mesh
Title mesh extracts instruction, and Xiang Suoshu initiator sends the salt figure, so that the initiator is based on described in salt figure decryption
Target topic information ciphertext;
And distributed according to the target topic and instructed, Xiang Suoshu viewer end sends the salt figure, so that spectators' end group
The target topic problem ciphertext is decrypted in the salt figure.
12. device according to claim 10, which is characterized in that described device further include:
Timestamp injection module, when for distributing target topic problem ciphertext to viewer end, in the target topic problem ciphertext
Middle addition hair inscribes timestamp, and when distributing answer statistical information to the viewer end, is added in the answer statistical information
Statistical information issuing time stamp;
Wherein, if the live streaming timestamp that the live video stream that the viewer end receives carries is more than or equal to hair topic
Between stab, the target topic problem is shown in the live streaming picture that the viewer end is shown in plain text, if the viewer end receives
Live video stream carry live streaming timestamp be more than or equal to the statistical information issuing time stamp, in the viewer end exhibition
The answer statistical information is shown in the live streaming picture shown.
13. device according to claim 10, which is characterized in that described device further include:
Answer processing module is inscribed for receiving the answer that the viewer end is sent as a result, sending the target to instructor in broadcasting's platform
The answer decoding request of mesh problem ciphertext, and receive the target topic answer of instructor in broadcasting's platform feedback in plain text;
Statistical information processing module is tied for the answer result and target topic answer plaintext, and according to comparing
Fruit generates the answer statistical information of the viewer end, and is referred to according to the target topic integrated information distribution of instructor in broadcasting's platform feedback
It enables, Xiang Suoshu viewer end distributes the target topic answer plaintext and the answer statistical information.
14. device according to claim 10, which is characterized in that
The topic extraction module is also used to receive alternative topic and extracts instruction, and the alternative topic extracts in instruction comprising alternative
Topic number, and the corresponding alternative topic letter of the alternative topic number is sent to the initiator that the alternative topic extracts instruction
Cease ciphertext;
The topic distribution module is also used to after instructor in broadcasting's platform judges the alternative topic information after decryption in plain text correctly, described in reception
The alternative topic that instructor in broadcasting's platform issues distributes instruction, and according to the alternative topic distribution instruction, the distribution of Xiang Suoshu viewer end is alternative
Topic problem ciphertext.
15. a kind of topic diostribution device, which is characterized in that the topic diostribution device includes memory and processor, described to deposit
Reservoir is for storing computer program, when the computer program is executed by the processor, realizes such as claim 1 to 9
Method described in middle any claim.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910383387.6A CN110222142B (en) | 2019-05-09 | 2019-05-09 | Topic distribution method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910383387.6A CN110222142B (en) | 2019-05-09 | 2019-05-09 | Topic distribution method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110222142A true CN110222142A (en) | 2019-09-10 |
CN110222142B CN110222142B (en) | 2021-08-27 |
Family
ID=67820753
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910383387.6A Expired - Fee Related CN110222142B (en) | 2019-05-09 | 2019-05-09 | Topic distribution method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110222142B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111770373A (en) * | 2020-07-09 | 2020-10-13 | 北京达佳互联信息技术有限公司 | Content synchronization method, device and equipment based on live broadcast and storage medium |
CN113254952A (en) * | 2021-04-25 | 2021-08-13 | 浙江工业大学 | Key protection management method based on Android system |
CN114143565A (en) * | 2021-10-29 | 2022-03-04 | 北京达佳互联信息技术有限公司 | Information display method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101521818A (en) * | 2009-04-08 | 2009-09-02 | 四川长虹电器股份有限公司 | Encryption and decryption system based on medium security protection of IPTV platform |
CN102088441A (en) * | 2009-12-08 | 2011-06-08 | 北京大学 | Data encryption transmission method and system for message-oriented middleware |
US20140032220A1 (en) * | 2012-07-27 | 2014-01-30 | Solomon Z. Lerner | Method and Apparatus for Responding to a Query at a Dialog System |
CN103632332A (en) * | 2013-11-29 | 2014-03-12 | 腾讯科技(成都)有限公司 | Subject question and answer method, device and system |
CN109684102A (en) * | 2018-12-14 | 2019-04-26 | 广州市百果园信息技术有限公司 | Processing method, device, computer readable storage medium and the terminal of answer is broadcast live |
-
2019
- 2019-05-09 CN CN201910383387.6A patent/CN110222142B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101521818A (en) * | 2009-04-08 | 2009-09-02 | 四川长虹电器股份有限公司 | Encryption and decryption system based on medium security protection of IPTV platform |
CN102088441A (en) * | 2009-12-08 | 2011-06-08 | 北京大学 | Data encryption transmission method and system for message-oriented middleware |
US20140032220A1 (en) * | 2012-07-27 | 2014-01-30 | Solomon Z. Lerner | Method and Apparatus for Responding to a Query at a Dialog System |
CN103632332A (en) * | 2013-11-29 | 2014-03-12 | 腾讯科技(成都)有限公司 | Subject question and answer method, device and system |
CN109684102A (en) * | 2018-12-14 | 2019-04-26 | 广州市百果园信息技术有限公司 | Processing method, device, computer readable storage medium and the terminal of answer is broadcast live |
Non-Patent Citations (3)
Title |
---|
BOLUN WANG等: "Anatomy of a Personalized Livestreaming System", 《IMC "16:PROCEEDINGS OF THE 2016 INTERNET MEASUREMENT CONFERENCE》 * |
JACK JIANG: "近期大热的实时直播答题系统的实现思路与技术难点分享", 《HTTP://WWW.DOUBAN.COM/GROUP/TOPIC/112217889》 * |
郑怡琳: "视频直播答题的传播特点与规范引导策略", 《传播与版权》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111770373A (en) * | 2020-07-09 | 2020-10-13 | 北京达佳互联信息技术有限公司 | Content synchronization method, device and equipment based on live broadcast and storage medium |
CN113254952A (en) * | 2021-04-25 | 2021-08-13 | 浙江工业大学 | Key protection management method based on Android system |
CN113254952B (en) * | 2021-04-25 | 2022-07-15 | 浙江工业大学 | Key protection management method based on Android system |
CN114143565A (en) * | 2021-10-29 | 2022-03-04 | 北京达佳互联信息技术有限公司 | Information display method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110222142B (en) | 2021-08-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106357396B (en) | Digital signature method and system and quantum key card | |
CN107454441B (en) | A kind of method, live streaming Platform Server and the computer readable storage medium of detection direct broadcasting room brush popularity behavior | |
Anderson et al. | A new family of authentication protocols | |
Merritt | Cryptographic protocols | |
CN106713336B (en) | Electronic data safeguard system and method based on double, asymmetrical encryption technology | |
Frankel et al. | Escrow encryption systems visited: attacks, analysis and designs | |
CN107181599A (en) | The storage of route location data confidentiality and sharing method based on block chain | |
US20060218636A1 (en) | Distributed communication security systems | |
CN107483505B (en) | Method and system for protecting user privacy in video chat | |
CN110222142A (en) | A kind of topic distribution method and device | |
CN101459517B (en) | B2b data exchange system | |
CN108769023A (en) | A kind of method for secret protection and system applied to intelligent perception | |
CN107613316A (en) | A kind of network direct broadcasting plug-flow verification method and system | |
CN109450777A (en) | Session information extracting method, device, equipment and medium | |
CN109921905A (en) | Anti- quantum calculation cryptographic key negotiation method and system based on private key pond | |
CN108881966A (en) | A kind of information processing method and relevant device | |
CN110532734A (en) | A kind of digital publishing rights method and system of the privacy timestamp based on multi-party computations | |
CN109495244A (en) | Anti- quantum calculation cryptographic key negotiation method based on pool of symmetric keys | |
CN108768920A (en) | A kind of recorded broadcast data processing method and device | |
Issa et al. | Hecate: Abuse reporting in secure messengers with sealed sender | |
US11368436B2 (en) | Communication protocol | |
Makris et al. | Network and data security design for telemedicine applications | |
CN109728905A (en) | Anti- quantum calculation MQV cryptographic key negotiation method and system based on unsymmetrical key pond | |
CN108667718A (en) | A kind of instantaneous communication system and its communication means | |
Wen-Guey et al. | Inter-protocol interleaving attacks on some authentication and key distribution protocols |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210827 |