CN106993233A - Information processing method and device based on net cast - Google Patents
Information processing method and device based on net cast Download PDFInfo
- Publication number
- CN106993233A CN106993233A CN201710117706.XA CN201710117706A CN106993233A CN 106993233 A CN106993233 A CN 106993233A CN 201710117706 A CN201710117706 A CN 201710117706A CN 106993233 A CN106993233 A CN 106993233A
- Authority
- CN
- China
- Prior art keywords
- present
- user
- noble
- gifts
- panel
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/475—End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/254—Management at additional data server, e.g. shopping server, rights management server
- H04N21/2543—Billing, e.g. for subscription services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25866—Management of end-user data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/435—Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Computer Graphics (AREA)
- General Engineering & Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a kind of information processing method and device based on net cast, wherein, methods described includes:Treat gifts according to what user currently chose, obtain described in treat the region that gifts are shown on present panel;The region that gifts are shown on present panel is treated according to described, it is determined that the present classification for treating gifts;Wherein, the present classification at least includes following classification:Noble's present, common present, and the present of different present classification is illustrated in the different zones of present panel respectively;User currently choose when gifts are noble's present, verify the user gradation of the user, when the user meets default user gradation requirement, perform noble's present gives operation.The embodiment of the present invention disclosure satisfy that the interactive demand of the gifts of different brackets user, improve present is given in net cast recreational, interest, lift Consumer's Experience.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of information processing method and dress based on net cast
Put.
Background technology
With the development of computer technology and network technology, the user of watching video live broadcast is more and more, and network direct broadcasting is obtained
Extensive popularization is arrived, user can be with the live application program of logging in network, and into direct broadcasting room interested, viewing main broadcaster's regards
Frequency programme televised live, and main broadcaster's gifts information that many users can be liked oneself, to realize the interaction of spectators and main broadcaster.
During the present invention is realized, inventor has found that prior art at least has problems with:
To give function excessively simple for the present of live broadcast system in the prior art, general direct broadcasting room when sending present, as long as
User logs in just can be with gifts, it is impossible to meet the use demand of different brackets user, influence Consumer's Experience.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on
The information processing method and device based on net cast of problem are stated, the interaction of the gifts of different brackets user is disclosure satisfy that
Demand, improves present is given in net cast recreational, interest, lifts Consumer's Experience.
One aspect of the present invention there is provided a kind of information processing method based on net cast, including:
Treat gifts according to what user currently chose, obtain described in treat the area that gifts are shown on present panel
Domain;
The region that gifts are shown on present panel is treated according to described, it is determined that the present class for treating gifts
Not;Wherein, the present classification at least includes following classification:Noble's present, common present, and the present point of different present classifications
The different zones of present panel are not illustrated in;
User currently choose when gifts are noble's present, the user gradation of the user is verified, when described
When user meets default user gradation requirement, perform noble's present gives operation.
Alternatively, gifts are treated described according to what user currently chose, obtain described in treat gifts in present face
Before the region shown on plate, methods described also includes:
Obtain the present array that background server is sent;
Noble's present and common present in the present array is classified, and by noble's present and described general
Common etiquette thing is illustrated in the different zones of present panel respectively.
Alternatively, the present array for obtaining background server transmission, including:
The present data for the json forms that the background server is returned are received, the present data of the json forms are turned
Array is turned to, the present array is obtained.
Alternatively, the noble's present and common present by the present array is classified, including:
According to the type identification of each present data in the present array, by noble's present in the present array and
Common present is classified.
Alternatively, the different zones that noble's present and the common present are illustrated in present panel respectively,
Including:
The array of the present panel is obtained using default interface function;
According to the array of noble's present and the common present respectively to the present panel assignment, and it is complete in assignment
Cheng Hou, the data to the present panel are shown.
Alternatively, it is described execution noble's present give operation before, methods described also includes:
Judge whether the current corresponding virtual currency balance of the user meets the virtual goods treated needed for gifts
Coin pays amount;
If meeting, noble's present is performed after completing to pay gives operation, otherwise, sends Recharge Promotion message, with
The user is pointed out to be supplemented with money in time.
Alternatively, judge the current corresponding virtual currency balance of the user treats gifts described in whether meeting described
Before required dummy payments amount, methods described also includes:
Judge the network connection state of current system;
If network connection is normal, whether be current video live main broadcaster, otherwise if judging the user, sends network and connects
Connect abnormal prompting message;
If the user is not the live main broadcaster of current video, current live room and the bullet for showing present are judged
The connection status of curtain server, otherwise, sends the prompting message that present is mistaken;
If the connection in current live room and barrage server is normal, the judgement user is performed currently corresponding
Virtual currency balance whether meet it is described treat needed for gifts dummy payments amount the step of, otherwise, send barrage
The abnormal prompting message of server connection.
Alternatively, methods described also includes:
If user currently choose whne gifts be common present when, common present is performed using asynchronous scoket modes
Give operation.
Alternatively, before the user gradation of the checking user, methods described also includes:
Whether the version for detecting current App is newest version;
If current App version is newest version, the step of performing the user gradation of the checking user.
Another aspect of the present invention there is provided a kind of information processor based on net cast, including:
Acquisition module, gifts are treated for what is currently chosen according to user, obtain described in treat gifts in present face
The region shown on plate;
Determination module, for treating the region that gifts are shown on present panel according to, it is determined that described wait to give
Give a present the present classification of thing;Wherein, the present classification at least includes following classification:Noble's present, common present, and different gifts
The other present of species is illustrated in the different zones of present panel respectively;
Performing module, for user currently choose when gifts are noble's present, verify the use of the user
Family grade, when the user meets default user gradation requirement, perform noble's present gives operation.
Information processing method and device provided in an embodiment of the present invention based on net cast, by increasing in present array
Plus the setting of noble's present, and noble's present and the not same district that is Bu Tong respectively illustrated in present panel of the common present according to classification
Domain, when user performs gifts operation, when it is noble's present to treat gifts, then meets default in user
During user gradation requirement, just perform noble's present gives operation.And then disclosure satisfy that the gifts of different brackets user
Interactive demand, improves present is given in net cast recreational, interest, lifts Consumer's Experience.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit is common for this area
Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 is a kind of flow chart of information processing method based on net cast of the embodiment of the present invention;
Fig. 2 is the flow chart of another information processing method based on net cast of the embodiment of the present invention;
Fig. 3 is a kind of structural representation of information processor based on net cast of the embodiment of the present invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art
Language and scientific terminology), with the general understanding identical meaning with the those of ordinary skill in art of the present invention.Should also
Understand, those terms defined in such as general dictionary, it should be understood that with the context with prior art
The consistent meaning of meaning, and unless by specific definitions, otherwise will not be explained with idealization or excessively formal implication.
In order to the interactive demand for the gifts for meeting different brackets user, certain part is allowed to be more willing to the use paid
The present that family can be sent out is more characteristic, the embodiments of the invention provide a kind of transmission noble that can be during live or
The method of person's VIP presents.
Fig. 1 diagrammatically illustrates the flow chart of the information processing method based on net cast of one embodiment of the invention.
Reference picture 1, the information processing method based on net cast of the embodiment of the present invention specifically includes following steps:
Step S11, according to what user currently chose treat gifts, obtain described in treat gifts institute on present panel
The region of displaying.
The region that gifts are shown on present panel is treated described in step S12, basis, it is determined that described treat gifts
Present classification;Wherein, the present classification at least includes following classification:Noble's present, common present, and different present classifications
Present be illustrated in the different zones of present panel respectively.
It should be noted that noble's present in the present embodiment refers to that only the user as noble either becomes
The present that VIP user can just send.The present special efficacy that noble's present is sent is different from common present, cruel with more dazzling
Bandwagon effect.For example, noble's present can be the present such as shark's fin struggled against in the live software of fish, common present can be that bucket fish is live
The presents such as the fish ball in software.
It is intelligible, noble's present be over time with the development of technology and constantly update replacement, it is current
Noble's present can may sometime be used in follow-up as common present.
Step S13, user currently choose when gifts are noble's present, verify user of the user etc.
Level, when the user meets default user gradation requirement, perform noble's present gives operation.
In the present embodiment, when user performs gifts operation, when it is noble's present to treat gifts, then exist
When user meets default user gradation requirement, just perform noble's present gives operation.Non- noble user clicks on present panel
In noble's present when, then point out the noble or VIP user that only meet default user gradation requirement just to send noble
Present.Specifically, when non-noble user clicks on noble's present in present panel, showToast functions can be used to be carried
Show.
Wherein, user gradation includes 0 to N number of grade, wherein 0 grade is domestic consumer, 1-N grades are noble or VIP user, institute
Domestic consumer is stated to refer to have registered live application program, but the user not supplemented with money, noble or VIP user refer to have registered directly
Broadcast application program, but the user supplemented with money.It is alternatively possible to according to how many couples of nobles of recharge amount or VIP user
Carry out different brackets division.Moreover, when the current grade of the user is noble or VIP user gradations, then it represents that the use
Family is supplemented with money in advance, executable to give operation.
In a specific embodiment, user can be determined by using function scoketReceiveOpenStateMsg
Grade, if user gradation>0, then present Display panel user is the noble that continues to pay dues;The grade of user is equal to 0, illustrates user's
Noble is expired or never opens noble, and present Display panel user is domestic consumer, and the noble that continues to pay dues is gone in displaying
Reminder message.
Information processing method provided in an embodiment of the present invention based on net cast, by increasing noble in present array
The setting of present, and noble's present and the different zones that are Bu Tong respectively illustrated in present panel of the common present according to classification,
When user performs gifts operation, when it is noble's present to treat gifts, then default user is met in user
During class requirement, just perform noble's present gives operation.And then disclosure satisfy that the interaction of the gifts of different brackets user
Demand, improves present is given in net cast recreational, interest, lifts Consumer's Experience.
In an alternate embodiment of the present invention where, methods described also includes the step S14 not shown in accompanying drawing:
Step S14, user currently choose whne gifts be common present when, performed using asynchronous scoket modes
Common present gives operation.
In the embodiment of the present invention, for common present, the fish ball in the live software of fish that such as struggles against, in view of common present is basic
Catchpenny, user can freely be obtained, and therefore traffic volume, directly can be sent than larger using asynchronous scoket modes, asynchronous
Mode, which is transmitted, does not block thread not only, and raising app fluency, while socket is a kind of agreement of lightweight,
Socket can be realized can just be communicated using the data volume of very little with kimonos business end, improve Consumer's Experience.
In an alternate embodiment of the present invention where, methods described also includes:After present is sent, use
fireGift:Function shows present special efficacy.
Fig. 2 diagrammatically illustrates the flow of the information processing method based on net cast of another embodiment of the present invention
Figure.Reference picture 2, the information processing method based on net cast of the embodiment of the present invention specifically includes following steps:
Step S21, the present array for obtaining background server transmission.
Step S22, the noble's present and common present in the present array classified, and by noble's present
It is illustrated in the different zones of present panel respectively with the common present.
Step S23, according to what user currently chose treat gifts, obtain described in treat gifts institute on present panel
The region of displaying.
The region that gifts are shown on present panel is treated described in step S24, basis, it is determined that described treat gifts
Present classification;Wherein, the present classification at least includes following classification:Noble's present, common present, and different present classifications
Present be illustrated in the different zones of present panel respectively.
Step S25, user currently choose when gifts are noble's present, verify user of the user etc.
Level, when the user meets default user gradation requirement, perform noble's present gives operation.
In the embodiment of the present invention, the present array that background server is sent is obtained in step S21, is specifically included:Receive
The present data of the json forms are converted into array, obtained by the present data for the json forms that the background server is returned
To the present array.
In a specific embodiment, what background server was returned is the present data of json forms, receives backstage clothes
After the present data for the json forms that business device is returned, array is translated into, subsequently to filter out noble from the array
Present array.
In the embodiment of the present invention, the noble's present and common present in the present array being entered in the step S22
Row classification, is specifically included:, will be expensive in the present array according to the type identification of each present data in the present array
Race's present and common present are classified.
In actual applications, the function getGiftOrNobleArray implementation process for filtering out noble's present array is specific
It is as follows:
1.1) getGiftOrNobleArray has two parameters, one parameter to be that isNobleGift representatives are noble
Present;One parameter is that existing common present has noble's present again inside the array for the present panel that backstage is returned, this array;
1.2) a new array giftArr is re-created, it is giftArr=[NSMutableArray to create sentence
array];
1.3) a new array nobleArr is created, it is nobleArr=[NSMutableArray to create sentence
array];
1.4) using present array incoming outside for searching loops, in each for circulations, take out
DYGiftModel*model=[NetArr objectAtIndex:I], wherein i represents which time for circulations;
1.5) model is data model, and model has many fields, judges whether the field gt in model is 1, if waited
Illustrate that this is the model of noble's present in 1, it is [nobleArr addObject to be added to sentence in nobleArr:
model];If being not equal to 1, it is the model of a common present to illustrate this model, and this modle is added into giftArr
In, sentence is [giftArr addObject:model];
1.6) when incoming parameter isNobleGift is YES, the parameter of return is nobleArr, otherwise, is returned
giftArr。
In the embodiment of the present invention, noble's present and the common present being illustrated in respectively in the step S22
The different zones of present panel, are specifically included:The array of the present panel is obtained using default interface function;According to described
The array of noble's present and the common present is respectively to the present panel assignment, and after the completion of assignment, to the present
The data of panel are shown.
In actual applications, backstage configuration present, foreground obtains present list, and obtains expensive from the present list of acquisition
Race's present and show.
In a specific embodiment, the array of present panel can be obtained by using loadRoom interface functions, and
After the array of present panel is got, noble's present array that foreground is got is present using setArrayGift functions
Panel assignment, and realize the data display to present panel using showGift functions.
In the embodiment of the present invention, before the user gradation of the checking user, methods described also includes following step
Suddenly:
Whether the version for detecting current App is newest version;
If current App version is newest version, the step of performing the user gradation of the checking user is no
Prompting message is then sent, to point out user to only have upgrading redaction APP just to send noble's present.
In the embodiment of the present invention, noble's present is a function of newly adding, in order to allow the app of past version to know there is noble
Present, by the way that noble's present is returned in present array so that the app of latest edition isolates noble's gift using this function
Thing, allows the user of latest edition to use noble's present well, while allowing early version to show noble's present, when user selects to send
When noble's present, user is pointed out " the redaction APP that only upgrades can just send noble's present ", such user knows possibility
Redaction of upgrading is needed, allows customer upgrade redaction to improve Consumer's Experience.
In the embodiment of the present invention, it is described execution noble's present give operation before, methods described also includes:
Judge whether the current corresponding virtual currency balance of the user meets the virtual goods treated needed for gifts
Coin pays amount;If meeting, noble's present is performed after completing to pay gives operation, otherwise, sends Recharge Promotion message,
To point out the user to be supplemented with money in time.
Further, judge whether the current corresponding virtual currency balance of the user meets the gift to be given described
Before dummy payments amount needed for thing, methods described also includes:
Judge the network connection state of current system;
If network connection is normal, whether be current video live main broadcaster, otherwise if judging the user, sends network and connects
Connect abnormal prompting message;
If the user is not the live main broadcaster of current video, current live room and the bullet for showing present are judged
The connection status of curtain server, otherwise, sends the prompting message that present is mistaken;
If the connection in current live room and barrage server is normal, the judgement user is performed currently corresponding
Virtual currency balance whether meet it is described treat needed for gifts dummy payments amount the step of, otherwise, send barrage
The abnormal prompting message of server connection.
In a specific embodiment, noble user uses function-(void) DYSendNobleView:(UIView*)
view sendGift:(DYGiftModel*) giftModel sends noble's present
Wherein ,-(void) DYSendNobleView:(UIView*)view sendGift:(DYGiftModel*)
GiftModel functions to implement process as follows:
1) judge whether that network connection is normal using function connectedToNetwork, if abnormal direct return,
Network Abnormal is pointed out, present failure is sent;
If 2) network connection is normal, judge whether the user uid for sending present is equal to master using isEqualToString
The uid broadcast, if equally direct return, and point out that present can not be sent in oneself room;
3) if the user uid of transmission present and the uid of main broadcaster are different, [DYSocketManager is used
SharedInstance] .roomIsConnect judge room whether with for showing that the barrage server of present is connected normally,
Do not connect, then return, and duplicate removal is used in conjunction in the barrage server of displaying present;
If 4) room is with for showing that the barrage server of present is connected normally, using if ([giftModel.type
IntValue]==1) judges that present is noble's present or common present, if common present, then using sendYW functions
Go to send present, sendYW functions use scoket agreements, be using the asynchronous socket functions for sending common present
DanmaUtil->danmuSendYuWan;
5) if noble's present, then judge whether the current corresponding virtual currency balance of user meets the gift to be given
Dummy payments amount needed for thing, not enough then allows user to go to supplement with money using showPayViewWithMessage functions;
If 6) the current corresponding virtual currency balance of user is sufficient, go to send noble's gift using function userSendGift
Thing;
7) error code returned according to backstage prompts the user whether to send present success, wherein, error code is equal to 0, explanation
Send successfully, background server returns to the remaining virtual currency balance of user.
It should be noted that the noble's present and common present of user can also be paid in advance, given when carrying out present
When sending, then directly judge whether the corresponding present quantity of user enough treats the consumption amount of gifts, if present is sent out
Success is sent, then background server returns to the remaining present quantity of user, the remaining present quantity of client refreshes present panel.
8) if backstage detection is abnormal provides an error code and error message for being not equal to 0, such as backstage finds user
Uid is lacked, and error code=1 then illustrates that user is not logged in, and app prompting users go to log in.
The embodiment of the present invention, is judged by the situation to network, has carried out abnormality processing, and different in network connection
User's prompting is given when often in time, it is ensured that present can successfully be given.And practised fraud for some main broadcasters, oneself room at oneself
Between send present phenomenon, give and point out, and contain, it is ensured that the justice of living broadcast environment, lifting Consumer's Experience.In addition,
Also to the barrage server for showing present, normally whether connection has carried out effective verification to the present embodiment, and gives to reconnect and carry
Show, to ensure the successful presentation of present.
In the embodiment of the present invention, the various exceptions to app are handled (whether the abnormal network connection that includes is normal, is
It is not to send present in the room of oneself, if log in, whether shark's fin is sufficient), these exceptions are frequently encountered in app,
Abnormal processing make it that app Consumer's Experience is more preferable.Moreover, the invention provides perfect error code, foreground can be after
The error code of platform is handled, and points out the information that user noble's present is not enough or noble's present is frozen, and app can carry out spirit
Processing message living shows error message to user simultaneously.
For embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but this area
Technical staff should know that the embodiment of the present invention is not limited by described sequence of movement, because according to present invention implementation
Example, some steps can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art should also know, specification
Described in embodiment belong to necessary to preferred embodiment, the involved action not necessarily embodiment of the present invention.
Fig. 3 diagrammatically illustrates the structural representation of the information processor based on net cast of one embodiment of the invention
Figure.
Reference picture 3, the information processor based on net cast of the embodiment of the present invention specifically include acquisition module 301,
Determination module 302 and performing module 303, wherein:
Described acquisition module 301, gifts are treated for what is currently chosen according to user, obtain described in treat gifts
The region shown on present panel;
Described determination module 302, for treating the region that gifts are shown on present panel according to, it is determined that
The present classification for treating gifts;Wherein, the present classification at least includes following classification:Noble's present, common present,
And the present of different present classifications is illustrated in the different zones of present panel respectively;
Described performing module 303, for user currently choose when gifts are noble's present, checking is described
The user gradation of user, when the user meets default user gradation requirement, perform noble's present gives operation.
Further, described acquisition module 301, is additionally operable to obtain the present array that background server is sent;
Accordingly, described device also includes the display module not shown in figure, and described display module is used for the gift
Noble's present and common present in thing array are classified, and noble's present and the common present are illustrated in respectively
The different zones of present panel.
Further, the acquisition module 301, the gift specifically for receiving the json forms that the background server is returned
The present data of the json forms are converted into array by thing data, obtain the present array.
Further, the display module, specifically includes taxon and display unit, wherein:
Described taxon, for the type identification according to each present data in the present array, by the gift
Noble's present and common present in thing array are classified;
Described display unit, the array for obtaining the present panel using default interface function, and according to institute
The array of noble's present and the common present is stated respectively to the present panel assignment, and after the completion of assignment, to the gift
The data of object plane plate are shown.
In an alternate embodiment of the present invention where, described device also includes the judge module not shown in accompanying drawing and prompting
Module, wherein:
Described judge module, for it is described execution noble's present give operation before, judge that the user is current
Whether corresponding virtual currency balance meets the dummy payments amount treated needed for gifts;
Accordingly, the performing module 303, is currently corresponded to specifically for the result of determination in the first judge module for user
Virtual currency balance meet when the dummy payments amount needed for gifts, complete pay after perform noble's present
Give operation;
Described reminding module, for the result of determination in the first judge module for more than the current corresponding ideal money of user
Volume can not be met when the dummy payments amount needed for gifts, Recharge Promotion message is sent, to point out the user
Supplemented with money in time, giving for noble's present is completed so as to follow-up.
Further, described judge module, is additionally operable to judge the user currently more than corresponding ideal money described
Whether volume is met before the dummy payments amount treated needed for gifts, judges the network connection shape of current system
State;If network connection is normal, whether be current video live main broadcaster, otherwise, call the prompting mould if judging the user
Block, sends the abnormal prompting message of network connection;If the user is not the live main broadcaster of current video, current live is judged
The connection status in room and the barrage server for showing present, otherwise, calls the reminding module, sends what present was mistaken
Prompting message;If the connection in current live room and barrage server is normal, performs the judgement user and currently correspond to
Virtual currency balance whether meet the operation for treating the dummy payments amount needed for gifts, otherwise, call institute
Reminding module is stated, the abnormal prompting message of barrage server connection is sent.
In an alternate embodiment of the present invention where, the performing module 303, is additionally operable to when waiting of currently choosing of user is given
When thing of giving a present is common present, operation is given using what asynchronous scoket modes performed common present.
In an alternate embodiment of the present invention where, described device also includes detection module, and described detection module is used for
Before the user gradation of the checking user, whether the version for detecting current App is newest version;
Accordingly, the performing module 303, specifically for when current App version is newest version, performing described
Verify the operation of the user gradation of the user.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related
Part illustrates referring to the part of embodiment of the method.
In addition, another embodiment of the present invention additionally provides a kind of electronic equipment, the electronic equipment includes:Housing, processing
Device, memory, circuit board and power circuit, wherein, the circuit board is placed in the interior volume that the housing is surrounded, the place
Reason device and the memory are arranged on the circuit board;The power circuit, for each circuit for the electronic equipment
Or device is powered;The memory is used to store executable program code;The processor is deposited by reading in the memory
The executable program code of storage runs program corresponding with executable program code, for performing following steps:After acquisition
The present array that platform server is sent;Noble's present and common present in the present array is classified, and will be described
Noble's present and the common present are illustrated in the different zones of present panel respectively;If what user currently chose treats gifts
During for noble's present, the user gradation of the user is verified, when the user meets default user gradation requirement, is performed expensive
Race's present gives operation.
Information processing method and device provided in an embodiment of the present invention based on net cast, by increasing in present array
Plus the setting of noble's present, and noble's present and the not same district that is Bu Tong respectively illustrated in present panel of the common present according to classification
Domain, when user performs gifts operation, when it is noble's present to treat gifts, then meets default in user
During user gradation requirement, just perform noble's present gives operation.And then disclosure satisfy that the gifts of different brackets user
Interactive demand, improves present is given in net cast recreational, interest, lifts Consumer's Experience.
In addition, information processing method and device provided in an embodiment of the present invention based on net cast, only have by increase
The function of noble's present can just be sent by meeting the user of default user gradation requirement, can not only improve the paying of user
Rate, is that the business revenue of company contributes, but also can be spend the users of more money there is provided it is more interesting, dazzle cruel user's body
Test.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can
To be or may not be physically separate, the part shown as unit can be or may not be physics list
Member, you can with positioned at a place, or can also be distributed on multiple NEs.It can be selected according to the actual needs
In some or all of module realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness
Work in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Understood based on such, on
The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should
Computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers
Order is to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation
Method described in some parts of example or embodiment.
Although in addition, it will be appreciated by those of skill in the art that some embodiments in this include institute in other embodiments
Including some features rather than further feature, but not the combination of the feature of be the same as Example mean be in the scope of the present invention
Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it
One mode can use in any combination.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used
To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.
Claims (10)
1. a kind of information processing method based on net cast, it is characterised in that including:
Treat gifts according to what user currently chose, obtain described in treat the region that gifts are shown on present panel;
The region that gifts are shown on present panel is treated according to described, it is determined that the present classification for treating gifts;
Wherein, the present classification at least includes following classification:Noble's present, common present, and the present difference of different present classifications
It is illustrated in the different zones of present panel;
User currently choose when gifts are noble's present, the user gradation of the user is verified, as the user
When meeting default user gradation requirement, perform noble's present gives operation.
2. according to the method described in claim 1, it is characterised in that according to what user currently chose treat gifts described,
Treated described in obtaining before the region that gifts are shown on present panel, methods described also includes:
Obtain the present array that background server is sent;
Noble's present and common present in the present array is classified, and by noble's present and the common gift
Thing is illustrated in the different zones of present panel respectively.
3. method according to claim 2, it is characterised in that the present array that the acquisition background server is sent, bag
Include:
The present data for the json forms that the background server is returned are received, the present data of the json forms are converted into
Array, obtains the present array.
4. method according to claim 2, it is characterised in that noble's present by the present array and common
Present is classified, including:
According to the type identification of each present data in the present array, by noble's present in the present array and commonly
Present is classified.
5. method according to claim 4, it is characterised in that described to distinguish noble's present with the common present
The different zones of present panel are illustrated in, including:
The array of the present panel is obtained using default interface function;
According to the array of noble's present and the common present respectively to the present panel assignment, and completed in assignment
Afterwards, the data to the present panel are shown.
6. the method according to claim any one of 1-5, it is characterised in that give operation in execution noble's present
Before, methods described also includes:
Judge whether the current corresponding virtual currency balance of the user meets the ideal money branch treated needed for gifts
Pay amount;
If meeting, noble's present is performed after completing to pay gives operation, otherwise, sends Recharge Promotion message, to point out
The user is supplemented with money in time.
7. method according to claim 6, it is characterised in that judge the current corresponding ideal money of the user described
Whether remaining sum is met before the dummy payments amount treated needed for gifts, and methods described also includes:
Judge the network connection state of current system;
If network connection is normal, whether be current video live main broadcaster, otherwise if judging the user, sends network connection different
Normal prompting message;
If the user is not the live main broadcaster of current video, current live room and the barrage clothes for showing present are judged
The connection status of business device, otherwise, sends the prompting message that present is mistaken;
If the connection in current live room and the barrage server for showing present is normal, the judgement user is performed
Current corresponding virtual currency balance whether meet it is described treat needed for gifts dummy payments amount the step of, it is no
Then, the abnormal prompting message of barrage server connection is sent.
8. according to the method described in claim 1, it is characterised in that methods described also includes:
If user currently choose whne gifts be common present when, giving for common present is performed using asynchronous scoket modes
Send operation.
9. according to the method described in claim 1, it is characterised in that before the user gradation of the checking user, institute
Stating method also includes:
Whether the version for detecting current App is newest version;
If current App version is newest version, the step of performing the user gradation of the checking user.
10. a kind of information processor based on net cast, it is characterised in that including:
Acquisition module, gifts are treated for what is currently chosen according to user, obtain described in treat gifts on present panel
The region shown;
Determination module, for treating the region that gifts are shown on present panel according to, it is determined that the gift to be given
The present classification of thing;Wherein, the present classification at least includes following classification:Noble's present, common present, and different present classes
Other present is illustrated in the different zones of present panel respectively;
Performing module, for user currently choose when gifts are noble's present, verify user of the user etc.
Level, when the user meets default user gradation requirement, perform noble's present gives operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710117706.XA CN106993233A (en) | 2017-03-01 | 2017-03-01 | Information processing method and device based on net cast |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710117706.XA CN106993233A (en) | 2017-03-01 | 2017-03-01 | Information processing method and device based on net cast |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106993233A true CN106993233A (en) | 2017-07-28 |
Family
ID=59412586
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710117706.XA Pending CN106993233A (en) | 2017-03-01 | 2017-03-01 | Information processing method and device based on net cast |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106993233A (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107770157A (en) * | 2017-09-29 | 2018-03-06 | 上海掌门科技有限公司 | A kind of method and apparatus for being used to manage live platform resource |
CN108388388A (en) * | 2018-01-29 | 2018-08-10 | 北京潘达互娱科技有限公司 | Interaction content display methods and device |
CN108764985A (en) * | 2018-05-17 | 2018-11-06 | 上海炫栎网络科技有限公司 | Beat reward method, apparatus and system |
CN108848399A (en) * | 2018-07-12 | 2018-11-20 | 广州趣丸网络科技有限公司 | A kind of information interacting method and device based on more wheat positions room |
CN109640185A (en) * | 2017-10-09 | 2019-04-16 | 武汉斗鱼网络科技有限公司 | Stage property presentation method and device in a kind of live streaming |
CN109660570A (en) * | 2017-10-10 | 2019-04-19 | 武汉斗鱼网络科技有限公司 | Low discharge high real-time stage property distribution method, storage medium, equipment and system |
CN110213607A (en) * | 2019-06-03 | 2019-09-06 | 广州虎牙信息科技有限公司 | Direct broadcasting room interactive approach, device, terminal, server and readable storage medium storing program for executing |
CN110324677A (en) * | 2018-03-30 | 2019-10-11 | 武汉斗鱼网络科技有限公司 | A kind of barrage server connection method, client and readable storage medium storing program for executing |
CN110324391A (en) * | 2018-03-30 | 2019-10-11 | 武汉斗鱼网络科技有限公司 | A kind of barrage server connection method, client and readable storage medium storing program for executing |
CN110337025A (en) * | 2019-07-15 | 2019-10-15 | 网易(杭州)网络有限公司 | Interaction control method and device, storage medium and electronic equipment in network direct broadcasting |
CN110381386A (en) * | 2018-04-12 | 2019-10-25 | 武汉斗鱼网络科技有限公司 | A kind of methods of exhibiting and relevant device of stage property present |
WO2019218348A1 (en) * | 2018-05-18 | 2019-11-21 | Weng Shaoming | Social media live-broadcasting rewarding method |
CN111163329A (en) * | 2020-01-02 | 2020-05-15 | 北京字节跳动网络技术有限公司 | Live broadcast room gift list configuration method, device, medium and electronic equipment |
CN112714334A (en) * | 2020-12-30 | 2021-04-27 | 广州方硅信息技术有限公司 | Music gift presenting method and device, equipment and medium thereof |
CN114449305A (en) * | 2022-01-29 | 2022-05-06 | 上海哔哩哔哩科技有限公司 | Gift animation playing method and device in live broadcast room |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140164159A1 (en) * | 2012-12-11 | 2014-06-12 | Christine Lovelace | Customizable virtual gift wrapping & presentation |
CN105487762A (en) * | 2015-12-22 | 2016-04-13 | 武汉斗鱼网络科技有限公司 | Method and device for triggering virtual product in live scene |
CN105654354A (en) * | 2016-03-11 | 2016-06-08 | 武汉斗鱼网络科技有限公司 | User interaction optimization method and system in live video |
CN105959127A (en) * | 2016-06-28 | 2016-09-21 | 武汉斗鱼网络科技有限公司 | Mobile terminal virtual gift effect showing method and device |
CN106131698A (en) * | 2016-06-29 | 2016-11-16 | 北京金山安全软件有限公司 | Information display method and device and electronic equipment |
-
2017
- 2017-03-01 CN CN201710117706.XA patent/CN106993233A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140164159A1 (en) * | 2012-12-11 | 2014-06-12 | Christine Lovelace | Customizable virtual gift wrapping & presentation |
CN105487762A (en) * | 2015-12-22 | 2016-04-13 | 武汉斗鱼网络科技有限公司 | Method and device for triggering virtual product in live scene |
CN105654354A (en) * | 2016-03-11 | 2016-06-08 | 武汉斗鱼网络科技有限公司 | User interaction optimization method and system in live video |
CN105959127A (en) * | 2016-06-28 | 2016-09-21 | 武汉斗鱼网络科技有限公司 | Mobile terminal virtual gift effect showing method and device |
CN106131698A (en) * | 2016-06-29 | 2016-11-16 | 北京金山安全软件有限公司 | Information display method and device and electronic equipment |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107770157B (en) * | 2017-09-29 | 2021-05-18 | 上海掌门科技有限公司 | Method and equipment for managing resources of live broadcast platform |
CN107770157A (en) * | 2017-09-29 | 2018-03-06 | 上海掌门科技有限公司 | A kind of method and apparatus for being used to manage live platform resource |
CN109640185A (en) * | 2017-10-09 | 2019-04-16 | 武汉斗鱼网络科技有限公司 | Stage property presentation method and device in a kind of live streaming |
CN109660570A (en) * | 2017-10-10 | 2019-04-19 | 武汉斗鱼网络科技有限公司 | Low discharge high real-time stage property distribution method, storage medium, equipment and system |
CN108388388A (en) * | 2018-01-29 | 2018-08-10 | 北京潘达互娱科技有限公司 | Interaction content display methods and device |
CN110324677B (en) * | 2018-03-30 | 2021-09-07 | 武汉斗鱼网络科技有限公司 | Bullet screen server connection method, client and readable storage medium |
CN110324677A (en) * | 2018-03-30 | 2019-10-11 | 武汉斗鱼网络科技有限公司 | A kind of barrage server connection method, client and readable storage medium storing program for executing |
CN110324391A (en) * | 2018-03-30 | 2019-10-11 | 武汉斗鱼网络科技有限公司 | A kind of barrage server connection method, client and readable storage medium storing program for executing |
CN110381386A (en) * | 2018-04-12 | 2019-10-25 | 武汉斗鱼网络科技有限公司 | A kind of methods of exhibiting and relevant device of stage property present |
CN108764985A (en) * | 2018-05-17 | 2018-11-06 | 上海炫栎网络科技有限公司 | Beat reward method, apparatus and system |
WO2019218348A1 (en) * | 2018-05-18 | 2019-11-21 | Weng Shaoming | Social media live-broadcasting rewarding method |
CN108848399A (en) * | 2018-07-12 | 2018-11-20 | 广州趣丸网络科技有限公司 | A kind of information interacting method and device based on more wheat positions room |
CN110213607B (en) * | 2019-06-03 | 2020-05-05 | 广州虎牙信息科技有限公司 | Live broadcast room interaction method and device, terminal, server and readable storage medium |
CN110213607A (en) * | 2019-06-03 | 2019-09-06 | 广州虎牙信息科技有限公司 | Direct broadcasting room interactive approach, device, terminal, server and readable storage medium storing program for executing |
CN110337025A (en) * | 2019-07-15 | 2019-10-15 | 网易(杭州)网络有限公司 | Interaction control method and device, storage medium and electronic equipment in network direct broadcasting |
CN110337025B (en) * | 2019-07-15 | 2021-12-28 | 网易(杭州)网络有限公司 | Interaction control method and device in live webcasting, storage medium and electronic equipment |
CN111163329A (en) * | 2020-01-02 | 2020-05-15 | 北京字节跳动网络技术有限公司 | Live broadcast room gift list configuration method, device, medium and electronic equipment |
CN112714334A (en) * | 2020-12-30 | 2021-04-27 | 广州方硅信息技术有限公司 | Music gift presenting method and device, equipment and medium thereof |
CN112714334B (en) * | 2020-12-30 | 2022-12-02 | 广州方硅信息技术有限公司 | Music gift giving method and device, equipment and medium thereof |
CN114449305A (en) * | 2022-01-29 | 2022-05-06 | 上海哔哩哔哩科技有限公司 | Gift animation playing method and device in live broadcast room |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106993233A (en) | Information processing method and device based on net cast | |
CN104462478B (en) | Realize method, apparatus and client that mobile browser client accesses the web page | |
CN109450771B (en) | Method and device for adding friends, computer equipment and storage medium | |
CN105204927B (en) | For the application collating unit of terminal device and using aligning method | |
CN104580451B (en) | Realize the method and system and electronic equipment of multi-platform account synchronization | |
CN110378696A (en) | A kind of brush face method of payment, device, readable storage medium storing program for executing and terminal device | |
CN108540862A (en) | Virtual objects presentation method based on net cast and device | |
CN104156246B (en) | The method and device of gray scale upgrading | |
CN104767756B (en) | Facility information processing method, client terminal device and service terminal device | |
CN106656622B (en) | Method and device for configuring interface calling task | |
CN110597888B (en) | Virtual resource acquisition method and device based on block chain, medium and equipment | |
CN108365989A (en) | Event-handling method and device | |
CN107194683A (en) | On-line payment method and apparatus | |
CN107465759A (en) | A kind of message server, message issuing method and terminal | |
CN109670963A (en) | Assets information screening technique, device, equipment and storage medium | |
CN106934272B (en) | Application information verification method and device | |
CN105553671A (en) | Digital certificate managing method, device and system | |
CN106851622A (en) | A kind of over-the-air upgrade method, device, central apparatus and ancillary equipment | |
CN109636583A (en) | A kind of loan fund monitoring method and device | |
CN111179023B (en) | Order identification method and device | |
CN109327499A (en) | Management method and device, storage medium, the terminal of business interface | |
CN107391771A (en) | The generation method and device of a kind of image special effect | |
CN109785107B (en) | Method for flexibly configuring fund duty ratio and related products | |
CN106911559A (en) | Set up the method and apparatus of voice connection | |
CN109819051A (en) | A kind of automatic registration method, equipment and system |
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: 20170728 |