CN106850238B - A kind of broadcasting method and device - Google Patents

A kind of broadcasting method and device Download PDF

Info

Publication number
CN106850238B
CN106850238B CN201510882770.8A CN201510882770A CN106850238B CN 106850238 B CN106850238 B CN 106850238B CN 201510882770 A CN201510882770 A CN 201510882770A CN 106850238 B CN106850238 B CN 106850238B
Authority
CN
China
Prior art keywords
broadcast
reception
transmission side
broadcast transmission
sent
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.)
Active
Application number
CN201510882770.8A
Other languages
Chinese (zh)
Other versions
CN106850238A (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201510882770.8A priority Critical patent/CN106850238B/en
Publication of CN106850238A publication Critical patent/CN106850238A/en
Application granted granted Critical
Publication of CN106850238B publication Critical patent/CN106850238B/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
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
    • H04L9/3228One-time or temporary data, i.e. information which is sent for every authentication or authorization, e.g. one-time-password, one-time-token or one-time-key

Abstract

The invention discloses a kind of broadcasting method and devices to prevent the side of being counterfeited, broadcast reception side from being controlled to improve the safety of broadcasted content.A kind of broadcast transmission method provided by the invention, comprising: broadcast transmission side executes the process to broadcast reception side request certification when needing to send broadcast data to broadcast reception side;The broadcast transmission side when determine to the broadcast reception side request authenticate successfully after, determine be used to indicate the broadcast reception side receive the broadcast transmission side this transmission broadcast data reception identify;The broadcast transmission root is identified according to the reception, and broadcast data is sent to the broadcast reception side.

Description

A kind of broadcasting method and device
Technical field
The present invention relates to field of communication technology more particularly to a kind of broadcasting methods and device.
Background technique
In existing operating system, communicated by way of sending broadcast between multiple applications.However, coming at present It says, broadcast mechanism of operating system itself is less safe, and be mainly manifested in: broadcast transmission side is sent to the same broadcast every time and connects The broadcast identifier carried in the broadcast data of debit is fixed and invariable, and the broadcast data can be by any in system The application for being registered as broadcast recipients is received, after malicious application receives the broadcast data, the available broadcast data In content and broadcast identifier, and other broadcast datas of the broadcast transmission are imitated according to the broadcast identifier, and then to this Broadcast reception side carries out personation control.
In conclusion for the prior art, transmission broadcast number between broadcast transmission side and broadcast reception side in operating system According to when it is not safe enough, broadcast reception Fang Yi is controlled by malicious application.
Summary of the invention
The embodiment of the invention provides a kind of broadcasting method and devices to prevent wide to improve the safety of broadcasted content The recipient side of being counterfeited is broadcast to be controlled.
A kind of broadcast transmission method provided in an embodiment of the present invention, comprising:
Broadcast transmission side executes and recognizes to broadcast reception side request when needing to send broadcast data to broadcast reception side The process of card;
After determination authenticates successfully to broadcast reception side request, determination is used to indicate described wide for the broadcast transmission side Broadcast the reception mark that recipient receives this broadcast data sent of the broadcast transmission side;
The broadcast transmission root receives the broadcast data of this transmission of the broadcast transmission side according to the broadcast reception side Reception mark, broadcast data is sent to the broadcast reception side.
This method provided in an embodiment of the present invention, broadcast transmission side when needing to send broadcast data to broadcast reception side, It requests to authenticate to broadcast reception side first;After when broadcast transmission direction broadcast reception side, request is authenticated successfully, determination is used to indicate Broadcast reception side receives the reception mark of this broadcast data sent of the broadcast transmission side;And then broadcast transmission root evidence should Mark, is sent to the broadcast reception side for broadcast data.To improve the safety of broadcasted content, also, due to personation Side there is no the certification of the broadcast reception side, and it is even more impossible to know that broadcast reception side's next time receives the broadcast transmission side Broadcast data reception mark, thus the broadcast reception side of being broadcast to that can not imitate the broadcast transmission side sends broadcast Data, therefore this method provided in an embodiment of the present invention can prevent personation side from controlling the broadcast reception side.
Preferably, when the broadcast transmission side needs to send broadcast data to the broadcast reception side again, this method Further include:
The broadcast transmission root receives the broadcast hair according to the broadcast reception side that is used to indicate that the last time determines The reception of the broadcast data that the side of sending is sent identifies, determine one it is newest be used to indicate the broadcast reception side and receive the broadcast send out The reception mark of this broadcast data sent of the side of sending;
The broadcast transmission root newest be used to indicate the broadcast reception side and receive the broadcast transmission side according to described The broadcast data that this needs is sent is sent to the broadcast reception side by the reception mark of this broadcast data sent.
Since the broadcast transmission side is when sending broadcast data to the broadcast reception side first time, have already been through wide Broadcast the certification of recipient, therefore the broadcast transmission side is when subsequent transmission broadcast data is to the broadcast reception side, no longer need to Broadcast reception side request certification, and then the performance of system is improved, also, the broadcast transmission side broadcasts number in subsequent transmission When according to giving the broadcast reception side, it need to only calculate the newest broadcast reception side that is used to indicate and receiving this hair of the broadcast transmission side The reception of the broadcast data sent identifies, and the broadcast data that this needs is sent is sent to the broadcast reception according to the mark Side effectively prevents palming off so that other personation sides, which can not imitate this, is broadcast to broadcast reception side transmission broadcast data Control of the side to the broadcast reception side.
Preferably, the broadcast transmission side executes the process to broadcast reception side request certification, specifically include:
The broadcast transmission side sends the information of request certification to the broadcast reception side;
The broadcast transmission side is successfully rung when receiving the success response message that the broadcast reception side is sent from described Answer the nonce obtained in message for determining the response to broadcast reception side request certification;
The broadcast transmission root is determined according to the nonce for the response to broadcast reception side request certification Value;
The response is sent to the broadcast reception side by the broadcast transmission side.
Preferably, the broadcast transmission side sends the information of request certification to the broadcast reception side, specifically include:
The broadcast transmission side is according to the pre-stored data to be used to indicate broadcast reception side's reception broadcast transmission side The information of the request certification is sent to by the reception mark of the information sent in request verification process by the first broadcast message The broadcast reception side.
Preferably, the broadcast transmission root according to the nonce, is determined for requesting to authenticate to the broadcast reception side Response, specifically include:
The broadcast transmission root according to the nonce, the user name of the broadcast transmission side, the broadcast transmission side with The password that the broadcast reception side makes an appointment determines the response according to the algorithm arranged with the broadcast reception side.
Preferably, the response is sent to the broadcast reception side by the broadcast transmission side, specifically include:
The broadcast transmission side is according to the pre-stored data to be used to indicate broadcast reception side's reception broadcast transmission side The response is sent to the broadcast by the second broadcast message by the reception mark of the information sent in request verification process Recipient.
Preferably, the broadcast transmission side determines that the broadcast reception side receives the wide of this transmission of the broadcast transmission side The reception of multicast data identifies, and specifically includes:
The broadcast transmission root is according to the response, the user name of the broadcast transmission side and the broadcast transmission side The password made an appointment with the broadcast reception side is determined according to the algorithm arranged with the broadcast reception side described in being used to indicate Broadcast reception side receives the reception mark of this broadcast data sent of the broadcast transmission side.
Preferably, the broadcast transmission root is used to indicate described in broadcast reception side's reception according to the last determining The reception mark for the broadcast data that broadcast transmission side is sent determines and described newest be used to indicate the broadcast reception side and receive institute The reception mark for stating this broadcast data sent of broadcast transmission side, specifically includes:
The broadcast transmission root receives the broadcast hair according to the broadcast reception side that is used to indicate that the last time determines The reception mark of the broadcast data that the side of sending is sent, the user name of the broadcast transmission side and the broadcast transmission side and described wide The password that recipient makes an appointment is broadcast, is determined according to the algorithm arranged with the broadcast reception side and described newest is used to indicate institute State the reception mark that broadcast reception side receives this broadcast data sent of the broadcast transmission side.
It authenticates successfully, specifically includes to broadcast reception side request preferably, the broadcast transmission side is determined:
What the broadcast transmission side received that the broadcast reception side sends authenticates successful message to the broadcast transmission side, And it is determined according to the message to broadcast reception side request and is authenticated successfully.
Preferably, the broadcast transmission root according to be used to indicate the broadcast reception side receive the broadcast transmission side this The reception of the broadcast data of transmission identifies, after broadcast data is sent to the broadcast reception side, this method further include:
The broadcast transmission side receives the confirmation message for receiving the broadcast data that the broadcast reception side is sent.
A kind of broadcast receiving method provided in an embodiment of the present invention, comprising:
Broadcast reception side executes the certification to the broadcast transmission side when determination needs to authenticate broadcast transmission side Process;
After confirmation authenticates successfully the broadcast transmission side, registration one is for receiving the broadcast for the broadcast reception side The reception mark of this broadcast data sent of sender;
The broadcast reception root is identified according to the reception, receives the broadcast data that the broadcast transmission side is sent.
To which broadcast reception side only authenticates broadcast transmission side, and the broadcast reception side is registered After the reception mark of broadcast data for receiving broadcast transmission side transmission, the broadcast reception receives the broadcast transmission just now The broadcast data just sent can prevent other personation sides from sending personation broadcast and control to the broadcast reception side by this method System.
Preferably, the broadcast reception side is when receiving the broadcast data that the broadcast transmission side is sent again, this method Further include:
It is newest for receiving this transmission of the broadcast transmission side that the broadcast reception side registers one in system platform Broadcast data reception mark.
Since the broadcast reception side when receiving the broadcast data that the broadcast transmission side is sent for the first time, to this Broadcast transmission side is authenticated, therefore the broadcast data that the broadcast reception side is sent in the receipt of subsequent broadcast transmission side When, it no longer needs to execute the verification process to the broadcast transmission side, and then improve the performance of system, also, the broadcast reception Side need to only register a newest reception mark, only carrying should in the broadcast data of receipt of subsequent broadcast transmission side transmission The broadcast data for receiving mark can just be broadcasted recipient and receive and obtain, and effectively prevent personation side to the broadcast reception side Control.
Preferably, broadcast reception side's determination needs to authenticate broadcast transmission side, specifically include:
The broadcast reception side receives the first broadcast message that the broadcast transmission side is sent, wherein in first broadcast The information of the request certification of the broadcast transmission side is carried in message;
The broadcast reception root determines according to the information of the request certification and needs to recognize the broadcast transmission side Card.
Preferably, the broadcast reception side is executed when determination needs to authenticate broadcast transmission side to the broadcast The verification process of sender, specifically includes:
The broadcast reception side is when determining message of the needs to broadcast transmission side transmission success response, the broadcast A nonce is arranged in recipient, and nonce carrying is sent to the broadcast transmission side in the message of the success response, It is determined from the broadcast transmission root according to the nonce for requesting the first response authenticated to the broadcast reception side;
The broadcast reception side is wide from described second when receiving the second broadcast message that the broadcast transmission side is sent It broadcasts and obtains first response in message;
The broadcast reception root authenticates the broadcast transmission side according to first response.
Preferably, further including user name, the broadcast transmission of the broadcast transmission side in broadcasting the message described first The reception mark of side;
The broadcast reception side determines the message for needing that success response is sent to the broadcast transmission side, specifically includes:
Whether the broadcast reception root is inquired pre- in the broadcast reception side according to the user name of the broadcast transmission side There is the information of the broadcast transmission side;
When the broadcast reception side determines the information for prestoring the broadcast transmission side in the broadcast reception side, institute It states broadcast reception side and determines the message for needing to send success response to the broadcast transmission side.
Preferably, further including the user name of the broadcast transmission side, the nonce in broadcasting the message described second;
The broadcast reception root authenticates the broadcast transmission side, specifically includes according to first response:
The broadcast reception root is according to the password made an appointment with the broadcast transmission side, the user of the broadcast transmission side Name and the nonce calculate the second response;
The broadcast reception side compares second response and first response, when second response When being worth identical as first response, confirm that the broadcast transmission side authenticates successfully.
Preferably, after the broadcast reception side confirms that the broadcast transmission side authenticates successfully, this method further include:
The broadcast reception side will authenticate successful message to the broadcast transmission side and be sent to the broadcast transmission side.
Preferably, the broadcast reception side will authenticate successful message to the broadcast transmission side is sent to the broadcast hair The side of sending specifically includes:
The broadcast reception root is identified according to the reception of the broadcast transmission side, will be authenticated successfully to the broadcast transmission side Message be sent to the broadcast transmission side.
Preferably, the broadcast reception side, after confirming that the broadcast transmission side authenticates successfully, registration one is for receiving institute The reception mark for stating this broadcast data sent of broadcast transmission side, specifically includes:
The broadcast number for receiving this transmission of the broadcast transmission side is registered in system platform in the broadcast reception side According to reception mark.
Preferably, the broadcast reception side is registered in system platform for receiving this transmission of the broadcast transmission side The reception of broadcast data identifies, and specifically includes:
The broadcast reception root appoints in advance according to second response, the broadcast reception side and the broadcast transmission side The user name of fixed password, the broadcast transmission side, registration is for receiving this hair of the broadcast transmission side in system platform The reception of the broadcast data sent identifies.
Preferably, to register one in system platform newest for receiving broadcast transmission side's sheet for the broadcast reception side The reception of the broadcast data of secondary transmission identifies, and specifically includes:
The broadcast transmission root is sent out according to the broadcast transmission side that is used to receive that the last time registers in system platform The broadcast data sent receives password, the broadcast that mark, the broadcast reception side and the broadcast transmission side make an appointment It is newest for receiving the broadcast number of this transmission of the broadcast transmission side to register one in system platform for the user name of sender According to reception mark.
Preferably, this method is also wrapped after the broadcast reception side receives the broadcast data that the broadcast transmission side is sent It includes:
The broadcast reception side sends the confirmation message for receiving the broadcast data to the broadcast transmission side.
Preferably, the broadcast reception side sends and receives the confirmation message of the broadcast data to the broadcast transmission side, It specifically includes:
The broadcast reception root is identified according to the reception of the broadcast transmission side, receives the broadcast data really for described Recognize message and is sent to the broadcast transmission side.
A kind of broadcast transmitting device provided in an embodiment of the present invention, comprising:
First module is asked for when needing to send broadcast data to broadcast reception side, executing to the broadcast reception side Seek the process of certification;
Second module, for when determine authenticate successfully to the broadcast reception side request after, it is determining be used to indicate it is described extensively Broadcast the reception mark that recipient receives this broadcast data sent of described device;
Third module receives the broadcast of this transmission of described device for being used to indicate the broadcast reception side according to The reception of data identifies, and broadcast data is sent to the broadcast reception side.
Preferably, second module is also when the present apparatus needs to send broadcast data to the broadcast reception side again For:
The broadcast data for being used to indicate broadcast reception side's reception present apparatus transmission determined according to the last time connects Mark is received, determines a newest reception mark for being used to indicate the broadcast reception side and receiving this broadcast data sent of the present apparatus Know;
The third module is also used to: according to second module determine it is described it is newest be used to indicate it is described broadcast connect Debit receives the reception mark of this broadcast data sent of the present apparatus, the broadcast data that this needs is sent is sent to described Broadcast reception side.
Preferably, first module is specifically used for:
The information of request certification is sent to the broadcast reception side;
When receiving the success response message that the broadcast reception side is sent, obtains and use from the success response message In the nonce for determining the response to broadcast reception side request certification;
According to the nonce, determine for the response to broadcast reception side request certification;
The response is sent to the broadcast reception side.
Preferably, being specifically used for when first module sends the information of request certification to the broadcast reception side:
It is according to the pre-stored data to be used to indicate the letter sent in broadcast reception side's reception present apparatus request verification process The reception of breath identifies, and the information of the request certification is sent to the broadcast reception side by the first broadcast message.
Preferably, first module according to the nonce, is determined for requesting certification to the broadcast reception side When response, it is specifically used for:
According to the password that the nonce, the user name of the present apparatus, the present apparatus and the broadcast reception side make an appointment, press The response is determined according to the algorithm arranged with the broadcast reception side.
Preferably, being specifically used for when the response is sent to the broadcast reception side by first module:
It is according to the pre-stored data to be used to indicate the letter sent in broadcast reception side's reception present apparatus request verification process The reception of breath identifies, and the response is sent to the broadcast reception side by the second broadcast message.
Preferably, second module, which determines, is used to indicate the broadcast that the broadcast reception side receives this transmission of the present apparatus When the reception mark of data, it is specifically used for:
It is made an appointment according to the response, the user name of the present apparatus and the present apparatus with the broadcast reception side close Code determines that being used to indicate the broadcast reception side receives this transmission of the present apparatus according to the algorithm arranged with the broadcast reception side Broadcast data reception mark.
Preferably, second module receives the present apparatus according to the broadcast reception side that is used to indicate that the last time determines The reception of the broadcast data of transmission identifies, and determines and described newest be used to indicate the broadcast reception side and receive this hair of the present apparatus When the reception mark of the broadcast data sent, it is specifically used for:
The broadcast data for being used to indicate broadcast reception side's reception present apparatus transmission determined according to the last time connects Receive mark, the password that the user name of the present apparatus and the present apparatus and the broadcast reception side make an appointment, according to the broadcast The algorithm of recipient's agreement, which determines, is used to indicate the broadcast that the newest broadcast reception side receives this transmission of the present apparatus The reception of data identifies.
Preferably, second module determines when authenticating successfully to broadcast reception side request, it is specifically used for:
It receives the described device that the broadcast reception side is sent and authenticates successful message, and determined according to the message to described The request of broadcast reception side authenticates successfully.
Preferably, the third module receives connecing for this broadcast data sent of the present apparatus according to the broadcast reception side Mark is received, after broadcast data is sent to the broadcast reception side, is also used to:
Receive the confirmation message for receiving the broadcast data that the broadcast reception side is sent.
A kind of broadcast receiver provided in an embodiment of the present invention, comprising:
First module, for executing to the broadcast transmission side when determination needs to authenticate broadcast transmission side Verification process;
Second module, for after first module confirmation authenticates successfully the broadcast transmission side, registration one to be used for Receive the reception mark of this broadcast data sent of the broadcast transmission side;
Third module receives the broadcast data that the broadcast transmission side is sent for identifying according to the reception.
Preferably, the device for receiving broadcast is when receiving the broadcast data that the broadcast transmission side is sent again, institute The second module stated in the device for receiving broadcast is also used to:
The reception of the new broadcast data for receiving this transmission of the broadcast transmission side of registration one in system platform Mark.
Preferably, the first module in the device for receiving broadcast determines when needing to authenticate broadcast transmission side, It is specifically used for:
The first broadcast message that the broadcast transmission side is sent is received, wherein described in carrying in first broadcast message The information of the request certification of broadcast transmission side;
According to the information of the request certification, determines and need to authenticate the broadcast transmission side.
Preferably, the first module in the device for receiving broadcast is specifically used for:
When determining message of the needs to broadcast transmission side transmission success response, a nonce is set, this is interim Value carrying is sent to the broadcast transmission side in the message of the success response, by the broadcast transmission root according to the nonce It determines for the first response to present apparatus request certification;
When receiving the second broadcast message that the broadcast transmission side is sent, institute is obtained from second broadcast message State the first response;
According to first response, the broadcast transmission side is authenticated.
Preferably, further including user name, the broadcast transmission of the broadcast transmission side in broadcasting the message described first The reception mark of side;
The first module in the device for receiving broadcast, which determines, to be needed to send success response to the broadcast transmission side When message, it is specifically used for:
According to the user name of the broadcast transmission side, whether inquiry prestores the letter of the broadcast transmission side in the present apparatus Breath;
When determining the information for prestoring the broadcast transmission side in the present apparatus, first module, which determines, to be needed to institute State the message that broadcast transmission side sends success response.
Preferably, further including the user name of the broadcast transmission side, the nonce in broadcasting the message described second;
It is described receive broadcast device in the first module according to it is described second broadcast message, to the broadcast transmission side into When row certification, it is specifically used for:
According to the user name for the password, the broadcast transmission side made an appointment with the broadcast transmission side and described interim Value calculates the second response;
Second response and first response are compared, when second response and first sound When should be worth identical, confirm that the broadcast transmission side authenticates successfully.
Preferably, after the first module in the device for receiving broadcast confirms that the broadcast transmission side authenticates successfully, also For:
Successful message will be authenticated to the broadcast transmission side and be sent to the broadcast transmission side.
Preferably, the first module in the device for receiving broadcast will authenticate successful message to the broadcast transmission side When being sent to the broadcast transmission side, it is specifically used for:
It is identified according to the reception of the broadcast transmission side, successful message will be authenticated to the broadcast transmission side and be sent to institute State broadcast transmission side.
Preferably, it is described receive broadcast device in the second Module registers one for receive the broadcast transmission side this When the reception mark of the broadcast data of transmission, it is specifically used for:
The reception mark for receiving the broadcast data that the broadcast transmission side is sent is registered in system platform.
Preferably, the second module in the device for receiving broadcast is registered in system platform for receiving the broadcast When the reception mark for the broadcast data that sender sends, it is specifically used for:
It is the password made an appointment according to second response, the broadcast reception side with the broadcast transmission side, described The user name of broadcast transmission side registers the reception for receiving the broadcast data that the broadcast transmission side is sent in system platform Mark.
It new is used to receive institute preferably, the second module in the device for receiving broadcast register one in system platform When stating the reception mark of this broadcast data sent of broadcast transmission side, it is specifically used for:
According to the last time registered in system platform for receiving broadcast data that the broadcast transmission side is sent The user name for receiving the password, the broadcast transmission side made an appointment in mark, the present apparatus and the broadcast transmission side, it is flat in system Registration one is newest for receiving the reception mark of this broadcast data sent of the broadcast transmission side on platform.
Preferably, the third module in the device for receiving broadcast receives the broadcast data that the broadcast transmission side is sent Later, it is also used to:
The message for acknowledging receipt of the broadcast data is sent to the broadcast transmission side.
Preferably, the third module in the device for receiving broadcast send receive the confirmation message of the broadcast data to When the broadcast transmission side, it is specifically used for:
It is identified according to the reception of the broadcast transmission side, the confirmation message for receiving the broadcast data is sent to institute State broadcast transmission side.
A kind of broadcaster provided in an embodiment of the present invention, including above-mentioned broadcast transmitting device and above-mentioned broadcast reception Device.
To improve the safety of broadcast, can prevent the side of being counterfeited, broadcast reception side from being controlled.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, below will be to institute in embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the application Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of flow diagram of broadcast transmission method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of broadcast receiving method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of broadcasting method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of broadcast transmitting device provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of broadcast receiver provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides a kind of broadcasting method and devices to prevent wide to improve the safety of broadcasted content The recipient side of being counterfeited is broadcast to be controlled.
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Referring to Fig. 1, a kind of broadcast transmission method provided in an embodiment of the present invention, comprising:
S101, broadcast transmission side are executed when needing to send broadcast data to broadcast reception side to the broadcast reception side Request the process of certification;
After determination authenticates successfully to broadcast reception side request, determination is used to indicate for S102, the broadcast transmission side The broadcast reception side receives the reception mark of this broadcast data sent of the broadcast transmission side;
S103, the broadcast transmission root receive this hair of the broadcast transmission side according to the broadcast reception side is used to indicate The reception of the broadcast data sent identifies, and broadcast data is sent to the broadcast reception side.
Preferably, the broadcast transmission side, such as can be the application (APP) in operating system.
Preferably, the process of broadcast transmission direction broadcast reception side request certification is as follows:
Step 1: the broadcast transmission side is according to the pre-stored data to be used to indicate broadcast reception side's reception broadcast Sender requests the reception mark of the information sent in verification process, the information for authenticating the request by the first broadcast message It is sent to the broadcast reception side.
Preferably, broadcast reception side's reception broadcast transmission side that is used to indicate that the broadcast transmission side prestores asks It asks the reception of the information sent in verification process to identify, can be broadcast reception side and be sent to the broadcast transmission side in advance, by Broadcast transmission side saves the mark;It is of course also possible to be stored in local file after broadcast transmission side is pre-configured with, And the information sent in broadcast transmission side's request verification process will be received with the broadcast reception side that is used to indicate postponed Reception mark be sent to the broadcast reception side in advance, receive the broadcast according to reception mark by the broadcast reception root Sender requests the information sent in verification process, and this is not limited by the present invention.
Specifically, the broadcast transmission side will be used to indicate broadcast reception side's reception broadcast transmission side's request and recognize The reception mark of the information sent during card carries in the first broadcast message, hair together with the information of the request certification The broadcast reception side is given, and then receives the first broadcast message according to reception mark by the broadcast reception root.
That is, described be used to indicate in broadcast reception side's reception broadcast transmission side's request verification process is sent out The reception for the information sent identifies, and is the reception mark of the broadcast reception side, for receiving broadcast transmission side's request certification The information sent in the process.
Here, it should be noted that broadcast reception side's reception broadcast transmission side that is used to indicate requests to recognize The reception mark of the information sent during card, is not used to the transmission of broadcast transmission side described in broadcast reception side's receipt of subsequent Broadcast data.That is, described be used to indicate broadcast reception side's reception broadcast transmission side's request verification process The reception of the information of middle transmission identifies, and is only used for the broadcast reception root and asks according to the reception mark reception broadcast transmission side The information sent in verification process, the information sent in broadcast transmission side's request verification process are asked, such as can be above-mentioned First broadcast message of the information for the carrying request certification that broadcast transmission side is sent.
Preferably, including following information in above-mentioned first broadcast message:
It is used to indicate the broadcast reception side and receives connecing for the information sent in broadcast transmission side's request verification process Receive mark, the broadcast transmission side requests the information of certification, the broadcast transmission side to receive the wide of broadcast reception side's transmission Broadcast the reception mark of information.
Here, the broadcast transmission side receives the reception mark for the broadcast message that the broadcast reception side is sent, for referring to Show that the broadcast reception root sends broadcast message to the broadcast transmission side according to the mark, and reception mark is also used for institute It states broadcast transmission root and receives broadcast message according to the mark.For example, when broadcast message is replied to described wide by the broadcast reception side When broadcasting sender, the reception mark of the broadcast transmission side is carried in broadcast message;The broadcast transmission side, which works as, receives institute After the broadcast message for stating the transmission of broadcast reception side, the reception mark that itself whether is carried in the broadcast message is judged, when determination exists When carrying the reception mark of itself in the broadcast message that the broadcast reception side is sent, the broadcast transmission side receives the broadcast Information, and correspondingly operated according to the execution of the content of the broadcast message.
Step 2: the broadcast transmission side receives the response message that the broadcast reception side is sent.
Preferably, the response message that the broadcast reception side is sent can be success response message, and successfully ring at this It answers and carries nonce in message, for being determined according to the nonce for the broadcast reception side for the broadcast transmission root Request the response of certification;Certainly the response message that the described broadcast reception side is sent may be failure response message.
It preferably, the nonce can be arbitrary value, such as can be the word that the broadcast reception side is randomly provided String, this is not limited by the present invention.
Specifically, when the broadcast transmission side receives the message for the failure response that the broadcast reception side is sent, institute It states broadcast transmission side and determines request authentification failure, the broadcast transmission side initiates request certification to the broadcast reception side again Process;
When the broadcast transmission side receives the message for the success response that the broadcast reception side is sent, the broadcast hair The side of sending obtains nonce from the message of the success response, and is determined according to the nonce for requesting to the broadcast reception side The response of certification.
Preferably, the broadcast transmission root according to the nonce, is determined for requesting to authenticate to the broadcast reception side Response, specifically include:
The broadcast transmission root is made an appointment according to the nonce, the broadcast transmission side and the broadcast reception side Password, the broadcast transmission side user name, determine the response according to the algorithm arranged with the broadcast reception side.
If response is expressed as Res, the nonce is expressed as t, and the user name of the broadcast transmission side is expressed as n, The password that the broadcast transmission side and the broadcast reception side make an appointment is expressed as p, then the calculation of response Res is such as Under:
Res=F (t, n, p) [1]
Wherein, the function F in expression formula [1] is for calculating response Res.
Also, preferably, the broadcast transmission side and the broadcast reception side agreement algorithm can make an appointment, Corresponding algorithm can be specified in the broadcast, for example, carrying in the success response message that above-mentioned broadcast reception side is sent specified Algorithm, can also above-mentioned broadcast transmission side send first broadcast message in carry specified algorithm, by broadcast reception side Confirm etc., this is not limited by the present invention.Preferably, the algorithm is abstract formula algorithm, such as abstract formula can be used Message Digest Algorithm 5 (Message Digest Algorithm 5, MD5) in algorithm, cyclic redundancy check (Cyclic Redundancy Check, CRC) algorithm, Secure Hash Algorithm (Secure Hash Algorithm, SHA) etc..
Preferably, the password that the broadcast transmission side and the broadcast reception side make an appointment, such as can be by described wide It broadcasts sender and presets password, and the password is sent to the broadcast reception side;It can also be pre- by the broadcast reception side First setting code, and the password is sent to the broadcast transmission side, this is not limited by the present invention.
Step 3: the broadcast transmission side, will after determining the response for authenticating to broadcast reception side request The response is sent to the broadcast reception side.
Preferably, the response is sent to the broadcast reception side by the broadcast transmission side, specifically include:
The broadcast transmission side is according to the pre-stored data to be used to indicate broadcast reception side's reception broadcast transmission side The response is sent to the broadcast by the second broadcast message by the reception mark of the information sent in request verification process Recipient.
Here, that is to say, that it includes above-mentioned steps one that the information sent in broadcast transmission side's request verification process, which is removed, In the first broadcast message for sending of the broadcast transmission side it is outer, also include broadcast transmission side described in this step send second Broadcast message.
Preferably, including following information in second broadcast message:
Response, the broadcast transmission for being authenticated to broadcast reception side request that the broadcast transmission side determines The user name of side, the broadcast transmission side determine the nonce used when the response.
Step 4: the broadcast transmission side receives the knot to broadcast transmission side certification that the broadcast reception side is sent Fruit determines according to the authentication result to whether broadcast reception side request certification succeeds.
Preferably, the result to broadcast transmission side certification that the broadcast reception side is sent are as follows: broadcast transmission side asks Ask authenticate successfully or broadcast transmission side request authentification failure.
It is authenticated successfully when the broadcast transmission side receives the broadcast transmission side request that the broadcast reception side is sent Message when, the broadcast transmission side is determined to be authenticated successfully to broadcast reception side request.
The above are the processes of broadcast transmission direction broadcast reception side request certification, preferably, the broadcast transmission side is when true It orients the broadcast reception side to request after authenticating successfully, determines that being used to indicate the broadcast reception side receives the broadcast transmission side The reception of the broadcast data of transmission identifies, which specifically includes:
The broadcast transmission root is according to the user name for calculating resulting response, the broadcast transmission side in above-mentioned steps two And the password that the broadcast transmission side and the broadcast reception side make an appointment, determine that being used to indicate the broadcast reception side connects Receive the reception mark of this broadcast data sent of the broadcast transmission side.
If by be used to indicate the broadcast reception side receive the broadcast transmission side this send broadcast data reception Mark indicates that then the calculation of TAG is as follows with TAG:
TAG=F (Res, n, p) [2]
Wherein, the function F in expression formula [2] receives mark TAG for calculating, and Res indicates to calculate institute in above-mentioned steps two The response obtained, n indicate the user name of the broadcast transmission side, and p indicates that the broadcast transmission side and the broadcast reception side are pre- The password first arranged.Also, preferably, the broadcast transmission side is calculated using the function F in expression formula [2] receives mark TAG When, using the algorithm arranged with the broadcast reception side, for example, about it is set to the calculation of the abstracts formula such as MD5, CRC, SHA being mentioned above Method.
To which broadcast transmission root receives the broadcast that the broadcast transmission side is sent according to the broadcast reception side is used to indicate The reception of data identifies, and broadcast data is sent to the broadcast reception side.
Specifically, broadcast transmission side receives this transmission of the broadcast transmission side for the broadcast reception side is used to indicate The reception mark of broadcast data carries in third broadcast message, and then is broadcast the message by third and send the broadcast data To the broadcast reception side, the wide of broadcast transmission side's transmission is received according to the broadcast reception side by the broadcast reception root The reception mark of multicast data receives the third broadcast message, and therefrom obtains the broadcast data.
Preferably, the broadcast transmission root according to be used to indicate the broadcast reception side receive the broadcast transmission side this The reception of the broadcast data of transmission identifies, after broadcast data is sent to the broadcast reception side, this method further include:
The broadcast transmission side receives the confirmation message for receiving the broadcast data that the broadcast reception side is sent.
Preferably, when the broadcast transmission side needs to send broadcast data to the broadcast reception side again, this method Further include:
The broadcast transmission root receives the broadcast hair according to the broadcast reception side that is used to indicate that the last time determines The reception of the broadcast data that the side of sending is sent identifies, determine one it is newest be used to indicate the broadcast reception side and receive the broadcast send out The reception mark of this broadcast data sent of the side of sending;
The broadcast transmission root newest be used to indicate the broadcast reception side and receive the broadcast transmission side according to described The broadcast data that this needs is sent is sent to the broadcast reception side by the reception mark of this broadcast data sent.
That is, needing when broadcast transmission side sends broadcast data to broadcast reception side for the first time to broadcast reception side Request certification after request authenticates successfully when broadcast transmission direction broadcast reception side, determines that being used to indicate the broadcast reception side connects Receive the broadcast transmission side this send broadcast data reception mark, and according to the broadcast reception side this reception identify Broadcast data is sent to broadcast reception side.When the broadcast transmission side is sent to the broadcast reception side for the second time or more than two times When broadcast data, just no longer need to the broadcast reception side request authenticate, only need to determine one it is newest be used to indicate it is described broadcast connect Debit receives the reception mark of this broadcast data sent of the broadcast transmission side, and newest is used to indicate institute according to described The reception mark that broadcast reception side receives this broadcast data sent of the broadcast transmission side is stated, this needs is sent wide Multicast data is sent to the broadcast reception side.
Preferably, the broadcast transmission root is used to indicate described in broadcast reception side's reception according to the last determining The reception mark for the broadcast data that broadcast transmission side is sent, determine it is newest be used to indicate the broadcast reception side receive it is described wide The reception mark for broadcasting this broadcast data sent of sender, specifically includes:
The broadcast transmission root receives the broadcast hair according to the broadcast reception side that is used to indicate that the last time determines The reception mark of the broadcast data that the side of sending is sent, the user name of the broadcast transmission side and the broadcast transmission side and described wide The password that recipient makes an appointment is broadcast, is determined according to the algorithm arranged with the broadcast reception side and described newest is used to indicate institute State the reception mark that broadcast reception side receives this broadcast data sent of the broadcast transmission side.
For example, broadcast transmission side third time to broadcast reception side send broadcast data, it is thus necessary to determine that the broadcast reception The reception mark that side receives this broadcast data sent of the broadcast transmission side is denoted as TAG3, then the broadcast transmission side is nearest The broadcast reception side once determined receives the reception mark for the broadcast data that the broadcast transmission side is sent, and is the broadcast Second of the sender mark determined when sending broadcast data to the broadcast reception side, is denoted as TAG2.Therefore, the broadcast hair When the side of sending determines TAG3, Yao Liyong TAG2, the user name of the broadcast transmission side and the broadcast transmission side and the broadcast The password that recipient makes an appointment.The calculation of TAG3 is as follows:
TAG3=F (TAG2, n, p) [3]
Wherein, the function F in expression formula [3] identifies TAG3 for calculating to receive, and n indicates the user of the broadcast transmission side Name, p indicate the password that the broadcast transmission side and the broadcast reception side make an appointment.Also, preferably, the broadcast transmission When function F in Fang Liyong expression formula [3] calculates reception mark TAG3, using the algorithm arranged with the broadcast reception side, example Such as from about it is set to the abstract formula algorithm such as MD5, CRC, SHA being mentioned above.
When the broadcast transmission side N (N is greater than or equal to 2) secondary transmission broadcast data is to the same broadcast reception side, It can determine that being used to indicate the broadcast reception side receives the broadcast transmission side the by the way of similar with expression formula [3] The reception mark for the broadcast data that n times are sent.
Referring to fig. 2, a kind of broadcast receiving method provided in an embodiment of the present invention, comprising:
S201, broadcast reception side are executed when determination needs to authenticate broadcast transmission side to the broadcast transmission side Verification process;
After confirmation authenticates successfully the broadcast transmission side, registration one is for receiving institute for S202, the broadcast reception side State the reception mark of this broadcast data sent of broadcast transmission side;
S203, the broadcast reception root are identified according to the reception, receive the broadcast data that the broadcast transmission side is sent.
Preferably, the broadcast reception side, such as can be the application (APP) in operating system.
Preferably, broadcast reception side's determination needs to authenticate broadcast transmission side, specifically include:
The broadcast reception side receives the first broadcast message that the broadcast transmission side is sent, wherein in first broadcast The information of the request certification of the broadcast transmission side is carried in message;
The broadcast reception root determines according to the information of the request certification and needs to recognize the broadcast transmission side Card.
Preferably, in the first broadcast message that the broadcast transmission side is sent further include: the use of the broadcast transmission side Name in an account book, the reception mark of the broadcast transmission side.
Preferably, the broadcast reception side is as follows to the verification process of the broadcast transmission side:
Step A: the broadcast reception side is when determining message of the needs to broadcast transmission side transmission success response, institute It states broadcast reception side and one nonce is set, which is carried and is sent to the broadcast hair in the message of the success response The side of sending is determined according to the nonce for responding to the first of broadcast reception side request certification from the broadcast transmission root Value;
Step B: the broadcast reception side is when receiving the second broadcast message that the broadcast transmission side is sent, from described First response is obtained in second broadcast message;
Step C: the broadcast reception root authenticates the broadcast transmission side according to first response.
Preferably, the broadcast reception side determines the message for needing to send success response to the broadcast transmission side, specifically Include:
The broadcast reception root according to the broadcast transmission side send first broadcast message in the broadcast transmission side User name, whether inquiry prestore the information of the broadcast transmission side in the broadcast reception side;
When the broadcast reception side determines the information for prestoring the broadcast transmission side in the broadcast reception side, institute It states broadcast reception side and determines the message for needing to send success response to the broadcast transmission side;Otherwise, the broadcast reception side is true Need to send the message of failure response calmly to the broadcast transmission side.
The information of the broadcast transmission side, such as can be sent for the user name of broadcast transmission side, broadcast transmission side close Code etc., naturally it is also possible to this not limited for other information, the present invention such as the marks of other characterization broadcast transmission side's identity It is fixed.
Preferably, in second broadcast message further include:
The user name of the broadcast transmission side, nonce.In special circumstances without other, in the nonce and above-mentioned steps A The nonce of broadcast reception side's setting is identical.
Preferably, therefrom obtaining nonce, and should after the broadcast reception side receives the described second broadcast message The nonce that broadcast reception side described in nonce and step A carries when sending success response message to the broadcast transmission side into Row comparison, when the two nonces are identical, the broadcast reception side calculates the second response, which is used for institute It states broadcast transmission side to be authenticated, detailed process is as follows:
The broadcast reception root is according to the password made an appointment with the broadcast transmission side, the user of the broadcast transmission side Name and above-mentioned nonce calculate the second response;
The broadcast reception side compares second response and first response, when second response When being worth identical as first response, broadcast reception side's confirmation authenticates successfully the broadcast transmission side;Otherwise, described Broadcast reception side confirms to broadcast transmission side's authentification failure.
It should be noted that herein and " first ", " second " used in claims and similar word simultaneously Any sequence, quantity or importance are not indicated, and are used only to distinguish different objects.
Preferably, the broadcast reception side is after confirmation is to the authentication result of the broadcast transmission side, by the authentication result It is sent to the broadcast transmission side.Wherein, the authentication result described herein to the broadcast transmission side are as follows: the broadcast is sent out The side of sending authenticates successfully, or to broadcast transmission side's authentification failure.
Specifically, when the broadcast reception side, confirmation authenticates successfully the broadcast transmission side, the broadcast reception side Successful message will be authenticated to the broadcast transmission side and be sent to the broadcast transmission side;When the broadcast reception side confirms to institute When stating broadcast transmission side's authentification failure, the broadcast reception side will be sent to institute to the message of broadcast transmission side's authentification failure State broadcast transmission side.
Preferably, the broadcast reception side will be sent to the broadcast transmission to the authentication result of the broadcast transmission side Side, specifically includes:
The broadcast reception root is identified according to the reception of the broadcast transmission side, by the certification knot to the broadcast transmission side Fruit is sent to the broadcast transmission side.
Preferably, being sent out to the broadcast when the broadcast reception side is sent the broadcast transmission side successful message of certification Behind the side of sending, the broadcast reception side registers the broadcast data for receiving this transmission of the broadcast transmission side in system platform Reception mark, for receive the broadcast transmission side this send broadcast data.
Preferably, the broadcast reception side is registered in system platform for receiving this transmission of the broadcast transmission side The reception of broadcast data identifies, and specifically includes:
The broadcast reception root appoints in advance according to second response, the broadcast reception side and the broadcast transmission side The user name of fixed password, the broadcast transmission side, registration is for receiving this hair of the broadcast transmission side in system platform The reception of the broadcast data sent identifies.
Wherein, the reception mark of the broadcast reception side described in the step, and described in above-mentioned broadcast transmission method The broadcast transmission side when determine to the broadcast reception side request authenticate successfully after determination be used to indicate it is described broadcast connect The reception mark that debit receives this broadcast data sent of the broadcast transmission side is consistent.
It is used to receive the broadcast transmission side for what the broadcast reception side described in the step registered in system platform The reception mark of this broadcast data sent indicates that then the calculation of TAG ' is as follows with TAG ':
TAG'=F (Res', n, p) [4]
Wherein, the function F in expression formula [4] receives mark TAG ' for calculating, and Res ' indicates the second response (with expression Response Res in formula [2] is identical), n indicates the user name of the broadcast transmission side, p indicate the broadcast reception side with it is described The password that broadcast transmission side makes an appointment.Also, it calculates resulting TAG ' in expression formula [4] theoretically to fall into a trap with expression formula [2] It is identical to calculate resulting TAG.
Preferably, the broadcast reception side is when receiving the broadcast data that the broadcast transmission side is sent again, this method Further include:
It is newest for receiving this transmission of the broadcast transmission side that the broadcast reception side registers one in system platform Broadcast data reception mark.
Preferably, to register one in system platform newest for receiving broadcast transmission side's sheet for the broadcast reception side The reception of the broadcast data of secondary transmission identifies, and specifically includes:
The broadcast transmission root is sent out according to the broadcast transmission side that is used to receive that the last time registers in system platform The broadcast data sent receives password, the broadcast that mark, the broadcast reception side and the broadcast transmission side make an appointment It is newest for receiving the broadcast number of this transmission of the broadcast transmission side to register one in system platform for the user name of sender According to reception mark.
Specifically, newest it is used to receive the broadcast transmission side N for what broadcast reception side registered in system platform The reception mark for the broadcast data that secondary (N is greater than or equal to 2) sends indicates that then the calculation of TGA (N) is as follows with TGA (N):
TAG (N)=F (TAG (N-1), n, p) [5]
Wherein, the function F in expression formula [5] receives mark TAG (N) for calculating, and TAG (N-1) indicates broadcast reception side The reception mark for the broadcast data for receiving the secondary transmission of the broadcast transmission side (N-1) registered in system platform, n table Show the user name of the broadcast transmission side, p indicates the password that the broadcast reception side and the broadcast transmission side make an appointment.
Specific embodiment is given below.
Fig. 3 show a kind of flow diagram of broadcasting method provided in an embodiment of the present invention.Overall flow, which can be divided into, recognizes Card process and broadcast data transmission process, are first carried out verification process, secondly execute broadcast data transmission process.
Before executing verification process, broadcast transmission side and broadcast reception side need preparatory intercorrelation information:
(1) the broadcast reception side saves the user name and password that the broadcast transmission side is sent in advance.The password Password as the broadcast transmission side and broadcast reception side agreement.
(2) the broadcast transmission side saves the reception mark that the broadcast reception side is sent in advance, and reception mark is only used The information sent in the authentication request procedure that broadcast transmission side is sent is received according to the mark in broadcast reception root, is not used in broadcast Recipient receives the broadcast data that broadcast transmission side is sent according to the mark.
In Fig. 3, verification process is as follows:
Step S301, broadcast transmission root identifies TAG0 according to the reception that broadcast reception side is sent in advance, sends the first broadcast To broadcast reception side, to request to authenticate to broadcast reception side.Wherein first broadcast in carry broadcast transmission side user name with And broadcast transmission side receives the reception mark TAGself of broadcast data, identifies serial number 1 in first broadcast.
Step S302, after broadcast reception side receives the first broadcast, the user name of broadcast transmission side is obtained from the first broadcast, And the information for whether prestoring the user is inquired from the data information that itself is saved according to the user name, if prestoring the user Information when, then generate nonce, according to broadcast transmission side reception mark TAGself by the nonce with second broadcast side Formula is sent to broadcast transmission side, and serial number 1 is identified in the broadcast.
It is noted that if broadcast reception side confirms that itself does not prestore the information of the broadcast transmission side, basis The reception of the broadcast transmission side identifies TAGself, and the response of failure is returned to broadcast transmission side.
Wherein, broadcast transmission in the identification number and step S301 in the second broadcast that broadcast reception side is sent in the step The identification number in the first broadcast just sent is identical, is 1, which is used only to indicate the step without particular meaning The second broadcast that broadcast reception side is sent in rapid is for replying the first broadcast of broadcast transmission side's transmission.
Step S303, after broadcast transmission side receives the second broadcast that the identification number of broadcast reception side's transmission is 1, know this The reception mark TAGself of itself is carried in broadcast, in turn, broadcast transmission side obtains nonce from the broadcast, and according to this Nonce is calculated for the response to the request certification of broadcast reception side, and broadcasted the response with third using TAG0 Mode is sent to broadcast reception side.The identification number of third broadcast is 2, indicates broadcast transmission side for the second time to broadcast reception side Send broadcast.
It wherein, include following information in third broadcast: broadcast transmission side receives in step S302 nonce, broadcast User name, the response of sender.
The calculation method of response are as follows: response=F (nonce, user name, password), the herein entitled broadcast transmission of user The user name of side, password are the preset password in broadcast transmission side.
Step S304, after broadcast reception side receives third broadcast, calculate second response, and with carried in third broadcast Response compares, and determines the authentication result to broadcast transmission side, and authentication result is sent in a manner of the 4th broadcast Broadcast transmission side.The identification number of 4th broadcast is 2.
Specifically, broadcast reception side receives the use for obtaining nonce, broadcast transmission side after third is broadcasted from third broadcast Name in an account book, response, and the nonce is compared with the nonce that the step broadcast transmission side S302 generates, when the two are interim When being worth identical, broadcast reception root searches broadcast transmission side according to the user name of broadcast transmission side from the user data that itself is stored The corresponding password of user name (identical as the preset password in broadcast transmission side in step S303), according to the password, nonce, wide The user name for broadcasting sender calculates the second response.If the response carried in the second response and third broadcast is consistent, really Determine broadcast transmission side to authenticate successfully;Otherwise, it determines broadcast transmission side's authentification failure.Also, broadcast reception side sends the 4th broadcast When, TAGself is identified according to the reception of broadcast transmission side and broadcasts to broadcast transmission side for the 4th.
When broadcast transmission side receives the message of authentification failure, broadcast transmission side initiates to authenticate to broadcast reception side again Process;
When broadcast transmission side, which receives, authenticates successful message, broadcast transmission side determines that broadcast reception side receives broadcast hair The reception of this broadcast data sent of the side of sending identifies TAG1, and detailed process is as follows:
Step S305, broadcast reception side, which is sent, authenticates successful message to behind broadcast transmission side, registers in system platform One reception for receiving this broadcast data sent of broadcast transmission side identifies TAG1;Meanwhile broadcast transmission side receives certification After successful message, the reception mark TAG1 that broadcast reception side receives this broadcast data sent of broadcast transmission side is calculated.
The calculation method of TAG1 are as follows: TAG1=F (response, user name, password), wherein function F is for calculating TAG1. When calculating TAG1 by function F (response, user name, password) for broadcast transmission side, response is step S303 calculating Obtained response, the user name of the entitled broadcast transmission side of user, password are the preset password in broadcast transmission side;Broadcast is connect When debit calculates TAG1 by function F (response, user name, password), response is that broadcast reception side connects in step S304 (the two responses are identical, therefore using any one in the two for the response received either the second response Can), the user name of the entitled broadcast transmission side of user, password is what the broadcast transmission side that broadcast reception side prestores was sent in advance Password (consistent with the preset password in above-mentioned broadcast transmission side).That is, broadcast transmission side and broadcast reception side are calculating When TAG1, response used, user name, password are all the same, and therefore, the TAG1 being calculated is theoretically also identical.
Step S306, broadcast data is sent to broadcast reception side according to TAG1 by broadcast transmission root.
Step S307, it after broadcast reception side receives the broadcast data for carrying TAG1, is replied to broadcast transmission side and receives this The confirmation message of broadcast data.
Specifically, the confirmation message for receiving the broadcast data is sent to broadcast transmission according to TAGself by broadcast reception root Side.
In above-described embodiment, the user of broadcast transmission side is utilized when broadcast transmission side and broadcast reception side calculate response Name, the preset password in broadcast transmission side, it is certainly, in addition to the above methods, pre- using the user name of broadcast reception side, broadcast reception side If cryptographic calculations response it is also possible, this is not limited by the present invention.
When the broadcast transmission side in above-described embodiment needs to send broadcast data to above-mentioned broadcast reception side second, by It has been authenticated successfully to broadcast reception side request before first time sends broadcast data in broadcast transmission side, therefore, this When secondary transmission broadcast data, it need to only calculate the new broadcast reception side that is used to indicate and receive this transmission of broadcast transmission side The reception of broadcast data identifies TAG2, while broadcast reception side register one in system and new is used to receive broadcast transmission side's sheet The reception of the broadcast data of secondary transmission identifies TAG2.
The calculation method of TAG2 are as follows: TAG2=F (TAG1, user name, password), wherein function F is used to calculate TAG2, TAG1 is the reception mark that broadcast reception side receives the broadcast data that broadcast transmission side is sent for the first time, the entitled broadcast transmission of user The user name of side, password are the password that broadcast transmission side and the broadcast reception side make an appointment.
To which broadcast transmission root is sent to broadcast reception side according to TAG2, by broadcast data.Broadcast reception side, which works as, to be received After the broadcast data for carrying TAG2, confirmation message is replied to broadcast transmission side by TAGself.
And so on, it is connect when broadcast transmission side needs n-th (N is greater than or equal to 2) to send broadcast data to above-mentioned broadcast When debit, broadcast transmission side calculates a new broadcast reception side and receives connecing for this broadcast data sent of broadcast transmission side Receive mark TAG (N), at the same broadcast reception side register in system one it is new for receiving the wide of this transmission of broadcast transmission side The reception of multicast data identifies TAG (N).
The calculation method of TAG (N) are as follows: TAG (N)=F (TAG (N-1), user name, password), wherein function F is based on It calculating TAG (N), TAG (N-1) is the secondary reception mark for receiving the broadcast data that broadcast transmission side is sent in broadcast reception side (N-1), The user name of the entitled broadcast transmission side of user, password are the password that broadcast transmission side and the broadcast reception side make an appointment.
To which broadcast data is sent to broadcast reception side according to TAG (N) by broadcast transmission root.Broadcast reception side is when reception To after the broadcast data for carrying TAG (N), confirmation message is replied to broadcast transmission side by TAGself.
Preferably, in above-described embodiment, when the transmission of broadcast transmission side is broadcast to broadcast reception side, the broadcast that will be sent It is sent to system platform, this is broadcast to the recipient for being registered as broadcast recipients in system platform by system platform. To receive the recipient of the broadcast after receiving the broadcast, judge the reception of the reception mark and itself in the broadcast Mark is consistent, then according to the broadcast, performs corresponding processing.Similarly, broadcast message is replied to broadcast transmission side by broadcast reception side When, also it is forwarded by system platform.
It should be noted that if repeatedly should be sent when broadcast transmission side's n-th sends broadcast data to broadcast reception side Broadcast data does not receive the confirmation message of broadcast reception side's reply, then broadcast transmission side needs to send out to broadcast reception side again Play the process of request certification.It is described herein to send multiple number, such as can choose 5 times, that is, it is same to broadcast 5 transmissions of sender Broadcast data to broadcast transmission Fang Jun do not receive broadcast reception side reply confirmation message, then broadcast transmission side need again to Initiate the process of request certification in broadcast reception side.Certainly, multiple number is sent, other can also be set as according to actual needs, This is not limited by the present invention.
Referring to fig. 4, a kind of broadcast transmitting device provided in an embodiment of the present invention, comprising:
First module 41, for when needing to send broadcast data to broadcast reception side, executing to the broadcast reception side Request the process of certification;
Second module 42, for when determine authenticate successfully to the broadcast reception side request after, it is determining be used to indicate described in Broadcast reception side receives the reception mark of this broadcast data sent of described device;
Broadcast data is sent to the broadcast reception side for identifying according to the reception by third module 43.
Preferably, the first module 41 is specifically used for:
The information of request certification is sent to the broadcast reception side;
When receiving the success response message that the broadcast reception side is sent, obtains and use from the success response message In the nonce for determining the response to broadcast reception side request certification;
According to the nonce, determine for the response to broadcast reception side request certification;
The response is sent to the broadcast reception side.
Preferably, being specifically used for when the first module 41 sends the information of request certification to the broadcast reception side:
It is according to the pre-stored data to be used to indicate the letter sent in broadcast reception side's reception present apparatus request verification process The reception of breath identifies, and the information of the request certification is sent to the broadcast reception side by the first broadcast message.
Preferably, the first module 41 according to the nonce, is determined for the sound to broadcast reception side request certification When should be worth, it is specifically used for:
According to the password that the nonce, the user name of the present apparatus, the present apparatus and the broadcast reception side make an appointment, press The response is determined according to the algorithm arranged with the broadcast reception side.
Preferably, being specifically used for when the response is sent to the broadcast reception side by the first module 41:
It is according to the pre-stored data to be used to indicate the letter sent in broadcast reception side's reception present apparatus request verification process The reception of breath identifies, and the response is sent to the broadcast reception side by the second broadcast message.
Preferably, the second module 42 determines when authenticating successfully to broadcast reception side request, it is specifically used for:
Receive broadcast reception side's transmission authenticates successful message to the present apparatus, and is determined according to the message to described The request of broadcast reception side authenticates successfully.
Preferably, the second module 42 determines that the broadcast reception side receives the reception of this broadcast data sent of the present apparatus When mark, it is specifically used for:
It is made an appointment according to the response, the user name of the present apparatus and the present apparatus with the broadcast reception side close Code determines and is used to indicate the reception mark that the broadcast reception side receives this broadcast data sent of the present apparatus.
Preferably, third module 43 receives the reception of this broadcast data sent of the present apparatus according to the broadcast reception side Mark, after broadcast data is sent to the broadcast reception side, is also used to:
Receive the confirmation message for receiving the broadcast data that the broadcast reception side is sent.
Preferably, when the device needs to send broadcast data to the broadcast reception side again, second module 42 It is also used to:
The broadcast data for being used to indicate broadcast reception side's reception present apparatus transmission determined according to the last time connects Mark is received, determines a newest reception mark for being used to indicate the broadcast reception side and receiving this broadcast data sent of the present apparatus Know;
The third module 43 is also used to: being used to indicate the newest broadcast according to what second module determined Recipient receives the reception mark of this broadcast data sent of the present apparatus, and the broadcast data that this needs is sent is sent to institute State broadcast reception side.
Preferably, the second module 42 receives present apparatus hair according to the broadcast reception side that is used to indicate that the last time determines The reception of the broadcast data sent identifies, and determines and described newest be used to indicate the broadcast reception side and receive this transmission of the present apparatus Broadcast data reception mark when, be specifically used for:
The broadcast data for being used to indicate broadcast reception side's reception present apparatus transmission determined according to the last time connects Receive mark, the password that the user name of the present apparatus and the present apparatus and the broadcast reception side make an appointment, according to the broadcast The algorithm of recipient's agreement determines the newest broadcast for being used to indicate the broadcast reception side and receiving this transmission of the present apparatus The reception of data identifies.
Referring to Fig. 5, a kind of broadcast receiver provided in an embodiment of the present invention, comprising:
First module 51, for executing to the broadcast transmission side when determination needs to authenticate broadcast transmission side Verification process;
Second module 52, for after first module confirmation authenticates successfully the broadcast transmission side, registration one to be used In the reception mark for receiving this broadcast data sent of the broadcast transmission side;
Third module 53 receives the broadcast data that the broadcast transmission side is sent for identifying according to the reception.
Preferably, the first module 51 determines when needing to authenticate broadcast transmission side, it is specifically used for:
The first broadcast message that the broadcast transmission side is sent is received, wherein described in carrying in first broadcast message The information of the request certification of broadcast transmission side;
According to the information of the request certification, determines and need to authenticate the broadcast transmission side.
Preferably, the first module 51 is specifically used for:
When determining message of the needs to broadcast transmission side transmission success response, a nonce is set, this is interim Value carrying is sent to the broadcast transmission side in the message of the success response, by the broadcast transmission root according to the nonce It determines for the first response to present apparatus request certification;
When receiving the second broadcast message that the broadcast transmission side is sent, institute is obtained from second broadcast message State the first response;
According to first response, the broadcast transmission side is authenticated.
Preferably, further including user name, the broadcast transmission of the broadcast transmission side in broadcasting the message described first The reception mark of side;
When first module 51 determines that needs send the message of success response to the broadcast transmission side, it is specifically used for:
According to the user name of the broadcast transmission side, whether inquiry prestores the letter of the broadcast transmission side in the present apparatus Breath;
When determining the information for prestoring in the present apparatus broadcast transmission side, first module 51 determine need to The broadcast transmission side sends the message of success response.
Preferably, further including the user name of the broadcast transmission side, the nonce in broadcasting the message described second;
First module 51 is specific to use when authenticating to the broadcast transmission side according to second broadcast message In:
According to the user name for the password, the broadcast transmission side made an appointment with the broadcast transmission side and described interim Value calculates the second response;
Second response and first response are compared, when second response and first sound When should be worth identical, confirm that the broadcast transmission side authenticates successfully.
Preferably, being also used to after the confirmation of the first module 51 authenticates successfully the broadcast transmission side:
Successful message will be authenticated to the broadcast transmission side and be sent to the broadcast transmission side.
Preferably, the broadcast transmission side is authenticated successful message by the first module 51 is sent to the broadcast transmission side When, it is specifically used for:
It is identified according to the reception of the broadcast transmission side, successful message will be authenticated to the broadcast transmission side and be sent to institute State broadcast transmission side.
Preferably, the second module 52 registration one is for receiving the reception of this broadcast data sent of the broadcast transmission side When mark, it is specifically used for:
The reception mark for receiving the broadcast data that the broadcast transmission side is sent is registered in system platform.
Preferably, the second module 52 registers the broadcast data sent for receiving the broadcast transmission side in system platform Reception mark when, be specifically used for:
It is the password made an appointment according to second response, the broadcast reception side with the broadcast transmission side, described The user name of broadcast transmission side registers the reception for receiving the broadcast data that the broadcast transmission side is sent in system platform Mark.
Preferably, being also used to after third module 53 receives the broadcast data that the broadcast transmission side is sent:
The confirmation message for receiving the broadcast data is sent to the broadcast transmission side.
Preferably, when third module 53 sends the confirmation message for receiving the broadcast data to the broadcast transmission side, tool Body is used for:
It is identified according to the reception of the broadcast transmission side, the confirmation message for receiving the broadcast data is sent to institute State broadcast transmission side.
Preferably, the present apparatus is when receiving the broadcast data that the broadcast transmission side is sent again, second module 52 It is also used to:
The reception of the new broadcast data for receiving this transmission of the broadcast transmission side of registration one in system platform Mark.
Preferably, to register one in system platform new for receiving this transmission of the broadcast transmission side for the second module 52 Broadcast data reception mark when, be specifically used for:
According to the last time registered in system platform for receiving broadcast data that the broadcast transmission side is sent The user name for receiving the password, the broadcast transmission side made an appointment in mark, the present apparatus and the broadcast transmission side, it is flat in system Registration one is newest for receiving the reception mark of this broadcast data sent of the broadcast transmission side on platform.
A kind of broadcaster provided in an embodiment of the present invention, including above-mentioned broadcast transmitting device and above-mentioned broadcast reception Device.That is, the broadcaster may act as broadcast transmitting device, broadcast receiver can also be used as, i.e., this is wide Broadcasting device is provided simultaneously with the function of broadcast transmitting device and broadcast receiver.
The embodiment of the present invention can realize above-mentioned each functional module by hardware devices such as processors.
The processor, such as can be centre and bury device (CPU), specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or Complex Programmable Logic Devices (Complex Programmable Logic Device, CPLD) etc..
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (41)

1. a kind of broadcast transmission method, which is characterized in that this method comprises:
Broadcast transmission side is executed when needing to send broadcast data to broadcast reception side to broadcast reception side request certification Process;
The broadcast transmission side determines that being used to indicate the broadcast connects after determination authenticates successfully to broadcast reception side request Debit receives the reception mark of this broadcast data sent of the broadcast transmission side;
The broadcast transmission root is identified according to the reception, and broadcast data is sent to the broadcast reception side;
Wherein, the broadcast transmission side executes the process to broadcast reception side request certification, specifically includes:
The broadcast transmission side sends the information of request certification to the broadcast reception side;
The broadcast transmission side disappears when receiving the success response message that the broadcast reception side is sent from the success response The nonce for determining the response to broadcast reception side request certification is obtained in breath;
The broadcast transmission root is determined according to the nonce for the response to broadcast reception side request certification;
The response is sent to the broadcast reception side by the broadcast transmission side.
2. the method according to claim 1, wherein when the broadcast transmission side needs to send broadcast data again When to the broadcast reception side, this method further include:
The broadcast transmission root receives the broadcast transmission side according to the broadcast reception side that is used to indicate that the last time determines The reception of the broadcast data of transmission identifies, and determines that one newest be used to indicate the broadcast reception side and receive the broadcast transmission side The reception mark of this broadcast data sent;
The broadcast transmission root according to it is described it is newest be used to indicate the broadcast reception side receive the broadcast transmission side this The reception of the broadcast data of transmission identifies, and the broadcast data that this needs is sent is sent to the broadcast reception side.
3. the method according to claim 1, wherein the broadcast transmission side sends the information of request certification to institute Broadcast reception side is stated, is specifically included:
The broadcast transmission side is according to the pre-stored data to be used to indicate broadcast reception side's reception broadcast transmission side's request The reception of the information sent in verification process identifies, and broadcasting the message by first, it is described to be sent to the information of the request certification Broadcast reception side.
4. the method according to claim 1, wherein the broadcast transmission root is determined and is used according to the nonce In the response to broadcast reception side request certification, specifically include:
The broadcast transmission root according to the nonce, the user name of the broadcast transmission side, the broadcast transmission side with it is described The password that broadcast reception side makes an appointment determines the response according to the algorithm arranged with the broadcast reception side.
5. according to the method described in claim 4, it is characterized in that, the broadcast transmission side response is sent to it is described Broadcast reception side specifically includes:
The broadcast transmission side is according to the pre-stored data to be used to indicate broadcast reception side's reception broadcast transmission side's request The reception of the information sent in verification process identifies, and the response is sent to the broadcast reception by the second broadcast message Side.
6. the method according to claim 1, wherein the broadcast transmission side determines that being used to indicate the broadcast connects Debit receives the reception mark of this broadcast data sent of the broadcast transmission side, specifically includes:
The broadcast transmission root is according to the response, the user name of the broadcast transmission side and the broadcast transmission side and institute The password that broadcast reception side makes an appointment is stated, is used to indicate the broadcast according to the algorithm determination arranged with the broadcast reception side Recipient receives the reception mark of this broadcast data sent of the broadcast transmission side.
7. according to the method described in claim 2, it is characterized in that, the broadcast transmission root is used for according to the last determining It indicates that the broadcast reception side receives the reception mark for the broadcast data that the broadcast transmission side is sent, determines the newest use The reception mark of this broadcast data sent of the broadcast transmission side is received in the instruction broadcast reception side, is specifically included:
The broadcast transmission root receives the broadcast transmission side according to the broadcast reception side that is used to indicate that the last time determines Reception mark, the user name of the broadcast transmission side and the broadcast transmission side of the broadcast data of transmission connect with the broadcast The password that debit makes an appointment, according to the algorithm arranged with the broadcast reception side determine it is described it is newest be used to indicate it is described wide Broadcast the reception mark that recipient receives this broadcast data sent of the broadcast transmission side.
8. the method according to claim 1, wherein broadcast transmission side determination is asked to the broadcast reception side It asks and authenticates successfully, specifically include:
What the broadcast transmission side received that the broadcast reception side sends authenticates successful message, and root to the broadcast transmission side It determines according to the message to broadcast reception side request and authenticates successfully.
9. the method according to claim 1, wherein the broadcast transmission side broadcast data is sent to it is described wide After broadcasting recipient, this method further include:
The broadcast transmission side receives the confirmation message for receiving the broadcast data that the broadcast reception side is sent.
10. a kind of broadcast receiving method, which is characterized in that this method comprises:
Broadcast reception side executes authenticating to the broadcast transmission side when determination needs to authenticate broadcast transmission side Journey;
After confirmation authenticates successfully the broadcast transmission side, registration one is for receiving the broadcast transmission for the broadcast reception side The reception mark for the broadcast data that Fang Benci is sent;
The broadcast reception root is identified according to the reception, receives the broadcast data that the broadcast transmission side is sent;
The broadcast reception side executes the certification to the broadcast transmission side when determination needs to authenticate broadcast transmission side Process specifically includes:
When determining message of the needs to broadcast transmission side transmission success response, setting one is interim for the broadcast reception side Nonce carrying is sent to the broadcast transmission side, by the broadcast transmission side by value in the message of the success response It is determined according to the nonce for the first response to broadcast reception side request certification;
The broadcast reception side disappears when receiving the second broadcast message that the broadcast transmission side is sent from second broadcast First response is obtained in breath;
The broadcast reception root authenticates the broadcast transmission side according to first response.
11. according to the method described in claim 10, it is characterized in that, the broadcast reception side ought receive the broadcast hair again When the broadcast data that the side of sending is sent, this method further include:
It is newest for receiving the wide of this transmission of the broadcast transmission side that the broadcast reception side registers one in system platform The reception of multicast data identifies.
12. according to the method for claim 11, which is characterized in that broadcast reception side's determination is needed to broadcast transmission side It is authenticated, is specifically included:
The broadcast reception side receives the first broadcast message that the broadcast transmission side is sent, wherein in first broadcast message The information of the middle request certification for carrying the broadcast transmission side;
The broadcast reception root determines according to the information of the request certification and needs to authenticate the broadcast transmission side.
13. according to the method described in claim 10, it is characterized in that, further including the broadcast in first broadcast message The user name of sender, the reception mark of the broadcast transmission side;
The broadcast reception side determines the message for needing that success response is sent to the broadcast transmission side, specifically includes:
Whether the broadcast reception root is inquired and is prestored in the broadcast reception side according to the user name of the broadcast transmission side The information of the broadcast transmission side;
It is described wide when the broadcast reception side determines the information for prestoring the broadcast transmission side in the broadcast reception side It broadcasts recipient and determines the message for needing to send success response to the broadcast transmission side.
14. according to the method for claim 13, which is characterized in that further include the broadcast in broadcasting the message described second The user name of sender, the nonce;
The broadcast reception root authenticates the broadcast transmission side, specifically includes according to first response:
The broadcast reception root according to the user name of the password, the broadcast transmission side made an appointment with the broadcast transmission side with And the nonce, calculate the second response;
The broadcast reception side compares second response and first response, when second response with When first response is identical, confirm that the broadcast transmission side authenticates successfully.
15. according to the method for claim 14, which is characterized in that the broadcast reception side confirms that the broadcast transmission side is recognized After demonstrate,proving successfully, this method further include:
The broadcast reception side will authenticate successful message to the broadcast transmission side and be sent to the broadcast transmission side.
16. according to the method for claim 15, which is characterized in that the broadcast reception side will recognize the broadcast transmission side It demonstrate,proves successful message and is sent to the broadcast transmission side, specifically include:
The broadcast reception root is identified according to the reception of the broadcast transmission side, will be authenticated to the broadcast transmission side and successfully be disappeared Breath is sent to the broadcast transmission side.
17. according to the method for claim 15, which is characterized in that broadcast reception side's registration one is described wide for receiving The reception mark for broadcasting this broadcast data sent of sender, specifically includes:
The broadcast reception root is made an appointment according to second response, the broadcast reception side and the broadcast transmission side Password, the broadcast transmission side user name, in system platform register for receive the broadcast transmission side this send The reception of broadcast data identifies.
18. according to the method for claim 17, which is characterized in that register one in system platform most in the broadcast reception side The new reception for receiving this broadcast data sent of the broadcast transmission side identifies, and specifically includes:
The broadcast transmission root for receiving the broadcast transmission side according to sending of registering in system platform of the last time Broadcast data receives password, the broadcast transmission that mark, the broadcast reception side and the broadcast transmission side make an appointment It is newest for receiving this broadcast data sent of the broadcast transmission side to register one in system platform for the user name of side Receive mark.
19. according to the method for claim 13, which is characterized in that the broadcast reception side receives broadcast transmission side's hair After the broadcast data sent, this method further include:
The broadcast reception side sends the confirmation message for receiving the broadcast data to the broadcast transmission side.
20. according to the method for claim 19, which is characterized in that the broadcast reception side sends and receives the broadcast data Confirmation message give the broadcast transmission side, specifically include:
The broadcast reception root is identified according to the reception of the broadcast transmission side, and the confirmation message for receiving the broadcast data is sent out Give the broadcast transmission side.
21. a kind of broadcast transmitting device, which is characterized in that the device includes:
First module is recognized for when needing to send broadcast data to broadcast reception side, executing to broadcast reception side request The process of card;
Second module, for when determine authenticate successfully to the broadcast reception side request after, it is determining to be used to indicate described broadcast and connect Debit receives the reception mark of this broadcast data sent of described device;
Broadcast data is sent to the broadcast reception side for identifying according to the reception by third module;
Wherein, first module is specifically used for:
The information of request certification is sent to the broadcast reception side;
When receiving the success response message that the broadcast reception side is sent, obtain from the success response message for true Orient the nonce of the response of broadcast reception side's request certification;
According to the nonce, determine for the response to broadcast reception side request certification;
The response is sent to the broadcast reception side.
22. device according to claim 21, which is characterized in that when described device needs to send again broadcast data to institute When stating broadcast reception side, second module is also used to:
The reception for being used to indicate the broadcast reception side and receiving the broadcast data that described device is sent determined according to the last time Mark determines a newest reception mark for being used to indicate the broadcast reception side and receiving this broadcast data sent of described device Know;
The third module is also used to: being used to indicate the newest broadcast reception side according to what second module determined The broadcast data that this needs is sent is sent to described wide by the reception mark for receiving this broadcast data sent of described device Broadcast recipient.
23. device according to claim 21, which is characterized in that first module sends the information of request certification to institute When stating broadcast reception side, it is specifically used for:
It is according to the pre-stored data to be used to indicate the broadcast reception side and receive the information sent in present apparatus request verification process Mark is received, the information of the request certification is sent to by the broadcast reception side by the first broadcast message.
24. device according to claim 21, which is characterized in that first module is determined and used according to the nonce When to the response of broadcast reception side request certification, it is specifically used for:
According to the password that the nonce, the user name of described device, described device and the broadcast reception side make an appointment, press The response is determined according to the algorithm arranged with the broadcast reception side.
25. device according to claim 24, which is characterized in that the response is sent to described by first module When broadcast reception side, it is specifically used for:
It is according to the pre-stored data to be used to indicate the broadcast reception side and receive what present apparatus sender requested to send in verification process The reception of information identifies, and the response is sent to the broadcast reception side by the second broadcast message.
26. device according to claim 21, which is characterized in that second module determines that being used to indicate the broadcast connects When the reception mark of this broadcast data sent of debit's reception described device, it is specifically used for:
It is made an appointment according to the response, the user name of described device and described device with the broadcast reception side close Code, determined according to algorithm arrange with the broadcast reception side be used to indicate broadcast reception side's reception described device this The reception of the broadcast data of transmission identifies.
27. device according to claim 22, which is characterized in that second module is used for according to the last determining It indicates that the broadcast reception side receives the reception mark for the broadcast data that described device is sent, determines described newest be used to indicate When the reception mark of this broadcast data sent of broadcast reception side's reception described device, it is specifically used for:
The reception for being used to indicate the broadcast reception side and receiving the broadcast data that described device is sent determined according to the last time The password that mark, the user name of described device and described device and the broadcast reception side make an appointment, according to it is described wide The algorithm for broadcasting recipient agreement, which determines, described newest to be used to indicate the broadcast reception side and receives described device this sends The reception of broadcast data identifies.
28. device according to claim 21, which is characterized in that the second module determination is asked to the broadcast reception side It asks when authenticating successfully, is specifically used for:
Receive broadcast reception side's transmission authenticates successful message to described device, and is determined according to the message to described wide Recipient's request is broadcast to authenticate successfully.
29. device according to claim 21, which is characterized in that the third module is received according to the broadcast reception side The reception mark of this broadcast data sent of described device, after broadcast data is sent to the broadcast reception side, is also used In:
Receive the confirmation message for receiving the broadcast data that the broadcast reception side is sent.
30. a kind of broadcast receiver, which is characterized in that the device includes:
First module, for executing the certification to the broadcast transmission side when determination needs to authenticate broadcast transmission side Process;
Second module, for after first module confirmation authenticates successfully the broadcast transmission side, registration one to be for receiving The reception mark of this broadcast data sent of the broadcast transmission side;
Third module receives the broadcast data that the broadcast transmission side is sent for identifying according to the reception;
Wherein, first module is specifically used for:
When determining message of the needs to broadcast transmission side transmission success response, a nonce is set, which is taken Band is sent to the broadcast transmission side in the message of the success response, is determined by the broadcast transmission root according to the nonce For the first response to described device request certification;
When receiving the second broadcast message that the broadcast transmission side is sent, described the is obtained from second broadcast message One response;
According to first response, the broadcast transmission side is authenticated.
31. device according to claim 30, which is characterized in that described device ought receive broadcast transmission side's hair again When the broadcast data sent, second module is also used to:
The new reception for receiving this broadcast data sent of the broadcast transmission side of registration one identifies in system platform.
32. device according to claim 31, which is characterized in that first module determine need to broadcast transmission side into When row certification, it is specifically used for:
The first broadcast message that the broadcast transmission side is sent is received, wherein carrying the broadcast in first broadcast message The information of the request certification of sender;
According to the information of the request certification, determines and need to authenticate the broadcast transmission side.
33. device according to claim 30, which is characterized in that further include the broadcast in broadcasting the message described first The user name of sender, the reception mark of the broadcast transmission side;
When first module determines that needs send the message of success response to the broadcast transmission side, it is specifically used for:
According to the user name of the broadcast transmission side, whether inquiry prestores the letter of the broadcast transmission side in said device Breath;
When determination prestores the information of the broadcast transmission side in said device, first module, which determines, to be needed to described The message of broadcast transmission side's transmission success response.
34. device according to claim 33, which is characterized in that further include the broadcast in broadcasting the message described second The user name of sender, the nonce;
First module when authenticating to the broadcast transmission side, is specifically used for according to second broadcast message:
According to the user name for the password, the broadcast transmission side made an appointment with the broadcast transmission side and the nonce, Calculate the second response;
Second response and first response are compared, when second response and first response When identical, confirm that the broadcast transmission side authenticates successfully.
35. device according to claim 34, which is characterized in that first module confirms broadcast transmission side's certification After success, it is also used to:
Successful message will be authenticated to the broadcast transmission side and be sent to the broadcast transmission side.
36. device according to claim 35, which is characterized in that first module will authenticate the broadcast transmission side When successful message is sent to the broadcast transmission side, it is specifically used for:
It is identified, the broadcast transmission side successful message of certification will be sent to described wide according to the reception of the broadcast transmission side Broadcast sender.
37. device according to claim 35, which is characterized in that second Module registers one are for receiving the broadcast When the reception mark of this broadcast data sent of sender, it is specifically used for:
The password made an appointment according to second response, broadcast reception side and the broadcast transmission side, the broadcast transmission The user name of side registers the reception mark for receiving the broadcast data that the broadcast transmission side is sent in system platform.
38. the device according to claim 37, which is characterized in that it is new that second module registers one in system platform When for receiving the reception mark of this broadcast data sent of the broadcast transmission side, it is specifically used for:
According to the reception for the broadcast data for receiving broadcast transmission side's transmission that the last time registers in system platform The user name of password, the broadcast transmission side that mark, described device and the broadcast transmission side make an appointment, in system platform Upper registration one is newest for receiving the reception mark of this broadcast data sent of the broadcast transmission side.
39. device according to claim 33, which is characterized in that the third module receives the broadcast transmission side and sends Broadcast data after, be also used to:
The confirmation message for receiving the broadcast data is sent to the broadcast transmission side.
40. device according to claim 39, which is characterized in that the third module transmission receives the broadcast data When confirmation message gives the broadcast transmission side, it is specifically used for:
It is identified, the confirmation message for receiving the broadcast data is sent to described wide according to the reception of the broadcast transmission side Broadcast sender.
41. a kind of broadcaster characterized by comprising broadcast transmitting device described in any claim of claim 21 to 29, And broadcast receiver described in any claim of claim 30 to 40.
CN201510882770.8A 2015-12-03 2015-12-03 A kind of broadcasting method and device Active CN106850238B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510882770.8A CN106850238B (en) 2015-12-03 2015-12-03 A kind of broadcasting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510882770.8A CN106850238B (en) 2015-12-03 2015-12-03 A kind of broadcasting method and device

Publications (2)

Publication Number Publication Date
CN106850238A CN106850238A (en) 2017-06-13
CN106850238B true CN106850238B (en) 2019-11-19

Family

ID=59149812

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510882770.8A Active CN106850238B (en) 2015-12-03 2015-12-03 A kind of broadcasting method and device

Country Status (1)

Country Link
CN (1) CN106850238B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304494A (en) * 2007-05-10 2008-11-12 日本先锋公司 Method and system for data communication of digital television
CN101465992A (en) * 2007-12-20 2009-06-24 大唐移动通信设备有限公司 Method and system for notifying television program of mobile phone television business
CN102801539A (en) * 2012-06-08 2012-11-28 深圳创维数字技术股份有限公司 Method, device and system for information distribution
CN104246529A (en) * 2012-02-22 2014-12-24 高通股份有限公司 Locating wireless identity transmitter using short-range wireless broadcasts
CN104994481A (en) * 2015-07-10 2015-10-21 上海斐讯数据通信技术有限公司 Method and system for transceiving broadcast messages between application programs in Android system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304494A (en) * 2007-05-10 2008-11-12 日本先锋公司 Method and system for data communication of digital television
CN101465992A (en) * 2007-12-20 2009-06-24 大唐移动通信设备有限公司 Method and system for notifying television program of mobile phone television business
CN104246529A (en) * 2012-02-22 2014-12-24 高通股份有限公司 Locating wireless identity transmitter using short-range wireless broadcasts
CN102801539A (en) * 2012-06-08 2012-11-28 深圳创维数字技术股份有限公司 Method, device and system for information distribution
CN104994481A (en) * 2015-07-10 2015-10-21 上海斐讯数据通信技术有限公司 Method and system for transceiving broadcast messages between application programs in Android system

Also Published As

Publication number Publication date
CN106850238A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
CN107979514B (en) Method and device for binding devices
CN109359691B (en) Identity verification method and system based on block chain
CN106453415B (en) Block chain-based equipment authentication method, authentication server and user equipment
US9332430B2 (en) Method of identifying and authenticating a radio tag by a reader
CN111376865B (en) Vehicle digital key activation method, system and storage medium
CN105376208B (en) Secure data verification method, system and computer readable storage medium
KR20120055683A (en) Methods and apparatus for deriving, communicating and/or verifying ownership of expressions
CN105678182A (en) Method and apparatus for data operation controlling
US10166481B2 (en) Method, device and system for sharing of game characters
RU2005113995A (en) DEVICE COMMUNICATION METHOD
CN105306490A (en) System, method and device for payment verification
CN108023881B (en) Application login method, device, medium and electronic equipment
US20080301793A1 (en) Apparatus and method of verifying online certificate for offline device
US20120159598A1 (en) User authentication system and method using personal identification number
CN108234450B (en) Identity authentication method, terminal registration method, server and terminal
US20160071081A1 (en) Offline pin authentication method and system for ic card
CN112749968B (en) Service data recording method and device based on block chain
CN110611647A (en) Node joining method and device on block chain system
CN109067746B (en) Communication method and device between client and server
CN104349313A (en) Service authorization method, equipment and system
CN107819766A (en) Safety certifying method, system and computer-readable recording medium
CN111145762A (en) Electronic certificate verification method and system based on voiceprint recognition
CN109889474A (en) A kind of method and device of subscriber authentication
CN114189863A (en) Binding method and device of intelligent door lock, storage medium and electronic device
CN107846281B (en) Proxy multiple signature method and system based on position

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