CN109905735A - A kind of method for authenticating and device - Google Patents

A kind of method for authenticating and device Download PDF

Info

Publication number
CN109905735A
CN109905735A CN201910216678.6A CN201910216678A CN109905735A CN 109905735 A CN109905735 A CN 109905735A CN 201910216678 A CN201910216678 A CN 201910216678A CN 109905735 A CN109905735 A CN 109905735A
Authority
CN
China
Prior art keywords
user
broadcast interface
log
message
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910216678.6A
Other languages
Chinese (zh)
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.)
Shandong Yunman Intelligent Technology Co Ltd
Original Assignee
Shandong Yunman Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Yunman Intelligent Technology Co Ltd filed Critical Shandong Yunman Intelligent Technology Co Ltd
Priority to CN201910216678.6A priority Critical patent/CN109905735A/en
Publication of CN109905735A publication Critical patent/CN109905735A/en
Pending legal-status Critical Current

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention provides a kind of method for authenticating and devices, comprising: when determining the target channel of user's selection, into the corresponding broadcast interface of target channel;The viewing permission of target channel is determined whether according to the target identification of target channel;When determining without viewing permission, the log-on message that user inputs in broadcast interface is obtained;Log-on message and target identification are sent to background server;When getting the program price corresponding with target identification that background server determines that user sends for legitimate user, the display program price in broadcast interface;It obtains user and pays the payment information that the corresponding fund of program price generates, and be sent to background server;When getting the video resource that background server is sent according to payment information, the first prompt information shown in broadcast interface is hidden, and video resource is played in broadcast interface, wherein the first prompt information includes: program price.The complexity of human-computer interaction when this programme can reduce authentication operations.

Description

A kind of method for authenticating and device
Technical field
The present invention relates to field of computer technology, in particular to a kind of method for authenticating and device.
Background technique
With social progress and development, the Copyright Awareness of people is constantly reinforced.User may be because of version in browsing content Power protection or operator demand need open to paying customer.This needs the right discriminating system of complete set just to handle user's power Limit.
Currently, major part video APP has authentication functions.But most of video APP carries out authentication operations in user When, needing user to jump to individual center from broadcast interface click hop button just can be carried out corresponding operation, to increase The complexity of human-computer interaction when authentication operations.
Summary of the invention
The embodiment of the invention provides a kind of method for authenticating and device, the complexity of human-computer interaction when can reduce authentication operations Property.
In a first aspect, the embodiment of the invention provides a kind of method for authenticating, comprising:
When determining the target channel of user's selection, into the corresponding broadcast interface of the target channel;
According to the corresponding target identification of the target channel, it is determined whether there is the viewing permission of the target channel;
When determining without viewing permission, the log-on message that the user inputs in the broadcast interface is obtained;
The log-on message and the target identification are sent to background server, so that the background server is according to institute It states log-on message and determines whether the user is legitimate user;
When getting the program price that the background server determines that the user sends for legitimate user, broadcast described It puts and shows the program price in interface, wherein the program price is corresponding with the target identification;
It obtains the user and pays the payment information that the corresponding fund of the program price generates, and be sent to the backstage Server;
When getting the video resource that the background server is sent according to the payment information, broadcasting circle is hidden The first prompt information shown in face, and video resource is played in the broadcast interface, wherein first prompt information, It include: the program price.
Preferably,
Further comprise:
Multiple channels are stored in advance prestores channel information;
It is described according to the corresponding target identification of the target channel, it is determined whether have the target channel viewing weigh Limit obtains the log-on message that the user inputs in the broadcast interface when determining without viewing permission, comprising:
S1: prestoring in channel information from described, determines in target channel information with the presence or absence of target resource address, wherein The target channel information is corresponding with the target identification of the target channel, if so, executing S2, otherwise, executes S4;
S2: determining whether the target resource address is effective, if so, executing S3, otherwise, executes S4;
S3: corresponding video resource is obtained using the target resource address, and plays video in the broadcast interface Resource;
S4: the log-on message for obtaining the user and inputting in the broadcast interface is executed.
Preferably,
Before the log-on message that the acquisition user inputs in the broadcast interface, further comprise:
D0: Xiang Suoshu background server is sent for determining the whether listed request of the user;
D1: when getting the acknowledgement information that the background server is sent according to the request, the receipt letter is determined The log-on message of the user whether is carried in breath, if so, executing D2, otherwise, executes D3;
D2: execution is described to be sent to background server for the log-on message and the target identification;
D3: it is shown in the broadcast interface in the acknowledgement information for inputting the first two dimensional code of log-on message;
The log-on message for obtaining the user and being inputted in the broadcast interface, comprising:
Obtain the log-on message that the user inputs by identifying first two dimensional code.
Preferably,
It is described when getting the video resource that the background server is sent according to the payment information, hide described broadcast The first prompt information shown in interface is put, and plays video resource in the broadcast interface, comprising:
When getting the first resource address that the background server is sent according to the payment information, described broadcast is hidden Put the first prompt information shown in interface;
Corresponding video resource is obtained using the first resource address, plays video resource in the broadcast interface;
After first prompt information hidden and shown in the broadcast interface, further comprise:
Using the first resource address as target resource address, store into the target channel information.
Preferably,
It is described get the background server determine the user be legitimate user send program price when, in institute It states and shows the program price in broadcast interface, comprising:
Get the background server determine the user be legitimate user send the second two dimensional code, described second When the corresponding program price of two dimensional code and the corresponding account balance of the log-on message, described is shown in the broadcast interface Two two dimensional codes, the program price and the account balance;
The payment information for obtaining the user and paying the corresponding fund generation of the program price, comprising:
F1: it when determining that the means of payment selected to the user pays for the account balance, determines more than the account Whether volume is not less than the program price, if so, executing F2, otherwise, executes F3;
F2: the corresponding payment interface of second two dimensional code is called, the payment interface and the log-on message branch are passed through It pays the program price corresponding fund, obtains payment information;
F3: the second prompt information is exported in the broadcast interface, wherein second prompt information is described for prompting Account balance is insufficient.
Second aspect, the embodiment of the invention provides a kind of authentication devices, comprising:
Playing module, for determine user selection target channel when, into corresponding broadcasting circle of the target channel Face;According to the corresponding target identification of the target channel, it is determined whether there is the viewing permission of the target channel;It is paying When module gets the video resource that background server is sent according to payment information, first shown in the broadcast interface is hidden Prompt information, and video resource is played in the broadcast interface, wherein first prompt information, comprising: program price;
Login module, for obtaining the user in the broadcasting when the playing module is determined without viewing permission The log-on message inputted in interface;
Enquiry module, the log-on message and the target identification for obtaining the login module are sent to backstage Server, so that the background server determines whether the user is legitimate user according to the log-on message;It is getting When the background server determines that the user is the program price that legitimate user sends, triggers the playing module and broadcast described It puts and shows the program price in interface, wherein the program price is corresponding with the target identification;
The payment module, for obtaining the user, to pay the program price that the enquiry module is shown corresponding The payment information that fund generates, and it is sent to the background server.
Preferably,
The playing module is further used for that the channel information that prestores of multiple channels is stored in advance, and executes:
S1: prestoring in channel information from described, determines in target channel information with the presence or absence of target resource address, wherein The target channel information is corresponding with the target identification of the target channel, if so, executing S2, otherwise, executes S4;
S2: determining whether the target resource address is effective, if so, executing S3, otherwise, executes S4;
S3: corresponding video resource is obtained using the target resource address, and plays video in the broadcast interface Resource;
S4: it triggers the login module and executes the login letter for obtaining the user and inputting in the broadcast interface Breath.
Preferably,
The login module is further used for executing:
D0: Xiang Suoshu background server is sent for determining the whether listed request of the user;
D1: when getting the acknowledgement information that the background server is sent according to the request, the receipt letter is determined The log-on message of the user whether is carried in breath, if so, executing D2, otherwise, executes D3;
D2: execution is described to be sent to background server for the log-on message and the target identification;
D3: it is shown in the broadcast interface that the playing module enters in the acknowledgement information and logs in letter for inputting First two dimensional code of breath;And obtain the log-on message that the user inputs by identifying first two dimensional code.
Preferably,
The playing module, for getting what the background server was sent according to the payment information in payment module When first resource address, the first prompt information shown in the broadcast interface is hidden;It is obtained using the first resource address Corresponding video resource plays video resource in the broadcast interface;As target resource using the first resource address Location is stored into the target channel information.
Preferably,
The enquiry module determines that the user is legal for getting the background server in the enquiry module The second two dimensional code, the corresponding program price of second two dimensional code and the corresponding account balance of the log-on message that user sends When, it triggers the playing module and shows second two dimensional code, the program price and the account in the broadcast interface Remaining sum;
The payment module, for executing:
F1: it when determining that the means of payment selected to the user pays for the account balance, determines more than the account Whether volume is not less than the program price, if so, executing F2, otherwise, executes F3;
F2: the corresponding payment interface of second two dimensional code is called, the payment interface and the log-on message branch are passed through It pays the program price corresponding fund, obtains payment information;
F3: it triggers the playing module and exports the second prompt information in the broadcast interface, wherein second prompt Information is for prompting the account balance insufficient.
The embodiment of the invention provides a kind of method for authenticating and device, after user chooses the target channel to be watched, It can be introduced into the broadcast interface of the target channel, then determine whether the viewing permission with the target channel, so that in determination When not watching permission, user inputs its log-on message in broadcast interface, to reduce the complexity of user's human-computer interaction, passes through The target identification of log-on message and target channel can go background server to authenticate, so that background server determines that the user is conjunction Method user returns to the corresponding program price of target identification, by showing the program price, user, that is, payable in broadcast interface Corresponding fund leaves broadcast interface without user and carries out delivery operation, therefore can further decrease answering for human-computer interaction Polygamy can directly hide the program price shown in broadcast interface when getting the video resource of background server return Deng the first prompt information, and the video resource is played in broadcast interface, to provide Video service as early as possible for user, improve user Viewing experience.To sum up, user when inputting log-on message without leaving broadcast interface, in payment without from Open broadcast interface, i.e., authentication process leaves broadcast interface without user, and authenticate successfully rear video resource in broadcast interface The complexity of human-computer interaction when can rise and broadcast automatically, therefore authentication operations can be reduced.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart for method for authenticating that one embodiment of the invention provides;
Fig. 2 is the flow chart for another method for authenticating that one embodiment of the invention provides;
Fig. 3 is a kind of structural schematic diagram for authentication device that one embodiment of the invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, the embodiment of the invention provides a kind of method for authenticating, comprising:
Step 101: when determining the target channel of user's selection, into the corresponding broadcast interface of the target channel;
Step 102: according to the corresponding target identification of the target channel, it is determined whether there is the sight of the target channel See permission;
Step 103: when determining without viewing permission, obtaining the login letter that the user inputs in the broadcast interface Breath;
Step 104: the log-on message and the target identification being sent to background server, so that the background service Device determines whether the user is legitimate user according to the log-on message;
Step 105: when getting the program price that the background server determines that the user sends for legitimate user, The program price is shown in the broadcast interface, wherein the program price is corresponding with the target identification;
Step 106: obtaining the user and pay the payment information that the corresponding fund of the program price generates, and be sent to The background server;
Step 107: when getting the video resource that the background server is sent according to the payment information, hiding institute The first prompt information shown in broadcast interface is stated, and plays video resource in the broadcast interface, wherein described first mentions Show information, comprising: the program price.
In embodiments of the present invention, after user chooses the target channel to be watched, target frequency can be introduced into The broadcast interface in road, then determine whether the viewing permission with the target channel, so that when determining without viewing permission, user Its log-on message is inputted in broadcast interface, to reduce the complexity of user's human-computer interaction, passes through log-on message and target channel Target identification background server can be gone to authenticate so that background server determine that the user is legitimate user return target identification Corresponding program price, by showing the program price in broadcast interface, user, that is, payable corresponding fund, without with Family leaves broadcast interface and carries out delivery operation, therefore can further decrease the complexity of human-computer interaction, takes getting backstage Be engaged in video resource that device returns when, can directly hide first prompt information such as program price shown in broadcast interface, and The video resource is played in broadcast interface, to provide Video service as early as possible for user, improves the viewing experience of user.To sum up may be used See, user, without leaving broadcast interface, in payment without broadcast interface is left, that is, authenticates when inputting log-on message Process leaves broadcast interface without user, and broadcasts authenticating successfully rear video resource and can rise automatically in broadcast interface, therefore can The complexity of human-computer interaction when reducing authentication operations.
It should be noted that video resource can be live video, order video can also be.
In an embodiment of the present invention, further comprise:
Multiple channels are stored in advance prestores channel information;
It is described according to the corresponding target identification of the target channel, it is determined whether have the target channel viewing weigh Limit obtains the log-on message that the user inputs in the broadcast interface when determining without viewing permission, comprising:
S1: prestoring in channel information from described, determines in target channel information with the presence or absence of target resource address, wherein The target channel information is corresponding with the target identification of the target channel, if so, executing S2, otherwise, executes S4;
S2: determining whether the target resource address is effective, if so, executing S3, otherwise, executes S4;
S3: corresponding video resource is obtained using the target resource address, and plays video in the broadcast interface Resource;
S4: the log-on message for obtaining the user and inputting in the broadcast interface is executed.
It in embodiments of the present invention, can be from storage when determining whether user has the viewing permission of target channel Each channel prestores in channel information, and determining whether there is in target channel information corresponding to the target identification of target channel For obtaining the target resource address of video resource, if there is target resource address, then can be obtained by target resource address Video resource is taken, and when target resource address is not present, the target of the log-on message and target channel that need to input user Mark goes background server to authenticate.
In order to improve the usage experience of user, in an embodiment of the present invention, broadcast in the acquisition user described Before putting the log-on message inputted in interface, further comprise:
D0: Xiang Suoshu background server is sent for determining the whether listed request of the user;
D1: when getting the acknowledgement information that the background server is sent according to the request, the receipt letter is determined The log-on message of the user whether is carried in breath, if so, executing D2, otherwise, executes D3;
D2: execution is described to be sent to background server for the log-on message and the target identification;
D3: it is shown in the broadcast interface in the acknowledgement information for inputting the first two dimensional code of log-on message;
The log-on message for obtaining the user and being inputted in the broadcast interface, comprising:
Obtain the log-on message that the user inputs by identifying first two dimensional code.
In embodiments of the present invention, when determining that user does not have the viewing permission of target channel, it is also necessary to request backstage Whether server has logged in, so that background server returns to the receipt of the carrying log-on message of user when determining that user has logged in Information is authenticated with will pass through the target identification of the log-on message and target channel that receive.And background server is in determination The first two dimensional code for inputting log-on message is returned to when user is not logged in, by showing first two dimension in broadcast interface Code, user can carry out register without leaving broadcast interface by identifying that first two dimensional code inputs log-on message, because This can simplify user login operation, reduce the difficulty of human-computer interaction, improve the usage experience of user.
It is in an embodiment of the present invention, described to get the backstage in order to further increase the usage experience of user When server determines that the user is the program price that legitimate user sends, the program valence is shown in the broadcast interface Lattice, comprising:
Get the background server determine the user be legitimate user send the second two dimensional code, described second When the corresponding program price of two dimensional code and the corresponding account balance of the log-on message, described is shown in the broadcast interface Two two dimensional codes, the program price and the account balance;
The payment information for obtaining the user and paying the corresponding fund generation of the program price, comprising:
F1: it when determining that the means of payment selected to the user pays for the account balance, determines more than the account Whether volume is not less than the program price, if so, executing F2, otherwise, executes F3;
F2: the corresponding payment interface of second two dimensional code is called, the payment interface and the log-on message branch are passed through It pays the program price corresponding fund, obtains payment information;
F3: the second prompt information is exported in the broadcast interface, wherein second prompt information is described for prompting Account balance is insufficient.
In embodiments of the present invention, background server, can by background server after determining that user is legitimate user To return to the account balance and the corresponding program of target channel of the second two dimensional code for being used for payment targets channel fund, user Price is shown in broadcast interface, so that user determines the expense to be paid according to program price, and understands itself Log-on message account balance, determine the means of payment convenient for user, i.e., determination is paid by account balance, still passes through knowledge Other second two dimensional code completes charge operation.And the information such as account balance, program price are shown in broadcast interface, it can be convenient use Family completes charge operation in broadcast interface, executes operation jumping to other interfaces without user, therefore can simplify user and pay Time consuming operations reduce the complexity of human-computer interaction.And when user selects account balance as the means of payment, it needs first to determine account Whether family remaining sum is not less than the corresponding program price of target channel, is unable to complete payment to avoid account balance deficiency, when and only When account balance is not less than program price, by calling the corresponding payment interface of the second two dimensional code, log-on message branch is utilized Corresponding fund is paid to complete charge operation.
In an embodiment of the present invention, described in the view for getting the background server and being sent according to the payment information When frequency resource, the first prompt information shown in the broadcast interface is hidden, and the video is played in the broadcast interface Resource, comprising:
When getting the first resource address that the background server is sent according to the payment information, described broadcast is hidden Put the first prompt information shown in interface;
Corresponding video resource is obtained using the first resource address, plays video resource in the broadcast interface;
After first prompt information hidden and shown in the broadcast interface, further comprise:
Using the first resource address as target resource address, store into the target channel information.
In embodiments of the present invention, background server after the expense of payment targets channel, can be returned determining user Payment result returns to the first resource address for obtaining the video resource of target channel, so that according to the first resource Location obtains corresponding video resource, and first prompt information such as be hidden in the program price shown in broadcast interface, payment result, So that automatic rise broadcasts the corresponding video resource in first resource address got, Video service is provided for user.Again by that will obtain The first resource address taken is stored into the corresponding target channel information of target channel, so that user requests the video resource again When, which is obtained by the first resource address of storage.
In order to more clearly illustrate technical solution of the present invention and advantage, below to one kind provided in an embodiment of the present invention Method for authenticating is described in detail, as shown in Fig. 2, can specifically include following steps:
Step 201: multiple channels are stored in advance prestores channel information.
Specifically, can what equipment end can store different channel play the channels such as field, epg field, broadcast address field Information, so as to determine whether user has viewing permission according to corresponding channel information when user requests channel.
Step 202: when determining the target channel of user's selection, into the corresponding broadcast interface of target channel.
Specifically, in user's request target channel, it can be introduced into the broadcast interface of the target channel, so that playing Corresponding authentication operations are directly carried out in interface, and user is avoided to need to jump to other interfaces when executing authentication operations and are increased The difficulty of authentication operations.
Step 203: from prestoring in channel information, determining in target channel information with the presence or absence of target resource address, wherein Target channel information is corresponding with the target identification of target channel, if so, executing step 204, otherwise, executes step 206.
Specifically, after user's selection target channel, it is thus necessary to determine that whether user has the viewing permission of target channel, i.e., From prestore in channel information determine target channel target identification corresponding to target channel information, then determine target channel information In with the presence or absence of target resource address for obtaining the video resource of target channel, so as to be obtained pair by target resource address The video resource answered, and when determining the address that target resource is not present in target channel information, illustrate that user does not have viewing The viewing permission of target channel, it is therefore desirable to which user carries out corresponding authentication operations.
Step 204: determining whether target resource address is effective, if so, executing step 205, otherwise, execute step 206.
Specifically, by determining whether target resource address is expired, can determine whether the target resource address is effective, when When determining target resource address aging, then user is needed to re-start authentication operations, to obtain corresponding after authenticating successfully Video resource.When determining that target resource address is effective, then video resource directly can be obtained by the target resource address, with Video service is provided for user.
Step 205: obtaining corresponding video resource using target resource address, and play video money in broadcast interface Source terminates current process.
Specifically, it after getting video resource, automatically begins to play the video resource in broadcast interface, to be as early as possible User provides Video service.
Step 206: sending to background server for determining the whether listed request of user.
Specifically, it when the target resource address for determining user's acquisition video resource is out of date, can request take from the background Whether business device user has logged in, so that background server determines the logging state of user.
Step 207: when getting the acknowledgement information that background server is sent according to request, determine in acknowledgement information whether The log-on message of user is carried, if not, step 208 is executed, if so, executing step 210.
Specifically, when background server determines that user is in logging state, the login for carrying user can directly be returned The acknowledgement information of information, and when background server determine user be in be not logged in state when, can return for input log in letter First two dimensional code of breath, so that user carries out register by the first two dimensional code.
Step 208: being shown in broadcast interface in acknowledgement information for inputting the first two dimensional code of log-on message, execute step Rapid 209.
Specifically, when the log-on message of user being not present in determining the acknowledgement information that background server returns, illustrate to use Family is not in logging state, therefore can directly show in broadcast interface in acknowledgement information for inputting the first of log-on message Two dimensional code jumps to so that user inputs log-on message by the first two dimensional code of scanning recognition in broadcast interface without user Register is completed in the input of other interfaces, therefore can reduce the complexity of human-computer interaction, improves the usage experience of user.
Step 209: obtaining user by the log-on message of identification the first two dimensional code input, execute step 210.
Step 210: log-on message and target identification being sent to background server, so that background server is believed according to login It ceases and determines whether user is legitimate user.
Specifically, the log-on message of user's input is being got, or is getting the acknowledgement information of background server return In log-on message after, the target identification of the log-on message of user and target channel can be sent to background server so that Background server determines whether the identity of the user is legal according to log-on message, to determine if Internet access network, so that Network is protected, invalid user stealing resource is prevented.
Step 211: get background server determine user be legitimate user send the second two dimensional code, second two dimension When the corresponding program price of code and the corresponding account balance of log-on message, the second two dimensional code, program valence are shown in broadcast interface Lattice and account balance, wherein program price is corresponding with target identification.
Specifically, background server can be returned when determining that the user is legitimate user by log-on message for paying The account balance of the second two dimensional code, the corresponding program price of target channel and the user taken, in this way by broadcast interface It directly shows the second two dimensional code, account balance and the program price, so that user is without jumping to other interfaces, can be paid Take operation.
Step 212: when determining that the means of payment selected to user pays for account balance, determining account balance whether not Less than program price, if so, executing step 213, otherwise, step 217 is executed.
Specifically, user can also pass through log-on message according to demand by identifying that the second two dimensional code is paid Account balance pay.When user's selection is paid by account balance, need whether first to determine account remaining sum More than or equal to the program price of the target channel, to avoid Sorry, your ticket has not enough value and is unable to complete operation for paying the fee, and if only if When determining the account balance abundance of user, payment interface is called by the second two dimensional code of identification, completes corresponding delivery operation.
Step 213: calling the corresponding payment interface of the second two dimensional code, program valence is paid by payment interface and log-on message The corresponding fund of lattice obtains payment information, and is sent to background server.
Specifically, after completing delivery operation, background server can be sent payment information to, so that background server Payment result is returned according to payment information.
Step 214: when getting the first resource address that background server is sent according to payment information, hiding and play boundary The first prompt information shown in face, wherein the first prompt information, comprising: program price.
Specifically, background server is available to be used for what background server returned after determining that payment information is effective The first resource address for obtaining the video resource of target channel can directly hide and broadcast when getting the first resource address First prompt informations such as the program price shown in interface, updated account balance are put, so that getting target channel After video resource, the video resource is played automatically in broadcast interface, to provide Video service as early as possible for user.
Step 215: obtaining corresponding video resource using first resource address, video resource is played in broadcast interface.
Step 216: using first resource address as target resource address, storing into target channel information.
It specifically, can be using the first resource address as having after getting video resource by first resource address The target resource address of effect is stored into the corresponding target channel information of target channel, so that user requests the target channel again When, video resource is obtained by the target resource address.
Step 217: the second prompt information is exported in the broadcast interface, wherein the second prompt information is for prompting account Sorry, your ticket has not enough value at family.
It specifically, can be in broadcast interface when the account balance for determining user is less than the program price of target channel Output is for prompting user account the second prompt information that Sorry, your ticket has not enough value, so that user is complete by way of identifying the second two dimensional code At operation for paying the fee.
To sum up, a kind of method for authenticating provided in an embodiment of the present invention, using the side for scanning the two-dimensional code login, payment Formula, all displays and operation are carried out in broadcast interface, and upon successful authentication, the information of display can be hidden automatically, and automatic Play the video resource obtained.Other interfaces are jumped to when carrying out authentication operations without user, thus can reduce user into The complexity of human-computer interaction when row authentication operations.
As shown in figure 3, the embodiment of the invention provides a kind of authentication devices, comprising:
Playing module 301, for determine user selection target channel when, into the corresponding broadcasting of the target channel Interface;According to the corresponding target identification of the target channel, it is determined whether there is the viewing permission of the target channel;It is propping up Module 302 is paid when getting the video resource that background server is sent according to payment information, hides in the broadcast interface and shows The first prompt information, and play video resource in the broadcast interface, wherein first prompt information, comprising: program Price;
Login module 303, for obtaining the user in institute when the playing module 301 is determined without viewing permission State the log-on message inputted in broadcast interface;
Enquiry module 304, the log-on message and the target identification for obtaining the login module 303 are sent To background server, so that the background server determines whether the user is legitimate user according to the log-on message;? Get the background server determine the user be legitimate user send program price when, trigger the playing module 301 show the program price in the broadcast interface, wherein the program price is corresponding with the target identification;
The payment module 302 pays the program price that the enquiry module 304 is shown for obtaining the user The payment information that corresponding fund generates, and it is sent to the background server.
In embodiments of the present invention, after user chooses the target channel to be watched, playing module can be introduced into this The broadcast interface of target channel, then determine whether the viewing permission with the target channel, so that determining without viewing permission When, login module obtains user and inputs its log-on message in broadcast interface, to reduce the complexity of user's human-computer interaction, inquiry Module can go background server to authenticate by the target identification of log-on message and target channel, be somebody's turn to do so that background server determines User is that legitimate user returns to the corresponding program price of target identification, shows the program valence in broadcast interface by playing module Lattice, user, that is, payable corresponding fund, payment module interface obtain corresponding payment information, leave without user and play boundary Face carries out delivery operation, therefore can further decrease the complexity of human-computer interaction, and payment module is getting background server When the video resource of return, playing module can directly hide first prompt information such as program price shown in broadcast interface, And the video resource is played in broadcast interface, to provide Video service as early as possible for user, improve the viewing experience of user.To sum up As it can be seen that user is not necessarily to leave broadcast interface when inputting log-on message, in payment without broadcast interface is left, that is, reflect Power process leaves broadcast interface without user, and broadcasts authenticating successfully rear video resource and can rise automatically in broadcast interface, therefore The complexity of human-computer interaction when can reduce authentication operations.
In an embodiment of the present invention, the playing module, be further used for being stored in advance multiple channels prestores channel Information, and execute:
S1: prestoring in channel information from described, determines in target channel information with the presence or absence of target resource address, wherein The target channel information is corresponding with the target identification of the target channel, if so, executing S2, otherwise, executes S4;
S2: determining whether the target resource address is effective, if so, executing S3, otherwise, executes S4;
S3: corresponding video resource is obtained using the target resource address, and plays video in the broadcast interface Resource;
S4: it triggers the login module and executes the login letter for obtaining the user and inputting in the broadcast interface Breath.
In an embodiment of the present invention, the login module is further used for executing:
D0: Xiang Suoshu background server is sent for determining the whether listed request of the user;
D1: when getting the acknowledgement information that the background server is sent according to the request, the receipt letter is determined The log-on message of the user whether is carried in breath, if so, executing D2, otherwise, executes D3;
D2: execution is described to be sent to background server for the log-on message and the target identification;
D3: it is shown in the broadcast interface that the playing module enters in the acknowledgement information and logs in letter for inputting First two dimensional code of breath;And obtain the log-on message that the user inputs by identifying first two dimensional code.
In an embodiment of the present invention, the playing module, for getting the background server root in payment module When the first resource address sent according to the payment information, the first prompt information shown in the broadcast interface is hidden;It utilizes The first resource address obtains corresponding video resource, plays video resource in the broadcast interface;Described first is provided Source address is stored as target resource address into the target channel information.
In an embodiment of the present invention, the enquiry module, for getting the background service in the enquiry module Device determine the user be legitimate user send the second two dimensional code, the corresponding program price of second two dimensional code and described step on When recording the corresponding account balance of information, triggers the playing module and show second two dimensional code, institute in the broadcast interface State program price and the account balance;
The payment module, for executing:
F1: it when determining that the means of payment selected to the user pays for the account balance, determines more than the account Whether volume is not less than the program price, if so, executing F2, otherwise, executes F3;
F2: the corresponding payment interface of second two dimensional code is called, the payment interface and the log-on message branch are passed through It pays the program price corresponding fund, obtains payment information;
F3: it triggers the playing module and exports the second prompt information in the broadcast interface, wherein second prompt Information is for prompting the account balance insufficient.
The each embodiment of the present invention at least has the following beneficial effects:
1, in an embodiment of the present invention, after user chooses the target channel to be watched, the mesh can be introduced into The broadcast interface of channel is marked, then determines whether the viewing permission with the target channel, so that when determining without viewing permission, User inputs its log-on message in broadcast interface, to reduce the complexity of user's human-computer interaction, passes through log-on message and target The target identification of channel can go background server to authenticate, so that background server determines that the user is legitimate user and returns to target Corresponding program price is identified, by showing the program price in broadcast interface, user, that is, payable corresponding fund, and nothing It needs user to leave broadcast interface and carries out delivery operation, therefore the complexity of human-computer interaction can be further decreased, after getting When the video resource that platform server returns, first prompt information such as program price shown in broadcast interface can be directly hidden, And the video resource is played in broadcast interface, to provide Video service as early as possible for user, improve the viewing experience of user.To sum up As it can be seen that user is not necessarily to leave broadcast interface when inputting log-on message, in payment without broadcast interface is left, that is, reflect Power process leaves broadcast interface without user, and broadcasts authenticating successfully rear video resource and can rise automatically in broadcast interface, therefore The complexity of human-computer interaction when can reduce authentication operations.
It 2, can be from depositing in an embodiment of the present invention, when determining whether user has the viewing permission of target channel Each channel of storage prestores in channel information, determine in target channel information corresponding to the target identification of target channel whether It, then can by target resource if there is target resource address in the presence of the target resource address for obtaining video resource Location obtains video resource, and when target resource address is not present, the log-on message and target channel that need to input user Target identification goes background server to authenticate.
3, in an embodiment of the present invention, when determining that user does not have the viewing permission of target channel, it is also necessary to request Whether background server has logged in, so that background server returns to the carrying log-on message of user when determining that user has logged in Acknowledgement information is authenticated with will pass through the target identification of the log-on message and target channel that receive.And background server exists The first two dimensional code returned when user is not logged in for inputting log-on message is determined, by showing the one or two in broadcast interface Code is tieed up, user can carry out register without leaving broadcast interface by identifying that first two dimensional code inputs log-on message, Therefore it can simplify user login operation, reduce the difficulty of human-computer interaction, improve the usage experience of user.
4, in an embodiment of the present invention, background server, can be by background service after determining that user is legitimate user Device can return corresponding for the second two dimensional code of payment targets channel fund, the account balance of user and target channel Program price is shown in broadcast interface, so that user determines the expense to be paid according to program price, and is understood The account balance of the log-on message of itself determines the means of payment convenient for user, i.e. determination is to be paid by account balance, or lead to The second two dimensional code of identification is crossed to complete charge operation.And the information such as account balance, program price are shown in broadcast interface, Ke Yifang Just user completes charge operation in broadcast interface, executes operation jumping to other interfaces without user, therefore can simplify use Time consuming operations are paid at family, reduce the complexity of human-computer interaction.And when user selects account balance as the means of payment, it needs first really Determine whether account balance is not less than the corresponding program price of target channel, is unable to complete payment to avoid account balance deficiency, when And if only if, by calling the corresponding payment interface of the second two dimensional code, being believed using logging in when account balance is not less than program price Breath pays corresponding fund and completes charge operation.
5, in an embodiment of the present invention, background server is determining user after the expense of payment targets channel, can be with Payment result is returned, that is, returns to the first resource address for obtaining the video resource of target channel, so that according to first money Source address obtains corresponding video resource, and first prompt such as be hidden in the program price shown in broadcast interface, payment result Information provides Video service so that automatic rise broadcasts the corresponding video resource in first resource address got for user.Pass through again The first resource address that will acquire is stored into the corresponding target channel information of target channel, so that user requests the video again When resource, which is obtained by the first resource address of storage.
It should be noted that, in this document, such as first and second etc relational terms are used merely to an entity Or operation is distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation Any actual relationship or order.Moreover, the terms "include", "comprise" or its any other variant be intended to it is non- It is exclusive to include, so that the process, method, article or equipment for including a series of elements not only includes those elements, It but also including other elements that are not explicitly listed, or further include solid by this process, method, article or equipment Some elements.In the absence of more restrictions, the element limited by sentence " including one ", is not arranged Except there is also other identical factors in the process, method, article or apparatus that includes the element.
Finally, it should be noted that the foregoing is merely presently preferred embodiments of the present invention, it is merely to illustrate skill of the invention Art scheme, is not intended to limit the scope of the present invention.Any modification for being made all within the spirits and principles of the present invention, Equivalent replacement, improvement etc., are included within the scope of protection of the present invention.

Claims (10)

1. a kind of method for authenticating characterized by comprising
When determining the target channel of user's selection, into the corresponding broadcast interface of the target channel;
According to the corresponding target identification of the target channel, it is determined whether there is the viewing permission of the target channel;
When determining without viewing permission, the log-on message that the user inputs in the broadcast interface is obtained;
The log-on message and the target identification are sent to background server, so that the background server is stepped on according to Record information determines whether the user is legitimate user;
When getting the program price that the background server determines that the user sends for legitimate user, in broadcasting circle The program price is shown in face, wherein the program price is corresponding with the target identification;
It obtains the user and pays the payment information that the corresponding fund of the program price generates, and be sent to the background service Device;
When getting the video resource that the background server is sent according to the payment information, hide in the broadcast interface First prompt information of display, and video resource is played in the broadcast interface, wherein first prompt information, comprising: The program price.
2. method for authenticating according to claim 1, which is characterized in that
Further comprise:
Multiple channels are stored in advance prestores channel information;
It is described according to the corresponding target identification of the target channel, it is determined whether have the viewing permission of the target channel, When determining without viewing permission, the log-on message that the user inputs in the broadcast interface is obtained, comprising:
S1: prestoring in channel information from described, determines in target channel information with the presence or absence of target resource address, wherein described Target channel information is corresponding with the target identification of the target channel, if so, executing S2, otherwise, executes S4;
S2: determining whether the target resource address is effective, if so, executing S3, otherwise, executes S4;
S3: corresponding video resource is obtained using the target resource address, and plays video resource in the broadcast interface;
S4: the log-on message for obtaining the user and inputting in the broadcast interface is executed.
3. method for authenticating according to claim 2, which is characterized in that
Before the log-on message that the acquisition user inputs in the broadcast interface, further comprise:
D0: Xiang Suoshu background server is sent for determining the whether listed request of the user;
D1: it when getting the acknowledgement information that the background server is sent according to the request, determines in the acknowledgement information The log-on message of the user whether is carried, if so, executing D2, otherwise, executes D3;
D2: execution is described to be sent to background server for the log-on message and the target identification;
D3: it is shown in the broadcast interface in the acknowledgement information for inputting the first two dimensional code of log-on message;
The log-on message for obtaining the user and being inputted in the broadcast interface, comprising:
Obtain the log-on message that the user inputs by identifying first two dimensional code.
4. method for authenticating according to claim 2, which is characterized in that
It is described when getting the video resource that the background server is sent according to the payment information, hide broadcasting circle The first prompt information shown in face, and video resource is played in the broadcast interface, comprising:
When getting the first resource address that the background server is sent according to the payment information, broadcasting circle is hidden The first prompt information shown in face;
Corresponding video resource is obtained using the first resource address, plays video resource in the broadcast interface;
After first prompt information hidden and shown in the broadcast interface, further comprise:
Using the first resource address as target resource address, store into the target channel information.
5. according to claim 1 to any method for authenticating in 4, which is characterized in that
It is described get the background server determine the user be legitimate user send program price when, broadcast described It puts and shows the program price in interface, comprising:
Get the background server determine the user be legitimate user send the second two dimensional code, it is described second two dimension When the corresponding program price of code and the corresponding account balance of the log-on message, the described 2nd 2 is shown in the broadcast interface Tie up code, the program price and the account balance;
The payment information for obtaining the user and paying the corresponding fund generation of the program price, comprising:
F1: when determining that the means of payment selected to the user pays for the account balance, determine that the account balance is It is no to be not less than the program price, if so, executing F2, otherwise, execute F3;
F2: calling the corresponding payment interface of second two dimensional code, pays institute by the payment interface and the log-on message The corresponding fund of program price is stated, payment information is obtained;
F3: the second prompt information is exported in the broadcast interface, wherein second prompt information is for prompting the account Sorry, your ticket has not enough value.
6. a kind of authentication device characterized by comprising
Playing module, for determine user selection target channel when, into the corresponding broadcast interface of the target channel;Root According to the corresponding target identification of the target channel, it is determined whether there is the viewing permission of the target channel;In payment module When getting the video resource that background server is sent according to payment information, the first prompt shown in the broadcast interface is hidden Information, and video resource is played in the broadcast interface, wherein first prompt information, comprising: program price;
Login module, for obtaining the user in the broadcast interface when the playing module is determined without viewing permission The log-on message of middle input;
Enquiry module, the log-on message and the target identification for obtaining the login module are sent to background service Device, so that the background server determines whether the user is legitimate user according to the log-on message;It is described getting When background server determines that the user is the program price that legitimate user sends, the playing module is triggered in broadcasting circle The program price is shown in face, wherein the program price is corresponding with the target identification;
The payment module pays the corresponding fund of the program price that the enquiry module is shown for obtaining the user The payment information of generation, and it is sent to the background server.
7. authentication device according to claim 6, which is characterized in that
The playing module is further used for that the channel information that prestores of multiple channels is stored in advance, and executes:
S1: prestoring in channel information from described, determines in target channel information with the presence or absence of target resource address, wherein described Target channel information is corresponding with the target identification of the target channel, if so, executing S2, otherwise, executes S4;
S2: determining whether the target resource address is effective, if so, executing S3, otherwise, executes S4;
S3: corresponding video resource is obtained using the target resource address, and plays video resource in the broadcast interface;
S4: it triggers the login module and executes the log-on message for obtaining the user and inputting in the broadcast interface.
8. authentication device according to claim 7, which is characterized in that
The login module is further used for executing:
D0: Xiang Suoshu background server is sent for determining the whether listed request of the user;
D1: it when getting the acknowledgement information that the background server is sent according to the request, determines in the acknowledgement information The log-on message of the user whether is carried, if so, executing D2, otherwise, executes D3;
D2: execution is described to be sent to background server for the log-on message and the target identification;
D3: it is shown in the broadcast interface that the playing module enters in the acknowledgement information for inputting log-on message First two dimensional code;And obtain the log-on message that the user inputs by identifying first two dimensional code.
9. authentication device according to claim 7, which is characterized in that
The playing module, for getting first that the background server is sent according to the payment information in payment module When resource address, the first prompt information shown in the broadcast interface is hidden;It is obtained and is corresponded to using the first resource address Video resource, play video resource in the broadcast interface;Using the first resource address as target resource address, deposit It stores up in the target channel information.
10. according to the authentication device any in claim 6 to 9, which is characterized in that
The enquiry module determines that the user is legitimate user for getting the background server in the enquiry module When the corresponding account balance of the second two dimensional code, the corresponding program price of second two dimensional code and the log-on message sent, The playing module is triggered to show in the broadcast interface more than second two dimensional code, the program price and the account Volume;
The payment module, for executing:
F1: when determining that the means of payment selected to the user pays for the account balance, determine that the account balance is It is no to be not less than the program price, if so, executing F2, otherwise, execute F3;
F2: calling the corresponding payment interface of second two dimensional code, pays institute by the payment interface and the log-on message The corresponding fund of program price is stated, payment information is obtained;
F3: it triggers the playing module and exports the second prompt information in the broadcast interface, wherein second prompt information For prompting the account balance insufficient.
CN201910216678.6A 2019-03-21 2019-03-21 A kind of method for authenticating and device Pending CN109905735A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910216678.6A CN109905735A (en) 2019-03-21 2019-03-21 A kind of method for authenticating and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910216678.6A CN109905735A (en) 2019-03-21 2019-03-21 A kind of method for authenticating and device

Publications (1)

Publication Number Publication Date
CN109905735A true CN109905735A (en) 2019-06-18

Family

ID=66952817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910216678.6A Pending CN109905735A (en) 2019-03-21 2019-03-21 A kind of method for authenticating and device

Country Status (1)

Country Link
CN (1) CN109905735A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083440A (en) * 2019-12-16 2020-04-28 浙江信网真科技股份有限公司 Client-side collaborative content processing method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070011704A1 (en) * 2005-07-05 2007-01-11 Anglin Richard L Jr Content exchange system
CN106845161A (en) * 2017-01-10 2017-06-13 合网络技术(北京)有限公司 The method and apparatus that broadcasting to multimedia file is encrypted
CN107613322A (en) * 2017-10-11 2018-01-19 深圳创维数字技术有限公司 Program play handling method, set top box, play system and readable storage medium storing program for executing
CN109246448A (en) * 2018-08-21 2019-01-18 姜天鹏 Offline content of copyright distribution system and method
CN109379606A (en) * 2018-10-11 2019-02-22 苏宁智能终端有限公司 A kind of broadcasting method for authenticating and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070011704A1 (en) * 2005-07-05 2007-01-11 Anglin Richard L Jr Content exchange system
CN106845161A (en) * 2017-01-10 2017-06-13 合网络技术(北京)有限公司 The method and apparatus that broadcasting to multimedia file is encrypted
CN107613322A (en) * 2017-10-11 2018-01-19 深圳创维数字技术有限公司 Program play handling method, set top box, play system and readable storage medium storing program for executing
CN109246448A (en) * 2018-08-21 2019-01-18 姜天鹏 Offline content of copyright distribution system and method
CN109379606A (en) * 2018-10-11 2019-02-22 苏宁智能终端有限公司 A kind of broadcasting method for authenticating and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083440A (en) * 2019-12-16 2020-04-28 浙江信网真科技股份有限公司 Client-side collaborative content processing method and system
CN111083440B (en) * 2019-12-16 2020-12-22 浙江信网真科技股份有限公司 Client-side collaborative content processing method and system

Similar Documents

Publication Publication Date Title
CN114902195B (en) Application program cooperation method, computer-readable storage medium, and application program cooperation system
US9824540B2 (en) Method and system for gaming revenue
JP6293269B2 (en) Content viewing confirmation apparatus and method
CN104252672B (en) Payment transaction system integrating cloud service
KR20130137431A (en) Method of composing quest, server performing the same and storage media storing the same
CN108765711A (en) Self-service cabinet and display combinations
WO2008056844A1 (en) Free game service system based on the interactive advertisement during the game play
CN106157006A (en) Based on the most live virtual present presentation method and device
CN106203000A (en) A kind of offer method of live content, it is provided that device and electronic equipment thereof
US10586423B2 (en) Systems and methods for selecting a remote device based on event outcomes
CN108614854A (en) Multimedia messages jettison system and method
US7711614B2 (en) Content delivery method, content delivery service computer, content delivery service system, data discard recognition method, data discard recognition computer, and terminal
WO2002067178A1 (en) The method and system for electronic commerce service for mud game
CN104966199A (en) Data processing method, client and payment platform
JP2009140187A (en) Real time victory or defeat prediction voting system
CN113269585A (en) Method for acquiring virtual currency on live broadcast platform and terminal equipment
CN112915548A (en) Data processing method, device and equipment of multimedia playing platform and storage medium
CN109905735A (en) A kind of method for authenticating and device
CN101036136A (en) A method for using a site activity and a system using a site activity
CN114358805A (en) Interaction method and device of media files, storage medium and electronic equipment
CN109218775B (en) Method, storage medium, electronic device and system for recommending hot-start on anchor
CN110858928A (en) VIP resource sharing method, intelligent terminal and storage medium
CN112235282B (en) Interactive application authority changing method and device, electronic equipment and storage medium
CN102918556B (en) Access management server, access management method, supervisor call and the computer-readable recording medium for recording the program
JP7093572B2 (en) Media provision system, media provision method and computer program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190618