CN109388924A - A kind of auth method, device, server and storage medium - Google Patents
A kind of auth method, device, server and storage medium Download PDFInfo
- Publication number
- CN109388924A CN109388924A CN201811162401.1A CN201811162401A CN109388924A CN 109388924 A CN109388924 A CN 109388924A CN 201811162401 A CN201811162401 A CN 201811162401A CN 109388924 A CN109388924 A CN 109388924A
- Authority
- CN
- China
- Prior art keywords
- user
- wheat
- matching
- information
- direct broadcasting
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of auth method, device, server and storage mediums.Wherein, it this method comprises: after detecting company's wheat application that user terminal is sent for target direct broadcasting room, obtains and the even matched prestored user information for matching user of wheat application;Authentication is carried out to matching user according to prestored user information;If authentication passes through, matching user is added into wheat user list to be connected corresponding with target direct broadcasting room;Wheat user list to be connected is provided to main broadcaster corresponding with target direct broadcasting room end, and obtains main broadcaster end and connects wheat user according at least two that wheat user list to be connected is fed back;If it is determined that at least two connect wheat user including matching user, then in target direct broadcasting room, establishes even wheat corresponding with the matching user terminal of user and service.The embodiment of the present invention is verified according to the identity of user's information when main broadcaster connects wheat with several users progress voice and interacts, is ensured of user and operates, improve the safety of live streaming platform.
Description
Technical field
The present embodiments relate to live streaming applicating developing technology more particularly to a kind of auth method, device, servers
And storage medium.
Background technique
Currently, audient is broadcast live also in continuous expand, all types of live streaming platforms with the fast development of live streaming industry
Also more and more.Each live streaming platform goes the viewing demand for meeting audient by network direct broadcasting to greatest extent, with a kind of simple and fast
Mode meet the needs of user's watching video live broadcast.Be broadcast live at present the most common form be main broadcaster oneself direct broadcasting room towards from
Oneself bean vermicelli is broadcast live.
In the prior art, user terminal can apply for that carrying out voice with main broadcaster end connects wheat, participates in the live streaming of main broadcaster.Usually
It is that multiple users can apply for even wheat, main broadcaster terminates the request by one or more user terminals, carries out even wheat with above-mentioned user terminal.
In the prior art, several users are selected to carry out Lian Maishi in main broadcaster, due to cannot be guaranteed that the user of the company of progress wheat is
I operates, and user and main broadcaster in live streaming platform cannot be interacted according to accurate user information by leading to be broadcast live platform
Cheng Jinhang is effectively managed and is monitored.
Summary of the invention
The embodiment of the present invention provides a kind of auth method, device, server and storage medium, to optimize existing base
In the user interaction techniques of live streaming platform, the identity of user can be verified, protected when more people carry out voice and connect wheat simultaneously
Card is that user operates, and improves the safety of live streaming platform.
In a first aspect, the embodiment of the invention provides a kind of auth methods, comprising:
After detecting company's wheat application that user terminal is sent for target direct broadcasting room, obtain that wheat application is matched matches use with company
The prestored user information at family;
Authentication is carried out to matching user according to prestored user information;
If authentication passes through, matching user is added to wheat user list to be connected corresponding with target direct broadcasting room
In;
Wheat user list to be connected is provided to main broadcaster corresponding with target direct broadcasting room end, and obtains main broadcaster end according to wheat to be connected
At least two of user list feedback connect wheat user;
If it is determined that at least two connect wheat user including matching user, then in target direct broadcasting room, establishes and match user
User terminal it is corresponding even wheat service.
Second aspect, the embodiment of the invention also provides a kind of authentication means, comprising:
Data obtaining module obtains and connects after detecting user terminal for company's wheat application of target direct broadcasting room transmission
The prestored user information of the matched matching user of wheat application;
Authentication module, for carrying out authentication to matching user according to prestored user information;
Module is added in user, if passed through for authentication, matching user is added to corresponding with target direct broadcasting room
Wheat user list to be connected in;
User feedback module for wheat user list to be connected to be provided to main broadcaster corresponding with target direct broadcasting room end, and obtains
Main broadcaster end is taken to connect wheat user according at least two that wheat user list to be connected is fed back;
Even wheat service establish module, be used for if it is determined that at least two connect wheat users include match user, then it is straight in target
In between broadcasting, even wheat service corresponding with the matching user terminal of user is established.
The third aspect, the embodiment of the invention also provides a kind of servers, comprising:
One or more processors;
Storage device, for storing one or more programs,
When one or more programs are executed by one or more processors, so that one or more processors realize such as this hair
Auth method described in bright embodiment.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program, the computer program realize auth method as described in the embodiments of the present invention when being executed by processor.
The embodiment of the present invention passes through basis with the even matched prestored user information for matching user of wheat application to matching user
Authentication is carried out, after authentication passes through, matching user is added to wheat user to be connected corresponding with target direct broadcasting room and is arranged
In table, and wheat list to be connected is provided to main broadcaster corresponding with target direct broadcasting room end, it is anti-according to wheat list to be connected to obtain main broadcaster end
At least two of feedback connect wheat user, after determining that at least two company wheat users include matching user, then in target direct broadcasting room, build
Vertical even wheat service corresponding with the matching user terminal of user, solving the prior art cannot be guaranteed that the user of the company of progress wheat is me
The problem of being operated, can be when main broadcaster connects wheat by voice with several users and interacts, according to user's information
Identity verified, be ensured of user and operate, improve live streaming platform safety.
Detailed description of the invention
Fig. 1 is a kind of flow chart for auth method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of auth method provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart for auth method that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural schematic diagram for authentication means that the embodiment of the present invention four provides;
Fig. 5 is a kind of structural schematic diagram for server that the embodiment of the present invention five provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart for auth method that the embodiment of the present invention one provides, and the present embodiment is applicable to
When more people carry out voice simultaneously and connect wheat, the case where verifying to the identity of user, this method can by authentication means Lai
It executes, which can realize that the device can be configured in computer equipment by the way of software and/or hardware, for example,
In server.As shown in Figure 1, this method specifically comprises the following steps:
Step 101 after detecting user terminal for company's wheat application of target direct broadcasting room transmission, is obtained and is matched with even wheat application
Matching user prestored user information.
Wherein, user can send the company's wheat application for being directed to target direct broadcasting room, request and target direct broadcasting room by user terminal
Main broadcaster carry out voice connect wheat.Live streaming platform is receiving at least one user terminal for company's wheat application of target direct broadcasting room transmission
Afterwards, it according to even wheat application, obtains and the even matched prestored user information for matching user of wheat application.Matching user is to connect wheat with this
Apply for matched user, that is, the user of the company's of transmission wheat application.Prestored user information is the letter for carrying out authentication to user
Breath.Optionally, prestored user information may include prestoring cell-phone number or prestoring mailbox.
Step 102 carries out authentication to matching user according to prestored user information.
Wherein, live streaming platform generates verification information at random, is sent to the verification information of generation according to prestored user information
The corresponding user terminal of prestored user information, and receive the verification information that matching user is inputted by user terminal.Platform validation is broadcast live
Whether the verification information of the verification information user terminal corresponding with prestored user information is sent to of matching user's input matches.If
Successful match, it is determined that authentication passes through;If it fails to match, it is determined that authentication does not pass through.
Optionally, verification information may include number and letter.For example, live streaming platform generates verification information at random: 11A2,
The verification information of generation is sent to the corresponding user terminal of prestored user information according to prestored user information, and receives matching user
The verification information inputted by user terminal.The verification information of live streaming platform validation matching user's input is believed with prestored user is sent to
Whether the verification information for ceasing corresponding user terminal matches, i.e., the verification information that is inputted by user terminal of matching user whether be
11A2.If matching user by the verification information that user terminal inputs is 11A2, successful match determines that authentication passes through;
If matching user by the verification information that user terminal inputs is not 11A2, it fails to match, determines that authentication does not pass through.
Optionally, verifying waiting time threshold value is preset.Verifying waiting time threshold value can be carried out according to business demand
Setting.For example, verifying waiting time threshold value is 60 seconds.Platform is broadcast live and is sent the verification information of generation according to prestored user information
To the corresponding user terminal of prestored user information, start timing.If received when not reaching verifying waiting time threshold value
With the verification information that user is inputted by user terminal, then timing stops, the verification information of verifying matching user's input be sent to
Whether the verification information of the corresponding user terminal of prestored user information matches;If reach verifying waiting time threshold value, do not connect also
Receive the verification information that matching user is inputted by user terminal, it is determined that authentication does not pass through.
If the authentication of matching user does not pass through, platform is broadcast live and no longer carries out subsequent even wheat service, and sends
Prompt information extremely matches the user terminal of user.Prompt information is for notifying matching user: authentication does not pass through, connects wheat application not
Received.
If step 103, authentication pass through, matching user is added to corresponding with target direct broadcasting room to Lian Maiyong
In the list of family.
Wherein, if the authentication of matching user passes through, platform is broadcast live and is added user is matched to target and is broadcast live
Between in corresponding wheat user list to be connected.
Wheat user list to be connected is the list for storing the user information of the corresponding wheat user to be connected of target direct broadcasting room.?
After user enters target direct broadcasting room by user terminal, user can determine target direct broadcasting room by the information of browsing objective direct broadcasting room
Whether open voice and connect Mai Gongneng, and when target direct broadcasting room opens voice and connects wheat function, it is corresponding to may browse through target direct broadcasting room
Wheat user list to be connected.User can determine the quantity of the wheat user to be connected of target direct broadcasting room according to wheat user list to be connected,
Browse the user information of wheat user to be connected.
Optionally, user information may include User Identity, user's head portrait and user's pet name.Wheat user column to be connected
Wheat user to be connected in table has corresponding number.The corresponding number of each wheat user to be connected is different, can be according to being added to even
The time of wheat user list is ranked up.
Wheat user list to be connected is provided to main broadcaster corresponding with target direct broadcasting room end, and obtains main broadcaster end root by step 104
Connect wheat user according at least two of wheat user list to be connected feedback.
Wherein, wheat user list to be connected is provided to main broadcaster corresponding with target direct broadcasting room end.Main broadcaster checks to Lian Maiyong
Family list, and select at least two to connect wheat user, it is by main broadcaster end that at least two company's wheat user feedbacks of selection are flat to being broadcast live
Platform.Live streaming platform obtains main broadcaster end and connects wheat user according at least two that wheat user list to be connected is fed back.Optionally, main broadcaster checks
Wheat user list to be connected, user's head portrait by clicking the wheat user to be connected in wheat user list to be connected select at least two to connect wheat
User.The user information of at least two company wheat users of selection is fed back to live streaming platform by main broadcaster end.
Step 105, if it is determined that at least two connect wheat users include matching user, then in target direct broadcasting room, establish with
Match the corresponding even wheat service of user terminal of user.
Wherein, live streaming platform obtains the user that main broadcaster end connects wheat user according at least two that wheat user list to be connected is fed back
Information, if it is determined that at least two, which connect wheat user, includes matching user, then according to the user information of matching user, is broadcast live in target
Between in, establish with matching the user terminal of user it is corresponding even wheat service.Meanwhile main broadcaster end according to wheat user feedback to be connected other
The even user information of wheat user establishes even wheat service corresponding with the user terminal that other connect wheat user in target direct broadcasting room, real
The main broadcaster of existing target direct broadcasting room enters language at least two company wheat users simultaneously and connects wheat state.
The embodiment of the invention provides a kind of auth method, by according to even wheat application is matched matches user's
Prestored user information carries out authentication to matching user, and after authentication passes through, matching user is added to straight with target
Between broadcasting in corresponding wheat user list to be connected, and wheat list to be connected is provided to main broadcaster corresponding with target direct broadcasting room end, obtained
Main broadcaster end connects wheat user according at least two that wheat list to be connected is fed back, is determining that at least two company wheat users include matching user
Afterwards, then in target direct broadcasting room, even wheat service corresponding with the matching user terminal of user is established, solving the prior art cannot protect
The user for demonstrate,proving the company of progress wheat is can to connect wheat the problem of operation in person by voice with several users in main broadcaster and interact
When, it is verified according to the identity of user's information, is ensured of user and operates, improve the safety of live streaming platform
Property.
Embodiment two
Fig. 2 is a kind of flow chart of auth method provided by Embodiment 2 of the present invention, and the present embodiment is with above-mentioned implementation
It is embodied based on example.In the present embodiment, prestored user information may include prestoring cell-phone number.
And authentication is carried out to matching user according to prestored user information, it may include: to send verification information to pre-
Deposit the corresponding user terminal of cell-phone number;Receive the verification information of matching user's input;Verifying matching user input verification information with
It is sent to and prestores the verification information of the corresponding user terminal of cell-phone number and whether match;If successful match, it is determined that authentication is logical
It crosses.
As shown in Fig. 2, this method specifically comprises the following steps:
Step 201 after detecting user terminal for company's wheat application of target direct broadcasting room transmission, is obtained and is matched with even wheat application
Matching user prestored user information.
Step 202 sends verification information to prestoring the corresponding user terminal of cell-phone number.
Wherein, live streaming platform generates verification information at random, is sent to the verification information of generation according to prestored user information
Prestore the corresponding user terminal of cell-phone number.
Step 203, the verification information for receiving matching user's input.
Wherein, the verification information that matching user is inputted by user terminal is received.
Step 204, the verification information of verifying matching user's input prestore testing for the corresponding user terminal of cell-phone number with being sent to
Whether card information matches.
Wherein, the verification information of live streaming platform validation matching user's input prestores the corresponding user terminal of cell-phone number with being sent to
Verification information whether match.
If step 205, successful match, it is determined that authentication passes through.
Wherein, if successful match, it is determined that authentication passes through;If it fails to match, it is determined that authentication is not led to
It crosses.For example, live streaming platform generates verification information at random, the verification information of generation is sent to by: 11A2 according to prestored user information
The corresponding user terminal of cell-phone number is prestored, and receives the verification information that matching user is inputted by user terminal.Platform validation is broadcast live
Verification information with user's input be sent to whether the verification information for prestoring the corresponding user terminal of cell-phone number matches, i.e. matching use
Whether the verification information that family is inputted by user terminal is 11A2.If matching user by the verification information that user terminal inputs is
11A2, then successful match, determines that authentication passes through;If the verification information that matching user is inputted by user terminal is not
11A2, then it fails to match, determines that authentication does not pass through.
If step 206, authentication pass through, matching user is added to corresponding with target direct broadcasting room to Lian Maiyong
In the list of family.
Wheat user list to be connected is provided to main broadcaster corresponding with target direct broadcasting room end, and obtains main broadcaster end root by step 207
Connect wheat user according at least two of wheat user list to be connected feedback.
Step 208, if it is determined that at least two connect wheat users include matching user, then in target direct broadcasting room, establish with
Match the corresponding even wheat service of user terminal of user.
The embodiment of the invention provides a kind of auth methods, corresponding to cell-phone number is prestored by sending verification information
User terminal, and receive matching user input verification information, then verifying matching user input verification information be sent to it is pre-
Whether the verification information for depositing the corresponding user terminal of cell-phone number matches;If successful match, it is determined that authentication passes through, Ke Yi
When main broadcaster connects wheat by voice with several users and interacts, the identity of user is tested according to the phone number that prestores of user
Card, is ensured of user and operates, and improves the safety of live streaming platform.
Embodiment three
Fig. 3 is a kind of flow chart for auth method that the embodiment of the present invention three provides.In the present embodiment, in target
In direct broadcasting room, even wheat service corresponding with the matching user terminal of user is established, comprising: matching user is added to target and is broadcast live
Between it is corresponding even in wheat user list;According to the user information of the company wheat user in even wheat user list, in target direct broadcasting room,
Establish even wheat service corresponding with the even user terminal of wheat user.
And after establishing even wheat service corresponding with the even user terminal of wheat user, further includes: the company's of detection wheat user column
Respectively connect whether the corresponding user terminal of wheat user regularly sends connection feedback information in table;If it is determined that in preset time threshold
It is interior, connect the corresponding not sent connection feedback information of first object user terminal of wheat user with first object, then first object is connected into wheat
User deletes from even wheat user list, to cancel the company wheat service of first object user terminal.
As shown in figure 3, this method specifically comprises the following steps:
Step 301 after detecting user terminal for company's wheat application of target direct broadcasting room transmission, is obtained and is matched with even wheat application
Matching user prestored user information.
Step 302 carries out authentication to matching user according to prestored user information.
If step 303, authentication pass through, matching user is added to corresponding with target direct broadcasting room to Lian Maiyong
In the list of family.
Wheat user list to be connected is provided to main broadcaster corresponding with target direct broadcasting room end, and obtains main broadcaster end root by step 304
Connect wheat user according at least two of wheat user list to be connected feedback.
Step 305, if it is determined that at least two connect wheat users include matching user, then will matching user be added to target
In the corresponding even wheat user list of direct broadcasting room.
Wherein, connecting wheat user list is the list for storing the corresponding even user information of wheat user of target direct broadcasting room.
After user enters target direct broadcasting room by user terminal, user may browse through the corresponding even wheat user list of target direct broadcasting room.With
Family can connect the user information of wheat user according to even wheat user list, browsing.
Matching user is added to straight with target after determining that at least two company wheat users include matching user for live streaming platform
It is corresponding even in wheat user list between broadcasting, at the same by main broadcaster end according to wheat user feedback to be connected other connect wheat user be added to
In the corresponding even wheat user list of target direct broadcasting room.To realize main broadcaster end is fed back according to wheat user list to be connected at least two
Even wheat user enters even wheat user list from wheat user list to be connected.
Optionally, the company wheat user even in wheat user list has corresponding number.Each connects the corresponding number of wheat user
Difference can be ranked up according to the time of the company's of addition wheat user list.
Step 306, according to the user information of the company wheat user even in wheat user list, in target direct broadcasting room, establish with
The even corresponding even wheat service of the user terminal of wheat user.
Wherein, live streaming platform is broadcast live according to the user information of even each of wheat user list even wheat user in target
Between in, establish it is corresponding with the user terminal that each connects wheat user even wheat service, realize target direct broadcasting room main broadcaster while and extremely
Few two company wheat users enter language and connect wheat state.
Step 307, detection connect in wheat user list and respectively connect whether the corresponding user terminal of wheat user regularly sends connection instead
Feedforward information.
Wherein, live streaming platform receive from even in wheat user list respectively connect the corresponding user terminal of wheat user according to it is default when
Between be spaced the connection feedback information of transmission.Optionally, connection feedback information can be heartbeat message.Heartbeat message is a kind of transmission
Source is sent to the message of recipient, and this message can allow recipient to determine whether and when transmission source breaks down or eventually
Only.In general, heartbeat message is sent since when transmission source starts, until transmission source is closed, during which transmission source can continual hair
Send periodicity or repetition message.When recipient does not receive message within some message sink period, recipient may think that hair
It send source to have been switched off, break down or is currently unavailable.It include connecting the corresponding user identity mark of wheat user in heartbeat message
Know.
Specifically, prefixed time interval is configured according to actual needs.For example, prefixed time interval can be set to 5
Second.In the user information according to the company wheat user in even wheat user list, in target direct broadcasting room, the use with even wheat user is established
After the corresponding even wheat service in family end, respectively connects the corresponding user terminal of wheat user and disappeared every 5 seconds to a live streaming platform heartbeat of transmission
Breath.Live streaming platform is checked whether according to default check time interval receives each heartbeat message that even wheat user sent every 5 seconds.
Default check time interval can be configured according to actual needs.For example, default check time interval can be set to 1 second.
Step 308, if it is determined that in preset time threshold, connect the corresponding first object user of wheat user with first object
Not sent connection feedback information is held, then first object is connected into wheat user from even deleting in wheat user list, to cancel first object
The company wheat of user terminal services.
Wherein, it is the company wheat user connected in wheat user list that first object, which connects wheat user,.If platform is broadcast live to determine
In preset time threshold, connect the corresponding not sent connection feedback information of first object user terminal of wheat user with first object, then
First object is connected into wheat user from even deleting in wheat user list, to cancel the company wheat service of first object user terminal.When default
Between threshold value can be configured according to actual needs.For example, preset time threshold can be set to 15 seconds.Specifically, live streaming is flat
Platform checked once to connect in wheat user list by timer every 1 second respectively connects whether the corresponding user terminal of wheat user sends connection
Feedback information connects the connection that the corresponding first object user terminal of wheat user is sent with first object if it exceeds not receiving for 15 seconds
Feedback information, then it is assumed that corresponding first object connects wheat user and loses company, and first object is connected wheat user from even wheat user list
It deletes, to cancel the company wheat service of first object user terminal.If detect each even corresponding user terminal of wheat user every 5 seconds to
Platform is broadcast live and sends primary connection feedback information, then it is assumed that the company's wheat state for respectively connecting wheat user and being broadcast live between platform is normal.
Optionally, establish with even the user terminal of wheat user it is corresponding even wheat service after, further includes: if detect and
Second target connect wheat user corresponding second target user end transmission cancellation connect wheat request, then by the second target connect wheat user from
It is even deleted in wheat user list, to cancel the company wheat service at the second target user end.
Wherein, even the company wheat user in wheat user list can send even wheat cancellation request by corresponding user terminal, ask
The current ongoing and target direct broadcasting room main broadcaster of termination is asked to connect wheat process.Second target connects wheat user for even wheat user list
In a company wheat user.Connect corresponding second target of wheat user with the second target in wheat user list to be connected if detected
The cancellation that user terminal is sent connects wheat request, then the second target is connected wheat user from even deleting in wheat user list, to even wheat user
List is updated, to cancel the company wheat service at the second target user end.Thus, it is possible in time according to the solicited message of user,
The company's wheat user list and Lian Mai user data of live streaming platform are updated.
Optionally, after establishing even wheat service corresponding with the even user terminal of wheat user, further includes: if detecting master
It broadcasts end and request is removed according to the user that even wheat user list is sent, then user is removed and corresponding third target is requested to connect wheat user
It deletes from even wheat user list, is serviced with cancelling the company wheat for connecting wheat user corresponding third target user end with third target.
Wherein, main broadcaster can send user according to even wheat user list and remove request, request is cancelled and will by main broadcaster end
User removes the company wheat service of the corresponding even wheat user of request.For example, even wheat user refers to some violation speeches during even wheat
It can request to cancel and company wheat service that user is removed to the corresponding company wheat user of request by, main broadcaster.Main broadcaster can be in Lian Maiyong
In the list of family selection even wheat user, and confirmation request cancel with by user remove request it is corresponding connect wheat user company wheat service,
Then main broadcaster end is sent according to the operation of main broadcaster connects the corresponding user of wheat user with this and removes request to platform is broadcast live.
It is the company wheat user connected in wheat user list that third target, which connects wheat user,.If live streaming platform detects main broadcaster
Request is removed according to the user that even wheat user list is sent in end, then user is removed request corresponding third target connect wheat user from
It even deletes in wheat user list, even wheat user list is updated, connect the corresponding third of wheat user with third target to cancel
The company wheat at target user end services.Thus, it is possible in time according to the solicited message of main broadcaster, to company's wheat user list of live streaming platform
It is updated with even wheat user data.
The embodiment of the invention provides a kind of auth method, by will match user be added to target direct broadcasting room pair
After in the company's wheat user list answered, built in target direct broadcasting room according to the user information of the company wheat user in even wheat user list
Vertical even wheat service corresponding with the even user terminal of wheat user, and respectively connect the corresponding user of wheat user in the company's of detection wheat user list
Whether end regularly sends connection feedback information, is determining in preset time threshold, connects wheat user corresponding the with first object
When the not sent connection feedback information in one target user end, first object is connected into wheat user from even wheat user list and is deleted, to take
Disappear first object user terminal company wheat service, can according to live streaming platform interaction data, make the main broadcaster of target direct broadcasting room simultaneously
Enter language at least two company wheat users and connect wheat state, each even wheat user and live streaming can be detected by connection feedback information
Whether company's wheat state between platform is normal, and removes the company wheat user of the company of mistake in time, guarantees the user of the company of progress wheat all
For the even normal user of wheat state.
Example IV
Fig. 4 is a kind of structural schematic diagram for authentication means that the embodiment of the present invention four provides, as shown in figure 4, described
Device can be configured at server, comprising: data obtaining module 401, authentication module 402, user are added module 403, use
Module 405 is established in family feedback module 404 and Lian Mai service.
Wherein, data obtaining module 401, after detecting user terminal for company's wheat application of target direct broadcasting room transmission,
It obtains and the even matched prestored user information for matching user of wheat application;Authentication module 402, for being believed according to prestored user
Breath carries out authentication to matching user;Module 403 is added in user, if passed through for authentication, matching user is added
Enter into wheat user list to be connected corresponding with target direct broadcasting room;User feedback module 404, for mentioning wheat user list to be connected
It is supplied to main broadcaster corresponding with target direct broadcasting room end, and obtains main broadcaster end and connects wheat according at least two that wheat user list to be connected is fed back
User;Even wheat service establish module 405, be used for if it is determined that at least two connect wheat users include match user, then it is straight in target
In between broadcasting, even wheat service corresponding with the matching user terminal of user is established.
The embodiment of the invention provides a kind of authentication means, by according to even wheat application is matched matches user's
Prestored user information carries out authentication to matching user, and after authentication passes through, matching user is added to straight with target
Between broadcasting in corresponding wheat user list to be connected, and wheat list to be connected is provided to main broadcaster corresponding with target direct broadcasting room end, obtained
Main broadcaster end connects wheat user according at least two that wheat list to be connected is fed back, is determining that at least two company wheat users include matching user
Afterwards, then in target direct broadcasting room, establish it is corresponding with the user terminal of user even wheat service, solve the prior art cannot be guaranteed into
The user of row even wheat is the problem of operation in person, can when main broadcaster connects wheat by voice with several users and interacts,
It is verified according to the identity of user's information, is ensured of user and operates, improve the safety of live streaming platform.
On the basis of the various embodiments described above, prestored user information may include prestoring cell-phone number;Authentication module 402
It may include: information transmitting unit, for sending verification information to prestoring the corresponding user terminal of cell-phone number;Information receiving unit,
For receiving the verification information of matching user's input;Information matching unit, for verify matching user input verification information with
It is sent to and prestores the verification information of the corresponding user terminal of cell-phone number and whether match;It is verified unit, if being used for successful match,
Then determine that authentication passes through.
On the basis of the various embodiments described above, it may include: user's adding unit that even module 405 is established in wheat service, be used for
Matching user is added into even wheat user list corresponding with target direct broadcasting room;Unit is established in service, for according to Lian Maiyong
The user information of company wheat user in the list of family establishes even wheat corresponding with the even user terminal of wheat user in target direct broadcasting room
Service.
It, can be on the basis of the various embodiments described above further include: feedback information detection module, for the company's of detection wheat user column
Respectively connect whether the corresponding user terminal of wheat user regularly sends connection feedback information in table;First user's removing module, for such as
Fruit determines in preset time threshold, connects the corresponding not sent connection feedback letter of first object user terminal of wheat user with first object
First object is then connected wheat user from even deleting in wheat user list, to cancel the company wheat service of first object user terminal by breath.
It, can be on the basis of the various embodiments described above further include: second user removing module, if for detecting and the
The cancellation that two targets connect the transmission of wheat user corresponding second target user end connects wheat request, then the second target is connected wheat user from even
It is deleted in wheat user list, to cancel the company wheat service at the second target user end.
It, can be on the basis of the various embodiments described above further include: third user's removing module, if for detecting main broadcaster
Request is removed according to the user that even wheat user list is sent in end, then user is removed request corresponding third target connect wheat user from
It even deletes in wheat user list, is serviced with cancelling the company wheat for connecting wheat user corresponding third target user end with third target.
Embodiment five
Fig. 5 is a kind of structural schematic diagram for server that the embodiment of the present invention five provides.Fig. 5, which is shown, to be suitable for being used to realizing
The block diagram of the exemplary servers 512 of embodiment of the present invention.The server 512 that Fig. 5 is shown is only an example, should not be right
The function and use scope of the embodiment of the present invention bring any restrictions.
As shown in figure 5, server 512 is showed in the form of universal computing device.The component of server 512 may include but
Be not limited to: one or more processor or processing unit 516, system storage 528, connect different system components (including
System storage 528 and processing unit 516) bus 518.
Bus 518 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Server 512 typically comprises a variety of computer system readable media.These media can be it is any being capable of bedding and clothing
The usable medium that business device 512 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 528 may include the computer system readable media of form of volatile memory, such as deposit at random
Access to memory (RAM) 530 and/or cache memory 532.Server 512 may further include it is other it is removable/can not
Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 534 can be used for reading and writing not
Movably, non-volatile magnetic media (Fig. 5 do not show, commonly referred to as " hard disk drive ").It, can be with although being not shown in Fig. 5
The disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") is provided, and non-volatile to moving
The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving
Device can be connected by one or more data media interfaces with bus 518.Memory 528 may include at least one program
Product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform the present invention
The function of each embodiment.
Program/utility 540 with one group of (at least one) program module 542, can store in such as memory
In 528, such program module 542 includes --- but being not limited to --- operating system, one or more application program, other
It may include the realization of network environment in program module and program data, each of these examples or certain combination.Journey
Sequence module 542 usually executes function and/or method in embodiment described in the invention.
Server 512 can also be with one or more external equipments 514 (such as keyboard, sensing equipment, display 524 etc.)
Communication, can also be enabled a user to one or more equipment interact with the server 512 communicate, and/or with make the clothes
Any equipment (such as network interface card, modem etc.) that business device 512 can be communicated with one or more of the other calculating equipment
Communication.This communication can be carried out by input/output (I/O) interface 522.Also, server 512 can also be suitable by network
Orchestration 520 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as because of spy
Net) communication.As shown, network adapter 520 is communicated by bus 518 with other modules of server 512.It should be understood that
Although being not shown in Fig. 5, other hardware and/or software module can be used in conjunction with server 512, including but not limited to: micro- generation
Code, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup are deposited
Storage system etc..
Server 512 can be a kind of terminal device.The processing unit 516 of server 512 is stored in system by operation
Program in memory 528 thereby executing various function application and data processing, such as realizes that the embodiment of the present invention is provided
Auth method.That is, being obtained and even wheat application after detecting company's wheat application that user terminal is sent for target direct broadcasting room
The prestored user information of matched matching user;Authentication is carried out to matching user according to prestored user information;If identity
It is verified, then matching user is added into wheat user list to be connected corresponding with target direct broadcasting room;It will wheat user column be connected
Table is provided to main broadcaster corresponding with target direct broadcasting room end, and obtains main broadcaster end is fed back according to wheat user list to be connected at least two
Even wheat user;If it is determined that at least two connect wheat user including matching user, then in target direct broadcasting room, establishes and match user
User terminal it is corresponding even wheat service.
Embodiment six
The embodiment of the present invention six additionally provides a kind of computer readable storage medium, is stored thereon with computer program, should
The auth method as provided by the embodiment of the present invention is realized when program is executed by processor, this method can specifically include:
After detecting company's wheat application that user terminal is sent for target direct broadcasting room, obtain that wheat application is matched matches prestoring for user with company
User information;Authentication is carried out to matching user according to prestored user information;If authentication passes through, user will be matched
It is added into wheat user list to be connected corresponding with target direct broadcasting room;Wheat user list to be connected is provided to and target direct broadcasting room pair
The main broadcaster end answered, and obtain main broadcaster end and connect wheat user according at least two that wheat user list to be connected is fed back;If it is determined that at least
Two company wheat users include matching user, then in target direct broadcasting room, establish even wheat clothes corresponding with the matching user terminal of user
Business.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or
Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool
There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage
Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
Ruby, Go further include conventional procedural programming language-such as " C " language or similar programming language.Program
Code can be executed fully on the user computer, partly be executed on the user computer, as an independent software
Packet executes, part executes on the remote computer or completely in remote computer or server on the user computer for part
Upper execution.In situations involving remote computers, remote computer can pass through the network of any kind --- including local
Net (LAN) or wide area network (WAN)-are connected to subscriber computer, or, it may be connected to outer computer (such as using because of spy
Service provider is netted to connect by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of auth method characterized by comprising
After detecting company's wheat application that user terminal is sent for target direct broadcasting room, obtain that wheat application is matched matches use with the company
The prestored user information at family;
Authentication is carried out to the matching user according to the prestored user information;
If authentication passes through, the matching user is added to wheat user to be connected corresponding with the target direct broadcasting room and is arranged
In table;
The wheat user list to be connected is provided to main broadcaster corresponding with target direct broadcasting room end, and obtains main broadcaster end root
Connect wheat user according at least two of the wheat user list feedback to be connected;
If it is determined that it is described at least two connect wheat user include the matching user, then in the target direct broadcasting room, establish with
The corresponding even wheat service of the user terminal of the matching user.
2. the method according to claim 1, wherein the prestored user information includes prestoring cell-phone number;
Authentication is carried out to the matching user according to the prestored user information, comprising:
It sends verification information and prestores the corresponding user terminal of cell-phone number to described;
Receive the verification information of the matching user input;
Verify the verification information of the matching user input be sent to the verifying letter for prestoring the corresponding user terminal of cell-phone number
Whether breath matches;
If successful match, it is determined that authentication passes through.
3. the method according to claim 1, wherein establishing in the target direct broadcasting room and matching use with described
The corresponding even wheat service of the user terminal at family, comprising:
The matching user is added into even wheat user list corresponding with the target direct broadcasting room;
According to the user information of the even company wheat user in wheat user list, in the target direct broadcasting room, establish with it is described
The even corresponding even wheat service of the user terminal of wheat user.
4. according to the method described in claim 3, it is characterized in that, establishing company corresponding with the even user terminal of wheat user
After wheat service, further includes:
It detects in the even wheat user list and respectively connects whether the corresponding user terminal of wheat user regularly sends connection feedback information;
If it is determined that in preset time threshold, connect the corresponding not sent connection of first object user terminal of wheat user with first object
The first object is then connected wheat user and even deleted in wheat user list from described, to cancel the first object by feedback information
The company wheat of user terminal services.
5. according to the method described in claim 3, it is characterized in that, establishing company corresponding with the even user terminal of wheat user
After wheat service, further includes:
If detecting that the cancellation for connecting the transmission of wheat user corresponding second target user end with the second target connects wheat request, by institute
It states the second target and connects wheat user and even deleted in wheat user list from described, to cancel the company wheat clothes at second target user end
Business.
6. according to the method described in claim 3, it is characterized in that, establishing company corresponding with the even user terminal of wheat user
After wheat service, further includes:
It is if detecting that request is removed according to the user that wheat user list is sent described even in the main broadcaster end, the user is clear
It is deleted except requesting corresponding third target to connect wheat user from the even wheat user list, connects wheat user with third target to cancel
The company wheat at corresponding third target user end services.
7. a kind of authentication means characterized by comprising
Data obtaining module obtains and the company after detecting user terminal for company's wheat application of target direct broadcasting room transmission
The prestored user information of the matched matching user of wheat application;
Authentication module, for carrying out authentication to the matching user according to the prestored user information;
User be added module, if passed through for authentication, by the matching user be added to the target direct broadcasting room
In corresponding wheat user list to be connected;
User feedback module, for the wheat user list to be connected to be provided to main broadcaster corresponding with target direct broadcasting room end,
And it obtains the main broadcaster end and connects wheat user according at least two of the wheat user list feedback to be connected;
Module is established in even wheat service, for if it is determined that at least two company wheat user includes the matching user, then in institute
It states in target direct broadcasting room, establishes even wheat service corresponding with the matching user terminal of user.
8. device according to claim 7, which is characterized in that the prestored user information includes prestoring cell-phone number;
The authentication module includes:
Information transmitting unit prestores the corresponding user terminal of cell-phone number to described for sending verification information;
Information receiving unit, for receiving the verification information of the matching user input;
Information matching unit, for verify the verification information of the matching user input be sent to described in prestore cell-phone number corresponding
The verification information of user terminal whether match;
It is verified unit, if being used for successful match, it is determined that authentication passes through.
9. a kind of server, which is characterized in that the server includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as auth method as claimed in any one of claims 1 to 6.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
Such as auth method as claimed in any one of claims 1 to 6 is realized when processor executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811162401.1A CN109388924A (en) | 2018-09-30 | 2018-09-30 | A kind of auth method, device, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811162401.1A CN109388924A (en) | 2018-09-30 | 2018-09-30 | A kind of auth method, device, server and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109388924A true CN109388924A (en) | 2019-02-26 |
Family
ID=65419166
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811162401.1A Pending CN109388924A (en) | 2018-09-30 | 2018-09-30 | A kind of auth method, device, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109388924A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111522735A (en) * | 2020-03-18 | 2020-08-11 | 北京健康之家科技有限公司 | Shunting method and device for test experiment |
CN111831566A (en) * | 2020-07-17 | 2020-10-27 | 北京字节跳动网络技术有限公司 | Test method, test device, electronic equipment and computer readable storage medium |
CN112188226A (en) * | 2020-09-29 | 2021-01-05 | 腾讯科技(深圳)有限公司 | Live broadcast processing method, device, equipment and computer readable storage medium |
CN114845123A (en) * | 2021-02-02 | 2022-08-02 | 阿里巴巴集团控股有限公司 | Live broadcast interaction method, device, equipment and storage medium |
CN115190327A (en) * | 2022-07-11 | 2022-10-14 | 北京达佳互联信息技术有限公司 | Wheat connecting method, device, equipment, storage medium and program product |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102300182A (en) * | 2011-09-07 | 2011-12-28 | 飞天诚信科技股份有限公司 | Short-message-based authentication method, system and device |
CN107295354A (en) * | 2017-05-15 | 2017-10-24 | 武汉斗鱼网络科技有限公司 | Connect the live method for building up of wheat and device in a kind of network direct broadcasting |
CN108093267A (en) * | 2017-12-27 | 2018-05-29 | 广州虎牙信息科技有限公司 | A kind of live broadcasting method, device, storage medium and electronic equipment |
CN108184140A (en) * | 2018-01-10 | 2018-06-19 | 武汉斗鱼网络科技有限公司 | A kind of live streaming connects wheat method and device |
-
2018
- 2018-09-30 CN CN201811162401.1A patent/CN109388924A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102300182A (en) * | 2011-09-07 | 2011-12-28 | 飞天诚信科技股份有限公司 | Short-message-based authentication method, system and device |
CN107295354A (en) * | 2017-05-15 | 2017-10-24 | 武汉斗鱼网络科技有限公司 | Connect the live method for building up of wheat and device in a kind of network direct broadcasting |
CN108093267A (en) * | 2017-12-27 | 2018-05-29 | 广州虎牙信息科技有限公司 | A kind of live broadcasting method, device, storage medium and electronic equipment |
CN108184140A (en) * | 2018-01-10 | 2018-06-19 | 武汉斗鱼网络科技有限公司 | A kind of live streaming connects wheat method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111522735A (en) * | 2020-03-18 | 2020-08-11 | 北京健康之家科技有限公司 | Shunting method and device for test experiment |
CN111522735B (en) * | 2020-03-18 | 2023-07-18 | 北京水滴科技集团有限公司 | Shunting method and device for test experiment |
CN111831566A (en) * | 2020-07-17 | 2020-10-27 | 北京字节跳动网络技术有限公司 | Test method, test device, electronic equipment and computer readable storage medium |
CN112188226A (en) * | 2020-09-29 | 2021-01-05 | 腾讯科技(深圳)有限公司 | Live broadcast processing method, device, equipment and computer readable storage medium |
CN112188226B (en) * | 2020-09-29 | 2021-10-08 | 腾讯科技(深圳)有限公司 | Live broadcast processing method, device, equipment and computer readable storage medium |
CN114845123A (en) * | 2021-02-02 | 2022-08-02 | 阿里巴巴集团控股有限公司 | Live broadcast interaction method, device, equipment and storage medium |
CN115190327A (en) * | 2022-07-11 | 2022-10-14 | 北京达佳互联信息技术有限公司 | Wheat connecting method, device, equipment, storage medium and program product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109388924A (en) | A kind of auth method, device, server and storage medium | |
CN109600306B (en) | Method, device and storage medium for creating session | |
CN110351269A (en) | The method for logging in open platform by third-party server | |
US20210377311A1 (en) | Establishment of network connections | |
JP6522159B2 (en) | Voice communication processing method and system, electronic device, and storage medium | |
CN109348302A (en) | Connect wheat user recommended method, device, server and storage medium in live streaming | |
WO2014187118A1 (en) | Verification method, apparatus, server and system | |
CN110008690A (en) | Right management method, device, equipment and the medium of terminal applies | |
US11233897B1 (en) | Secure call center communications | |
CN108197202A (en) | Data verification method, device, server and the storage medium of crowdsourcing task | |
CN108153420A (en) | A kind of information push method, device, server and storage medium | |
CN110072268A (en) | Method, equipment and the computer storage medium that wifi hotspot is shared | |
US20190132552A1 (en) | Conferencing apparatus and method for switching access terminal thereof | |
CN104184709A (en) | Verification method, device, server, service data center and system | |
CN109902022A (en) | The method and relevant device tested automatically for loophole of vertically going beyond one's commission | |
CN108052407A (en) | A kind of application crash means of defence, device, equipment and storage medium | |
CN110413522A (en) | A kind of determination method, apparatus, storage medium and the electronic equipment of test database | |
CN110147664A (en) | The method and relevant device of authentication based on centralization database | |
CN116170234B (en) | Single sign-on method and system based on virtual account authentication | |
CN109670109A (en) | Information acquisition method, device, server, terminal and medium | |
CN109348238A (en) | A kind of voice in live streaming connects wheat method, apparatus, server and storage medium | |
CN110110236A (en) | A kind of information-pushing method, device, equipment and storage medium | |
CN108540552A (en) | Device interconnection method, apparatus, system, device and storage medium | |
CN109710675A (en) | A kind of storing data library switching method, device, server and storage medium | |
CN106411811A (en) | Authentication method, system and device of accessing customer service |
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: 20190226 |